]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hppa: Mark __pthread_once as a hidden def.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
05b227bd
DM
12012-11-18 David S. Miller <davem@davemloft.net>
2
3 With help from Joseph Myers.
4 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5 cutoff to 2**-13.
6 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
7 cutoff to 2**-25.
8 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10 small.
11 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12 * math/libm-test.inc (y0_test): New tests.
13 (y1_test): New tests.
14 * sysdeps/i386/fpu/libm-test-ulps: Update.
15 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17
786b0b67
AS
182012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19
20 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21 64-bit targets.
22 * configure: Regenerated.
23
8e18b86d
DM
242012-11-17 David S. Miller <davem@davemloft.net>
25
26 [BZ #14811]
27 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28 nonzero exponents with absolute value below 0x1p-128 to +/-
29 0x1p-128.
30
531f1ae0
JM
312012-11-17 Joseph Myers <joseph@codesourcery.com>
32
12df29e2
JM
33 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34
150dc1a0
JM
35 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36
531f1ae0
JM
37 * posix/getconf-speclist.c: New file.
38 * posix/posix-envs.def: Likewise.
39 * posix/confstr.c (START_ENV_GROUP): New macro.
40 (END_ENV_GROUP): Likewise.
41 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42 (KNOWN_PRESENT_ENV_STRING): Likewise.
43 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44 (UNKNOWN_ENVIRONMENT): Likewise.
45 (confstr): Include posix-envs.def instead of handling
46 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49 (END_ENV_GROUP): Likewise.
50 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
51 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52 (UNKNOWN_ENVIRONMENT): Likewise.
53 (__sysconf): Include posix-envs.def instead of handling associated
54 cases directly here.
55 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56 preprocessing getconf-speclist.c rather than running getconf or
57 generating empty file.
58
a93f9cbc
PT
592012-11-16 Pino Toscano <toscano.pino@tiscali.it>
60
61 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62
d64d9f87
AL
632012-11-16 Andrej Lajovic <natrij@gmail.com>
64
65 [BZ #14672]
66 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67
447885eb
DM
682012-11-16 David S. Miller <davem@davemloft.net>
69
70 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71 smaller than LDBL_EPSILON/2.0L, just return xm1.
72
bcbf9830
L
732012-11-16 H.J. Lu <hongjiu.lu@intel.com>
74
75 * elf/tst-array1.c (init): Set constructor priority to 1000.
76 (fini): Set destructor priority to 1000.
77 * elf/tst-array2dep.c: Likewise.
78
2b766585
SP
792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
80
81 [BZ #11741]
82 * libio/fileops.c (_IO_new_file_write): Correctly return error.
83 (_IO_new_file_xsputn): Also return EOF if none of the input
84 data was written when overflow failed.
85 * libio/iopadn.c (_IO_padn): Likewise.
86 * libio/iowpadn.c (_IO_wpadn): Likewise.
87 * stdio-common/tst-put-error.c: Add copyright notice.
88 (do_test): Add case for printing padded string.
89 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
90 _IO_padn returned error.
91 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
92 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
93 return EOF.
94
b1848fde
SP
952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
96
97 * libio/libioP.h: Add comment note that the references to C++
98 bits are now obsolete.
99
2fd89785
MS
1002012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
101
102 * math/libm-test.inc (check_complex): Use asprintf.
103
e3ea5409
JM
1042012-11-14 Joseph Myers <joseph@codesourcery.com>
105
106 * debug/pcprofiledump.c (print_version): Update copyright year.
107 * malloc/memusagestat.c (print_version): Likewise.
108
2e64d265
L
1092012-11-14 H.J. Lu <hongjiu.lu@intel.com>
110
111 [BZ #14831]
112 * elf/Makefile (tests): Add tst-audit8.
113 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
114 ($(objpfx)tst-audit8.out): New target.
115 (tst-audit8-ENV): New variable.
116 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
117 audit if l_reloc_result is NULL.
118 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
119 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
120 * elf/tst-audit8.c: New file.
121
c485e4d2
MS
1222012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
123
124 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
125 * misc/Makefile (CFLAGS-select.c): Define.
126 * posix/Makefile (CFLAGS-pause.c): Define.
127
3a0d900a
DM
1282012-11-13 David S. Miller <davem@davemloft.net>
129
130 * crypt/Makefile: Move test targets after toplevel Rules
131 inclusion. Grab any necessary sysdep routines when linking.
132 * crypt/md5.c (md5_process_block): Remove define, we will always
133 name it __md5_process_block.
134 (md5_finish_ctx): Update md5_process_block call.
135 (md5_stream): Likewise.
136 (md5_process_bytes): Likewise.
137 (md5_process_block): Rename to __md5_process_block and move to ...
138 * crypt/md5-block.c: ... here.
139 * crypt/sha256.c (sha256_process_block): Move to ...
140 * crypt/sha256-block.c: ... here.
141 * crypt/sha512.c (sha512_process_block): Move to ...
142 * crypt/sha512-block.c: ... here.
143 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
144 path.
145 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
146 * sysdeps/sparc/sparc64/multiarch/Makefile
147 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
148 crypt subdir.
149 (localedef-aux): Add md5 crypto assembler when in locale subdir.
150 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
151 multiarch changes.
152 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
153 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
154 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
155 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
156 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
157 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
158 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
159 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
161 file.
162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
163 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
164 file.
165 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
166
8ca89318
JM
1672012-11-13 Joseph Myers <joseph@codesourcery.com>
168
e27d476a
JM
169 * timezone/tzselect.ksh: Update from tzcode git revision
170 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
171 * timezone/zdump.c: Likewise.
172 * timezone/zic.c: Likewise.
173 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
174 in TZVERSION setting, not $(PKGVERSION).
175 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
176 REPORT_BUGS_TO settings.
177
8ca89318
JM
178 [BZ #14838]
179 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
180 macro.
181
47594329
MS
1822012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
183
184 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
185 detection to immediately after _FP_ROUND().
186 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
187 bits are 0.
188
640ac3f1
DM
1892012-11-11 David S. Miller <davem@davemloft.net>
190
191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
192 inttypes.h
193 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
194 __close rather than their public counterparts.
195
3d2577bb
JM
1962012-11-10 Joseph Myers <joseph@codesourcery.com>
197
198 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
199 file.
200 [UNIX98] (sem_timedwait): Do not expect.
201 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
202 [XPG4 || UNIX98] (sockatmark): Do not expect.
203 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
204 (clock_getcpuclockid): Do not expect.
205 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
206 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
207 Do not expect.
208 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
209 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
210 [UNIX98] (vwscanf): Likewise.
211 [UNIX98] (vswscanf): Likewise.
212
fb1ae1ee
JM
2132012-11-09 Joseph Myers <joseph@codesourcery.com>
214
9ec6f8bd
JM
215 * timezone/version.h: Remove file.
216 * timezone/README: Do not refer to version.h.
217 * timezone/Makefile ($(objpfx)zic.o): New dependency on
218 $(objpfx)version.h.
219 ($(objpfx)zdump.o): Likewise.
c3f81911 220 ($(objpfx)version.h): New target.
9ec6f8bd 221
0aa8f8a1
JM
222 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
223 2012i.
224 * timezone/README: Don't mention modification to tzselect.ksh.
225 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
226 work on unmodified tzselect.ksh. Substitute version numbers in
227 tzselect.ksh.
228
4e87147f
JM
229 * Makefile (format-me): Remove.
230 (INSTALL): Adjust indentation. Use commands directly instead of
231 using $(format-me).
232
8b748aed
JM
233 * aclocal.m4 (ACX_PKGVERSION): New macro.
234 (ACX_BUGURL): Likewise.
235 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
236 (PKGVERSION): New AC_DEFINE_UNQUOTED.
237 (REPORT_BUGS_TO): Likewise.
238 * configure: Regenerated.
239 * config.h.in (PKGVERSION): New macro.
240 (REPORT_BUGS_TO): Likewise.
241 * config.make.in (PKGVERSION): New variable.
242 (PKGVERSION_TEXI): Likewise.
243 (REPORT_BUGS_TO): Likewise.
244 (REPORT_BUGS_TEXI): Likewise.
245 * Makefile (format-me): Use -I$(common-objpfx)manual.
246 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
247 ($(common-objpfx)manual/%): New target.
248 (manual/%): Remove target.
249 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
250 (print_version): Use PKGVERSION.
251 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
252 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
253 and REPORT_BUGS_TO.
254 ($(objpfx)xtrace): Likewise.
255 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
256 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
257 (print_version): Use PKGVERSION.
258 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
259 (do_version): Use PKGVERSION.
260 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
261 REPORT_BUGS_TO.
262 (common-ldd-rewrite): Likewise.
263 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
264 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
265 (print_version): Use PKGVERSION.
266 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
267 * elf/pldd.c (argp_program_bug_address): Remove variable.
268 (more_help): New function.
269 (argp): Use more_help.
270 (print_version): Use PKGVERSION.
271 * elf/sln.c (main): Use PKGVERSION.
272 (usage): Use REPORT_BUGS_TO.
273 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
274 (top level): Use PKGVERSION.
275 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
276 (print_version): Use PKGVERSION.
277 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
278 (print_version): Use PKGVERSION.
279 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
280 (print_version): Use PKGVERSION.
281 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
282 (print_version): Use PKGVERSION.
283 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
284 (print_version): Use PKGVERSION.
285 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
286 (print_version): Use PKGVERSION.
287 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
288 and BUGURL.
289 ($(objpfx)memusage): Likewise.
290 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
291 (do_version): Use PKGVERSION.
292 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
293 (print_version): Use PKGVERSION.
294 * malloc/mtrace.pl ($PACKAGE): Remove variable.
295 ($PKGVERSION): New variable.
296 ($REPORT_BUGS_TO): Likewise.
297 (usage): Use $REPORT_BUGS_TO.
298 (top level): Use $PKGVERSION.
299 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
300 ($(objpfx)pkgvers.texi): New rule.
301 ($(objpfx)stamp-pkgvers): Likewise.
302 * manual/install.texi: Include pkgvers.texi.
303 (--with-pkgversion): Document new configure option.
304 (--with-bugurl): Likewise.
305 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
306 than necessarily for this particular distribution. Use
307 REPORT_BUGS_TO for where to report bugs.
308 * INSTALL: Regenerated.
309 * manual/libc.texinfo: Include pkgvers.texi.
310 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
311 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
312 (print_version): Use PKGVERSION.
313 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
314 (print_version): Use PKGVERSION.
315 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
316 (print_version): Use PKGVERSION.
317 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
318 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
319 macro.
320 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
321 (print_version): Use PKGVERSION.
322 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
323 (print_version): Use PKGVERSION.
324 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
325 and PKGVERSION.
326
92e4b6a9
JM
327 * timezone/checktab.awk: Update from tzcode 2012i.
328 * timezone/ialloc.c: Likewise.
329 * timezone/private.h: Likewise.
330 * timezone/scheck.c: Likewise.
331 * timezone/tzfile.h: Likewise.
332 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
333 (TZVERSION): Hardcode tzcode version number.
334 * timezone/zdump.c: Update from tzcode 2012i.
335 * timezone/zic.c: Likewise.
336 * timezone/version.h: New file.
337 * timezone/README: Describe version.h. Update upstream location.
338
9bde902c
JM
339 [BZ #14824]
340 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
341 (mktemp): Enable declaration.
342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
346 Likewise.
347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
348 Likewise.
349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
350 Likewise.
351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
352 Likewise.
353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
354 Likewise.
355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
356 Likewise.
357
fb1ae1ee
JM
358 [BZ #14821]
359 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
360 offset in buffer as u_int32_t not u_long. Consistently use memcpy
361 for copies of such integer values.
362 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
363 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
364
2c1adbcb
AJ
3652012-11-09 Andreas Jaeger <aj@suse.de>
366
367 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
368 definitions and declarations that are provided by
369 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
370
d0f8457e
AK
3712012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
372
373 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
374 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
375 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
376 definition.
377
57241e26
MS
3782012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
379
380 * elf/elf.h: Update comment before AArch64 relocations.
381
60e8270d
DM
3822012-11-07 David S. Miller <davem@davemloft.net>
383
384 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
385 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
386 (__start_context): Declare.
387 (__makecontext_ret): Delete.
388 (__makecontext): Hook up __start_context instead of
389 __makecontext_ret.
390 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
391 (sysdep_routines): Add __start_context when in stdlib.
392
0fbb0fbc
JM
3932012-11-07 Joseph Myers <joseph@codesourcery.com>
394
395 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
396 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
397 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
398 hardcoded "nm".
399 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
400 (READELF): New variable. Use it instead of hardcoded "readelf".
401
eb48db7e
L
4022012-11-07 H.J. Lu <hongjiu.lu@intel.com>
403
404 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
405 * sysdeps/x86/Makefile: Here.
406 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
407 * sysdeps/x86/tst-xmmymm.sh: This.
408
05bcf62a
JM
4092012-11-07 Joseph Myers <joseph@codesourcery.com>
410
c4b6cf53
JM
411 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
412 expectations.
413 [UNIX98] (pthread_barrier_t): Do not expect.
414 [UNIX98] (pthread_barrierattr_t): Likewise.
415 [UNIX98] (pthread_spinlock_t): Likewise.
416 [UNIX98] (pthread_barrier_destroy): Likewise.
417 [UNIX98] (pthread_barrier_init): Likewise.
418 [UNIX98] (pthread_barrier_wait): Likewise.
419 [UNIX98] (pthread_barrierattr_destroy): Likewise.
420 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
421 [UNIX98] (pthread_barrierattr_init): Likewise.
422 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
423 [UNIX98] (pthread_getcpuclockid): Likewise.
424 [UNIX98] (pthread_mutex_timedlock): Likewise.
425 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
426 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
427 [UNIX98] (pthread_sigmask): Likewise.
428 [UNIX98] (pthread_spin_destroy): Likewise.
429 [UNIX98] (pthread_spin_init): Likewise.
430 [UNIX98] (pthread_spin_lock): Likewise.
431 [UNIX98] (pthread_spin_trylock): Likewise.
432 [UNIX98] (pthread_spin_unlock): Likewise.
433 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
434 Do not expect.
435 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
436 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
437 [XPG3 || XPG4] (pthread_cond_t): Likewise.
438 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
439 [XPG3 || XPG4] (pthread_key_t): Likewise.
440 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
441 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
442 [XPG3 || XPG4] (pthread_once_t): Likewise.
443 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
444 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
445 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
446 [XPG3 || XPG4] (pthread_t): Likewise.
447
cbe6e120
JM
448 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
449 not expect.
450 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
451
1b126443
JM
452 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
453 Change function return type to int.
454
b961a573
JM
455 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
456 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
457 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
458 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
459 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
460 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
461 [!POSIX] (posix_madvise): Likewise.
462 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
463 && !UNIX98].
464 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
465 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
466 (mode_t): Likewise.
467 (posix_mem_offset): Likewise.
468 (posix_typed_mem_get_info): Likewise.
469 (posix_typed_mem_open): Likewise.
470
9e188909
JM
471 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
472 Change condition to [XOPEN2K8].
473
05bcf62a
JM
474 * conform/conformtest.pl: Preprocess allow-header data with -x c
475 instead of from stdin.
476 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
477 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
478 [C99-based standards] (cerfc): Likewise.
479 [C99-based standards] (cexp2): Likewise.
480 [C99-based standards] (cexpm1): Likewise.
481 [C99-based standards] (clog10): Likewise.
482 [C99-based standards] (clog1p): Likewise.
483 [C99-based standards] (clog2): Likewise.
484 [C99-based standards] (clgamma): Likewise.
485 [C99-based standards] (ctgamma): Likewise.
486 [C99-based standards] (cerff): Likewise.
487 [C99-based standards] (cerfcf): Likewise.
488 [C99-based standards] (cexp2f): Likewise.
489 [C99-based standards] (cexpm1f): Likewise.
490 [C99-based standards] (clog10f): Likewise.
491 [C99-based standards] (clog1pf): Likewise.
492 [C99-based standards] (clog2f): Likewise.
493 [C99-based standards] (clgammaf): Likewise.
494 [C99-based standards] (ctgammaf): Likewise.
495 [C99-based standards] (cerfl): Likewise.
496 [C99-based standards] (cerfcl): Likewise.
497 [C99-based standards] (cexp2l): Likewise.
498 [C99-based standards] (cexpm1l): Likewise.
499 [C99-based standards] (clog10l): Likewise.
500 [C99-based standards] (clog1pl): Likewise.
501 [C99-based standards] (clog2l): Likewise.
502 [C99-based standards] (clgammal): Likewise.
503 [C99-based standards] (ctgammal): Likewise.
504 * conform/data/inttypes.h-data [C99-based standards]: Include
505 stdint.h-data. Remove all expectations for stdint.h contents.
506 [C99-based standards] (PRI*): Do not allow.
507 [C99-based standards] (SCN*): Likewise.
508 [C99-based standards] (*_t): Likewise.
509 [C99-based-standards] (PRId8): Expect macro.
510 [C99-based-standards] (PRIi8): Likewise.
511 [C99-based-standards] (PRIo8): Likewise.
512 [C99-based-standards] (PRIu8): Likewise.
513 [C99-based-standards] (PRIx8): Likewise.
514 [C99-based-standards] (PRIX8): Likewise.
515 [C99-based-standards] (SCNd8): Likewise.
516 [C99-based-standards] (SCNi8): Likewise.
517 [C99-based-standards] (SCNo8): Likewise.
518 [C99-based-standards] (SCNu8): Likewise.
519 [C99-based-standards] (SCNx8): Likewise.
520 [C99-based-standards] (PRIdLEAST8): Likewise.
521 [C99-based-standards] (PRIiLEAST8): Likewise.
522 [C99-based-standards] (PRIoLEAST8): Likewise.
523 [C99-based-standards] (PRIuLEAST8): Likewise.
524 [C99-based-standards] (PRIxLEAST8): Likewise.
525 [C99-based-standards] (PRIXLEAST8): Likewise.
526 [C99-based-standards] (SCNdLEAST8): Likewise.
527 [C99-based-standards] (SCNiLEAST8): Likewise.
528 [C99-based-standards] (SCNoLEAST8): Likewise.
529 [C99-based-standards] (SCNuLEAST8): Likewise.
530 [C99-based-standards] (SCNxLEAST8): Likewise.
531 [C99-based-standards] (PRIdFAST8): Likewise.
532 [C99-based-standards] (PRIiFAST8): Likewise.
533 [C99-based-standards] (PRIoFAST8): Likewise.
534 [C99-based-standards] (PRIuFAST8): Likewise.
535 [C99-based-standards] (PRIxFAST8): Likewise.
536 [C99-based-standards] (PRIXFAST8): Likewise.
537 [C99-based-standards] (SCNdFAST8): Likewise.
538 [C99-based-standards] (SCNiFAST8): Likewise.
539 [C99-based-standards] (SCNoFAST8): Likewise.
540 [C99-based-standards] (SCNuFAST8): Likewise.
541 [C99-based-standards] (SCNxFAST8): Likewise.
542 [C99-based-standards] (PRId16): Likewise.
543 [C99-based-standards] (PRIi16): Likewise.
544 [C99-based-standards] (PRIo16): Likewise.
545 [C99-based-standards] (PRIu16): Likewise.
546 [C99-based-standards] (PRIx16): Likewise.
547 [C99-based-standards] (PRIX16): Likewise.
548 [C99-based-standards] (SCNd16): Likewise.
549 [C99-based-standards] (SCNi16): Likewise.
550 [C99-based-standards] (SCNo16): Likewise.
551 [C99-based-standards] (SCNu16): Likewise.
552 [C99-based-standards] (SCNx16): Likewise.
553 [C99-based-standards] (PRIdLEAST16): Likewise.
554 [C99-based-standards] (PRIiLEAST16): Likewise.
555 [C99-based-standards] (PRIoLEAST16): Likewise.
556 [C99-based-standards] (PRIuLEAST16): Likewise.
557 [C99-based-standards] (PRIxLEAST16): Likewise.
558 [C99-based-standards] (PRIXLEAST16): Likewise.
559 [C99-based-standards] (SCNdLEAST16): Likewise.
560 [C99-based-standards] (SCNiLEAST16): Likewise.
561 [C99-based-standards] (SCNoLEAST16): Likewise.
562 [C99-based-standards] (SCNuLEAST16): Likewise.
563 [C99-based-standards] (SCNxLEAST16): Likewise.
564 [C99-based-standards] (PRIdFAST16): Likewise.
565 [C99-based-standards] (PRIiFAST16): Likewise.
566 [C99-based-standards] (PRIoFAST16): Likewise.
567 [C99-based-standards] (PRIuFAST16): Likewise.
568 [C99-based-standards] (PRIxFAST16): Likewise.
569 [C99-based-standards] (PRIXFAST16): Likewise.
570 [C99-based-standards] (SCNdFAST16): Likewise.
571 [C99-based-standards] (SCNiFAST16): Likewise.
572 [C99-based-standards] (SCNoFAST16): Likewise.
573 [C99-based-standards] (SCNuFAST16): Likewise.
574 [C99-based-standards] (SCNxFAST16): Likewise.
575 [C99-based-standards] (PRId32): Likewise.
576 [C99-based-standards] (PRIi32): Likewise.
577 [C99-based-standards] (PRIo32): Likewise.
578 [C99-based-standards] (PRIu32): Likewise.
579 [C99-based-standards] (PRIx32): Likewise.
580 [C99-based-standards] (PRIX32): Likewise.
581 [C99-based-standards] (SCNd32): Likewise.
582 [C99-based-standards] (SCNi32): Likewise.
583 [C99-based-standards] (SCNo32): Likewise.
584 [C99-based-standards] (SCNu32): Likewise.
585 [C99-based-standards] (SCNx32): Likewise.
586 [C99-based-standards] (PRIdLEAST32): Likewise.
587 [C99-based-standards] (PRIiLEAST32): Likewise.
588 [C99-based-standards] (PRIoLEAST32): Likewise.
589 [C99-based-standards] (PRIuLEAST32): Likewise.
590 [C99-based-standards] (PRIxLEAST32): Likewise.
591 [C99-based-standards] (PRIXLEAST32): Likewise.
592 [C99-based-standards] (SCNdLEAST32): Likewise.
593 [C99-based-standards] (SCNiLEAST32): Likewise.
594 [C99-based-standards] (SCNoLEAST32): Likewise.
595 [C99-based-standards] (SCNuLEAST32): Likewise.
596 [C99-based-standards] (SCNxLEAST32): Likewise.
597 [C99-based-standards] (PRIdFAST32): Likewise.
598 [C99-based-standards] (PRIiFAST32): Likewise.
599 [C99-based-standards] (PRIoFAST32): Likewise.
600 [C99-based-standards] (PRIuFAST32): Likewise.
601 [C99-based-standards] (PRIxFAST32): Likewise.
602 [C99-based-standards] (PRIXFAST32): Likewise.
603 [C99-based-standards] (SCNdFAST32): Likewise.
604 [C99-based-standards] (SCNiFAST32): Likewise.
605 [C99-based-standards] (SCNoFAST32): Likewise.
606 [C99-based-standards] (SCNuFAST32): Likewise.
607 [C99-based-standards] (SCNxFAST32): Likewise.
608 [C99-based-standards] (PRId64): Likewise.
609 [C99-based-standards] (PRIi64): Likewise.
610 [C99-based-standards] (PRIo64): Likewise.
611 [C99-based-standards] (PRIu64): Likewise.
612 [C99-based-standards] (PRIx64): Likewise.
613 [C99-based-standards] (PRIX64): Likewise.
614 [C99-based-standards] (SCNd64): Likewise.
615 [C99-based-standards] (SCNi64): Likewise.
616 [C99-based-standards] (SCNo64): Likewise.
617 [C99-based-standards] (SCNu64): Likewise.
618 [C99-based-standards] (SCNx64): Likewise.
619 [C99-based-standards] (PRIdLEAST64): Likewise.
620 [C99-based-standards] (PRIiLEAST64): Likewise.
621 [C99-based-standards] (PRIoLEAST64): Likewise.
622 [C99-based-standards] (PRIuLEAST64): Likewise.
623 [C99-based-standards] (PRIxLEAST64): Likewise.
624 [C99-based-standards] (PRIXLEAST64): Likewise.
625 [C99-based-standards] (SCNdLEAST64): Likewise.
626 [C99-based-standards] (SCNiLEAST64): Likewise.
627 [C99-based-standards] (SCNoLEAST64): Likewise.
628 [C99-based-standards] (SCNuLEAST64): Likewise.
629 [C99-based-standards] (SCNxLEAST64): Likewise.
630 [C99-based-standards] (PRIdFAST64): Likewise.
631 [C99-based-standards] (PRIiFAST64): Likewise.
632 [C99-based-standards] (PRIoFAST64): Likewise.
633 [C99-based-standards] (PRIuFAST64): Likewise.
634 [C99-based-standards] (PRIxFAST64): Likewise.
635 [C99-based-standards] (PRIXFAST64): Likewise.
636 [C99-based-standards] (SCNdFAST64): Likewise.
637 [C99-based-standards] (SCNiFAST64): Likewise.
638 [C99-based-standards] (SCNoFAST64): Likewise.
639 [C99-based-standards] (SCNuFAST64): Likewise.
640 [C99-based-standards] (SCNxFAST64): Likewise.
641 [C99-based-standards] (PRIdMAX): Likewise.
642 [C99-based-standards] (PRIiMAX): Likewise.
643 [C99-based-standards] (PRIoMAX): Likewise.
644 [C99-based-standards] (PRIuMAX): Likewise.
645 [C99-based-standards] (PRIxMAX): Likewise.
646 [C99-based-standards] (PRIXMAX): Likewise.
647 [C99-based-standards] (SCNdMAX): Likewise.
648 [C99-based-standards] (SCNiMAX): Likewise.
649 [C99-based-standards] (SCNoMAX): Likewise.
650 [C99-based-standards] (SCNuMAX): Likewise.
651 [C99-based-standards] (SCNxMAX): Likewise.
652 [C99-based-standards] (PRIdPTR): Likewise.
653 [C99-based-standards] (PRIiPTR): Likewise.
654 [C99-based-standards] (PRIoPTR): Likewise.
655 [C99-based-standards] (PRIuPTR): Likewise.
656 [C99-based-standards] (PRIxPTR): Likewise.
657 [C99-based-standards] (PRIXPTR): Likewise.
658 [C99-based-standards] (SCNdPTR): Likewise.
659 [C99-based-standards] (SCNiPTR): Likewise.
660 [C99-based-standards] (SCNoPTR): Likewise.
661 [C99-based-standards] (SCNuPTR): Likewise.
662 [C99-based-standards] (SCNxPTR): Likewise.
663 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
664 allow.
665 * conform/data/stdint.h-data: Update comments to clarify
666 requirements.
667 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
668 type.
669 [C99-based standards] (INT8_MAX): Likewise.
670 [C99-based standards] (INT16_MIN): Likewise.
671 [C99-based standards] (INT16_MAX): Likewise.
672 [C99-based standards] (INT32_MIN): Likewise.
673 [C99-based standards] (INT32_MAX): Likewise.
674 [C99-based standards] (INT64_MIN): Likewise.
675 [C99-based standards] (INT64_MAX): Likewise.
676 [C99-based standards] (UINT8_MAX): Likewise.
677 [C99-based standards] (UINT16_MAX): Likewise.
678 [C99-based standards] (UINT32_MAX): Likewise.
679 [C99-based standards] (UINT64_MAX): Likewise.
680 [C99-based standards] (INT_LEAST8_MIN): Likewise.
681 [C99-based standards] (INT_LEAST8_MAX): Likewise.
682 [C99-based standards] (INT_LEAST16_MIN): Likewise.
683 [C99-based standards] (INT_LEAST16_MAX): Likewise.
684 [C99-based standards] (INT_LEAST32_MIN): Likewise.
685 [C99-based standards] (INT_LEAST32_MAX): Likewise.
686 [C99-based standards] (INT_LEAST64_MIN): Likewise.
687 [C99-based standards] (INT_LEAST64_MAX): Likewise.
688 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
689 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
690 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
691 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
692 [C99-based standards] (INT_FAST8_MIN): Likewise.
693 [C99-based standards] (INT_FAST8_MAX): Likewise.
694 [C99-based standards] (INT_FAST16_MIN): Likewise.
695 [C99-based standards] (INT_FAST16_MAX): Likewise.
696 [C99-based standards] (INT_FAST32_MIN): Likewise.
697 [C99-based standards] (INT_FAST32_MAX): Likewise.
698 [C99-based standards] (INT_FAST64_MIN): Likewise.
699 [C99-based standards] (INT_FAST64_MAX): Likewise.
700 [C99-based standards] (UINT_FAST8_MAX): Likewise.
701 [C99-based standards] (UINT_FAST16_MAX): Likewise.
702 [C99-based standards] (UINT_FAST32_MAX): Likewise.
703 [C99-based standards] (UINT_FAST64_MAX): Likewise.
704 [C99-based standards] (INTPTR_MIN): Likewise.
705 [C99-based standards] (INTPTR_MAX): Likewise.
706 [C99-based standards] (UINTPTR_MAX): Likewise.
707 [C99-based standards] (INTMAX_MIN): Likewise.
708 [C99-based standards] (INTMAX_MAX): Likewise.
709 [C99-based standards] (UINTMAX_MAX): Likewise.
710 [C99-based standards] (PTRDIFF_MIN): Likewise.
711 [C99-based standards] (PTRDIFF_MAX): Likewise.
712 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
713 [C99-based standards] (SIZE_MAX): Likewise.
714 [C99-based standards] (WCHAR_MAX): Likewise.
715 [C99-based standards] (WINT_MAX): Likewise.
716 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
717 constraint on value.
718 [C99-based standards] (WCHAR_MIN): Likewise.
719 [C99-based standards] (WINT_MIN): Likewise.
720 [C99-based standards] (*_t): Allow.
721 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
722 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
723 Include math.h-data and complex.h-data. Remove all expectations
724 of math.h and complex.h contents.
725 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
726 at end of line.
727 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
728 (struct tm): Expect tag.
729 [C99-based-standards] (wcstof): Expect function.
730 [C99-based-standards] (wcstold): Likewise.
731 [C99-based-standards] (wcstoll): Likewise.
732 [C99-based-standards] (wcstoull): Likewise.
733 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
734 macro-int-constant. Specify type.
735 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
736 constraint on value.
737 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
738 Specify type.
739 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
740 Specify value.
741 [ISO C standards]: Do not allow headers.
742 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
743 wcs[abcdefghijklmnopqrstuvwxyz]*.
744 [ISO C standards] (*_t): Do not allow.
745 * conform/data/wctype.h-data [C99-based standards] (iswblank):
746 Expect function.
747 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
748 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
749 Specify type.
750 [ISO C standards]: Do not allow headers.
751 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
752 is[abcdefghijklmnopqrstuvwxyz]*.
753 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
754 to[abcdefghijklmnopqrstuvwxyz]*.
755 [ISO C standards] (*_t): Do not allow.
756 * conform/data/stdalign.h-data: New file.
757 * conform/data/stdbool.h-data: Likewise.
758 * conform/data/stdnoreturn.h-data: Likewise.
759
01f34a3b
JL
7602012-11-07 Andreas Jaeger <aj@suse.de>
761
762 [BZ #14809]
763 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
764 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
765 guards are changed. Only define if not yet defined, #undef back
766 after including linux/sysctl.h if defined here.
767
7514feb8
RM
7682012-11-07 Roland McGrath <roland@hack.frob.com>
769
770 [BZ #14815]
771 * manual/filesys.texi (Directory Entries): Typo fix.
772 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
773
19b2ecfc
MS
7742012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
775
776 * elf/elf.h (EM_AARCH64): New macro.
777 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
778 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
779 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
780 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
781 (R_AARCH64_TLSDESC): Likewise.
782 (NT_ARM_TLS): Likewise.
783 (NT_ARM_HW_BREAK): Likewise.
784 (NT_ARM_HW_WATCH): Likewise.
785
60e235ee
JM
7862012-11-07 Joseph Myers <joseph@codesourcery.com>
787
788 [BZ #14811]
789 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
790 (__ieee754_powl): Saturate nonzero exponents with absolute value
791 below 0x1p-79 to +/- 0x1p-79.
792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
793 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
794 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
795 nonzero exponents with absolute value below 0x1p-32 to +/-
796 0x1p-32.
797 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
798 (__ieee754_powl): Saturate nonzero exponents with absolute value
799 below 0x1p-79 to +/- 0x1p-79.
800 * math/libm-test.inc (pow_test): Add more tests.
801
0ab234b7
AK
8022012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
803
804 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
805 _dl_s390_cap_flags with kernel. Increase string length.
806 (_dl_s390_platforms): Add z196 and zEC12.
807
45832f74
JM
8082012-11-07 Joseph Myers <joseph@codesourcery.com>
809
810 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
811 Change XOPEN21K to XOPEN2K.
812
19218757
MK
8132012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
814
815 * string/memmove.c: Use memcpy when possible.
816
c5f45721
AJ
8172012-11-06 Andreas Jaeger <aj@suse.de>
818
819 * po/eo.po: Update from translation team.
820
82477c28
JM
8212012-11-06 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #14793]
824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
825 exponent and small x and y exponents, scale x or y up. Increase
826 by 2 the exponent used in scaling up.
827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
829 * math/libm-test.inc (fma_test): Add more tests.
830 (fma_test_towardzero): Likewise.
831 (fma_test_downward): Likewise.
832 (fma_test_upward): Likewise.
833
99252c8c
JM
8342012-11-05 Joseph Myers <joseph@codesourcery.com>
835
acfa885f
JM
836 [BZ #14805]
837 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
838 fenv_t *.
839
99252c8c
JM
840 [BZ #14801]
841 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
842 namespace for names of struct fields.
843 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
844 fenv_t fields.
845 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
846 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
847
d6d98dea
ST
8482012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
849
850 [BZ #3665]
851 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
852
e10bb107
TS
8532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
854
855 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
856 PTR_DEMANGLE.
857
858 [BZ #5246]
859 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
860 PTR_DEMANGLE.
861
a0c2940d
JM
8622012-11-04 Joseph Myers <joseph@codesourcery.com>
863
864 [BZ #14797]
865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
866 definitely overflow as x * y not x * y + z.
867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
869 * math/libm-test.inc (fma_test): Add more tests.
870 (fma_test_towardzero): Likewise.
871 (fma_test_downward): Likewise.
872 (fma_test_upward): Likewise.
873
b830319d
TS
8742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
875
876 [BZ #157]
877
878 * include/stub-tag.h: Remove file.
879 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
880 '#include' of it.
881 * manual/maint.texi (Porting): Don't reference it.
882 * Makerules ($(objpfx)stubs): Likewise.
883 * dirent/closedir.c: Don't include <stub-tag.h>.
884 * dirent/dirfd.c: Likewise.
885 * dirent/fdopendir.c: Likewise.
886 * dirent/getdents.c: Likewise.
887 * dirent/getdents64.c: Likewise.
888 * dirent/opendir.c: Likewise.
889 * dirent/readdir.c: Likewise.
890 * dirent/readdir64.c: Likewise.
891 * dirent/readdir64_r.c: Likewise.
892 * dirent/readdir_r.c: Likewise.
893 * dirent/rewinddir.c: Likewise.
894 * dirent/seekdir.c: Likewise.
895 * dirent/telldir.c: Likewise.
896 * gmon/profil.c: Likewise.
897 * grp/setgroups.c: Likewise.
898 * inet/if_index.c: Likewise.
899 * io/access.c: Likewise.
900 * io/chdir.c: Likewise.
901 * io/chmod.c: Likewise.
902 * io/chown.c: Likewise.
903 * io/close.c: Likewise.
904 * io/dup.c: Likewise.
905 * io/dup2.c: Likewise.
906 * io/dup3.c: Likewise.
907 * io/euidaccess.c: Likewise.
908 * io/faccessat.c: Likewise.
909 * io/fchdir.c: Likewise.
910 * io/fchmod.c: Likewise.
911 * io/fchmodat.c: Likewise.
912 * io/fchown.c: Likewise.
913 * io/fchownat.c: Likewise.
914 * io/fcntl.c: Likewise.
915 * io/flock.c: Likewise.
916 * io/fstatfs.c: Likewise.
917 * io/fstatfs64.c: Likewise.
918 * io/fstatvfs.c: Likewise.
919 * io/fstatvfs64.c: Likewise.
920 * io/futimens.c: Likewise.
921 * io/fxstat.c: Likewise.
922 * io/fxstat64.c: Likewise.
923 * io/fxstatat.c: Likewise.
924 * io/fxstatat64.c: Likewise.
925 * io/getcwd.c: Likewise.
926 * io/isatty.c: Likewise.
927 * io/lchmod.c: Likewise.
928 * io/lchown.c: Likewise.
929 * io/link.c: Likewise.
930 * io/linkat.c: Likewise.
931 * io/lseek.c: Likewise.
932 * io/lseek64.c: Likewise.
933 * io/lxstat64.c: Likewise.
934 * io/mkdir.c: Likewise.
935 * io/mkdirat.c: Likewise.
936 * io/mkfifo.c: Likewise.
937 * io/mkfifoat.c: Likewise.
938 * io/open.c: Likewise.
939 * io/open64.c: Likewise.
940 * io/openat.c: Likewise.
941 * io/openat64.c: Likewise.
942 * io/pipe.c: Likewise.
943 * io/pipe2.c: Likewise.
944 * io/poll.c: Likewise.
945 * io/posix_fadvise.c: Likewise.
946 * io/posix_fadvise64.c: Likewise.
947 * io/posix_fallocate.c: Likewise.
948 * io/posix_fallocate64.c: Likewise.
949 * io/read.c: Likewise.
950 * io/readlink.c: Likewise.
951 * io/readlinkat.c: Likewise.
952 * io/rmdir.c: Likewise.
953 * io/sendfile.c: Likewise.
954 * io/sendfile64.c: Likewise.
955 * io/statfs.c: Likewise.
956 * io/statfs64.c: Likewise.
957 * io/statvfs.c: Likewise.
958 * io/statvfs64.c: Likewise.
959 * io/symlink.c: Likewise.
960 * io/symlinkat.c: Likewise.
961 * io/ttyname.c: Likewise.
962 * io/ttyname_r.c: Likewise.
963 * io/umask.c: Likewise.
964 * io/unlink.c: Likewise.
965 * io/unlinkat.c: Likewise.
966 * io/utime.c: Likewise.
967 * io/utimensat.c: Likewise.
968 * io/write.c: Likewise.
969 * io/xmknod.c: Likewise.
970 * io/xmknodat.c: Likewise.
971 * io/xstat.c: Likewise.
972 * io/xstat64.c: Likewise.
973 * login/getpt.c: Likewise.
974 * login/grantpt.c: Likewise.
975 * login/unlockpt.c: Likewise.
976 * math/e_acoshl.c: Likewise.
977 * math/e_acosl.c: Likewise.
978 * math/e_asinl.c: Likewise.
979 * math/e_atan2l.c: Likewise.
980 * math/e_atanhl.c: Likewise.
981 * math/e_coshl.c: Likewise.
982 * math/e_expl.c: Likewise.
983 * math/e_fmodl.c: Likewise.
984 * math/e_gammal_r.c: Likewise.
985 * math/e_hypotl.c: Likewise.
986 * math/e_j0l.c: Likewise.
987 * math/e_j1l.c: Likewise.
988 * math/e_jnl.c: Likewise.
989 * math/e_lgammal_r.c: Likewise.
990 * math/e_log10l.c: Likewise.
991 * math/e_log2l.c: Likewise.
992 * math/e_logl.c: Likewise.
993 * math/e_powl.c: Likewise.
994 * math/e_rem_pio2l.c: Likewise.
995 * math/e_sinhl.c: Likewise.
996 * math/e_sqrtl.c: Likewise.
997 * math/fclrexcpt.c: Likewise.
998 * math/fedisblxcpt.c: Likewise.
999 * math/feenablxcpt.c: Likewise.
1000 * math/fegetenv.c: Likewise.
1001 * math/fegetexcept.c: Likewise.
1002 * math/fegetround.c: Likewise.
1003 * math/feholdexcpt.c: Likewise.
1004 * math/fesetenv.c: Likewise.
1005 * math/fesetround.c: Likewise.
1006 * math/feupdateenv.c: Likewise.
1007 * math/fgetexcptflg.c: Likewise.
1008 * math/fraiseexcpt.c: Likewise.
1009 * math/fsetexcptflg.c: Likewise.
1010 * math/ftestexcept.c: Likewise.
1011 * math/k_cosl.c: Likewise.
1012 * math/k_rem_pio2l.c: Likewise.
1013 * math/k_sinl.c: Likewise.
1014 * math/k_tanl.c: Likewise.
1015 * math/s_asinhl.c: Likewise.
1016 * math/s_atanl.c: Likewise.
1017 * math/s_cbrtl.c: Likewise.
1018 * math/s_erfl.c: Likewise.
1019 * math/s_expm1l.c: Likewise.
1020 * math/s_log1pl.c: Likewise.
1021 * math/s_tanhl.c: Likewise.
1022 * misc/acct.c: Likewise.
1023 * misc/brk.c: Likewise.
1024 * misc/chflags.c: Likewise.
1025 * misc/chroot.c: Likewise.
1026 * misc/fchflags.c: Likewise.
1027 * misc/fgetxattr.c: Likewise.
1028 * misc/flistxattr.c: Likewise.
1029 * misc/fremovexattr.c: Likewise.
1030 * misc/fsetxattr.c: Likewise.
1031 * misc/fsync.c: Likewise.
1032 * misc/ftruncate.c: Likewise.
1033 * misc/futimes.c: Likewise.
1034 * misc/futimesat.c: Likewise.
1035 * misc/getdomain.c: Likewise.
1036 * misc/getdtsz.c: Likewise.
1037 * misc/gethostid.c: Likewise.
1038 * misc/gethostname.c: Likewise.
1039 * misc/getloadavg.c: Likewise.
1040 * misc/getpagesize.c: Likewise.
1041 * misc/getsysstats.c: Likewise.
1042 * misc/getxattr.c: Likewise.
1043 * misc/gtty.c: Likewise.
1044 * misc/ioctl.c: Likewise.
1045 * misc/lgetxattr.c: Likewise.
1046 * misc/listxattr.c: Likewise.
1047 * misc/llistxattr.c: Likewise.
1048 * misc/lremovexattr.c: Likewise.
1049 * misc/lsetxattr.c: Likewise.
1050 * misc/lutimes.c: Likewise.
1051 * misc/madvise.c: Likewise.
1052 * misc/mincore.c: Likewise.
1053 * misc/mlock.c: Likewise.
1054 * misc/mlockall.c: Likewise.
1055 * misc/mmap.c: Likewise.
1056 * misc/mprotect.c: Likewise.
1057 * misc/msync.c: Likewise.
1058 * misc/munlock.c: Likewise.
1059 * misc/munlockall.c: Likewise.
1060 * misc/munmap.c: Likewise.
1061 * misc/preadv.c: Likewise.
1062 * misc/preadv64.c: Likewise.
1063 * misc/ptrace.c: Likewise.
1064 * misc/pwritev.c: Likewise.
1065 * misc/pwritev64.c: Likewise.
1066 * misc/readv.c: Likewise.
1067 * misc/reboot.c: Likewise.
1068 * misc/remap_file_pages.c: Likewise.
1069 * misc/removexattr.c: Likewise.
1070 * misc/revoke.c: Likewise.
1071 * misc/select.c: Likewise.
1072 * misc/setdomain.c: Likewise.
1073 * misc/setegid.c: Likewise.
1074 * misc/seteuid.c: Likewise.
1075 * misc/sethostid.c: Likewise.
1076 * misc/sethostname.c: Likewise.
1077 * misc/setregid.c: Likewise.
1078 * misc/setreuid.c: Likewise.
1079 * misc/setxattr.c: Likewise.
1080 * misc/sstk.c: Likewise.
1081 * misc/stty.c: Likewise.
1082 * misc/swapoff.c: Likewise.
1083 * misc/swapon.c: Likewise.
1084 * misc/sync.c: Likewise.
1085 * misc/syncfs.c: Likewise.
1086 * misc/syscall.c: Likewise.
1087 * misc/truncate.c: Likewise.
1088 * misc/ualarm.c: Likewise.
1089 * misc/usleep.c: Likewise.
1090 * misc/ustat.c: Likewise.
1091 * misc/utimes.c: Likewise.
1092 * misc/vhangup.c: Likewise.
1093 * misc/writev.c: Likewise.
1094 * posix/_exit.c: Likewise.
1095 * posix/alarm.c: Likewise.
1096 * posix/execve.c: Likewise.
1097 * posix/fexecve.c: Likewise.
1098 * posix/fork.c: Likewise.
1099 * posix/fpathconf.c: Likewise.
1100 * posix/getaddrinfo.c: Likewise.
1101 * posix/getegid.c: Likewise.
1102 * posix/geteuid.c: Likewise.
1103 * posix/getgid.c: Likewise.
1104 * posix/getgroups.c: Likewise.
1105 * posix/getlogin.c: Likewise.
1106 * posix/getlogin_r.c: Likewise.
1107 * posix/getpgid.c: Likewise.
1108 * posix/getpid.c: Likewise.
1109 * posix/getppid.c: Likewise.
1110 * posix/getresgid.c: Likewise.
1111 * posix/getresuid.c: Likewise.
1112 * posix/getsid.c: Likewise.
1113 * posix/getuid.c: Likewise.
1114 * posix/glob64.c: Likewise.
1115 * posix/nanosleep.c: Likewise.
1116 * posix/pathconf.c: Likewise.
1117 * posix/pause.c: Likewise.
1118 * posix/posix_madvise.c: Likewise.
1119 * posix/pread.c: Likewise.
1120 * posix/pread64.c: Likewise.
1121 * posix/pwrite.c: Likewise.
1122 * posix/pwrite64.c: Likewise.
1123 * posix/sched_getaffinity.c: Likewise.
1124 * posix/sched_getp.c: Likewise.
1125 * posix/sched_gets.c: Likewise.
1126 * posix/sched_primax.c: Likewise.
1127 * posix/sched_primin.c: Likewise.
1128 * posix/sched_rr_gi.c: Likewise.
1129 * posix/sched_setaffinity.c: Likewise.
1130 * posix/sched_setp.c: Likewise.
1131 * posix/sched_sets.c: Likewise.
1132 * posix/sched_yield.c: Likewise.
1133 * posix/setgid.c: Likewise.
1134 * posix/setlogin.c: Likewise.
1135 * posix/setpgid.c: Likewise.
1136 * posix/setresgid.c: Likewise.
1137 * posix/setresuid.c: Likewise.
1138 * posix/setsid.c: Likewise.
1139 * posix/setuid.c: Likewise.
1140 * posix/sleep.c: Likewise.
1141 * posix/spawni.c: Likewise.
1142 * posix/sysconf.c: Likewise.
1143 * posix/times.c: Likewise.
1144 * posix/wait.c: Likewise.
1145 * posix/wait3.c: Likewise.
1146 * posix/wait4.c: Likewise.
1147 * posix/waitpid.c: Likewise.
1148 * resolv/gai_sigqueue.c: Likewise.
1149 * resource/getpriority.c: Likewise.
1150 * resource/getrlimit.c: Likewise.
1151 * resource/getrusage.c: Likewise.
1152 * resource/nice.c: Likewise.
1153 * resource/setpriority.c: Likewise.
1154 * resource/setrlimit.c: Likewise.
1155 * resource/ulimit.c: Likewise.
1156 * rt/aio_cancel.c: Likewise.
1157 * rt/aio_fsync.c: Likewise.
1158 * rt/aio_read.c: Likewise.
1159 * rt/aio_sigqueue.c: Likewise.
1160 * rt/aio_suspend.c: Likewise.
1161 * rt/aio_write.c: Likewise.
1162 * rt/clock_getres.c: Likewise.
1163 * rt/clock_gettime.c: Likewise.
1164 * rt/clock_nanosleep.c: Likewise.
1165 * rt/clock_settime.c: Likewise.
1166 * rt/lio_listio.c: Likewise.
1167 * rt/mq_close.c: Likewise.
1168 * rt/mq_getattr.c: Likewise.
1169 * rt/mq_notify.c: Likewise.
1170 * rt/mq_open.c: Likewise.
1171 * rt/mq_receive.c: Likewise.
1172 * rt/mq_send.c: Likewise.
1173 * rt/mq_setattr.c: Likewise.
1174 * rt/mq_timedreceive.c: Likewise.
1175 * rt/mq_timedsend.c: Likewise.
1176 * rt/mq_unlink.c: Likewise.
1177 * rt/shm_open.c: Likewise.
1178 * rt/shm_unlink.c: Likewise.
1179 * rt/timer_create.c: Likewise.
1180 * rt/timer_delete.c: Likewise.
1181 * rt/timer_getoverr.c: Likewise.
1182 * rt/timer_gettime.c: Likewise.
1183 * rt/timer_settime.c: Likewise.
1184 * setjmp/__longjmp.c: Likewise.
1185 * setjmp/setjmp.c: Likewise.
1186 * signal/kill.c: Likewise.
1187 * signal/killpg.c: Likewise.
1188 * signal/raise.c: Likewise.
1189 * signal/sigaction.c: Likewise.
1190 * signal/sigaltstack.c: Likewise.
1191 * signal/sigblock.c: Likewise.
1192 * signal/sigignore.c: Likewise.
1193 * signal/sigintr.c: Likewise.
1194 * signal/signal.c: Likewise.
1195 * signal/sigpause.c: Likewise.
1196 * signal/sigpending.c: Likewise.
1197 * signal/sigqueue.c: Likewise.
1198 * signal/sigreturn.c: Likewise.
1199 * signal/sigset.c: Likewise.
1200 * signal/sigsetmask.c: Likewise.
1201 * signal/sigstack.c: Likewise.
1202 * signal/sigsuspend.c: Likewise.
1203 * signal/sigtimedwait.c: Likewise.
1204 * signal/sigvec.c: Likewise.
1205 * signal/sigwait.c: Likewise.
1206 * signal/sigwaitinfo.c: Likewise.
1207 * signal/sysv_signal.c: Likewise.
1208 * socket/accept.c: Likewise.
1209 * socket/accept4.c: Likewise.
1210 * socket/bind.c: Likewise.
1211 * socket/connect.c: Likewise.
1212 * socket/getpeername.c: Likewise.
1213 * socket/getsockname.c: Likewise.
1214 * socket/getsockopt.c: Likewise.
1215 * socket/isfdtype.c: Likewise.
1216 * socket/listen.c: Likewise.
1217 * socket/recv.c: Likewise.
1218 * socket/recvfrom.c: Likewise.
1219 * socket/recvmsg.c: Likewise.
1220 * socket/send.c: Likewise.
1221 * socket/sendmsg.c: Likewise.
1222 * socket/sendto.c: Likewise.
1223 * socket/setsockopt.c: Likewise.
1224 * socket/shutdown.c: Likewise.
1225 * socket/sockatmark.c: Likewise.
1226 * socket/socket.c: Likewise.
1227 * socket/socketpair.c: Likewise.
1228 * stdio-common/ctermid.c: Likewise.
1229 * stdio-common/cuserid.c: Likewise.
1230 * stdio-common/remove.c: Likewise.
1231 * stdio-common/rename.c: Likewise.
1232 * stdio-common/renameat.c: Likewise.
1233 * stdio-common/tempname.c: Likewise.
1234 * stdlib/getcontext.c: Likewise.
1235 * stdlib/makecontext.c: Likewise.
1236 * stdlib/setcontext.c: Likewise.
1237 * stdlib/swapcontext.c: Likewise.
1238 * stdlib/system.c: Likewise.
1239 * streams/fattach.c: Likewise.
1240 * streams/fdetach.c: Likewise.
1241 * streams/getmsg.c: Likewise.
1242 * streams/getpmsg.c: Likewise.
1243 * streams/putmsg.c: Likewise.
1244 * streams/putpmsg.c: Likewise.
1245 * sysdeps/unix/bsd/getpt.c: Likewise.
1246 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1247 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1248 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1250 Likewise.
1251 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1252 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1253 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1254 * sysvipc/msgctl.c: Likewise.
1255 * sysvipc/msgget.c: Likewise.
1256 * sysvipc/msgrcv.c: Likewise.
1257 * sysvipc/msgsnd.c: Likewise.
1258 * sysvipc/semctl.c: Likewise.
1259 * sysvipc/semget.c: Likewise.
1260 * sysvipc/semop.c: Likewise.
1261 * sysvipc/semtimedop.c: Likewise.
1262 * sysvipc/shmat.c: Likewise.
1263 * sysvipc/shmctl.c: Likewise.
1264 * sysvipc/shmdt.c: Likewise.
1265 * sysvipc/shmget.c: Likewise.
1266 * termios/tcdrain.c: Likewise.
1267 * termios/tcflow.c: Likewise.
1268 * termios/tcflush.c: Likewise.
1269 * termios/tcgetattr.c: Likewise.
1270 * termios/tcgetpgrp.c: Likewise.
1271 * termios/tcsendbrk.c: Likewise.
1272 * termios/tcsetattr.c: Likewise.
1273 * termios/tcsetpgrp.c: Likewise.
1274 * time/adjtime.c: Likewise.
1275 * time/clock.c: Likewise.
1276 * time/getitimer.c: Likewise.
1277 * time/gettimeofday.c: Likewise.
1278 * time/setitimer.c: Likewise.
1279 * time/settimeofday.c: Likewise.
1280 * time/stime.c: Likewise.
1281 * time/time.c: Likewise.
1282
12832012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1284
a20492cf
PT
1285 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1286 /usr/old/bin.
1287
72e182e3
PT
1288 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1289 instead of spaces.
1290 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1291
fbeafede
JM
12922012-11-03 Joseph Myers <joseph@codesourcery.com>
1293
5b5b04d6
JM
1294 [BZ #14796]
1295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1296 FE_TONEAREST before applying Dekker multiplication and Knuth
1297 addition. Clear inexact exceptions and check for exact zero
1298 results afterwards.
1299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1300 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1302 * math/libm-test.inc (fma_test): Add more tests.
1303 (fma_test_towardzero): Likewise.
1304 (fma_test_downward): Likewise.
1305 (fma_test_upward): Likewise.
1306 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1307 function.
1308 (libc_fesetround): New macro.
1309 (libc_fesetroundf): Likewise.
1310 (libc_fesetroundl): Likewise.
1311 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1312 function.
1313 (libc_fesetround_387): Likewise.
1314 (libc_fesetroundf): New macro.
1315 (libc_fesetround): Likewise.
1316 (libc_fesetroundl): Likewise.
1317 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1318 function.
1319 (libc_fesetroundf): New macro.
1320 (libc_fesetround): Likewise.
1321 (libc_fesetroundl): Likewise.
1322 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1323 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1324 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1325 libm_hidden_ver.
1326 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1327 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1328 libm_hidden_def.
1329 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1330 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1331 libm_hidden_ver.
1332 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1333 libm_hidden_def.
1334
fbeafede
JM
1335 [BZ #3439]
1336 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1337 integer constant usable in #if and use that to give value to enum
1338 constant.
1339 (FE_DIVBYZERO): Likewise.
1340 (FE_UNDERFLOW): Likewise.
1341 (FE_OVERFLOW): Likewise.
1342 (FE_INVALID): Likewise.
1343 (FE_INVALID_SNAN): Likewise.
1344 (FE_INVALID_ISI): Likewise.
1345 (FE_INVALID_IDI): Likewise.
1346 (FE_INVALID_ZDZ): Likewise.
1347 (FE_INVALID_IMZ): Likewise.
1348 (FE_INVALID_COMPARE): Likewise.
1349 (FE_INVALID_SOFTWARE): Likewise.
1350 (FE_INVALID_SQRT): Likewise.
1351 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1352 (FE_TONEAREST): Likewise.
1353 (FE_TOWARDZERO): Likewise.
1354 (FE_UPWARD): Likewise.
1355 (FE_DOWNWARD): Likewise.
1356 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1357 (FE_DIVBYZERO): Likewise.
1358 (FE_OVERFLOW): Likewise.
1359 (FE_UNDERFLOW): Likewise.
1360 (FE_INEXACT): Likewise.
1361 (FE_TONEAREST): Likewise.
1362 (FE_DOWNWARD): Likewise.
1363 (FE_UPWARD): Likewise.
1364 (FE_TOWARDZERO): Likewise.
1365 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1366 (FE_UNDERFLOW): Likewise.
1367 (FE_OVERFLOW): Likewise.
1368 (FE_DIVBYZERO): Likewise.
1369 (FE_INVALID): Likewise.
1370 (FE_TONEAREST): Likewise.
1371 (FE_TOWARDZERO): Likewise.
1372 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1373 (FE_OVERFLOW): Likewise.
1374 (FE_UNDERFLOW): Likewise.
1375 (FE_DIVBYZERO): Likewise.
1376 (FE_INEXACT): Likewise.
1377 (FE_TONEAREST): Likewise.
1378 (FE_TOWARDZERO): Likewise.
1379 (FE_UPWARD): Likewise.
1380 (FE_DOWNWARD): Likewise.
1381 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1382 (FE_DIVBYZERO): Likewise.
1383 (FE_OVERFLOW): Likewise.
1384 (FE_UNDERFLOW): Likewise.
1385 (FE_INEXACT): Likewise.
1386 (FE_TONEAREST): Likewise.
1387 (FE_DOWNWARD): Likewise.
1388 (FE_UPWARD): Likewise.
1389 (FE_TOWARDZERO): Likewise.
1390
105ca950
CM
13912012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1392
1393 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1394
a542b389
AS
13952012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1396
1397 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1398 commands. Quote $PWD.
1399 (blacklist_exports): Don't use remove_newlines. Replace "declare
1400 -x" by "export".
1401 (remove_newlines): Remove.
1402
f62c8abc
L
14032012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1404
1405 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1406 * stdlib/stdlib.h (atof): Moved to ...
1407 * include/bits/stdlib-float.h: Here. New file.
1408 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1409 * stdlib/bits/stdlib-float.h: New file.
1410 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1411 -mno-sse -mno-mmx.
1412 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1413 <xmmintrin.h>.
1414
0155d5b2
JM
14152012-11-02 Joseph Myers <joseph@codesourcery.com>
1416
a68d0680
JM
1417 * conform/conformtest.pl (@headers): Add fenv.h.
1418 * conform/data/fenv.h-data: New file.
1419 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1420 include of <math/fenv.h>.
1421
caf7f573
JM
1422 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1423 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1424 && !UNIX98]. Enables tests for XOPEN2K8.
1425 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1426 POSIX2008]: Likewise.
1427
6c073ad6
JM
1428 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1429 (struct rusage): Do not expect type or its members.
1430
0155d5b2
JM
1431 [BZ #3439]
1432 * math/math.h (FP_NAN): Define macro to integer constant usable in
1433 #if and use that to give value to enum constant.
1434 (FP_INFINITE): Likewise.
1435 (FP_ZERO): Likewise.
1436 (FP_SUBNORMAL): Likewise.
1437 (FP_NORMAL): Likewise.
1438
b5dcacb4
AS
14392012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1440
1441 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1442 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1443 arguments.
1444
f7934be8
RM
14452012-11-02 Roland McGrath <roland@hack.frob.com>
1446
1447 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1448 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1449 autoconf-time if not.
1450 * configure.in: Remove AC_PREREQ.
1451
d7d08bde
TMQMF
14522012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1455 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1456 of the internal implementation.
1457
dcdae19a
JM
14582012-11-02 Joseph Myers <joseph@codesourcery.com>
1459
1460 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1461 except include of <misc/sys/syslog.h>.
1462
d6cffd3e
AS
14632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1466 function returns with a NULL context exit with zero.
1467
b3563932
TMQMF
14682012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1469
1470 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1471
b288a93d
L
14722012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1475 (run_program_cmd): This.
1476 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1477 (tst_langinfo): New variable. Use it.
1478
a2421a68
SAS
14792012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1480
1481 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1482 floating point opcodes.
1483
6f796e1b
TS
14842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1485
7402596b
TS
1486 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1487 variable.
1488
d0d4f868
TS
1489 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1490
6f796e1b
TS
1491 * sysdeps/mach/hurd/powerpc: Remove directory.
1492 * sysdeps/mach/powerpc: Likewise.
1493
4da224a2
AS
14942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1495
1496 * scripts/check-local-headers.sh: Ignore c++ headers.
1497
341dd673
TS
14982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1499
1500 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1501 __libc_cleanup_region_start argument.
1502
473611b2
JM
15032012-11-01 Joseph Myers <joseph@codesourcery.com>
1504
1505 [BZ #14784]
1506 [BZ #14785]
1507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1508 x * y using scaling, not as x * y + z.
1509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1510 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1511 * math/libm-test.inc (fma_test): Add more tests.
1512 (fma_test_towardzero): Likewise.
1513 (fma_test_downward): Likewise.
1514 (fma_test_upward): Likewise.
1515
4078da3d
TS
15162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1517
1518 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1519
903252aa
JM
15202012-10-31 Joseph Myers <joseph@codesourcery.com>
1521
1522 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1523 New variable.
1524
cbc818d0
TS
15252012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1526
1527 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1528
5a03cb1e
AS
15292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1532 Fix sort order.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1534 Likewise.
1535
90aff2ff
TMQMF
15362012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1537
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1539 Fix the order of the list for glibc 2.17.
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1541 Likewise.
1542
1818fcb7
AS
15432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1544
1545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1546
ef82f4da
JM
15472012-10-31 Joseph Myers <joseph@codesourcery.com>
1548
16a0e2ec
JM
1549 [BZ #14610]
1550 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1551 for low part of x being zero before using __atanl (y).
1552 * math/libm-test.inc (atan2_test): Add another test.
1553
0eb69512
JM
1554 * manual/install.texi (Configuring and compiling): Document
1555 general use of test-wrapper and test-wrapper-env.
1556 * INSTALL: Regenerated.
1557
ef82f4da
JM
1558 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1559 (__fma): Do not extract and scale down low bits on after-rounding
1560 systems when result rounded to normal precision would have normal
1561 exponent.
1562 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1563 (__fmal): Do not extract and scale down low bits on after-rounding
1564 systems when result rounded to normal precision would have normal
1565 exponent.
1566 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1567 (__fmal): Do not extract and scale down low bits on after-rounding
1568 systems when result rounded to normal precision would have normal
1569 exponent.
1570 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1571 macro.
1572 (fma_test): Add more tests.
1573 (fma_test_towardzero): Likewise.
1574 (fma_test_downward): Likewise.
1575 (fma_test_upward): Likewise.
1576
954ef0d9
L
15772012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * sysdeps/i386/tininess.h: Renamed to ...
1580 * sysdeps/x86/tininess.h: This.
1581 * sysdeps/x86_64/tininess.h: Removed.
1582
df61ffb2
JM
15832012-10-30 Joseph Myers <joseph@codesourcery.com>
1584
1585 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1586 input. Use $(build-program-cmd).
1587 ($(objpfx)tst-array1-static.out): Likewise.
1588 ($(objpfx)tst-array2.out): Likewise.
1589 ($(objpfx)tst-array3.out): Likewise.
1590 ($(objpfx)tst-array4.out): Likewise.
1591 ($(objpfx)tst-array5.out): Likewise.
1592 ($(objpfx)tst-array5-static.out): Likewise.
1593
01767843
CM
15942012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1595
47cc1490
CM
1596 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1597 if defined.
1598
01767843
CM
1599 * nss/nsswitch.h (nss_interface_function): Provide new
1600 macro for use with NSS functions.
1601 * grp/initgroups.c: Use new macro.
1602 * nss/getXXbyYY.c: Likewise.
1603 * nss/getXXbyYY_r.c: Likewise.
1604 * nss/getXXent.c: Likewise.
1605 * nss/getXXent_r.c: Likewise.
1606 * sysdeps/posix/getaddrinfo.c: Likewise.
1607
8321aa97
AJ
16082012-10-30 Andreas Jaeger <aj@suse.de>
1609
1610 * po/ru.po: Update Russion translation from translation project.
1611
2a27fd6d
JM
16122012-10-30 Joseph Myers <joseph@codesourcery.com>
1613
8627a232
JM
1614 [BZ #14152]
1615 [BZ #14783]
1616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1617 result and shift together with sticky bit instead of replicating
1618 round-to-nearest rounding.
1619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1621 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1622 missing underflow exceptions.
1623 (fma_test_towardzero): Add more tests.
1624 (fma_test_downward): Likewise.
1625 (fma_test_upward): Likewise.
1626
2a27fd6d
JM
1627 [BZ #14047]
1628 * sysdeps/generic/tininess.h: New file.
1629 * sysdeps/i386/tininess.h: Likewise.
1630 * sysdeps/sh/tininess.h: Likewise.
1631 * sysdeps/x86_64/tininess.h: Likewise.
1632 * stdlib/tst-strtod-underflow.c: Likewise.
1633 * stdlib/tst-tininess.c: Likewise.
1634 * stdlib/strtod_l.c: Include <tininess.h>.
1635 (round_and_return): Do not set errno for exact underflow cases.
1636 Force an underflow exception when setting errno for underflow.
1637 Determine underflow based on rounding to normal precision if
1638 TININESS_AFTER_ROUNDING.
1639 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1640 ERANGE for exact underflow cases.
1641 * stdlib/Makefile (tests): Add tst-tininess and
1642 tst-strtod-underflow.
1643 ($(objpfx)tst-tininess): Use $(link-libm).
1644 ($(objpfx)tst-strtod-underflow): Likewise.
1645
e7170363
AJ
16462012-10-30 Andreas Jaeger <aj@suse.de>
1647
e5088dc6
AJ
1648 [BZ#14767]
1649 * elf/Makefile (tests): Remove conditional for have-initfini-array
1650 since this is now always required and the variable does not exist
1651 anymore.
1652 (tests-static): Likewise.
1653 (modules-names): Likewise.
1654
e7170363 1655 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1656
1657 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1658 merged with constructor/destructor.
1659 (init_array): Likewise.
1660 * elf/tst-array2dep.c (fini_array): Likewise.
1661 (init_array): Likewise.
1662
60457d8a
MF
16632012-10-29 Mike Frysinger <vapier@gentoo.org>
1664
1665 * manual/message.texi: Delete @cartouche tags.
1666
8bece752
PT
16672012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1668
94ce799f
PT
1669 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1670 EOPNOTSUPP.
1671 * sysdeps/mach/hurd/fsync.c: Likewise.
1672
8bece752
PT
1673 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1674 [_POSIX_REALTIME_SIGNALS]: Change condition to
1675 [_POSIX_REALTIME_SIGNALS > 0].
1676
86ebe6b1
AJ
16772012-10-27 Andreas Jaeger <aj@suse.de>
1678
1679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1680 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1682 [__WORDSIZE != 64]: Likewise.
1683
54399c08
L
16842012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1685
1686 * iconvdata/tst-table.sh: Remove ${SHELL}.
1687 * iconvdata/tst-tables.sh: Likewise.
1688
e2211bed
DM
16892012-10-25 David S. Miller <davem@davemloft.net>
1690
1691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1692 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1693 of strtoull.
1694
f303f97c
DM
1695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1696 ifunc-impl-list.c
1697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1698 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1699 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1700 file.
1701
1e9d84cd
RM
17022012-10-25 Roland McGrath <roland@hack.frob.com>
1703
1704 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1705 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1706 __getdirentries.
1707
df381762
JM
17082012-10-25 Joseph Myers <joseph@codesourcery.com>
1709 Jim Blandy <jimb@codesourcery.com>
1710
1711 * scripts/cross-test-ssh.sh: New file.
1712 * manual/install.texi (Configuring and compiling): Document use of
1713 cross-test-ssh.sh.
1714 * INSTALL: Regenerated.
1715
bff64913
PT
17162012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1717
1718 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1719 EOPNOTSUPP.
1720
25fe8932
JM
17212012-10-25 Joseph Myers <joseph@codesourcery.com>
1722
1723 * Makeconfig (run-program-prefix): Fix comment.
1724
cc1290d0
JM
17252012-10-24 Joseph Myers <joseph@codesourcery.com>
1726 Jim Blandy <jimb@codesourcery.com>
1727
1728 * Makeconfig (test-wrapper): New variable,
1729 (test-wrapper-env): Likewise.
1730 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1731 (run-built-tests): Define to yes.
1732 (run-program-prefix): Use $(test-wrapper).
1733 (built-program-cmd): Likewise.
1734 * Rules (make-test-out): Use $(test-wrapper-env) and
1735 $(host-built-program-cmd).
1736 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1737 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1738 tst-pathopt.sh.
1739 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1740 $(test-wrapper-env) to tst-rtld-load-self.sh.
1741 ($(objpfx)order2.out): Use $(test-wrapper).
1742 ($(objpfx)tst-initorder.out): Likewise.
1743 ($(objpfx)tst-initorder2.out): Likewise.
1744 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1745 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1746 (test_wrapper_env): New variable. Use it to run ld.so.
1747 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1748 Use it to run ld.so.
1749 (test_wrapper_env): Likewise.
1750 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1751 $(test-wrapper) to run-iconv-test.sh.
1752 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1753 (ICONV): Use $test_wrapper.
1754 * posix/Makefile ($(objpfx)globtest.out): Pass
1755 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1756 globtest.sh, not $(run-program-prefix).
1757 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1758 (test_wrapper): Likewise.
1759 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1760 set together with run_via_rtld_prefix.
1761 (run_program_prefix): Define in terms of test_wrapper and
1762 run_via_rtld_prefix.
1763
6e6249d0
RM
17642012-10-24 Roland McGrath <roland@hack.frob.com>
1765
1766 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1767 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1768 Targets removed.
1769
1770 [BZ #14743]
1771 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1772 Declare __clock_getres, __clock_gettime, __clock_settime,
1773 __clock_nanosleep, and __clock_getcpuclockid.
1774 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1775 Remove librt_hidden_def (clock_gettime).
1776 * sysdeps/unix/clock_gettime.c: Likewise.
1777 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1779 * rt/clock_getres.c: Define __clock_getres as an alias.
1780 * sysdeps/posix/clock_getres.c: Likewise.
1781 * rt/clock_settime.c: Define __clock_settime as an alias.
1782 * sysdeps/unix/clock_settime.c: Likewise.
1783 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1784 * sysdeps/unix/clock_nanosleep.c: Likewise.
1785 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1786 * rt/clock-compat.c: New file.
1787 * rt/Makefile (librt-routines): Add clock-compat and move
1788 $(clock-routines) to ...
1789 (routines): ... here, new variable.
1790 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1791 Don't add get_clockfreq here.
1792 * rt/Versions (libc: GLIBC_2.17): New version set.
1793 Add clock_* symbols here.
1794 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1796 (GLIBC_2.17): Add clock_* symbols.
1797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1801 Likewise.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1808 * NEWS: Mention the move.
1809
1810 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1811 Use __open, __read, __close rather than their public counterparts.
1812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1813 (__get_clockfreq_via_cpuinfo): Likewise.
1814 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1815 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1816
1817 * config.h.in (HAVE_IFUNC): New #undef.
1818 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1819 was successful.
1820 * configure: Regenerated.
1821
0cae3f4b
MF
18222012-10-24 Mike Frysinger <vapier@gentoo.org>
1823
1824 * configure.in: Move READELF check to start of file.
1825 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1826 libc_cv_asm_gnu_indirect_function in the process.
1827 * configure: Regenerated.
1828
8175a253
MF
18292012-10-24 Mike Frysinger <vapier@gentoo.org>
1830
1831 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1832 send the output to /dev/null.
1833 (libc_cv_cc_with_libunwind): Likewise.
1834 (libc_cv_as_noexecstack): Likewise.
1835 * configure: Regenerate.
1836
0708a7d1
JM
18372012-10-24 Joseph Myers <joseph@codesourcery.com>
1838
10b40d85
JM
1839 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1840
0708a7d1
JM
1841 * posix/globtest.sh (TMPDIR): Do not set.
1842 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1843 (testout): Likewise.
1844
9fddec1a
AJ
18452012-10-24 Andreas Jaeger <aj@suse.de>
1846
3a8db22f
AJ
1847 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1848 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1849 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1850 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1851 posix_fadvise64, posix_fallocate64.
1852
9fddec1a
AJ
1853 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1854 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1855 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1856 Likewise.
1857 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1858 Likewise.
1859 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1860
1861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1862 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1863 <bits/fcntl-linux.h>.
1864 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1865
1866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1867 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1868 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1869 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1870 [__WORDSIZE != 64]: Likewise.
1871
ebfd1bbd
JM
18722012-10-23 Joseph Myers <joseph@codesourcery.com>
1873
03ac099f
JM
1874 * Makeconfig (run-built-tests): New variable.
1875 * Rules [$(cross-compiling) = yes]: Change condition to
1876 [$(run-built-tests) = no].
1877 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1878 to [$(run-built-tests) = yes].
1879 * elf/Makefile [$(cross-compiling) = no]: Likewise
1880 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1881 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1882 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1883 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1884 * io/Makefile [$(cross-compiling) = no]: Likewise.
1885 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1886 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1887 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1888 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1889 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1890 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1891 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1892 * string/Makefile [$(cross-compiling) = no]: Likewise.
1893
ebfd1bbd
JM
1894 * posix/Makefile ($(objpfx)globtest.out): Pass
1895 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1896 $(rtld-installed-name).
1897 * posix/globtest.sh (elf_objpfx): Remove variable.
1898 (rtld_installed_name): Likewise.
1899 (library_path): Likewise.
1900 (run_program_prefix): New variable. Use for running globtest
1901 binary.
1902
166bca24
JB
19032012-10-23 Jim Blandy <jimb@codesourcery.com>
1904 Joseph Myers <joseph@codesourcery.com>
1905
1906 * Makeconfig (host-built-program-cmd): New variable.
1907 * elf/Makefile (tst-stackguard1-ARGS): Use
1908 $(host-built-program-cmd).
1909 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1910 (tst-spawn-ARGS): Likewise.
1911 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1912
88866099
JM
19132012-10-23 Joseph Myers <joseph@codesourcery.com>
1914 Jim Blandy <jimb@codesourcery.com>
1915
1916 * Makeconfig (run-via-rtld-prefix): New variable.
1917 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1918 (built-program-cmd): Likewise.
1919
b4b4c296
AJ
19202012-10-22 Andreas Jaeger <aj@suse.de>
1921
1922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1923 __O_RSYNC if it exists, otherwise to O_SYNC.
1924
6fb54a22
JB
19252012-10-22 Jim Blandy <jimb@codesourcery.com>
1926 Joseph Myers <joseph@codesourcery.com>
1927
1928 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1929 /dev/null.
1930 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1931 from /dev/null
1932 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1933 /dev/null.
1934
481b90b9
AJ
19352012-10-22 Andreas Jaeger <aj@suse.de>
1936
2a0e2669
AJ
1937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1938 Define always.
1939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1940
76e38f9a
AJ
1941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1942 bits/fcntl-linux.h.
1943
7cd37b43
AJ
1944 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1945 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1946
481b90b9
AJ
1947 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1948 to __O_LARGEFILE.
1949 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1950 to __O_LARGEFILE.
1951
aba75984
JB
19522012-10-21 Jim Blandy <jimb@codesourcery.com>
1953 Joseph Myers <joseph@codesourcery.com>
1954
1955 * config.make.in (NM): New variable.
1956
88d4247f
AJ
19572012-10-21 Andreas Jaeger <aj@suse.de>
1958
1959 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1960 definitions and declarations that are provided by
1961 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1962
f2eed205
L
19632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 [BZ #14683]
1966 * elf/Makefile (tests-static): Add tst-leaks1-static.
1967 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1968 ($(objpfx)tst-leaks1-static): New rule.
1969 ($(objpfx)tst-leaks1-static-mem): Likewise.
1970 (tst-leaks1-static-ENV): New macro.
1971 * elf/dl-open.c (dl_open_worker): Check the main application
1972 only if SHARED is defined.
1973 * elf/tst-leaks1-static.c: New file.
1974
335e6931
AJ
19752012-10-20 Andreas Jaeger <aj@suse.de>
1976
1977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1978 generic values for Linux.
1979 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1980 and declarations that are provided by <bits/fcntl-linux.h> and
1981 include <bits/fcntl-linux.h>.
1982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1984
ac5c94d3
RM
19852012-10-20 Roland McGrath <roland@hack.frob.com>
1986
1987 * io/fcntl.h: Move include of <bits/types.h> to the top and
1988 include it unconditionally.
1989
de54b33a
L
19902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1991
228cfb01
L
1992 * wcsmbs/Makefile (tests-ifunc): New variable.
1993 (tests): Add $(tests-ifunc).
1994 * wcsmbs/test-wcschr-ifunc.c: New file.
1995 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1996 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1997 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1998 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1999 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2000
69f07e5f
L
2001 * string/Makefile (tests-ifunc): New variable.
2002 (tests): Add $(tests-ifunc).
2003 * string/test-memccpy.c (TEST_NAME): New macro.
2004 * string/test-memchr.c (TEST_NAME): Likewise.
2005 * string/test-memcmp.c (TEST_NAME): Likewise.
2006 * string/test-memcpy.c (TEST_NAME): Likewise.
2007 * string/test-memmem.c (TEST_NAME): Likewise.
2008 * string/test-memmove.c (TEST_NAME): Likewise.
2009 * string/test-memset.c (TEST_NAME): Likewise.
2010 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2011 * string/test-stpcpy.c (TEST_NAME): Likewise.
2012 * string/test-stpncpy.c (TEST_NAME): Likewise.
2013 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2014 * string/test-strcasestr.c (TEST_NAME): Likewise.
2015 * string/test-strcat.c (TEST_NAME): Likewise.
2016 * string/test-strchr.c (TEST_NAME): Likewise.
2017 * string/test-strcmp.c(TEST_NAME): Likewise.
2018 * string/test-strcpy.c (TEST_NAME): Likewise.
2019 * string/test-strcspn.c (TEST_NAME): Likewise.
2020 * string/test-strlen.c (TEST_NAME): Likewise.
2021 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2022 * string/test-strncmp.c (TEST_NAME): Likewise.
2023 * string/test-strncpy.c (TEST_NAME): Likewise.
2024 * string/test-strnlen.c (TEST_NAME): Likewise.
2025 * string/test-strpbrk.c (TEST_NAME): Likewise.
2026 * string/test-strrchr.c (TEST_NAME): Likewise.
2027 * string/test-strspn.c (TEST_NAME): Likewise.
2028 * string/test-strstr.c (TEST_NAME): Likewise.
2029 * string/test-bcopy-ifunc.c: New file.
2030 * string/test-bzero-ifunc.c: Likewise.
2031 * string/test-memccpy-ifunc.c: Likewise.
2032 * string/test-memchr-ifunc.c: Likewise.
2033 * string/test-memcmp-ifunc.c: Likewise.
2034 * string/test-memcpy-ifunc.c: Likewise.
2035 * string/test-memmem-ifunc.c: Likewise.
2036 * string/test-memmove-ifunc.c: Likewise.
2037 * string/test-mempcpy-ifunc.c: Likewise.
2038 * string/test-memset-ifunc.c: Likewise.
2039 * string/test-rawmemchr-ifunc.c: Likewise.
2040 * string/test-stpcpy-ifunc.c: Likewise.
2041 * string/test-stpncpy-ifunc.c: Likewise.
2042 * string/test-strcasecmp-ifunc.c: Likewise.
2043 * string/test-strcasestr-ifunc.c: Likewise.
2044 * string/test-strcat-ifunc.c: Likewise.
2045 * string/test-strchr-ifunc.c: Likewise.
2046 * string/test-strchrnul-ifunc.c: Likewise.
2047 * string/test-strcmp-ifunc.c: Likewise.
2048 * string/test-strcpy-ifunc.c: Likewise.
2049 * string/test-strcspn-ifunc.c: Likewise.
2050 * string/test-strlen-ifunc.c: Likewise.
2051 * string/test-strncasecmp-ifunc.c: Likewise.
2052 * string/test-strncat-ifunc.c: Likewise.
2053 * string/test-strncmp-ifunc.c: Likewise.
2054 * string/test-strncpy-ifunc.c: Likewise.
2055 * string/test-strnlen-ifunc.c: Likewise.
2056 * string/test-strpbrk-ifunc.c: Likewise.
2057 * string/test-strrchr-ifunc.c: Likewise.
2058 * string/test-strspn-ifunc.c: Likewise.
2059 * string/test-strstr-ifunc.c: Likewise.
2060
de54b33a
L
2061 * debug/Makefile (tests-ifunc): New variable.
2062 (tests): Add $(tests-ifunc).
2063 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2064 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2065 * debug/test-stpcpy_chk-ifunc.c: New file.
2066 * debug/test-strcpy_chk-ifunc.c: Likewise.
2067
88481c16
SP
20682012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2069
2070 [BZ #13601]
2071 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2072 header is not read in.
2073
135948bd
JM
20742012-10-19 Joseph Myers <joseph@codesourcery.com>
2075
89f1c388
JM
2076 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2077 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2078 directly. Pass built executable to script as
2079 $(built-program-cmd).
2080 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2081 $testprogram without using LD_LIBRARY_PATH and $ldso.
2082
e40a0d21
JM
2083 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2084 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2085 $(rtld-installed-name).
2086 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2087 (rtld_installed_name): Likewise.
2088 (library_path): Likewise.
2089 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2090 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2091 $(run-program-prefix) to tst-tables.sh.
2092 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2093 it to run tst-table-from and tst-table-to.
2094 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2095 Pass it to tst-table.sh.
2096 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2097 $(run-program-prefix) to tst-gettext.sh.
2098 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2099 tst-translit.sh.
2100 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2101 tst-gettext2.sh.
2102 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2103 to run tst-gettext.
2104 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2105 to run tst-gettext2.
2106 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2107 to run tst-translit.
2108 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2109 $(run-program-prefix) to tst-mtrace.sh.
2110 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2111 to run tst-mtrace.
2112 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2113 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2114 $(rtld-installed-name).
2115 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2116 (rtld_installed_name): Likewise.
2117 (run_program_prefix): New variable. Use it to run wordexp-test.
2118
728e272a
JM
2119 * Makeconfig (ARCH): Remove all definitions.
2120 (machine): Likewise.
2121 [ARCH]: Remove conditional code.
2122 [!objdir]: Give error.
2123 [!objdir] (objpfx): Remove.
2124 [!objdir] (common-objpfx): Likewise.
2125 [!objdir] (common-objdir): Likewise.
2126 * configure.in (config_makefile): Remove. Hardcode Makefile in
2127 AC_CONFIG_FILES call.
2128 * configure: Regenerated.
2129
d528cdcf
JM
2130 [BZ #13888]
2131 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2132 or TMPDIR.
2133 (testout): Likewise.
2134
135948bd
JM
2135 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2136 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2137 $(rtld-installed-name).
2138 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2139 (rtld_installed_name): Likwise.
2140 (runit): Remove function.
2141 (run_getconf): New variable, Use it for running getconf binary.
2142
38c78296
L
21432012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 [BZ #14716]
2146 * string/test-memmem.c (check_result): New function.
2147 (do_one_test): Use it.
2148 (check1): New function.
2149 (test_main): Use it.
2150
d077f65f
MT
21512012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2152
2153 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2154
ced52c71
JM
21552012-10-18 Joseph Myers <joseph@codesourcery.com>
2156
2157 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2158 (_G_LSEEK64): Likewise.
2159 (_G_MMAP64): Likewise.
2160 (_G_FSTAT64): Likewise.
2161 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2162 (_G_LSEEK64): Likewise.
2163 (_G_MMAP64): Likewise.
2164 (_G_FSTAT64): Likewise.
2165 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2166 unconditional. Call __mmap64 directly.
2167 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2168 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2169 __lseek64 directly.
2170 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2171 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2172 __mmap64 directly.
2173 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2174 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2175 __lseek64 directly.
2176 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2177 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2178 __lseek64 directly.
2179 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2180 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2181 __lseek64 directly.
2182 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2183 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2184 __fxstat64 directly.
2185 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2186 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2187 unconditional.
2188 (freopen64) [!_G_OPEN64]: Remove conditional code.
2189 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2190 unconditional.
2191 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2192 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2193 unconditional.
2194 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2195 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2196 unconditional.
2197 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2198 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2199 unconditional.
2200 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2201 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2202 unconditional.
2203 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2204 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2205 unconditional.
2206 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2207 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2208 unconditional.
2209 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2210
b741de23
SP
22112012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2212
2213 [BZ #12140]
2214 * manual/memory.texi (Malloc Tunable Parameters): Add note
2215 about free list pointers overwriting some perturb bytes.
2216 Wording suggested by Roland McGrath.
2217
f9b9d9c9
JM
22182012-10-17 Joseph Myers <joseph@codesourcery.com>
2219
2220 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2221 (lgamma_test): Likewise.
2222 (tgamma_test): Likewise.
2223
172a631a
FW
22242012-10-16 Florian Weimer <fweimer@redhat.com>
2225
2226 [BZ #14700]
2227 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2228 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2229
e9f37252
MK
22302012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2231
2232 * NEWS: Mention BZ #14716.
2233 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2234 when removing AVAILABLE1_USES_J macro.
2235
d394eb74
L
22362012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2239 (__bswap_64): __uint64_t for unsigned 64-bit int.
2240
ca38dc17
AS
22412012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2242
2243 * include/string.h (memmem): Declare libc hidden alias.
2244 * string/memmem.c (memmem): Define libc hidden alias.
2245 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2246 __read, __close instead of open, read, close.
2247
9a387d1f
L
22482012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2249
ac49ecaf
L
2250 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2251 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2252 global and hidden.
2253 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2254 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2255 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2256 Likewise.
2257 (__rawmemchr_sse2): Likewise.
2258 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2259 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2260 (__strchr_sse2): Likewise.
2261 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2262 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2263 (__strcasecmp_sse2): Likewise.
2264 (__strncasecmp_sse2): Likewise.
2265 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2266 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2267 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2268 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2269 (__strrchr_sse2): Likewise.
2270 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2271 ifunc-impl-list.c.
2272 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2273 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2274 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2275 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2276 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2277 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2278 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2279 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2280 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2281 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2282 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2283 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2284 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2285 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2286 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2287 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2288 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2289 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2290 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2291 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2292 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2293 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2294 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2295 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2296 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2298 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2300 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2301 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2302
b090e8ea
L
2303 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2304 global and hidden.
2305 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2306 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2307 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2308 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2309 Likewise.
2310 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2311 Likewise.
2312 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2313 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2314 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2315 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2316 ifunc-impl-list.c.
2317 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2329 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2333 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2334 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2335 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2337 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2338 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2339 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2340 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2342 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2343 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2344 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2345 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2347 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2349 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2350 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2351 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2352 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2353 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2354 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2355 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2356 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2358
11dd4af6
L
2359 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2360 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2361 * include/ifunc-impl-list.h: New file.
2362 * misc/ifunc-impl-list.c: Likewise.
2363 * misc/Makefile (routines): Add ifunc-impl-list.
2364 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2365 * string/test-string.h: Include <ifunc-impl-list.h>.
2366 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2367 impl_array): New variables.
2368 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2369 are defined.
2370 (test_init): Call __libc_ifunc_impl_list to initialize
2371 func_list if TEST_IFUNC and TEST_NAME are defined.
2372
9a387d1f
L
2373 * string/Makefile (strop-tests): Add bcopy and bzero.
2374 * string/test-bcopy.c: New file.
2375 * string/test-bzero.c: Likewise.
2376 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2377 defined.
2378 * string/test-memset.c: Support bzero test if TEST_BZERO is
2379 defined.
2380 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2381 __libc_memmove.
2382 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2383 __libc_memset.
2384 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2385 of memset.
2386
472371b9
JM
23872012-10-10 Joseph Myers <joseph@codesourcery.com>
2388
1e4a9536
JM
2389 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2390 * configure: Regenerated.
2391
d173d12e
JM
2392 * Makeconfig (+link-static-before-libc): Don't include
2393 $(link-static-libc).
2394
472371b9
JM
2395 * libio/libio.h (_IO_pos_t): Remove.
2396
89a3ad0b
AO
23972012-10-10 Alexandre Oliva <aoliva@redhat.com>
2398
2399 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2400 McGrath.
2401
e7451425
AO
24022012-10-10 Alexandre Oliva <aoliva@redhat.com>
2403
2404 * crypt/crypt-entry.c: Include fips-private.h.
2405 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2406 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2407 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2408 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2409
4ba74a35
AO
24102012-10-10 Alexandre Oliva <aoliva@redhat.com>
2411
2412 * crypt/crypt-private.h: Include stdbool.h.
2413 (_ufc_setup_salt_r): Return bool.
2414 * crypt/crypt-entry.c: Include errno.h.
2415 (__crypt_r): Return NULL with EINVAL for bad salt.
2416 * crypt/crypt_util.c (bad_for_salt): New.
2417 (_ufc_setup_salt_r): Check that salt is long enough and within
2418 the specified alphabet.
2419 * crypt/badsalttest.c: New file.
2420 * crypt/Makefile (tests): Add it.
2421 ($(objpfx)badsalttest): New.
2422
f96f1242
MK
24232012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2424
2425 * NEWS: Add entry for BZ #14602.
2426
0e8e0c1c
JM
24272012-10-09 Joseph Myers <joseph@codesourcery.com>
2428
2429 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2430 type-generic.
2431 * math/libm-test.inc: Update comment listing what functions and
2432 macros are tested.
2433 (isgreater_test): New function.
2434 (isgreaterequal_test): Likewise.
2435 (isless_test): Likewise.
2436 (islessequal_test): Likewise.
2437 (islessgreater_test): Likewise.
2438 (isunordered_test): Likewise.
2439 (main): Call the new functions.
2440
273edc5e
RM
24412012-10-09 Roland McGrath <roland@hack.frob.com>
2442
b8493de0
RM
2443 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2444 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2445 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2446 * sysdeps/i386/configure: Regenerated.
2447 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2448 * sysdeps/mach/configure: Regenerated.
2449 * sysdeps/mach/hurd/configure: Regenerated.
2450 * sysdeps/powerpc/configure: Regenerated.
2451 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2452 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2453 * sysdeps/s390/s390-32/configure: Regenerated.
2454 * sysdeps/s390/s390-64/configure: Regenerated.
2455 * sysdeps/sh/configure: Regenerated.
2456 * sysdeps/sparc/configure: Regenerated.
2457 * sysdeps/unix/sysv/linux/configure: Regenerated.
2458 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2459 * sysdeps/x86_64/configure: Regenerated.
2460
273edc5e
RM
2461 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2462 defined. Don't check if MAP is NULL.
2463
c8450f70
JM
24642012-10-09 Joseph Myers <joseph@codesourcery.com>
2465
2466 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2467 (_G_stat64): Likewise.
2468 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2469 (_G_stat64): Likewise.
2470 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2471 instead of struct _G_stat64.
2472 * libio/fileops.c (mmap_remap_check): Likewise.
2473 (decide_maybe_mmap): Likewise.
2474 (_IO_new_file_seekoff): Likewise.
2475 (_IO_file_stat): Likewise.
2476 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2477 _G_off64_t.
2478 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2479 instead of struct _G_stat64.
2480 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2481
57e605ba
MK
24822012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2483
2484 [BZ #14602]
2485 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2486 Replace with ...
2487 (CHECK_EOL): New macro.
2488 (two_way_short_needle): Check beginning of haystack for EOL. Use
2489 CHECK_EOL.
2490 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2491 Replace with CHECK_EOL.
2492 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2493 Replace with CHECK_EOL.
2494
ef1bb361
JM
24952012-10-08 Joseph Myers <joseph@codesourcery.com>
2496
2497 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2498 type-generic.
2499 * math/libm-test.inc: Update comment listing what functions and
2500 macros are tested.
2501 (finite_test): New function.
2502 (isinf_test): Likewise.
2503 (isnan_test): Likewise.
2504 (fpclassify_test): Test subnormal input.
2505 (isfinite_test): Likewise.
2506 (isnormal_test): Likewise.
2507 (main): Call the new functions.
2508
55f11534
JN
25092012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2510
2511 [BZ #14660]
2512 * Makerules (%.dynsym): Force C locale when running
2513 $(OBJDUMP) --dynamic-syms.
2514
1ab29350
AS
25152012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2516
2517 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2518 <stdint.h>.
2519
f1ecb7ef
DM
25202012-10-06 David S. Miller <davem@davemloft.net>
2521
2522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2523 upper 32-bits of the length value in %o2 since we use branch-on-register
2524 tests which consider the entire 64-bit register.
2525
5d41d91a
L
25262012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2527
2528 * string/test-strstr.c (check2): Add a test for page boundary.
2529
3baddb72
DM
25302012-10-05 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2534 file.
2535 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2536 sysdep_routines.
2537 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2538 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2539 and bzero when HWCAP_SPARC_CRYPTO is present.
2540
9cee5585
L
25412012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2542
d7e0dab9
L
2543 [BZ #14602]
2544 * string/test-strstr.c (check2): New function.
2545 (test_main): Call check2.
2546
03759f47
L
2547 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2548 and bug-strchr1.
2549 * string/bug-strcasestr1.c (do_test): Moved to ...
2550 * string/test-strcasestr.c (check1): Here. New function.
2551 (do_one_test): Break out result checking code into ...
2552 (check_result): This. New function.
2553 (do_one_test): Call check_result.
2554 (test_main): Call check1.
2555 * string/bug-strchr1.c (do_test): Moved to ...
2556 * string/test-strchr.c (check1): Here. New function.
2557 (do_one_test): Break out result checking code into ...
2558 (check_result): This. New function.
2559 (do_one_test): Call check_result.
2560 (test_main): Call check1.
2561 * string/bug-strstr1.c (main): Moved to ...
2562 * string/test-strchr.c (check1): Here. New function.
2563 (do_one_test): Break out result checking code into ...
2564 (check_result): This. New function.
2565 (do_one_test): Call check_result.
2566 (test_main): Call check1.
2567 * string/bug-strcasestr1.c: Removed.
2568 * string/bug-strchr1.c: Likewise.
2569 * string/bug-strstr1.c: Likewise.
2570
53cea63e
L
2571 * elf/Makefile (dl-routines): Add hwcaps.
2572 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2573 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2574 (_dl_important_hwcaps): Moved to ...
2575 * elf/dl-hwcaps.c: Here. New file.
2576 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2577
9cee5585 2578 [BZ #14557]
bb859b06
L
2579 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2580 if IS_IN_rtld isn't defined.
2581
9cee5585
L
2582 * elf/dl-support.c (_dl_sysinfo_map): New.
2583 Include "get-dynamic-info.h" and "setup-vdso.h".
2584 (_dl_non_dynamic_init): Call setup_vdso.
2585 * elf/dynamic-link.h: Don't include <assert.h>.
2586 (elf_get_dynamic_info): Moved to ...
2587 * elf/get-dynamic-info.h: Here. New file.
2588 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2589 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2590 * elf/setup-vdso.h: Here. New file.
2591 * elf/rtld.c: Include "setup-vdso.h".
2592 (dl_main): Call setup_vdso.
2593
23c31b76
JM
25942012-10-05 Joseph Myers <joseph@codesourcery.com>
2595
28234b07
JM
2596 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2597 creal in comment listing functions tested. List finite, isinf,
2598 isnan, isless, islessequal, isgreater, isgreaterequal,
2599 islessgreater, isunordered, lgamma_r and pow10 as functions and
2600 macros not tested. Mention which functions not tested are aliases
2601 for other functions. Fix typo. Note that signs of NaNs are not
2602 tested.
2603
23c31b76
JM
2604 * scripts/config.guess: Update from config.git.
2605 * scripts/config.sub: Likewise.
2606
9043e228
RM
26072012-10-04 Roland McGrath <roland@hack.frob.com>
2608
2609 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2610 * misc/madvise.c (madvise): Renamed to __madvise.
2611 Make madvise a weak alias.
2612 * include/sys/mman.h: Declare __madvise.
2613 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2614 * sysdeps/unix/syscalls.list
2615 (madvise): Make __madvise the strong name, and madvise a weak alias.
2616 * sysdeps/unix/sysv/linux/syscalls.list
2617 (madvise, mmap): Remove redundant entries.
2618 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2619 * malloc/malloc.c (mtrim): Likewise.
2620 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2621
f57f8055
RM
26222012-10-03 Roland McGrath <roland@hack.frob.com>
2623
2624 * sysdeps/mach/hurd/dl-cache.c: File removed.
2625 * config.h.in (USE_LDCONFIG): New #undef.
2626 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2627 * configure: Regenerated.
2628 * elf/Makefile (dl-routines): Add dl-cache only under
2629 [$(use-ldconfig) = yes].
2630 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2631 cache on [USE_LDCONFIG].
2632 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2633 [USE_LDCONFIG].
2634 * elf/rtld.c (dl_main): Likewise.
2635
5bb0c10a
PT
26362012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2637
2638 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2639 _SC_LEVEL4_CACHE_LINESIZE.
2640
010188c6
RM
26412012-10-03 Roland McGrath <roland@hack.frob.com>
2642
2643 * sysdeps/unix/bsd/confstr.h: File removed.
2644
b6c5ec07
AO
26452012-10-02 Alexandre Oliva <aoliva@redhat.com>
2646
2647 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2648 sys/sdt-config.h.
2649
408223d4
RM
26502012-10-02 Roland McGrath <roland@hack.frob.com>
2651
2652 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2653 Make 'mapoff' field ElfW(Off) rather than off_t.
2654
bb9510dc
DL
26552012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2656
fc997c6e
DL
2657 * nscd/Makefile: Remove nscd-cflags and all its users.
2658 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2659 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2660
bb9510dc
DL
2661 [BZ #10631]
2662 * malloc.c (malloc_printerr): Clarify error message.
2663
05699367
L
26642012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2665
2666 [BZ #14648]
2667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2668 Set bit_FMA_Usable if FMA is supported.
2669 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2670 macro.
2671 (bit_FMA4_Usable): Updated.
2672 (index_FMA_Usable): New macro.
2673 (CPUID_FMA): Likewise
2674 (HAS_FMA): Defined with bit_FMA_Usable.
2675
51367701
RM
26762012-10-01 Roland McGrath <roland@hack.frob.com>
2677
2678 * bits/types.h (__swblk_t): Type removed.
2679 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2680 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2682 (__SWBLK_T_TYPE): Likewise.
2683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2684 (__SWBLK_T_TYPE): Likewise.
2685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2686 (__SWBLK_T_TYPE): Likewise.
2687 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2688 (__SWBLK_T_TYPE): Likewise.
2689
4d57bf63 26902012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2691 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2692
2693 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2694 (xdr_mapname): Use YPMAXMAP as maxsize.
2695 (xdr_peername): Use YPMAXPEER as maxsize.
2696 (xdr_keydat): Use YPAXRECORD as maxsize.
2697 (xdr_valdat): Use YPMAXRECORD as maxsize.
2698
93c65d43
RM
26992012-10-01 Roland McGrath <roland@hack.frob.com>
2700
497a03d6
RM
2701 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2702
93c65d43
RM
2703 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2704 * csu/init-first.c: ... here.
2705 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2706 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2707 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2708 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2709 * sysdeps/i386/init-first.c: File removed.
2710 * sysdeps/sh/init-first.c: File removed.
2711
bec749fd
JM
27122012-10-01 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #14645]
2715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2716 if x * y might underflow to zero and z is zero.
2717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2719 * math/libm-test.inc (min_subnorm_value): New variable.
2720 (fma_test): Add more tests.
2721 (fma_test_towardzero): Likewise.
2722 (fma_test_downward): Likewise
2723 (fma_test_upward): Likewise.
2724 (initialize): Set min_subnorm_value.
2725
8ec5b013
JM
27262012-09-29 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #14638]
2729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2730 0 + 0.
2731 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2732 mode for addition resulting in exact zero.
2733 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2735 exact 0 + 0.
2736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2738 * math/libm-test.inc (fma_test): Add more tests.
2739 (fma_test_towardzero): New function.
2740 (fma_test_downward): Likewise.
2741 (fma_test_upward): Likewise.
2742 (main): Call the new functions.
2743
b1fa802e
DM
27442012-09-28 David S. Miller <davem@davemloft.net>
2745
2746 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2747
d3b9fd9e
RM
27482012-09-28 Roland McGrath <roland@hack.frob.com>
2749
ea4d37b3
RM
2750 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2751 instead of SIGALRM.
2752
ac51c949
RM
2753 * sysdeps/gnu/_G_config.h: Moved to ...
2754 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2755 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2756 * sysdeps/generic/_G_config.h: ... here.
2757
28c195f7
RM
2758 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2759
848917f9
RM
2760 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2761
6bacf05b
RM
2762 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2763 Conditionalize target on [libnss_test1.so-version].
2764
91363dbb
RM
2765 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2766
cc87f7d8
RM
2767 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2768 (elfobjdir): Move out of conditionals.
2769
b1c608fe
RM
2770 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2771 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2772 (__nss_lookup_function): Conditionalize label remove_from_tree on
2773 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2774
1d9a6d96
DM
27752012-09-28 David S. Miller <davem@davemloft.net>
2776
2777 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2778 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2779 file.
2780 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2781 sysdep_routines.
2782 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2784 when HWCAP_SPARC_CRYPTO is present.
2785
72581615
PT
27862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2787
2788 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2789
715a900c
JL
27902012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2791
2792 [BZ #6530]
2793 * stdio-common/vfprintf.c (process_string_arg): Revert
2794 2000-07-22 change.
2795
27962011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2797
2798 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2799 for testcase.
2800 * stdio-common/tst-sprintf.c: Include <locale.h>
2801 (main): Test sprintf's handling of incomplete multibyte
2802 characters.
2803
9bac1d86
L
28042012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2805
2806 * elf/dl-runtime.c (VERSYMIDX): Removed.
2807 * elf/dl-version.c (VERSYMIDX): Likewise.
2808 * elf/do-rel.h (VERSYMIDX): Likewise.
2809 (VALIDX): Likewise.
2810 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2811 * elf/rtld.c (VALIDX): Likewise.
2812 (ADDRIDX): Likewise.
9bac1d86
L
2813 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2814 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2815 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2816 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2817 (VALIDX): Likewise.
2818 (ADDRIDX): Likewise.
9bac1d86 2819
b31606c0
PT
28202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2821
2822 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2823
11541177
JL
28242012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2825
2826 [BZ #11438]
2827 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2828 to global scope.
2829 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2830 addresses are in the same scope as 192.0.2/24.
2831 * posix/gai.conf: Document new scope table defaults.
2832
adb26fae
SP
28332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2834
2835 [BZ #5298]
2836 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2837 for ftell. Compute offsets from write pointers instead.
2838 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2839
4573c6b0
SP
28402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2841
2842 [BZ #14543]
2843 * libio/Makefile (tests): New test case tst-fseek.
2844 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2845 combination works in wide mode.
2846 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2847 state when the external buffer state changes.
2848
aa9bbfe6
DM
28492012-09-27 David S. Miller <davem@davemloft.net>
2850
2851 [BZ #14376]
2852 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2853 pass reloc->r_addend in as the 'high' argument to
2854 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2855
784421e7
DM
2856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2857
c39bc8b8
PT
28582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2859
2860 * rt/tst-aio2.c: Include <pthread.h>.
2861 * rt/tst-aio3.c: Likewise.
2862
1ccc2399
SE
28632012-09-27 Steve Ellcey <sellcey@mips.com>
2864
2865 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2866
31ed4153
L
28672012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2868
25f5f885
L
2869 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2870 contents on [SHARED].
31ed4153 2871
b7bfe116
MP
28722012-09-26 Marek Polacek <polacek@redhat.com>
2873
2874 [BZ #14530]
2875 [BZ #13741]
2876 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2877 for C++ and GCC <4.3 as well as for non GCC compilers.
2878
43c4edba
MT
28792012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2880
2881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2882
6a1bf82f
RM
28832012-09-25 Roland McGrath <roland@hack.frob.com>
2884
2885 * Makefile.in (all, install): Declare with .PHONY.
2886 Reported by Michael Hope <michael.hope@linaro.org>.
2887
8ad11b9a
TMQMF
28882012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2889
2890 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2891 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2892 system header.
2893 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2894 Likewise.
2895 (sydep_routines): Add the new and the internal functions.
2896 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2897 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2899 (GLIBC_2.17): Add the new function.
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2901 (GLIBC_2.17): Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2903 (GLIBC_2.17): Likewise.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2905 (GLIBC_2.17): Likewise.
2906 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2907
7e2fca8d
AM
29082012-09-25 Alan Modra <amodra@gmail.com>
2909
2910 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2911 Add release barrier before setting once_control to say
2912 initialisation is done. Add hints on lwarx. Use macro in
2913 place of isync.
2914 (clear_once_control): Add release barrier.
2915
b87c4b24
JM
29162012-09-25 Joseph Myers <joseph@codesourcery.com>
2917
d032e0d2
JM
2918 [BZ #13629]
2919 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2920 specially.
2921 * math/s_clog10.c (__clog10): Likewise.
2922 * math/s_clog10f.c (__clog10f): Likewise.
2923 * math/s_clog10l.c (__clog10l): Likewise.
2924 * math/s_clogf.c (__clogf): Likewise.
2925 * math/s_clogl.c (__clogl): Likewise.
2926 * math/Makefile (libm-calls): Add x2y2m1.
2927 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2928 (__x2y2m1): Likewise.
2929 (__x2y2m1l): Likewise.
2930 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2931 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2934 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2935 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2936 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2937 * sysdeps/i386/fpu/libm-test-ulps: Update.
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2939
b87c4b24
JM
2940 [BZ #14621]
2941 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2942 int as type of variable DEPTH.
2943 (glob): Use size_t instead of int as type of variables NEWCOUNT
2944 and OLD_PATHC.
2945
6d3bf199
LD
29462012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2947
22bf5c17
LD
2948 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2949 Add s_sincosf-sse2.
2950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2951 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2952 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2953 macros for using routine as __sincosf_ia32.
2954 Use macro for function declaration and weak_alias.
2955 * sysdeps/i386/fpu/libm-test-ulps: Update.
2956
2957 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2959
2960 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2961 subnormal argument.
2962 * math/s_cexpf.c (__cexpf): Likewise.
2963 * math/s_csinf.c (__csinf): Likewise.
2964 * math/s_csinhf.c (__csinhf): Likewise.
2965 * math/s_ctanf.c (__ctanf): Likewise.
2966 * math/s_ctanhf.c (__ctanhf): Likewise.
2967 * math/s_ccosh.c (__ccoshf): Likewise.
2968 * math/s_cexp.c (__cexpl): Likewise.
2969 * math/s_csin.c (__csin): Likewise.
2970 * math/s_csinh.c (__csinh): Likewise.
2971 * math/s_ctan.c (__ctan): Likewise.
2972 * math/s_ctanh.c (ctanh): Likewise.
2973 * math/s_ccoshl.c (__ccoshl): Likewise.
2974 * math/s_cexpl.c (__cexpl): Likewise.
2975 * math/s_csinl.c (__csinl): Likewise.
2976 * math/s_csinhl.c (__csinhl): Likewise.
2977 * math/s_ctanl.c (__ctanl): Likewise.
2978 * math/s_ctanhl.c (__ctanhl): Likewise.
2979
203e5603
JM
29802012-09-25 Joseph Myers <joseph@codesourcery.com>
2981
2982 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2983 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2984 (_IO_off_t): Define to __off_t, not _G_off_t.
2985 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2986 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2987 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2988 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2989 type of __dummy and __dummy2 fields.
2990 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2991 (_G_ssize_t): Likewise.
2992 (_G_off_t): Likewise.
2993 (_G_pid_t): Likewise.
2994 (_G_uid_t): Likewise.
2995 (_G_wchar_t): Likewise.
2996 (_G_wint_t): Likewise.
2997 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2998 (_G_ssize_t): Likewise.
2999 (_G_off_t): Likewise.
3000 (_G_pid_t): Likewise.
3001 (_G_uid_t): Likewise.
3002 (_G_wchar_t): Likewise.
3003 (_G_wint_t): Likewise.
3004 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3005 (_G_ssize_t): Likewise.
3006 (_G_off_t): Likewise.
3007 (_G_pid_t): Likewise.
3008 (_G_uid_t): Likewise.
3009 (_G_wchar_t): Likewise.
3010 (_G_wint_t): Likewise.
3011
9fab36eb
SP
30122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3013
3014 * malloc/arena.c: Include malloc-sysdep.h.
3015 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3016 is sufficient to shrink the heap or an unmap is needed.
3017 * sysdeps/generic/malloc-sysdep.h: New file. Define
3018 new function check_may_shrink_heap.
3019 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3020 new function check_may_shrink_heap.
3021
2b4f00d1
SP
30222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3023
3024 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3025 comments.
3026
9a9028b1
DL
30272012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3028
57c69bef
DL
3029 * catgets/test-gencat.sh: Add "set -e".
3030 * elf/tst-pathopt.sh: Likewise.
3031 * grp/tst_fgetgrent.sh: Likewise.
3032 * iconvdata/run-iconv-test.sh: Likewise.
3033 * intl/tst-gettext.sh: Likewise.
3034 * intl/tst-gettext2.sh: Likewise.
3035 * intl/tst-gettext4.sh: Likewise.
3036 * intl/tst-gettext6.sh: Likewise.
3037 * intl/tst-translit.sh: Likewise.
3038 * io/ftwtest-sh: Likewise.
3039 * libio/test-freopen.sh: Likewise.
3040 * malloc/tst-mtrace.sh: Likewise.
3041 * posix/globtest.sh: Likewise.
3042 * posix/tst-getconf.sh: Likewise.
3043 * posix/wordexp-tst.sh: Likewise.
3044 * stdio-common/tst-printf.sh: Likewise.
3045 * stdio-common/tst-unbputc.sh: Likewise.
3046 * stdlib/tst-fmtmsg.sh: Likewise.
3047 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3048 * catgets/Makefile: Do not specify -e option when running
3049 testsuite shell scripts.
3050 * elf/Makefile: Likewise.
3051 * grp/Makefile: Likewise.
3052 * iconvdata/Makefile: Likewise.
3053 * intl/Makefile: Likewise.
3054 * io/Makefile: Likewise.
3055 * libio/Makefile: Likewise.
3056 * malloc/Makefile: Likewise.
3057 * posix/Makefile: Likewise.
3058 * stdio-common/Makefile: Likewise.
3059 * stdlib/Makefile: Likewise.
3060 * sysdeps/x86_64/Makefile: Likewise.
3061
9a9028b1
DL
3062 * io/ftwtest-sh: Add copyright header.
3063 * posix/globtest.sh: Likewise.
3064 * posix/tst-getconf.sh: Likewise.
3065 * posix/wordexp-tst.sh: Likewise.
3066 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3067
ced6f16e
L
30682012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3069
94b32c39
L
3070 [BZ #13679]
3071 * Makeconfig (+link): Defined as $(+link-static) if
3072 $(build-shared) isn't yes.
3073 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3074 isn't yes.
3075 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3076
189e935b
L
3077 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3078
ced6f16e
L
3079 [BZ #14562]
3080 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3081 new chunk size with MALLOC_ALIGN_MASK.
3082
a9f8e53a
JM
30832012-09-24 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #5044]
3086 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3087 <rounding-mode.h>.
3088 (__printf_fphex): Determine rounding using get_rounding_mode and
3089 round_away.
3090 * stdio-common/tst-printf-round.c (struct hex_test): New
3091 structure.
3092 (hex_tests): New variable.
3093 (test_hex_in_one_mode): New function.
3094 (do_test): Also run tests for hex float output.
3095
43153109
JM
30962012-09-21 Joseph Myers <joseph@codesourcery.com>
3097
3098 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3099 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3100 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3101 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3102 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3103 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3104 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3105 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3106
8a26625d
JM
31072012-09-20 Joseph Myers <joseph@codesourcery.com>
3108
3109 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3110 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3111 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3112 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3113
f3fd569c
DL
31142012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3115
3116 [BZ #14579]
3117 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3118 mode only.
3119 * elf/tst-rtld-load-self.sh: New test.
3120 * elf/Makefile: Run it.
3121
63bbedd4
JM
31222012-09-18 Joseph Myers <joseph@codesourcery.com>
3123
3124 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3125 (tst-writev-ENV): Remove.
3126 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3127
626f8b6a
CM
31282012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3129
3130 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3131
b7aaa4d6
JM
31322012-09-17 Joseph Myers <joseph@codesourcery.com>
3133
3134 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3135 unconditional.
3136 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3137 Likewise.
3138 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3139 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3140 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3141 Likewise.
3142
65513990
L
31432012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3144
3145 [BZ #14587]
3146 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3147 * config.make.in (have-cpp-asm-debuginfo): Removed.
3148 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3149 * configure: Regenerated.
3150
784761be
JM
31512012-09-14 Joseph Myers <joseph@codesourcery.com>
3152
3153 [BZ #5044]
3154 * stdio-common/printf_fp.c: Include <stdbool.h> and
3155 <rounding-mode.h>.
3156 (___printf_fp): Determine rounding using get_rounding_mode and
3157 round_away.
3158 * stdio-common/tst-printf-round.c: New file.
3159 * stdio-common/Makefile (tests): Add tst-printf-round.
3160 (link-libm): New variable.
3161 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3162
9503345f
L
31632012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 [BZ #14576]
3166 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3167 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3168 Likewise.
3169 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3170 Likewise.
3171
ad35fc00
JM
31722012-09-13 Joseph Myers <joseph@codesourcery.com>
3173
3174 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3175 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3176 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3177 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3178
6c9b0f68
JM
31792012-09-12 Joseph Myers <joseph@codesourcery.com>
3180
3181 [BZ #14518]
3182 * include/rounding-mode.h: New file.
3183 * sysdeps/generic/get-rounding-mode.h: Likewise.
3184 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3185 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3186 (MAX_VALUE): New macro.
3187 (MIN_VALUE): Likewise.
3188 (overflow_value): New function.
3189 (underflow_value): Likewise.
3190 (round_and_return): Use overflow_value and underflow_value to
3191 determine return values in overflow and underflow cases. Use
3192 round_away to determine rounding depending on rounding mode.
3193 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3194 determine return values in overflow and underflow cases.
3195 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3196 (struct test_results): New structure.
3197 (struct test): Use struct test_results to store expected results
3198 for all rounding modes.
3199 (TEST): Include expected results for all rounding modes.
3200 (test_in_one_mode): New function.
3201 (do_test): Use test_in_one_mode to compute and check results.
3202 Check results for all rounding modes.
3203 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3204 $(link-libm).
3205
19fcedd5
AM
32062012-12-09 Allan McRae <allan@archlinux.org>
3207
1e9d84cd 3208 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3209
8bbfd2f1
JM
32102012-09-11 Joseph Myers <joseph@codesourcery.com>
3211
3212 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3213 (_G_int32_t): Likewise.
3214 (_G_uint16_t): Likewise.
3215 (_G_uint32_t): Likewise.
3216 (_G_HAVE_BOOL): Likewise.
3217 (_G_HAVE_ATEXIT): Likewise.
3218 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3219 (_G_HAVE_IO_FILE_OPEN): Likewise.
3220 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3221 (_G_int32_t): Likewise.
3222 (_G_uint16_t): Likewise.
3223 (_G_uint32_t): Likewise.
3224 (_G_HAVE_BOOL): Likewise.
3225 (_G_HAVE_ATEXIT): Likewise.
3226 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3227 (_G_HAVE_IO_FILE_OPEN): Likewise.
3228 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3229 (_G_int32_t): Likewise.
3230 (_G_uint16_t): Likewise.
3231 (_G_uint32_t): Likewise.
3232 (_G_HAVE_BOOL): Likewise.
3233 (_G_HAVE_ATEXIT): Likewise.
3234 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3235 (_G_HAVE_IO_FILE_OPEN): Likewise.
3236
b1dc5912
L
32372012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * csu/libc-tls.c: Update copyright years.
3240
0e886ef9
JM
32412012-09-10 Joseph Myers <joseph@codesourcery.com>
3242
28361c5e
JM
3243 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3244 [!_G_USING_THUNKS]: Remove conditional code.
3245 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3246 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3247
0e886ef9
JM
3248 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3249 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3250 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3251 (_G_VTABLE_LABEL_PREFIX): Likewise.
3252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3253 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3254 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3255 (_G_VTABLE_LABEL_PREFIX): Likewise.
3256 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3257 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3258 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3259 (_G_VTABLE_LABEL_PREFIX): Likewise.
3260 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3261
bcba7aa2
L
32622012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3263
3264 * libio/Makefile: Include ../Makeconfig before tests.
3265 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3266 only if $(build-shared) is yes.
3267
06585ee8
L
3268 * iconv/gconv_db.c: Update copyright years.
3269
80ccd52c
LD
32702012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3271
3272 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3273 unwind info if defined PIC. Fix special cases description.
3274 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3275
3276 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3277 DP_HI_MASK entry.
3278 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3279
691bc9c1
L
32802012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3281
3d9b46b3
L
3282 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3283
de2139a9
L
3284 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3285 is NULL.
3286
5ca78dd0
L
3287 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3288 (LDLIBS-tst-chk4): This.
3289 (LDFLAGS-tst-chk5): Renamed to ...
3290 (LDLIBS-tst-chk5): This.
3291 (LDFLAGS-tst-chk6): Renamed to ...
3292 (LDLIBS-tst-chk6): This.
3293 (LDFLAGS-tst-lfschk4): Renamed to ...
3294 (LDLIBS-tst-lfschk4): This.
3295 (LDFLAGS-tst-lfschk5): Renamed to ...
3296 (LDLIBS-tst-lfschk5): This.
3297 (LDFLAGS-tst-lfschk6): Renamed to ...
3298 (LDLIBS-tst-lfschk6): This.
3299
691bc9c1
L
3300 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3301 on $(common-objpfx)soversions.mk.
3302
65cafb1c
JM
33032012-09-07 Joseph Myers <joseph@codesourcery.com>
3304
3305 [BZ #10014]
3306 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3307 example host name.
3308
c78ab094
SP
33092012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3310
3311 * malloc/arena.c (arena_get_retry): New function that gets
3312 another arena for the caller to try its request on.
3313 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3314 current arena cannot fulfill the request.
3315 (__libc_memalign): Likewise.
3316 (__libc_memalign): Likewise.
3317 (__libc_pvalloc): Likewise.
3318 (__libc_calloc): Likewise.
3319
01f49f59
JT
33202012-09-05 John Tobey <john.tobey@gmail.com>
3321
3322 [BZ #13542]
3323 * manual/arith.texi (Operations on Complex): Fix description
3324 of carg branch cut.
3325
4c23fed5
JM
33262012-09-06 Joseph Myers <joseph@codesourcery.com>
3327
1d3c8572
JM
3328 [BZ #10014]
3329 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3330 host name.
3331
4c23fed5
JM
3332 [BZ #10038]
3333 * manual/memory.texi (Memory): Make order of menu items match
3334 order of sections.
3335
04570aaa
L
33362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3339 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3340 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3341
b80af2f4
L
33422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * csu/libc-tls.c (static_dtv): Renamed to ...
3345 (_dl_static_dtv): This. Make it global.
3346 (_dl_initial_dtv): Removed.
3347 (__libc_setup_tls): Updated.
3348 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3349 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3350 DL_INITIAL_DTV.
3351
2abe9f15
PM
33522012-09-06 Petr Machata <pmachata@redhat.com>
3353
3354 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3355 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3356 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3357 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3358
0948c3af
L
33592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 [BZ #14545]
3362 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3363 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3364 freeing dtv[-1].
3365
a5055ad1
L
33662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 [BZ #14544]
3369 * Makeconfig (link-static-before-libc): Replace $(+prector)
3370 with $(+prectorT).
3371 (link-static-after-libc): Replace $(+postctor) with
3372 $(+postctorT).
3373 (link-bounded): Replace $(+prector)/$(+postctor) with
3374 $(+prectorT)/$(+postctorT).
3375 (+prectorT): New macro.
3376 (+postctorT): Likewise.
3377
ed8c2ecd
JM
33782012-09-06 Joseph Myers <joseph@codesourcery.com>
3379
3380 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3381 (round_str): Handle values above the maximum for IBM long double
3382 as inexact.
3383 * stdlib/tst-strtod-round.c (tests): Regenerated.
3384
14c996c8
AK
33852012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3386
3387 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3388 assembler flag.
3389 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3390 zarch_nohighgprs around the zarch optimized routines.
3391 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3392 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3394 for zarch.
3395
430d6ce6
DM
33962012-09-05 David S. Miller <davem@davemloft.net>
3397
3398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3399
ff04dda4
DM
3400 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3401 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3402 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3403 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3404 entries.
3405
24d4e01b
AO
34062012-09-05 Alexandre Oliva <aoliva@redhat.com>
3407
3408 * malloc/arena.c: Fold copyright years.
3409 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3410
61d58174
AO
34112012-09-05 Alexandre Oliva <aoliva@redhat.com>
3412
3413 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3414
20196a5e
AO
34152012-09-05 Alexandre Oliva <aoliva@redhat.com>
3416
3417 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3418
5c447383
AO
34192012-09-05 Alexandre Oliva <aoliva@redhat.com>
3420
3421 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3422 change internal state upon failure.
3423
fad64255
AO
34242012-09-05 Alexandre Oliva <aoliva@redhat.com>
3425
3426 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3427 * malloc/memusage.c (mmap): Likewise.
3428 (mmap64, mremap): Likewise. Adjust name in comment.
3429
1ffb8c90
SP
34302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3431
3432 * libio/fileops.c: Fix typos in comments.
3433 * libio/oldfileops.c: Likewise.
3434 * libio/wfileops.c: Likewise.
3435
6ef9cc37
SP
34362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3437
3438 [BZ #1349]
3439 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3440 (tst-malloc-usable-ENV): Set environment for test case.
3441 * malloc/hooks.c (malloc_check_get_size): New function to get
3442 requested size.
3443 * malloc/malloc.c (musable): Use malloc_check_get_size.
3444 * malloc/tst-malloc-usable.c: New test case.
3445
4d038ae3
AS
34462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3447
3448 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3449
c4e85184
AM
34502012-09-05 Allan McRae <allan@archlinux.org>
3451
b9dafc56 3452 [BZ #13966]
c4e85184
AM
3453 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3454 determine header location.
3455 * configure: Regenerated.
3456
e1343020
AS
34572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3458
3459 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3460 float format.
3461 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3462 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3463 format.
e1343020
AS
3464 (test): Regenerate.
3465
0a9f1987
DM
34662012-09-04 David S. Miller <davem@davemloft.net>
3467
3468 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3469 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3470 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3471
29237804
FW
34722012-09-04 Florian Weimer <fweimer@redhat.com>
3473
3474 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3475 failures.
3476
edb3cb88
FW
3477 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3478
60160d83
JM
34792012-09-04 Joseph Myers <joseph@codesourcery.com>
3480
3481 [BZ #9914]
3482 * libio/iogetdelim.c: Include <limits.h>.
3483 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3484 + len + 1 would overflow.
3485
bcd6c8dc
AJ
34862012-09-03 Andreas Jaeger <aj@suse.de>
3487
3488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3489 * sysdeps/i386/fpu/libm-test-ulps: Update.
3490
4ffffbd2
LD
34912012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3492
3493 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3494 Add s_sinf-sse2, s_conf-sse2.
3495
3496 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3497 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3498 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3499 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3500
3501 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3502 for using routine as __sinf_ia32.
3503 Use macro for function declaration and weak_alias.
3504 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3505 for using routine as __cosf_ia32.
3506 Use macro for function declaration and weak_alias.
3507
3508 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3509 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3510
3511 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3512 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3514
3515 * math/libm-test.inc (cos_test): Add more test cases.
3516 (sin_test): Likewise.
3517 (sincos_test): Likewise.
3518
511fa286
AK
35192012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3520
3521 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3522 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3523 hidden.
3524 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3525
5f30cfec
L
35262012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 [BZ #14538]
3529 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3530 first element of the GOT.
3531 (elf_machine_load_address): Return the difference between
3532 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3533
0786794f
AM
35342012-09-01 Allan McRae <allan@archlinux.org>
3535
5f30cfec
L
3536 [BZ #13412]
3537 * configure.in (AWK): Require gawk version 3.0 or later.
3538 * configure: Regenerated.
0786794f 3539
26889eac
JM
35402012-09-01 Joseph Myers <joseph@codesourcery.com>
3541
3542 * sysdeps/unix/sysv/linux/kernel-features.h
3543 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3544 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3545 [__NR_clock_getres]: Make code unconditional.
3546 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3547 (clock_getcpuclockid): Remove code left unreachable by removal of
3548 conditionals.
3549 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3550 code unconditional.
3551 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3552 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3553 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3554 Make code unconditional.
3555 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3556 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3557 * sysdeps/unix/sysv/linux/clock_settime.c
3558 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3559 conditional code.
3560 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3561 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3562
d22e28b0
L
35632012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 [BZ #14476]
3566 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3567 scripts/test-installation.pl.
3568
3569 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3570 and $ld_so_version if it is set.
3571
050af9c4
SP
35722012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3573
3574 [BZ #14516]
3575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3576 failure if reading from procfs failed.
3577 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3578
ad845c0b
JM
35792012-08-27 Joseph Myers <joseph@codesourcery.com>
3580
3581 * sysdeps/unix/sysv/linux/kernel-features.h
3582 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3583 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3584 Remove conditional code.
3585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3586 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3587 Remove conditional code.
3588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3589 * sysdeps/unix/sysv/linux/i386/fxstat.c
3590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3592 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3593 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3595 * sysdeps/unix/sysv/linux/i386/lxstat.c
3596 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3598 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3599 Remove conditional code.
3600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3601 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3602 Remove conditional code.
3603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3604 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3605 <kernel-features.h>.
3606 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3607 Remove.
3608 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3609 Remove conditional code.
3610 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3611 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3612 Remove conditional.
3613
5dbf56af
MF
36142012-08-27 Mike Frysinger <vapier@gentoo.org>
3615
3616 [BZ #5400]
3617 * NEWS: Add fixed bug number.
3618
d6e70f43
JM
36192012-08-27 Joseph Myers <joseph@codesourcery.com>
3620
7efb4737
JM
3621 [BZ #14519]
3622 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3623 underflowing exponent in case of negative sign.
3624 * stdlib/tst-strtod-round-data: Add more tests.
3625 * stdlib/tst-strtod-round.c (tests): Regenerated.
3626
af92131a
JM
3627 [BZ #3479]
3628 * stdlib/strtod_l.c (NDIG): Remove.
3629 (HEXNDIG): Likewise.
3630 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3631 smallest representable value.
3632 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3633 lie within an exact representation of 1/2 ulp of the result.
3634 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3635 unconditionally.
3636 (TENS_P9_IDX): Define unconditionally.
3637 (TENS_P9_SIZE): Likewise.
3638 (TENS_P10_IDX): Likewise.
3639 (TENS_P10_SIZE): Likewise.
3640 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3641 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3642 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3643 entries for 10^2^13 and 10^2^14.
3644 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3645 (TENS_P13_IDX): Define.
3646 (TENS_P13_SIZE): Likewise.
3647 (TENS_P14_IDX): Likewise.
3648 (TENS_P14_SIZE): Likewise.
3649 (_fpioconst_pow10): Change array size to
3650 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3651 unconditional.
3652 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3653 1024]: Add entries for 10^2^13 and 10^2^14.
3654 [LAST_POW10 > _LAST_POW10]: Remove #error.
3655 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3656 (_fpioconst_pow10): Change array size to
3657 FPIOCONST_POW10_ARRAY_SIZE.
3658 * stdlib/gen-fpioconst.c: New file.
3659 * stdlib/gen-tst-strtod-round.c: Likewise.
3660 * stdlib/tst-strtod-round-data: Likewise.
3661 * stdlib/tst-strtod-round.c: Likewise.
3662 * stdlib/Makefile (tests): Add tst-strtod-round.
3663
d6e70f43
JM
3664 [BZ #14459]
3665 * stdlib/strtod_l.c: Include <stdint.h>.
3666 (NDEBUG): Do not define.
3667 (round_and_return): Change EXPONENT parameter to type intmax_t.
3668 Rearrange calculations to avoid internal overflow possibilities.
3669 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3670 Rearrange calculations to avoid internal overflow possibilities.
3671 Assert that number fits inside MPNSIZE limbs.
3672 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3673 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3674 calculations and add assertions to avoid internal overflow
3675 possibilities. Add casts to avoid signed/unsigned operations.
3676 * stdlib/tst-strtod-overflow.c: New file.
3677 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3678
1f529f7d
MP
36792012-08-25 Marek Polacek <polacek@redhat.com>
3680
3681 * time/time.h: Fix some typos in comments.
3682
59a629f1
RM
36832012-08-23 Roland McGrath <roland@hack.frob.com>
3684
3685 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3686 * posix/tst-rfc3484-2.c: Likewise.
3687 * posix/tst-rfc3484-3.c: Likewise.
3688
d3bafbc9
SM
36892012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3690
3691 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3692 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3693
4efcc022
JM
36942012-08-23 Joseph Myers <joseph@codesourcery.com>
3695
3696 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3697 #include of fxstatat64.c.
3698
3cc3ef96
RM
36992012-08-22 Roland McGrath <roland@hack.frob.com>
3700
f04e2132
RM
3701 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3702 * shadow/getspent_r.c: Likewise.
3703 * shadow/getspnam.c: Likewise.
3704 * shadow/getspnam_r.c: Likewise.
3705 * gshadow/getsgent.c: Likewise.
3706 * gshadow/getsgent_r.c: Likewise.
3707 * gshadow/getsgnam.c: Likewise.
3708 * gshadow/getsgnam_r.c: Likewise.
3709 * inet/getnetbyad.c: Likewise.
3710 * inet/getnetbyad_r.c: Likewise.
3711 * inet/getnetbynm.c: Likewise.
3712 * inet/getnetbynm_r.c: Likewise.
3713 * inet/getnetent.c: Likewise.
3714 * inet/getnetent_r.c: Likewise.
3715 * inet/getproto.c: Likewise.
3716 * inet/getproto_r.c: Likewise.
3717 * inet/getprtent.c: Likewise.
3718 * inet/getprtent_r.c: Likewise.
3719 * inet/getprtname.c: Likewise.
3720 * inet/getprtname_r.c: Likewise.
3721 * inet/getrpcbyname.c: Likewise.
3722 * inet/getrpcbyname_r.c: Likewise.
3723 * inet/getrpcbynumber.c: Likewise.
3724 * inet/getrpcbynumber_r.c: Likewise.
3725 * inet/getrpcent.c: Likewise.
3726 * inet/getrpcent_r.c: Likewise.
3727 * inet/getaliasent.c: Likewise.
3728 * inet/getaliasent_r.c: Likewise.
3729 * inet/getaliasname.c: Likewise.
3730 * inet/getaliasname_r.c: Likewise.
3731 * nscd/getgrgid_r.c: Likewise.
3732 * nscd/getgrnam_r.c: Likewise.
3733 * nscd/gethstbyad_r.c: Likewise.
3734 * nscd/gethstbynm3_r.c: Likewise.
3735 * nscd/getpwnam_r.c: Likewise.
3736 * nscd/getpwuid_r.c: Likewise.
3737 * nscd/getsrvbynm_r.c: Likewise.
3738 * nscd/getsrvbypt_r.c: Likewise.
3739 * nscd/gai.c: Likewise.
3740
c53d909c
RM
3741 * configure.in (build_nscd): New substituted variable, set
3742 by --disable-build-nscd and defaults to $use_nscd.
3743 * configure: Regenerated.
3744 * config.make.in (build-nscd): New substituted variable.
3745 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3746 Change conditional to require [$(build-nscd) = yes] as well.
3747 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3748
3cc3ef96
RM
3749 [BZ# 13696]
3750 * configure.in (use_nscd): New substituted variable, set by
3751 --disable-nscd. If enabled, define USE_NSCD.
3752 * configure: Regenerated.
3753 * config.h.in: Add USE_NSCD.
3754 * config.make.in (use-nscd): New substituted variable.
3755 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3756 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3757 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3758 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3759 (CFLAGS-getgrnam_r.c): Likewise.
3760 (CFLAGS-initgroups.c): Likewise.
3761 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3762 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3763 Variables removed.
3764 * inet/getnetgrent_r.c
3765 (nscd_setnetgrent): New function, broken out of ...
3766 (setnetgrent): ... here. Call it.
3767 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3768 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3769 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3770 * nscd/Makefile (routines, aux): Move definitions after include of
3771 Makeconfig. Conditionalize on [$(use-nscd) != no].
3772 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3773 Conditionalize on [USE_NSCD].
3774 (is_nscd, nscd_init_cb): Likewise.
3775 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3776 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3777 * nss/nss_db/db-init.c: Likewise.
3778 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3779 [USE_NSCD].
3780 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3781 (make_request): Use it.
3782 (cache_valid_p): New function.
3783 (__check_pf): Use it.
3784 * NEWS: Add item for --disable-nscd.
3785
07e51550
DL
37862012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3787
3788 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3789 to support sed >= 4.2.1-20-ga9bf076.
3790 * configure: Regenerated.
3791
35a5b08b
RM
37922012-08-22 Roland McGrath <roland@hack.frob.com>
3793
3794 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3795 Conditionalize whole body on [IREL].
3796
8479f23a
JL
37972012-08-22 Jeff Law <law@redhat.com>
3798
3799 [BZ #14505]
3800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3801 if the family is PF_UNSPEC.
3802
48da0b21
MF
38032012-08-22 Mike Frysinger <vapier@gentoo.org>
3804
3805 * Makerules (lib-version): Rename from V.
3806 (install-lib-nosubdir): Change V to lib-version.
3807
15d0da8c
WS
38082012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3809
3810 [BZ #14252]
3811 * powerpc32/power6/wcschr.c: New file.
3812 * powerpc32/power6/wcscpy.c: New file.
3813 * powerpc32/power6/wcsrchr.c: New file.
3814 * powerpc64/power6/wcschr.c: New file.
3815 * powerpc64/power6/wcscpy.c: New file.
3816 * powerpc64/power6/wcsrchr.c: New file.
3817
bcca0895
MK
38182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3819
3820 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3821 (two_way_short_needle): Use it.
5a4aaa33
RM
3822 * string/strstr.c (AVAILABLE1_USES_J): Define.
3823 * string/strcasestr.c: Likewise.
99677e57
MK
3824
3825 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3826 array references.
3827 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3828
400726de
MK
3829 [BZ #11607]
3830 * NEWS: Add an entry.
3831 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3832 define their defaults.
3833 (two_way_short_needle): Detect end-of-string on-the-fly.
3834 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3835 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3836 * string/bug-strcasestr1.c: New test.
3837 * string/Makefile: Run it.
3838
20a71f2c
MK
38392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3840
3841 [BZ #11607]
3842 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3843 the first character.
3844
21ad0558
RM
38452012-08-21 Roland McGrath <roland@hack.frob.com>
3846
3847 * csu/elf-init.c (__libc_csu_irel): Function removed.
3848 * csu/libc-start.c (apply_irel): New function.
3849 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3850
0e1d9911
JM
38512012-08-21 Joseph Myers <joseph@codesourcery.com>
3852
3853 * sysdeps/unix/sysv/linux/kernel-features.h
3854 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3855 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3856 <kernel-features.h>.
3857 [__NR_fadvise64_64]: Make code unconditional.
3858 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3859 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3860 !__NR_fadvise64_64)]: Likewise.
3861 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3862 !__NR_fadvise64_64))]: Likewise.
3863 [__NR_fadvise64]: Make code unconditional.
3864 [!__NR_fadvise64]: Remove conditional code.
3865 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3866 <kernel-features.h>.
3867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3868 unconditional.
3869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3870 conditional code.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3872 not include <kernel-features.h>.
3873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3874 unconditional.
3875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3876 conditional code.
3877 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3878 include <kernel-features.h>.
3879 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3880 unconditional.
3881 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3882 conditional code.
3883
14a50c9d
WS
38842012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3885
3886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3887 slight instruction rearrangements per scrollpipe analysis.
3888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3889
c0f4faf0
RM
38902012-08-20 Roland McGrath <roland@hack.frob.com>
3891
696da859
RM
3892 * manual/syslog.texi (syslog; vsyslog, closelog):
3893 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3894 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3895
c0f4faf0
RM
3896 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3897 DSOCAPS to match condition on defining it.
3898
348363b2
JM
38992012-08-20 Joseph Myers <joseph@codesourcery.com>
3900
a35cbf28
JM
3901 * sysdeps/unix/sysv/linux/kernel-features.h
3902 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3907 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3908 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3910 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3911 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3912
445f7ecd
JM
3913 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3914 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3915
348363b2
JM
3916 * sysdeps/unix/sysv/linux/kernel-features.h
3917 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3918 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3919 unconditional.
3920 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3921 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3922 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3923 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3924 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3925 Make code unconditional.
3926 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3927 (__mmap64) [!__NR_mmap2]: Likewise.
3928 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3929 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3930 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3932 [__NR_mmap2]: Make code unconditional.
3933 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3934 (__mmap64) [!__NR_mmap2]: Likewise.
3935
bc5bc0e5
AK
39362012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3937
3938 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3939
88d506de
AJ
39402012-08-18 Andreas Jaeger <aj@suse.de>
3941
3942 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3943
493387d2
MF
39442012-08-18 Mike Frysinger <vapier@gentoo.org>
3945
3946 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3947 * include/unistd.h (__have_sock_cloexec): Likewise.
3948 (__have_pipe2): Likewise.
3949 (__have_dup3): Likewise.
3950
a277af22
MF
39512012-08-18 Mike Frysinger <vapier@gentoo.org>
3952
3953 [BZ #9685]
3954 * include/unistd.h (__have_pipe2): Change define into an extern int.
3955 (__have_dup3): Likewise.
3956 * socket/have_sock_cloexec.c: Include fcntl.h.
3957 (__have_pipe2): New variable.
3958 (__have_dup3): Likewise.
3959
fdab8fd3
MF
39602012-08-17 Mike Frysinger <vapier@gentoo.org>
3961
3962 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3963
31035e80
MP
39642012-08-17 Marek Polacek <polacek@redhat.com>
3965
3966 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3967 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3968
3bd9e993
RM
39692012-08-17 Roland McGrath <roland@hack.frob.com>
3970
c91c505f
RM
3971 * configure.in: Add AC_SUBST for sysheaders.
3972 * configure: Regenerated.
3973 * config.make.in (sysheaders): New substituted variable.
3974
7c6f9d53
RM
3975 * sysdeps/unix/mkfifo.c: Moved ...
3976 * sysdeps/posix/mkfifo.c: ... here.
3977 * sysdeps/unix/mkfifoat.c: Moved ...
3978 * sysdeps/posix/mkfifoat.c: ... here.
3979
3980 * sysdeps/unix/utime.c: Moved ...
3981 * sysdeps/posix/utime.c: ... here.
3982
3983 * sysdeps/unix/time.c: Moved ...
3984 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3985 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3986 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3987
3988 * sysdeps/unix/nice.c: Moved ...
3989 * sysdeps/posix/nice.c: ... here.
3990
3991 * sysdeps/unix/alarm.c: Moved ...
3992 * sysdeps/posix/alarm.c: ... here.
3993
3bd9e993
RM
3994 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3995
d1f09384
JL
39962012-08-17 Jeff Law <law@redhat.com>
3997
3998 * intl/Makefile (codeset_mo): New variable.
3999 ($(codeset_mo)): New target.
4000 (tst-codeset.out): Depend on that. Remove explicit rule.
4001 (tst-gettext3.out, tst-gettext5.out): Likewise.
4002 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4003 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4004 * intl/tst-codeset.sh: Remove.
4005 * intl/tst-gettext3.sh: Likewise.
4006 * intl/tst-gettext5.sh: Likewise.
4007
2ae1ae5c
RM
40082012-08-17 Roland McGrath <roland@hack.frob.com>
4009
c31fdb83
RM
4010 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4011 * sysdeps/unix/syscalls.list: ... here.
4012
a0844057
RM
4013 * sysdeps/posix/getaddrinfo.c
4014 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4015 (gaiconf_init, gaiconf_reload): Use them.
4016 [!_STATBUF_ST_NSEC]
4017 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4018 Define using time_t rather than struct timespec.
4019
750c1f2a
RM
4020 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4021 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4022 Macros removed.
4023 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4024 [!NO_THREADS].
4025 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4026 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4027 Likewise.
4028
2ae1ae5c
RM
4029 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4030 __libc_cleanup_push argument.
4031
e66a42f5
RM
4032 * bits/param.h: New file.
4033 * misc/sys/param.h: New file.
4034 * include/sys/param.h: New file.
4035 * misc/Makefile (headers): Add bits/param.h.
4036 * sysdeps/generic/sys/param.h: File removed.
4037 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4038 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4039 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4040 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4041
b7c08a66
RM
4042 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4043 last change.
4044
b2e1c562
RM
4045 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4046 [_IO_MTSAFE_IO].
4047 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4048 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4049 New macros.
4050
c75ccd4c
RM
4051 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4052 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4053 rather than -D_IO_MTSAFE_IO conditionally.
4054 * stdio-common/Makefile (CPPFLAGS): Likewise.
4055 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4056 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4057 Use $(libio-mtsafe).
4058 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4059 of -D_IO_MTSAFE_IO.
4060 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4061 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4062 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4063 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4064 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4065 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4066 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4067 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4068 (CFLAGS-fread_u_chk.c): Likewise.
4069 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4070 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4071 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4072 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4073 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4074 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4075 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4076 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4077 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4078
4079 * libio/Makefile: Test [$(libc-reentrant) = yes]
4080 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4081
4082 * Makeconfig
4083 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4084 * sysdeps/pthread/configure: File removed.
4085 * sysdeps/pthread/Makeconfig: New file.
4086 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4087 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4088
d9195db8
GB
40892012-08-16 Gary Benson <gbenson@redhat.com>
4090
4091 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4092 unmapping the first object in a namespace.
4093
86466cd9
RM
40942012-08-16 Roland McGrath <roland@hack.frob.com>
4095
4096 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4097 (__internal_setnetgrent): ... this. Add internal_function to
4098 definition. Add libc_hidden_def.
4099 (setnetgrent): Update caller.
4100 (internal_endnetgrent): Renamed to ...
4101 (__internal_endnetgrent): ... this. Add internal_function to
4102 definition. Add libc_hidden_def.
4103 (endnetgrent): Update caller.
4104 (internal_getnetgrent_r): Renamed to ...
4105 (__internal_getnetgrent_r): ... this. Add internal_function to
4106 definition. Add libc_hidden_def.
4107 (__getnetgrent_r): Update caller.
4108 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4109
c3c8283c
JM
41102012-08-16 Joseph Myers <joseph@codesourcery.com>
4111
4112 * stdlib/longlong.h: Update from GCC.
4113
db1ee0a8
RM
41142012-08-16 Roland McGrath <roland@hack.frob.com>
4115
4116 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4117 on _QL, which is set by umul_ppmm but never used.
4118 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4119 variables, which are set by GMP macros but never used.
4120 * stdio-common/_itowa.c (_itowa): Likewise.
4121 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4122 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4123
30f69637
CD
41242012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4125
4126 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4127 struct La_sh_regs is not constant.
4128 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4129 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4130 and struct La_sparc64_regs are not constant.
4131
93a78ac4
JM
41322012-08-16 Joseph Myers <joseph@codesourcery.com>
4133
4134 * sysdeps/unix/sysv/linux/kernel-features.h
4135 (__ASSUME_POSIX_TIMERS): Remove.
4136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4138 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4139 Make code unconditional.
4140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4141 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4142 Make code unconditional.
4143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4144 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4145 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4146 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4147 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4148 Make code unconditional.
4149 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4150 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4151 (__libc_missing_posix_timers): Remove.
4152
dd924cd7
RM
41532012-08-15 Roland McGrath <roland@hack.frob.com>
4154
4b4f2771
RM
4155 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4156 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4157
601c888b
RM
4158 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4159
176790a7
RM
4160 * elf/dl-sym.c: Include <stdlib.h>.
4161
329bc018
RM
4162 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4163 constants, which avoids warnings in 32-bit builds.
4164
e04e272d
RM
4165 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4166 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4167
952bf94a
RM
4168 * misc/lseek.c: File moved to ...
4169 * io/lseek.c: ... here.
4170
7c99b50a
RM
4171 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4172
dd924cd7
RM
4173 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4174 shifting LEN more than 31 bits at once.
4175
b3f479a8
LD
41762012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4177
4178 [BZ #14195]
8c4ae0d4
RM
4179 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4180 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4181 * string/test-strncasecmp.c (check1): Renamed to...
4182 (bz12205): ...this.
4183 (bz14195): Add new testcase for two empty input strings and N > 0.
4184 (test_main): Call new testcase, adapt for renamed function.
4185
9c55864e
AJ
41862012-08-15 Andreas Jaeger <aj@suse.de>
4187
4188 [BZ #14090]
4189 * crypt/md5test2.c: New test, based on test supplied by Serge
4190 Belyshev <belyshev@depni.sinp.msu.ru>.
4191 * crypt/Makefile (xtests): Add md5test-giant..
4192 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4193
02dcb6c5
PE
41942012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4195
4196 [BZ #14090]
4197 * crypt/md5.c (md5_process_block): Don't assume the buffer
4198 length is less than 2**32.
4199 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4200 length is less than 2**64.
4201
a3f95dcc
RM
42022012-08-15 Roland McGrath <roland@hack.frob.com>
4203
be75d758
RM
4204 * string/str-two-way.h: Include <sys/param.h>.
4205 (MAX): Macro removed.
4206
7312ca90
RM
4207 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4208 Move #define and #undef of memmove to just before and after
4209 including <string.h>.
4210
9a0a5486
RM
4211 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4212 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4213 and after including <string.h>. Move declarations of
4214 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4215 to before #include "string/memmove.c".
4216
67cc348d
RM
4217 * include/dirent.h: Declare __getdirentries.
4218
a3f95dcc
RM
4219 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4220 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4221
ca98e171
MF
42222012-08-14 Mike Frysinger <vapier@gentoo.org>
4223
4224 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4225 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4226 * sysdeps/i386/configure: Regenerated.
4227 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4228 STABS_CURRENT_FILE, and STABS_FUN.
4229 (END): Remove call to STABS_FUN_END.
4230 (STABS_CURRENT_FILE1): Delete.
4231 (STABS_CURRENT_FILE): Likewise.
4232 (STABS_FUN): Likewise.
4233 (STABS_FUN_END): Likewise.
4234 (STABS_FUN2): Likewise.
4235 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4236 * sysdeps/x86_64/configure: Regenerated.
4237
5908bf46
RM
42382012-08-14 Roland McGrath <roland@hack.frob.com>
4239
4240 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4241 * elf/dl-lookup.c: Likewise.
5908bf46 4242
f2c05b9e
JM
42432012-08-14 Joseph Myers <joseph@codesourcery.com>
4244
4245 * sysdeps/unix/sysv/linux/kernel-features.h
4246 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4247 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4248 unconditionally.
4249 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4250 unconditionally.
4251 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4252 condition on __ASSUME_CLONE_THREAD_FLAGS.
4253
e11f5155
AJ
42542012-08-14 Andreas Jaeger <aj@suse.de>
4255
4256 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257
51a9ba86
MK
42582012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4259
2fdd4f78
AJ
4260 * include/atomic.h (atomic_exchange_and_add): Split into ...
4261 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4262 New atomic macros.
51a9ba86 4263
ba6cba9e
MT
42642012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4265
4266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4267
42443a47
JL
42682012-08-13 Jeff Law <law@redhat.com>
4269
4270 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4271 null byte in the output string.
4272
121dce05
JM
42732012-08-10 Joseph Myers <joseph@codesourcery.com>
4274
4275 * sysdeps/unix/sysv/linux/kernel-features.h
4276 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4277 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4278 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4279 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4280 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4281 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4282 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4283
bf51f568
JL
42842012-08-09 Jeff Law <law@redhat.com>
4285
4286 [BZ #13939]
4287 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4288 When avoid_arena is set, don't retry in the that arena. Pick the
4289 next one, whatever it might be.
4290 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4291 (arena_lock): Pass in new parameter to arena_get2.
4292 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4293 arena_get2.
4294 (__libc_malloc): Unify retrying after main arena failure with
4295 __libc_memalign version.
4296 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4297
f85fa270
L
42982012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4299
4300 [BZ #14166]
4301 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4302 to __redirect_strstr.
4303 (__strstr_sse42): Use typeof __redirect_strstr.
4304 (__strstr_ia32): Likewise.
4305 (__libc_strstr): New prototype.
4306 (strstr): Renamed to ...
4307 (__libc_strstr): This.
4308 (strstr): New strong alias of __libc_strstr.
4309 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4310 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4311 __redirect_time.
4312 Include <time.h>.
4313 (__libc_time): New prototype.
4314 (time_ifunc): Replace time with __libc_time.
4315 (time): New strong alias and hidden definition of __libc_time.
4316 (__GI_time): Remove strong alias.
4317 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4318 Include <stddef.h>.
4319 (memmove): Redefined to __redirect_memmove.
4320 (__memmove_sse2): Use typeof __redirect_memmove.
4321 (__memmove_ssse3): Likewise.
4322 (__memmove_ssse3_back): Likewise.
4323 (__libc_memmove): New prototype.
4324 (memmove): Renamed to ...
4325 (__libc_memmove): This.
4326 (memmove): New strong alias of __libc_memmove.
4327
33b4a91e
MS
43282012-08-08 Mark Salter <msalter@redhat.com>
4329
4330 * elf/elf.h
4331 (R_MN10300_TLS_GD): Define.
4332 (R_MN10300_TLS_LD): Likewise.
4333 (R_MN10300_TLS_LDO): Likewise.
4334 (R_MN10300_TLS_GOTIE): Likewise.
4335 (R_MN10300_TLS_IE): Likewise.
4336 (R_MN10300_TLS_LE): Likewise.
4337 (R_MN10300_TLS_DTPMOD): Likewise.
4338 (R_MN10300_TLS_DTPOFF): Likewise.
4339 (R_MN10300_TLS_TPOFF): Likewise.
4340 (R_MN10300_SYM_DIFF): Likewise.
4341 (R_MN10300_ALIGN): Likewise.
4342 (R_MN10300_NUM): Update.
4343
b36137f1
JM
43442012-08-08 Joseph Myers <joseph@codesourcery.com>
4345
4346 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4347 Remove.
4348
cdd915fd
RM
43492012-08-08 Roland McGrath <roland@hack.frob.com>
4350
a2433aac
RM
4351 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4352
cdd915fd
RM
4353 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4354 sysdeps/unix -> sysdeps/posix move.
4355 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4356
bf9b740a
AM
43572012-08-07 Allan McRae <allan@archlinux.org>
4358
4359 [BZ #14303]
4360 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4361 (SUNOS_CPP): Likewise.
4362 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4363 not found.
4364 (open_input): Call CPP using execvp.
4365
93df14ee
JM
43662012-08-07 Joseph Myers <joseph@codesourcery.com>
4367
4368 * sysdeps/unix/sysv/linux/kernel-features.h
4369 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4370 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4371 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4372 (__ASSUME_WAITID_SYSCALL): Likewise.
4373 * sysdeps/unix/sysv/linux/dl-execstack.c
4374 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4375 code unconditional.
4376 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4377 conditional code.
4378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4379 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4380 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4381 code.
4382 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4383 unconditional.
4384 [__ASSUME_WAITID_SYSCALL]: Likewise.
4385 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4386
d34689de
RM
43872012-08-07 Roland McGrath <roland@hack.frob.com>
4388
a281decc
RM
4389 * sysdeps/unix/closedir.c: Renamed to ...
4390 * sysdeps/posix/closedir.c: ... here.
4391 * sysdeps/unix/dirfd.c: Renamed to ...
4392 * sysdeps/posix/dirfd.c: ... here.
4393 * sysdeps/unix/dirstream.h: Renamed to ...
4394 * sysdeps/posix/dirstream.h: ... here.
4395 * sysdeps/unix/fdopendir.c: Renamed to ...
4396 * sysdeps/posix/fdopendir.c: ... here.
4397 * sysdeps/unix/opendir.c: Renamed to ...
4398 * sysdeps/posix/opendir.c: ... here.
4399 * sysdeps/unix/readdir.c: Renamed to ...
4400 * sysdeps/posix/readdir.c: ... here.
4401 * sysdeps/unix/readdir_r.c: Renamed to ...
4402 * sysdeps/posix/readdir_r.c: ... here.
4403 * sysdeps/unix/rewinddir.c: Renamed to ...
4404 * sysdeps/posix/rewinddir.c: ... here.
4405 * sysdeps/unix/seekdir.c: Renamed to ...
4406 * sysdeps/posix/seekdir.c: ... here.
4407 * sysdeps/unix/telldir.c: Renamed to ...
4408 * sysdeps/posix/telldir.c: ... here.
4409 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4410 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4411 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4412 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4413
22895b47
RM
4414 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4415 * bits/fcntl.h: ... here.
4416
707a53b6
RM
4417 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4418 not 0.
4419 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4420 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4421 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4422 (struct flock): Move l_start, l_len to the beginning.
4423 Use __pid_t for l_pid.
4424 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4425 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4426 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4427 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4428 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4429 [__USE_LARGEFILE64] (struct flock64): New type.
4430 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4431
f0bd3e25
RM
4432 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4433 * bits/dirent.h: ... here.
4434
d34689de
RM
4435 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4436 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4437
6dad2c06
JM
44382012-08-07 Joseph Myers <joseph@codesourcery.com>
4439
4440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4441 Change from 2.6.0 to 2.6.16.
4442 * sysdeps/unix/sysv/linux/configure: Regenerated.
4443 * sysdeps/unix/sysv/linux/kernel-features.h
4444 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4445 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4446 version.
4447 (__ASSUME_UTIMES): Likewise.
4448 (__ASSUME_CLONE_STOPPED): Remove.
4449 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4450 architectures, not kernel version.
4451 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4452 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4453 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4454 (__ASSUME_WAITID_SYSCALL): Likewise.
4455 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4456 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4457 * README: State 2.6.16 as minimum Linux kernel version. Do not
4458 refer to older versions.
4459
03af9520
RM
44602012-08-06 Roland McGrath <roland@hack.frob.com>
4461
8e49df1d
RM
4462 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4463 Define alphasort64 as an alias.
4464 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4465 Define versionsort64 as an alias.
4466 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4467 Define scandir64 as an alias.
4468 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4469 Define scandirat64 as an alias.
4470 * dirent/alphasort64.c (alphasort64):
4471 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4472 * dirent/versionsort64.c: Likewise.
4473 * dirent/scandir64.c: Likewise.
4474 * dirent/scandirat64.c: Likewise.
4475 * sysdeps/wordsize-64/alphasort.c: File removed.
4476 * sysdeps/wordsize-64/alphasort64.c: File removed.
4477 * sysdeps/wordsize-64/scandir.c: File removed.
4478 * sysdeps/wordsize-64/scandir64.c: File removed.
4479 * sysdeps/wordsize-64/scandirat.c: File removed.
4480 * sysdeps/wordsize-64/scandirat64.c: File removed.
4481 * sysdeps/wordsize-64/versionsort.c: File removed.
4482 * sysdeps/wordsize-64/versionsort64.c: File removed.
4483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4484 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4486 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4488 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4490 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4491
4492 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4494 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4495 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4496 [defined __arch64__ || defined __sparcv9]
4497 (__INO_T_MATCHES_INO64_T): New macro.
4498 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4499 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4500 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4501 * sysdeps/unix/sysv/linux/bits/dirent.h
4502 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4503 (_DIRENT_MATCHES_DIRENT64): New macro.
4504
03af9520
RM
4505 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4506 Define lockf64 as an alias.
4507 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4508 Define fseeko64 as an alias.
4509 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4510 Define ftello64 as an alias.
4511 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4512 Define _IO_fgetpos64 and fgetpos64 as aliases.
4513 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4514 Define _IO_fsetpos64 and fsetpos64 as aliases.
4515 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4516 Conditionalize body on this.
4517 * libio/fseeko64.c: Likewise.
4518 * libio/ftello64.c: Likewise.
4519 * libio/iofgetpos64.c: Likewise.
4520 * libio/iofsetpos64.c: Likewise.
4521 * sysdeps/wordsize-64/lockf.c: File removed.
4522 * sysdeps/wordsize-64/lockf64.c: File removed.
4523 * sysdeps/wordsize-64/fseeko.c: File removed.
4524 * sysdeps/wordsize-64/fseeko64.c: File removed.
4525 * sysdeps/wordsize-64/ftello.c: File removed.
4526 * sysdeps/wordsize-64/ftello64.c: File removed.
4527 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4528 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4529 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4530 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4532 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4538 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4540 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4541
4542 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4544 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4546 [defined __arch64__ || defined __sparcv9]
4547 (__OFF_T_MATCHES_OFF64_T): New macro.
4548 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4549 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4551 (__OFF_T_MATCHES_OFF64_T): New macro.
4552
c5757acd
L
45532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4554
4555 * stdlib/secure-getenv.c (__secure_getenv): Replace
4556 GLIBC_2_16 with GLIBC_2_17.
4557
3a31811e
L
45582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4561 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4562
faa2bccb
DM
45632012-08-03 David S. Miller <davem@davemloft.net>
4564
4565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4566
85fe1997
JM
45672012-08-03 Joseph Myers <joseph@codesourcery.com>
4568
4569 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4570 Remove.
4571 (__ASSUME_CORRECT_SI_PID): Likewise.
4572 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4573 (__ASSUME_TMPFS_NAME): Likewise.
4574 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4575 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4576 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4577 (HAVE_AUX_SECURE): Make definition unconditional.
4578 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4579 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4580
4f75b7a0
RM
45812012-08-03 Roland McGrath <roland@hack.frob.com>
4582
4583 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4584 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4585 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4586 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4587 __eloop_threshold instead of SYMLOOP_MAX.
4588
4589 * sysdeps/generic/eloop-threshold.h: New file.
4590 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4591 of MAXSYMLINKS.
4592 * elf/chroot_canon.c (chroot_canon): Likewise.
4593
7aab07e4
JM
45942012-08-03 Joseph Myers <joseph@codesourcery.com>
4595
4596 [BZ #13717]
4597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4598 Change to 2.6.0 everywhere.
4599 * sysdeps/unix/sysv/linux/configure: Regenerated.
4600 * sysdeps/unix/sysv/linux/kernel-features.h
4601 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4602 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4603 kernel versions.
4604 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4605 (__ASSUME_FUTEX_REQUEUE): Remove.
4606 (__ASSUME_STATFS64): Define unconditionally.
4607 (__ASSUME_AT_SECURE): Likewise.
4608 (__ASSUME_CORRECT_SI_PID): Likewise.
4609 (__ASSUME_TGKILL): Define without depending on kernel version for
4610 i386.
4611 (__ASSUME_UTIMES): Likewise.
4612 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4613 kernel version.
4614 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4615 (__ASSUME_TMPFS_NAME): Likewise.
4616 * README: Update reference to Linux kernel versions.
4617
b67e9372
MP
46182012-08-02 Marek Polacek <polacek@redhat.com>
4619
1f529f7d 4620 [BZ# 14150]
b67e9372
MP
4621 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4622 libc_cv_asm_type_prefix with %.
4623 * configure: Regenerated.
d2441631
RM
4624 * include/libc-symbols.h: Remove comment about
4625 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4626 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4627 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4628 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4629 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4630 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4632 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4633 * elf/tst-unique2mod1.c: Likewise.
4634 * elf/tst-unique1mod2.c: Likewise.
4635 * elf/tst-unique1mod1.c: Likewise.
4636 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4637 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4638 Replace ASM_TYPE_DIRECTIVE with .type.
4639 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4640 * sysdeps/i386/sysdep.h: Likewise.
4641 * sysdeps/x86_64/sysdep.h: Likewise.
4642 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4644 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4645 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4646 * sysdeps/powerpc/powerpc32/sysdep.h:
4647 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4648 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4649 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4650 * sysdeps/i386/fpu/e_powf.S: Likewise.
4651 * sysdeps/i386/fpu/e_expl.S: Likewise.
4652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4653 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4654 * sysdeps/i386/fpu/e_pow.S: Likewise.
4655 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4656 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4657 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4658 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4659 * sysdeps/i386/fpu/e_log2.S: Likewise.
4660 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4661 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4662 * sysdeps/i386/fpu/e_powl.S: Likewise.
4663 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4664 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4665 * sysdeps/i386/fpu/e_logl.S: Likewise.
4666 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4667 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4668 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4669 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4670 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4671 * sysdeps/i386/fpu/e_log.S: Likewise.
4672 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4673 * sysdeps/i386/fpu/e_logf.S: Likewise.
4674 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4675 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4676 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4677 * sysdeps/i386/fpu/e_log10.S: Likewise.
4678 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4680 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4681 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4684 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4685 * sysdeps/i386/i686/strtok.S: Likewise.
4686 * sysdeps/i386/i386-mcount.S: Likewise.
4687 * sysdeps/i386/strtok.S: Likewise.
4688 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4689 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4691 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4692 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4693 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4694 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4695 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4696 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4697 * sysdeps/x86_64/_mcount.S: Likewise.
4698 * sysdeps/x86_64/strtok.S: Likewise.
4699 * sysdeps/sh/_mcount.S: Likewise.
4700
2747bf9a
RM
47012012-08-01 Roland McGrath <roland@hack.frob.com>
4702
4703 * libio/iofopen.c: Include <fcntl.h>.
4704 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4705 (_IO_fopen64, fopen64): Define as aliases.
4706 * libio/iofopen64.c: Include <fcntl.h>.
4707 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4708 Conditionalize body on this.
4709 * sysdeps/wordsize-64/iofopen.c: File removed.
4710 * sysdeps/wordsize-64/iofopen64.c: File removed.
4711
3fb791b8
MP
47122012-08-01 Marek Polacek <polacek@redhat.com>
4713
4714 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4715 Use dlfcn directly instead of a variable.
4716 (binfmt-subdir): Do not define.
4717 (dlfcn): Likewise.
4718
a9f1039f
JM
47192012-08-01 Joseph Myers <joseph@codesourcery.com>
4720
23bddc06
JM
4721 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4722 Remove all definitions.
4723 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4724 <kernel-features.h>.
4725 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4726 (miss_F_GETOWN_EX): Remove all definitions.
4727 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4728 macro definition.
4729 [!__ASSUME_FCNTL64]: Remove conditional code.
4730 [__ASSUME_FCNTL64]: Make code unconditional.
4731 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4732 <kernel-features.h>.
4733 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4734 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4735 (lockf64) [__NR_fcntl64]: Make code unconditional.
4736 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4737
a9f1039f
JM
4738 * sysdeps/unix/sysv/linux/kernel-features.h
4739 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4740 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4741 Make code unconditional.
4742 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4743 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4745 [__NR_vfork]: Make code unconditional.
4746 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4747 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4749 [__NR_vfork]: Make code unconditional.
4750 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4751 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4752
09c0ee5f
RM
47532012-08-01 Roland McGrath <roland@hack.frob.com>
4754
48aec5b9
RM
4755 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4756 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4757
cd97c966
RM
4758 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4759 Define mkstemp64 as an alias.
3f55550c
RM
4760 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4761 Define mkstemps64 as an alias.
cd97c966
RM
4762 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4763 Define mkostemp64 as an alias.
b8625cfc
RM
4764 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4765 Define mkostemps64 as an alias.
cd97c966
RM
4766 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4767 Conditionalize body on this.
4768 * misc/mkostemp64.c: Likewise.
b8625cfc 4769 * misc/mkostemps64.c: Likewise.
3f55550c 4770 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4771 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4772 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4773 * sysdeps/wordsize-64/mkostemp.c: File removed.
4774 * sysdeps/wordsize-64/mkstemp.c: File removed.
4775 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4779
09c0ee5f
RM
4780 [BZ #14138]
4781 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4782 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4783 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4784 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4785
4786 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4787 compat_symbol macros from <shlib-compat.h> rather than the underlying
4788 default_symbol_version and symbol_version macros, so that DEFAULT
4789 lines in shlib-versions are respected.
4790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4791
7e66ee51
FW
47922012-08-01 Florian Weimer <fweimer@redhat.com>
4793
4794 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4795 Declare with warn_unused_result.
4796 (setgid, setregid, setegid, setresgid): Likewise.
4797 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4798 Likewise.
4799 * WUR-REPORT: Remove set*id functions.
4800
d2a54255
PT
48012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4802
4803 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4804
7ecdb005
RM
48052012-07-31 Roland McGrath <roland@hack.frob.com>
4806
789bd351
RM
4807 * include/sys/socket.h (__libc_accept, __libc_accept4):
4808 Add attribute_hidden.
4809 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4810
40ce302d
RM
4811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4812 use of PTR_MANGLE.
4813 * inet/getnetgrent_r.c (setup): Likewise.
4814
7ecdb005
RM
4815 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4816
e2eabb2c
DM
48172012-07-31 David S. Miller <davem@davemloft.net>
4818
4819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4820
d0419dbf
JM
48212012-07-31 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #13629]
4824 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4825 value between 1.0 and 2.0 and smaller part has absolute value less
4826 than 1.0.
4827 * math/s_clog10.c (__clog10): Likewise.
4828 * math/s_clog10f.c (__clog10f): Likewise.
4829 * math/s_clog10l.c (__clog10l): Likewise.
4830 * math/s_clogf.c (__clogf): Likewise.
4831 * math/s_clogl.c (__clogl): Likewise.
4832 * math/libm-test.inc (clog_test): Add more tests.
4833 (clog10_test): Likewise.
4834 * sysdeps/i386/fpu/libm-test-ulps: Update.
4835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4836
2bc13872
FW
48372012-07-31 Florian Weimer <fweimer@redhat.com>
4838
4839 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4840 Exit with zero in case no suitable GID is found, and write a
4841 message to standard error.
4842
bea9b193
RM
48432012-07-30 Roland McGrath <roland@hack.frob.com>
4844
4845 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4846 rather than to 1.
4847 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4848 (MAXPATHLEN): Removed.
4849 (NOGROUP, NODEV): New macros.
4850 (setbit, clrbit, isset, isclr): New macros.
4851 (howmany, roundup, powerof2): New macros.
4852 (DEV_BSIZE): New macro.
4853
4854 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4855 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4856
4857 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4858 definition on [!__NO_LONG_DOUBLE_MATH].
4859
4860 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4861 PTR_MANGLE and PTR_DEMANGLE.
4862
4863 * socket/accept4.c (accept4): Rename to __libc_accept4.
4864 Define accept4 as a weak alias.
4865
4866 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4867 on [_DIRENT_HAVE_D_TYPE].
4868 * io/ftw.c (ftw_dir): Likewise.
4869
4870 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4871
4872 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4873
4874 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4875 Use the BSD numbers rather than the arbitrary ones we had.
4876 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4877 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4878 (SIGXCPU, SIGXFSZ): New macros.
4879 (_NSIG): Now 32.
4880
4881 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4882 initializer on [_LIBC_REENTRANT].
4883
4884 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4885 definitions inside [_POSIX_MAPPED_FILES].
4886
4887 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4888
4889 * dirent/opendir.c: Include <fcntl.h>.
4890
4891 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4892 (__libc_getspecific): Likewise.
4893 (__libc_key_create): Likewise.
4894
4895 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4896 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4897 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4898 (tmpfile64): Define as alias.
4899 * sysdeps/wordsize-64/tmpfile.c: File removed.
4900 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4903
4904 * stdio-common/vfscanf.c: Include <stdbool.h>.
4905 * nss/makedb.c: Likewise.
4906 * stdio-common/_i18n_number.h: Likewise.
4907 * argp/argp-help.c: Likewise.
4908 * posix/wordexp.c: Likewise.
4909 * sysdeps/posix/spawni.c: Likewise.
4910 * nss/nss_files/files-initgroups.c: Likewise.
4911 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4912 * nss/nss_files/files-initgroups.c: Likewise.
4913 * nss/nss_db/db-netgrp.c: Likewise.
4914 * nss/nss_db/db-initgroups.c: Likewise.
4915 * io/fchmodat.c: Include <sys/stat.h>.
4916
4917 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4918 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4919
4920 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4921 [HAVE_MMAP].
4922
4923 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4924 Add multiple inclusion protection.
4925
e5abc686
DM
49262012-07-27 David S. Miller <davem@davemloft.net>
4927
4928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4929
815e6fa3
GB
49302012-07-27 Gary Benson <gbenson@redhat.com>
4931
4932 [BZ #14298]
4933 * elf/rtld.c: Include <stap-probe.h>.
4934 (dl_main): Added static probes "init_start" and "init_complete".
4935 * elf/dl-load.c: Include <stap-probe.h>.
4936 (lose): Take new parameter "nsid".
4937 Added static probe "map_failed".
4938 (_dl_map_object_from_fd): Pass namespace id to lose.
4939 Added static probe "map_start".
4940 (open_verify): Pass namespace id to lose.
4941 * elf/dl-open.c: Include <stap-probe.h>.
4942 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4943 and "reloc_complete".
4944 * elf/dl-close.c: Include <stap-probe.h>.
4945 (_dl_close_worker): Added static probes "unmap_start" and
4946 "unmap_complete".
4947 * elf/rtld-debugger-interface.txt: New file documenting the above.
4948
9f98c16c
RM
49492012-07-26 Roland McGrath <roland@hack.frob.com>
4950
4951 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4952 rather than a string variable.
4953 * sunrpc/rpc_main.c (h_output): Likewise.
4954 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4955
f3c22df3
PT
49562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4957
4958 * inet/check_native.c: New file.
4959
3129cfc6
JM
49602012-07-26 Joseph Myers <joseph@codesourcery.com>
4961
da865e95
JM
4962 [BZ #13629]
4963 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4964 if larger part has absolute value 1.0.
4965 * math/s_clog10.c (__clog10): Likewise.
4966 * math/s_clog10f.c (__clog10f): Likewise.
4967 * math/s_clog10l.c (__clog10l): Likewise.
4968 * math/s_clogf.c (__clogf): Likewise.
4969 * math/s_clogl.c (__clogl): Likewise.
4970 * math/libm-test.inc (clog_test): Add more tests.
4971 (clog10_test): Likewise.
4972 * sysdeps/i386/fpu/libm-test-ulps: Update.
4973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4974
3129cfc6
JM
4975 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4976 (pltexit): Likewise.
4977 (La_regs): Likewise.
4978 (La_retval): Likewise.
4979 (int_retval): Likewise.
4980 Update #error for removed macros to refer only to definitions in
4981 tst-audit.h.
4982 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4983 macro.
4984 (pltexit): Likewise.
4985 (La_regs): Likewise.
4986 (La_retval): Likewise.
4987 (int_retval): Likewise.
4988 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4989 macro.
4990 (pltexit): Likewise.
4991 (La_regs): Likewise.
4992 (La_retval): Likewise.
4993 (int_retval): Likewise.
4994 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4995 macro.
4996 (pltexit): Likewise.
4997 (La_regs): Likewise.
4998 (La_retval): Likewise.
4999 (int_retval): Likewise.
5000 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5001 macro.
5002 (pltexit): Likewise.
5003 (La_regs): Likewise.
5004 (La_retval): Likewise.
5005 (int_retval): Likewise.
5006 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5007 macro.
5008 (pltexit): Likewise.
5009 (La_regs): Likewise.
5010 (La_retval): Likewise.
5011 (int_retval): Likewise.
5012 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5013 macro.
5014 (pltexit): Likewise.
5015 (La_regs): Likewise.
5016 (La_retval): Likewise.
5017 (int_retval): Likewise.
5018 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5019 macro definitions in tst-audit.h.
5020 * sysdeps/i386/tst-audit.h: New file.
5021 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5022 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5023 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5024 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5025 * sysdeps/sh/tst-audit.h: Likewise.
5026 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5027 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5028 * sysdeps/x86_64/tst-audit.h: Likewise.
5029
bfc07087
AJ
50302012-07-26 Andreas Jaeger <aj@suse.de>
5031
b1b2aaf8
AJ
5032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5033 ptrace.
5034
5035 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5036 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5037 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5038 PTRACE_O_MASK.
5039 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5040 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5041 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5042
bfc07087
AJ
5043 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5044 value.
5045
5046 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5047 _sigsys.
5048 (si_call_addr, si_syscall, si_arch): Define new macro.
5049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5050 _sigsys.
5051 (si_call_addr, si_syscall, si_arch): Define new marcro.
5052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5053 _sigsys.
5054 (si_call_addr, si_syscall, si_arch): Define new macro.
5055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5056 _sigsys.
5057 (si_call_addr, si_syscall, si_arch): Define new macro.
5058
89b4b02f
JM
50592012-07-25 Joseph Myers <joseph@codesourcery.com>
5060
5061 [BZ #13717]
5062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5063 Change to 2.4.21 where previously 2.4.1.
5064 * sysdeps/unix/sysv/linux/configure: Regenerated.
5065 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5066 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5067 Linux kernel version.
5068 (__ASSUME_STD_AUXV): Remove.
5069 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5070 kernel version.
5071 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5072 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5073 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5074 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5075 (__ASSUME_NETLINK_SUPPORT): Likewise.
5076 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5077 (__no_netlink_support): Remove conditional definition.
5078 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5079 Remove.
5080 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5081 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5083 (if_nameindex_ioctl): Remove.
5084 (if_nameindex_netlink): Do not handle __no_netlink_support.
5085 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5086 code.
5087 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5088 Remove conditional code.
5089 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5090 code.
5091 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5092 unconditional.
5093 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5094 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5095 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5096 Remove.
5097 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5098 [!__ASSUME_STD_AUXV]: Remove conditional code.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5100 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5101 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5103 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5104 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5105 code.
5106 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5109 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5110 conditional code.
5111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5114 code.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5116 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5117 conditional code.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5119 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5120 code unconditional.
5121 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5122 conditional code.
5123 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5124 unconditional.
5125 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5126 conditional code.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5128 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5129 unconditional.
5130 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5131 conditional code.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5133 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5134 code unconditional.
5135 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5136 conditional code.
5137 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5138 unconditional.
5139 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5140 conditional code.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5142 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5143 code unconditional.
5144 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5145 conditional code.
5146 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5147 unconditional.
5148 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5149 conditional code.
5150
842a39cd
AS
51512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5152
5153 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5154 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5155 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5156 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5157 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5158 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5160 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5161 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5162 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5163 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5164 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5165 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5166 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5167 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5169 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5171 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5173 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5174 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5176
84b3fd84
FW
51772012-07-25 Florian Weimer <fweimer@redhat.com>
5178
5179 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5180 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5181 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5182 Introduce __libc_secure_getenv.
0c7936d5
FW
5183 * stdlib/Versions (2.17): Add secure_getenv
5184 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5185 * stdlib/secure-getenv.c: Rename __secure_getenv to
5186 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5187 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5188 * stdlib/tst-secure-getenv.c: New.
5189 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5190 * manual/startup.texi (Environment Access): Document
5191 secure_getenv.
84b3fd84
FW
5192 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5193 __libc_secure_getenv.
5194 * inet/ruserpass.c (ruserpass): Likewise.
5195 * malloc/mtrace.c (mtrace): Likewise.
5196 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5197 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5198 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5199 * sysdeps/posix/tempname.c: Likewise. Evaluate
5200 HAVE_SECURE_GETENV.
5201 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5202 __secure_getenv to __libc_secure_getenv.
84b3fd84 5203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5205 Likewise.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5207 Likewise.
5208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5215
56e49b71
JM
52162012-07-25 Joseph Myers <joseph@codesourcery.com>
5217
5218 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5219 (struct La_i86_retval): Likewise.
5220 (struct La_x86_64_regs): Likewise.
5221 (struct La_x86_64_retval): Likewise.
5222 (struct La_x32_regs): Likewise.
5223 (struct La_x32_retval): Likewise.
5224 (struct La_ppc32_regs): Likewise.
5225 (struct La_ppc32_retval): Likewise.
5226 (struct La_ppc64_regs): Likewise.
5227 (struct La_ppc64_retval): Likewise.
5228 (struct La_sh_regs): Likewise.
5229 (struct La_sh_retval): Likewise.
5230 (struct La_s390_32_regs): Likewise.
5231 (struct La_s390_32_retval): Likewise.
5232 (struct La_s390_64_regs): Likewise.
5233 (struct La_s390_64_retval): Likewise.
5234 (struct La_sparc32_regs): Likewise.
5235 (struct La_sparc32_retval): Likewise.
5236 (struct La_sparc64_regs): Likewise.
5237 (struct La_sparc64_retval): Likewise.
5238 (struct audit_ifaces): Remove architecture-specific pltenter and
5239 pltexit members.
5240 * sysdeps/i386/ldsodefs.h: New file.
5241 * sysdeps/powerpc/ldsodefs.h: Likewise.
5242 * sysdeps/s390/ldsodefs.h: Likewise.
5243 * sysdeps/sh/ldsodefs.h: Likewise.
5244 * sysdeps/sparc/ldsodefs.h: Likewise.
5245 * sysdeps/x86_64/ldsodefs.h: Likewise.
5246
354691b7
MP
52472012-07-25 Marek Polacek <polacek@redhat.com>
5248
5249 [BZ #6808]
5250 * math/libm-test.inc (yn_test): Add another test.
5251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5252 to ERANGE when the result is +-Inf.
5253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5254 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5256 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5257
bf9e2071
JM
52582012-07-24 Joseph Myers <joseph@codesourcery.com>
5259
5260 * conform/data/time.h-data (NULL): Use macro-constant. Require
5261 equal to 0.
5262 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5263 clock_t.
5264 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5265
57633811
TS
52662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5267
5268 * configure.in <sysdeps resolving>: Correct printing
5269 Implies_before.
5270 * configure: Regenerate.
5271
c23c33b0
TS
52722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5273
5274 * math/w_ilogb.c: Include <limits.h>.
5275 * math/w_ilogbl.c: Likewise.
5276
b5982523
JM
52772012-07-20 Joseph Myers <joseph@codesourcery.com>
5278
5279 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5280 va_copy. Document allowing for unavailable va_copy only as
5281 pre-C99 compatibility.
5282 * manual/string.texi (Copying and Concatenation): Use va_copy
5283 instead of __va_copy in concat example.
5284
ac4ea442
PT
52852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5286
5287 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5288 (__sendto): Use create_address_port. Initialize APORT and deallocate
5289 it if not null.
5290
f98eafbd
PT
5291 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5292 with O_NOLINK passed to __file_name_lookup.
5293
898c7aab
PT
5294 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5295 with O_NOLINK passed to __file_name_lookup.
5296
0ced335a
PT
5297 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5298 negative N or less than NGIDS.
5299
b3404dbd
PT
5300 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5301 type to string_t. Set ERANGE as errno and return it if NAME is not big
5302 enough. Use memcpy instead of strncpy.
5303
0f48659e
JM
53042012-07-20 Joseph Myers <joseph@codesourcery.com>
5305
5306 * elf/Makefile (check-data): Remove.
5307 (localplt.data): New vpath directive.
5308 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5309 instead of $(check-data).
5310 * scripts/data/localplt-generic.data: Move to ...
5311 * sysdeps/generic/localplt.data: ... here.
5312 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5313 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5314 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5316 ... here.
5317 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5319 ... here.
5320 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5322 ... here.
5323 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5325 ... here.
5326 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5328 ... here.
5329 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5331 ... here.
5332
d37cbdaa
AZ
53332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5334
5335 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5336 PPC32 and PPC64 files.
5337 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5338 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5339
46f85fc2
AK
53402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5341
5342 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5343 __makecontext_ret to ...
5344 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5345 ... here and call exit if uc_link is NULL. New file.
5346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5347 __makecontext_ret.S.
5348 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5349 __makecontext_ret to ...
5350 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5351 ... here and call exit if uc_link is NULL. New file.
5352 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5353 __makecontext_ret.S.
5354
08f43f9b
AK
53552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5356
5357 * elf/elf.h (R_390_IRELATIVE): New definition.
5358 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5359 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5360 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5362 (elf_machine_lazy_rel): Likewise.
5363 * sysdeps/s390/dl-irel.h: New file.
5364 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5365 * sysdeps/s390/s390-64/memset.S: New asm code.
5366 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5367 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5369 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5370 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5371 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5373 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5374 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5375 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5376 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5377 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5378 * sysdeps/s390/s390-32/memset.S: New asm code.
5379 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5380
3b05db33
MP
53812012-07-17 Marek Polacek <polacek@redhat.com>
5382
5383 [BZ #14349]
5384 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5385 * sysdeps/s390/s390-64/configure.in: Likewise.
5386 * sysdeps/sparc/configure.in: Likewise.
5387 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5388 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5389 * sysdeps/i386/configure.in: Likewise.
5390 * sysdeps/x86_64/configure.in: Likewise.
5391 * sysdeps/sh/configure.in: Likewise.
5392 * sysdeps/s390/s390-32/configure: Regenerated.
5393 * sysdeps/s390/s390-64/configure: Likewise.
5394 * sysdeps/x86_64/configure: Likewise.
5395 * sysdeps/sh/configure: Likewise.
5396 * sysdeps/powerpc/powerpc64/configure: Likewise.
5397 * sysdeps/powerpc/powerpc32/configure: Likewise.
5398 * sysdeps/sparc/configure: Likwise.
5399 * sysdeps/i386/configure: Likewise.
5400
a66877c6
MP
5401 * elf/dl-open.c: Comment fixes.
5402
cfc82fd8
JM
54032012-07-17 Joseph Myers <joseph@codesourcery.com>
5404
bd29910a
JM
5405 * Makefile [CXX] (check-data): Remove.
5406 [CXX] (c++-types.data): New vpath directive.
5407 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5408 vpath. Do not allow for C++ type data being missing.
5409 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5410 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5411 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5412 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5413 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5414 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5415 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5417 ... here.
5418 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5420 ... here.
5421 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5423 ... here.
5424 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5426 ... here.
5427 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5429 ... here.
5430 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5432 ... here.
5433 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5435 ... here.
5436 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5438
cfc82fd8
JM
5439 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5440 definitions to architecture-specific files.
5441 (TLS_IE): Likewise.
5442 (TLS_LD): Likewise.
5443 (TLS_GD): Likewise.
5444 * sysdeps/i386/tls-macros.h: New file.
5445 * sysdeps/powerpc/tls-macros.h: Likewise.
5446 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5447 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5448 * sysdeps/sh/tls-macros.h: Likewise.
5449 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5450 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5451 * sysdeps/x86_64/tls-macros.h: Likewise.
5452
f7db3170
TS
54532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5454
07cbfc23
TS
5455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5456 zero value for regular exit case.
5457
f7db3170
TS
5458 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5459 (__start_context): Preserve zero value for regular exit case.
5460
dc97c227
TS
54612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5462 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5463
5464 * manual/setjmp.texi (setcontext): Clarify normal process
5465 termination when uc_link is the null pointer.
5466 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5467 exit call.
5468
d0cd7d02
AS
54692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5470
5471 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5472 preprocessor. Test for each exception mask separately.
5473
dd318934
AJ
54742012-07-16 Andreas Jaeger <aj@suse.de>
5475
5476 * po/ru.po: Update from translation team.
5477
8048311a
JM
54782012-07-15 Joseph Myers <joseph@codesourcery.com>
5479
5480 * conform/data/string.h-data (NULL): Use macro-constant. Require
5481 equal to 0.
5482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5484 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5485 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5487
b637d46e
AJ
54882012-07-13 Andreas Jaeger <aj@suse.de>
5489
5490 * po/fr.po: Update from translation team.
5491
541428fe
MP
54922012-07-12 Marek Polacek <polacek@redhat.com>
5493
5494 [BZ #14173]
5495 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5497 loop condition.
5498
ec332e94
JM
54992012-07-12 Joseph Myers <joseph@codesourcery.com>
5500
5501 [BZ #13717]
5502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5503 Change to 2.4.1 where previously 2.4.0.
5504 * sysdeps/unix/sysv/linux/configure: Regenerated.
5505 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5506 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5507 version.
5508 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5509 (__ASSUME_AT_CLKTCK): Remove.
5510 (__ASSUME_AT_PAGESIZE): Likewise.
5511 (__ASSUME_AT_XID): Likewise.
5512 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5513 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5514 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5515 unconditionally.
5516 (HAVE_AUX_PAGESIZE): Likewise.
5517 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5518 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5519 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5520
7b6e99be
JB
55212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5522
5523 [BZ #14307]
5524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5525 the temporary buffer used to invoke __gethostbyname2_r,
5526 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5527 host_data / struct gaih_addrtuple.
5528 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5529 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5530 header file nss/nsswitch.h.
5531 * nss/nsswitch.h (global scope): Add definition of implementation
5532 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5533 resolv/nss_dns/dns-host.c).
5534
608404eb
AJ
55352012-07-11 Andreas Jaeger <aj@suse.de>
5536
5537 * po/fr.po: Update from translation team.
5538
71220aca
AJ
5539 * po/sv.po: Update from translation team
5540 * po/fr.po: Another update from translation team.
5541
28cfe843
AZ
55422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543
5544 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5545 for subnormals or multiply small sinh result by itself.
5546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5548
6b90f981
DM
55492012-07-11 David S. Miller <davem@davemloft.net>
5550
5551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5552
c6825772
AS
55532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5554
5555 [BZ #14347]
5556 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5557 (INTERNAL_MARK): Shift it here.
5558
7b8e0d49
MP
55592012-07-10 Marek Polacek <polacek@redhat.com>
5560
5561 [BZ #14151]
5562 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5563 libc_cv_asm_global_directive with .globl.
5564 * configure: Regenerated.
5565 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5566 with .globl.
5567 * sysdeps/i386/configure: Regenerated.
5568 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5569 with .globl.
5570 * sysdeps/x86_64/configure: Regenerated.
5571 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5572 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5573 * elf/tst-unique2mod2.c: Likewise.
5574 * elf/tst-unique2mod1.c: Likewise.
5575 * elf/tst-unique1mod2.c: Likewise.
5576 * elf/tst-unique1mod1.c: Likewise.
5577 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5580 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5581 * sysdeps/mach/sysdep.h: Likewise.
5582 * sysdeps/i386/sysdep.h: Likewise.
5583 * sysdeps/i386/i386-mcount.S: Likewise.
5584 * sysdeps/x86_64/_mcount.S: Likewise.
5585 * sysdeps/x86_64/sysdep.h: Likewise.
5586 * sysdeps/sh/_mcount.S: Likewise.
5587 * sysdeps/sh/sysdep.h: Likewise.
5588 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5589 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5590 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5592 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5593 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5594 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5595 * locale/localeinfo.h: Likewise.
5596 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5597 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5598
6c55cda3
RM
55992012-07-09 Roland McGrath <roland@hack.frob.com>
5600
5601 [BZ #14336]
5602 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5603 system".
5604 * manual/message.texi (The Uniforum approach): Likewise.
5605 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5606 (glibc iconv Implementation): Likewise.
5607
638a572e
JM
56082012-07-09 Joseph Myers <joseph@codesourcery.com>
5609
5610 [BZ #14337]
5611 * math/s_clog.c (__clog): Avoid scaling a value down where that
5612 could result in underflow.
5613 * math/s_clog10.c (__clog10): Likewise.
5614 * math/s_clog10f.c (__clog10f): Likewise.
5615 * math/s_clog10l.c (__clog10l): Likewise.
5616 * math/s_clogf.c (__clogf): Likewise.
5617 * math/s_clogl.c (__clogl): Likewise.
5618 * math/libm-test.inc (clog_test): Add more tests.
5619 (clog10_test): Likewise.
5620 * sysdeps/i386/fpu/libm-test-ulps: Update.
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5622
261f4859
AS
56232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5624
0abaf3e4
AS
5625 [BZ #14283]
5626 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5627 by 7 not 8 to examine high bit of fractional part.
5628
261f4859
AS
5629 [BZ #14042]
5630 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5631 for call to __mcount_internal.
5632 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5633 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5634 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5635
f17ac40d
JM
56362012-07-06 Joseph Myers <joseph@codesourcery.com>
5637
9ad63c23
JM
5638 [BZ #14154]
5639 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5640 approximation for values within 0x1p-13f of an odd multiple of
5641 pi/4.
5642 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5643 exception. Add more tests.
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645
f17ac40d
JM
5646 [BZ #6778]
5647 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5648 inputs and return -1 for them. Do not check for +Inf in case not
5649 reachable for +Inf.
5650 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5651 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5653 and return -1 for them. Do not check for +Inf in case not
5654 reachable for +Inf.
5655 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5656 define.
5657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5658 and return -1 for them. Do not check for +Inf in case not
5659 reachable for +Inf.
5660 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5661 spurious underflow.
5662 * sysdeps/i386/fpu/libm-test-ulps: Update.
5663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5664
fb21f89b
MF
56652012-07-06 Mike Frysinger <vapier@gentoo.org>
5666
5667 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5668
cdfe2c5e
JM
56692012-07-05 Joseph Myers <joseph@codesourcery.com>
5670
5671 [BZ #14157]
5672 [BZ #14331]
5673 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5674 could result in spurious underflow. Scale down values above
5675 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5676 * math/s_csqrtf.c (__csqrtf): Likewise.
5677 * math/s_csqrtl.c (__csqrtl): Likewise.
5678 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5679 spurious underflow.
5680 * sysdeps/i386/fpu/libm-test-ulps: Update.
5681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5682
70d35b67
AS
56832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5684
704bc459
AS
5685 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5686 xopen-msg.sed.
5687 * catgets/xopen-msg.awk: New file.
5688 * catgets/xopen-msg.sed: Removed.
5689
70d35b67
AS
5690 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5691 po2text.sed.
5692 * intl/po2test.awk: New file.
5693 * intl/po2test.sed: Removed.
5694
ca61cf32
JM
56952012-07-04 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #14328]
5698 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5699 or multiply small sinh result by itself.
5700 * math/s_ctanf.c (__ctanf): Likewise.
5701 * math/s_ctanh.c (__ctanh): Likewise.
5702 * math/s_ctanhf.c (__ctanhf): Likewise.
5703 * math/s_ctanhl.c (__ctanhl): Likewise.
5704 * math/s_ctanl.c (__ctanl): Likewise.
5705 * math/libm-test.inc (ctan_test_tonearest): New function.
5706 (ctan_test_towardzero): Likewise.
5707 (ctan_test_downward): Likewise.
5708 (ctan_test_upward): Likewise.
5709 (ctanh_test_tonearest): Likewise.
5710 (ctanh_test_towardzero): Likewise.
5711 (ctanh_test_downward): Likewise.
5712 (ctanh_test_upward): Likewise.
5713 (main): Call these new functions.
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5716
ca48a46a
MF
57172012-07-03 Mike Frysinger <vapier@gentoo.org>
5718
5719 * .gitignore: Delete /ports entry.
5720
9d63d37d
AJ
57212012-07-03 Andreas Jaeger <aj@suse.de>
5722
5723 * po/bg.po: Update from translation team.
5724 * po/cs.po: Likewise.
5725 * po/de.po: Likewise.
5726 * po/hr.po: Likewise.
5727 * po/nl.pl: Likewise.
5728 * po/pl.po: Likewise.
5729 * po/vi.po: Likewise.
5730
370ca3d2
JM
57312012-07-03 Joseph Myers <joseph@codesourcery.com>
5732
95f5a9a8
JM
5733 * Makeconfig [!+link] (+link-before-libc): New variable.
5734 [!+link] (+link-after-libc): Likewise.
5735 [!+link] (+link-tests): Likewise.
5736 [!+link] (+link): Define in terms of $(+link-before-libc) and
5737 $(+link-after-libc).
5738 [!+link-static] (+link-static-before-libc): New variable.
5739 [!+link-static] (+link-static-after-libc): Likewise.
5740 [!+link-static] (+link-static-tests): Likewise.
5741 [!+link-static] (+link-static): Define in terms of
5742 $(+link-static-before-libc) and $(+link-static-after-libc).
5743 [build-shared] (link-libc-before-gnulib): New variable.
5744 [build-shared] (link-libc-tests): Likewise.
5745 [build-shared] (link-libc): Define in terms of
5746 $(link-libc-before-gnulib).
5747 [!build-shared] (link-libc-tests): New variable.
5748 (link-libc-static-tests): New variable.
5749 [!gnulib] (gnulib-arch): New variable.
5750 [!gnulib] (gnulib-tests): Likewise.
5751 [!gnulib] (static-gnulib-arch): Likewise.
5752 [!gnulib] (static-gnulib-tests): Likewise.
5753 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5754 Define with "=" instead of ":=".
5755 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5756 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5757 * Rules (binaries-all-notests): New variable.
5758 (binaries-all-tests): Likewise.
5759 (binaries-static-notests): Likewise.
5760 (binaries-static-tests): Likewise.
5761 (binaries-all): Define using $(binaries-all-notests) and
5762 $(binaries-all-tests).
5763 (binaries-static): Define using $(binaries-static-notests) and
5764 $(binaries-static-tests).
5765 (binaries-shared-tests): New variable.
5766 (binaries-shared-notests): Likewise.
5767 (binaries-shared): Remove variable.
5768 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5769 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5770 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5771 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5772 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5773 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5774 * elf/Makefile (sln-modules): New variable.
5775 (extra-objs): Add $(sln-modules:=.o).
5776 (ldconfig-modules): Add static-stubs.
5777 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5778 * elf/static-stubs.c: New file.
5779
7a845b2c
JM
5780 [BZ #14283]
5781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5782 by 7 not 8 to examine high bit of fractional part. Use volatile
5783 variables when splitting into final array of floats if
5784 __FLT_EVAL_METHOD__ != 0.
5785 * math/libm-test.inc (cos_test): Add another test.
5786 (sin_test): Likewise.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788
e2283f38
JM
5789 [BZ #14273]
5790 * math/libm-test.inc (cosh_test): Add more tests.
5791
370ca3d2
JM
5792 * version.h (RELEASE): Set to "development".
5793 (VERSION): Set to "2.16.90".
5794
ee9247c3
CD
57952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5796
5797 * NEWS: Update copyright. Remove last-updated date.
5798 Mention math library bug fixes and timezone data changes.
5799 * README: Mention GNU/Hurd, x32, and HPPA support status.
5800
4648c381
TS
58012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5802
5803 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5804
aac78a43
AJ
58052012-06-27 Andreas Jaeger <aj@suse.de>
5806
5807 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5808
ed3dbfad
AJ
58092012-06-25 Andreas Jaeger <aj@suse.de>
5810
5811 * sysdeps/s390/fpu/libm-test-ulps: Update.
5812
4d0ee855
AS
58132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5814 Thomas Schwinge <thomas@codesourcery.com>
5815
5816 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5817 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5819 fanotify_mark.
5820
af1bce34
TS
58212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5822
a9fa33ba
TS
5823 * sysdeps/mach/start.c: Remove file.
5824 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5825 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5826 * sysdeps/sh/init-first.c: Likewise.
5827
58f902b8
TS
5828 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5829 registers for frame unwinding purposes, add CFI directives.
5830 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5832 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5833 Likewise.
5834
1518f58b
TS
5835 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5836 __fortify_fail returning.
5837 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5838
db9b5059
TS
5839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5840 sysdeps/sh/____longjmp_chk.S.
5841 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5842 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5843 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5844 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5845
967705fe
TS
5846 * sysdeps/sh/abort-instr.h: New file.
5847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5848 process in case exit returns.
5849
a9def8c4
TS
5850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5851 initialize the GOT register before use.
5852
2a649725
TS
5853 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5854 calculation of ARGC > 4.
5855
af1bce34
TS
5856 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5857 meaningful names to some local labels.
5858
d230f50a
KK
58592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5860 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5861
5862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5863 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5864 (__arch_compare_and_exchange_val_16_acq): Likewise.
5865 (__arch_compare_and_exchange_val_32_acq): Likewise.
5866 (atomic_exchange_and_add): Fix gUSA sequence.
5867 (atomic_add): Likewise.
5868 (atomic_add_negative): Likewise.
5869 (atomic_add_zero): Likewise.
5870 (atomic_bit_test_set): Likewise.
5871
0479b305
AS
58722012-06-22 Andreas Schwab <schwab@redhat.com>
5873
5874 [BZ #13579]
5875 * include/link.h (struct link_map): Add l_free_initfini.
5876 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5877 l_initfini.
5878 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5879 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5880 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5881 set.
5882
0e3933b9
CD
58832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5884
5885 * configure.in: Use AC_LANG_SOURCE.
5886 * configure: Regenerate.
5887
4248b1b1
RM
58882012-06-22 Roland McGrath <roland@hack.frob.com>
5889
5890 * configure.in (libc_cv_localstatedir): New substituted variable.
5891 * configure: Regenerated.
5892 * config.make.in (localstatedir): New variable, substituted from
5893 libc_cv_localstatedir.
5894 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5895 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5896 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5897 * sysdeps/gnu/configure: Regenerated.
5898
006dd861
JL
58992012-06-21 Jeff Law <law@redhat.com>
5900
5901 [BZ #14277]
5902 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5903 free. Simplify list management for _LIBC case.
5904
79662d42
JM
59052012-06-21 Joseph Myers <joseph@codesourcery.com>
5906
b7abb4bf
JM
5907 [BZ #14273]
5908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5909 Clear sign bit of 64-bit integer value before comparing against
5910 overflow value.
5911
79662d42
JM
5912 * sysdeps/mach/configure: Regenerated.
5913
1f150908
L
59142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5915
5916 [BZ #14278]
5917 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5918
28363bbf
JL
59192012-06-21 Jeff Law <law@redhat.com>
5920
5921 [BZ #13882]
5922 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5923 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5925 * elf/dl-open.c (dl_open_worker): Likewise.
5926
09615db4
CD
59272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5928
5929 * scripts/list-sources.sh: Scan PORTS for translations.
5930 * po/libc.pot: Regenerated.
5931
2174c6dd
AJ
59322012-06-21 Andreas Jaeger <aj@suse.de>
5933
5934 [BZ #12194]
5935 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5936 warning.
5937 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5938 * bits/byteswap-16.h (__bswap_16): Likewise.
5939 * bits/byteswap.h (__bswap_constant_16): Likewise.
5940
3ee947b1
L
59412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5942
5943 [BZ #14117]
a2f34833
L
5944 * sysdeps/i386/fpu_control.h: Removed.
5945 * sysdeps/x86_64/fpu_control.h: Moved to ...
5946 * sysdeps/x86/fpu_control.h: Here.
5947
3ee947b1
L
5948 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5949 (_FPU_SETCW): Likewise.
5950
ed1825f8
L
59512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5952
25f1282a
L
5953 [BZ #14117]
5954 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5955 * sysdeps/x86/fpu/bits/mathinline.h: This.
5956 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5957
ed1825f8
L
5958 [BZ #14050]
5959 [BZ #14117]
5960 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5961 functions if __x86_64__ is defined.
5962
36d54b74
CLT
59632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5964
5965 * string/endian.h: Add !__ASSEMBLER__ condition for including
5966 conversion interfaces.
5967
10285c21
JM
59682012-06-15 Joseph Myers <joseph@codesourcery.com>
5969
5970 [BZ #14241]
5971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5972 of ABS(x) in calculating zero to negative powers other than odd
5973 integers.
5974 * math/libm-test.inc (pow_test): Add more tests.
5975
06c5abbd
AJ
59762012-06-15 Andreas Jaeger <aj@suse.de>
5977
5978 * manual/contrib.texi (Contributors): Update entry of Liubov
5979 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5980 Machado Filho.
5981
a3aeac40
CH
59822012-06-15 Cyril Hrubis <metan@ucw.cz>
5983
5984 * string/string.h: Add __wur to GNU version of strerror_r.
5985
49bdf4c1
L
59862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5987
5988 [BZ #14229]
5989 * string/Makefile (tests): Add tst-strtok_r.
5990 * string/tst-strtok_r.c: New file.
5991 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5992 RAX_LP/RDX_LP on SAVE_PTR.
5993
834f9b8d
RM
59942012-06-14 Roland McGrath <roland@hack.frob.com>
5995
5996 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5997
75fa1921
JM
59982012-06-14 Joseph Myers <joseph@codesourcery.com>
5999
6000 * libm_test.inc (csqrt_test): Allow more spurious underflow
6001 exceptions.
6002 (j0_test): Likewise.
6003 (j1_test): Likewise.
6004 (y0_test): Likewise.
6005 (y1_test): Likewise.
6006
771766df
CD
60072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6008
6009 * po/Makefile (libc.pot): Use UTF-8 charset.
6010
ceb9e56b
PP
60112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6012
6013 [BZ #14210]
6014 Suppress sign-conversion warning from FD_SET.
6015 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6016 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6017 not unsigned long int.
6018 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6019
ddb28975
L
60202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6021
6022 [BZ #14050]
6023 [BZ #14117]
6024 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6025 __extern_always_inline instead of __extern_inline.
6026 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6027 (__signbit): Likewise.
6028 (__signbitl): Support C++ namespace.
6029 (lrintf): New inline function.
6030 (lrint): Likewise.
6031 (llrintf): Likewise.
6032 (llrint): Likewise.
6033 (fmaxf): Likewise.
6034 (fmax): Likewise.
6035 (fminf): Likewise.
6036 (fmin): Likewise.
6037 (rint): Likewise.
6038 (rintf): Likewise.
6039 (ceil): Likewise.
6040 (ceilf): Likewise.
6041 (floor): Likewise.
6042 (floorf): Likewise.
6043 (nearbyint): Likewise.
6044 (nearbyintf): Likewise.
6045
d7b4fb26
TS
60462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6047
6048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6049 non-default versions.
6050
eb55f5c2
RM
60512012-06-11 Roland McGrath <roland@hack.frob.com>
6052
6053 [BZ #14218]
6054 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6055
366af02c
TS
60562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6057
99ff6e5c
TS
6058 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6059 (FE_UPWARD, FE_DOWNWARD): Don't define.
6060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6061 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6062
366af02c
TS
6063 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6064 reading it.
6065 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6067
793ea851
KK
60682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6069
6070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6072 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6074
a728a38f
L
60752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 [BZ #14117]
c08010c7
L
6078 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6079 * sysdeps/i386/fpu/Implies: New file.
6080 * sysdeps/x86_64/fpu/Implies: Likewise.
6081 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6082 * sysdeps/x86/fpu/bits/fenv.h: This.
6083
a728a38f
L
6084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6085 __SSE_MATH__.
6086
6e230d11
SP
60872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6088
6089 [BZ #14134]
6090 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6091 character 0xffff that matches the last element of the
6092 conversion table.
6093
1b671feb
AZ
60942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
6096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6097 fmodl commit.
6098
6043738b
AZ
60992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100
6101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6102 values higher than 25.6283.
6103
34ae0b32
AZ
61042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6105
6106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6107 subnormal exponent extraction and add some __builtin_expect.
6108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6109 Fix for subnormal mantissa calculation.
6110
1214ec8f
MF
61112012-06-04 Mike Frysinger <vapier@gentoo.org>
6112
6113 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6114 cpu2 is -1 and errno is not ENOSYS.
6115
f3d1f93c
L
61162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 [BZ #14117]
0e4a3cd7
L
6119 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6120 * sysdeps/x86/bits/string.h: This.
6121 * sysdeps/x86_64/bits/string.h: Removed.
6122
6704c645
L
6123 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6124 if not compiling for x86-64, but compiling for >= i486.
6125
48495318
L
6126 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6127 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6128
14adcbfc
L
6129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6130 New macro from Linux kernel 3.4.0.
6131 (FP_XSTATE_MAGIC2): Likewise.
6132 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6133 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6134 (struct _fpx_sw_bytes): New struct.
6135 (struct _xsave_hdr): Likewise.
6136 (struct _ymmh_state): Likewise.
6137 (struct _xstate): Likewise.
6138
68e408ab
L
6139 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6140 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6141 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6142 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6144 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6145
f3d1f93c
L
6146 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6148 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6149 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6150 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6151 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6152
d9dc34cd
TMQMF
61532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6154
6155 [BZ #13743]
6156 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6157 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6158 (sysdep_headers): Include sys/platform/ppc.h.
6159 * sysdeps/powerpc/test-gettimebase.c: Test for
6160 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6161 * manual/Makefile (appendices): Include platform.texi.
6162 * manual/contrib.texi (Contributors): Update @node pointers.
6163 * manual/maint.texi (Maintenance): Likewise.
6164 (Platform): New node.
6165 * manual/platform.texi: New file. Document the new features.
6166
4af3879c
SP
61672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6168 Jakub Jelinek <jakub@redhat.com>
6169
6170 [BZ #14188]
6171 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6172 where __builtin_expect is unavailable.
6173
2fd6ff13
DM
61742012-06-03 David S. Miller <davem@davemloft.net>
6175
6176 * stdlib/longlong.h: Updated from GCC.
6177
173f7220
AS
61782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6179
6180 [BZ #14042]
6181 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6182 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6183 __mcount_internal.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6185 (GLIBC_2.16): Likewise.
6186
f34a1c6f
L
61872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6190
88a4576f
JM
61912012-06-01 Joseph Myers <joseph@codesourcery.com>
6192
ea32bcdd
JM
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6194 (default-abi): New variable.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6197 variable.
6198 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6199 Likewise.
6200 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6201 Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6203 Likewise.
6204
88a4576f
JM
6205 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6206 definition. Document in comment.
6207
402fe938
DM
62082012-06-01 David S. Miller <davem@davemloft.net>
6209
6210 * stdlib/longlong.h: Updated from GCC.
6211
3553723f
L
62122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6213
6214 [BZ #14117]
3bd872c4
L
6215 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6216 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6217 sys/debugreg.h sys/io.h here.
6218 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6219 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6220 sys/io.h.
6221 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6222 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6223 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6224 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6225 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6226 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6227
3553723f
L
6228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6229 Define only if __x86_64__ is defined.
6230
4842e4fe
JM
62312012-06-01 Joseph Myers <joseph@codesourcery.com>
6232
c5bfe3d5
JM
6233 [BZ #14048]
6234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6235 Use int64_t for variable i.
6236 * math/libm-test.inc (fmod_test): Add more tests.
6237
4842e4fe
JM
6238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6239 z computation is not scheduled after fetestexcept.
6240 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6241 Use math_force_eval instead of asm to ensure calculation scheduled
6242 before exception test.
6243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6244 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6245
efb73488
AJ
62462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6247
6248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6249 computation is not scheduled after fetestexcept.
6250
29bcce7c
L
62512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6252
6253 [BZ #14117]
6254 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6255 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6256
73a68f94
AZ
62572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258
6259 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6260 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6261
67b6df78
L
62622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6263
edf2933a 6264 [BZ #14117]
ebc64a18
L
6265 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6266 <bits/wordsize.h>.
6267 (__WCHAR_MIN): Support __WORDSIZE == 64.
6268 (__WCHAR_MAX): Likewise.
6269
edf2933a
L
6270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6272
57c6cf40
L
6273 [BZ #14183]
6274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6275 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6276
67b6df78 6277 [BZ #14117]
8eb6281e
L
6278 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6280
aac639f4
L
6281 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6282 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6283
67b6df78
L
6284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6285 Defined to 1 if __x86_64__ isn't defined.
6286 (_STAT_VER_LINUX_OLD): New.
6287 (st_atime): Remove duplicate.
6288 (st_mtime): Likewise.
6289 (st_ctime): Likewise.
6290
1c2cfe81
DM
62912012-05-31 David S. Miller <davem@davemloft.net>
6292
6293 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6294 entries.
6295
5be8418c
AS
62962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6297
e7725326
AS
6298 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6299 gen-libm-test.pl.
6300
5be8418c
AS
6301 [BZ #14132]
6302 * elf/dl-reloc.c: Include <_itoa.h>.
6303 (_dl_reloc_bad_type): Remove use of INTUSE.
6304 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6305 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6306 * stdio-common/psiginfo.c (psiginfo): Likewise.
6307 * stdio-common/psignal.c (psignal): Likewise.
6308 * string/strsignal.c (strsignal): Likewise.
6309 * include/signal.h (_sys_siglist): Declare hidden proto.
6310 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6311 INTVARDEF with libc_hidden_data_def.
6312 * stdio-common/itoa-udigits.c: Likewise.
6313 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6314 (_itoa_lower_digits_internal): Remove declaration.
6315 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6316 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6317 (_sys_sigabbrev_internal): Remove aliases.
6318 (_sys_siglist): Define hidden alias.
6319
507352f1
MT
63202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6321
6322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6323 bits/sysctl.h.
6324
42bbb1c3
L
63252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6326
6327 [BZ #14117]
6bd784b6
L
6328 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6329 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6330
8bca20f0
L
6331 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6334 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6336 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6337
f9e890a9
L
6338 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6340 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6341
471101a1
L
6342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6343 with __addr.
6344 (insw): Likewise.
6345 (insl): Likewise.
6346 (outsb): Likewise.
6347 (outsw): Likewise.
6348 (outsl): Likewise.
6349
6451c862
L
6350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6353
a254b8c9
L
6354 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6355 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6357 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6358 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6359 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6360
b8dfdd92
L
6361 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6362 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6363
578cd270
L
6364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6365 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6366
de662f5f
L
6367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6370
25653439
L
6371 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6372 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6373 to ...
6374 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6375
6bad24a0
L
6376 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6378 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6379
42bbb1c3
L
6380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6381 for x86-64.
6382 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6383
2d10d547
JM
63842012-05-31 Joseph Myers <joseph@codesourcery.com>
6385
6386 * math/math.h (M_El): Use two more decimal places.
6387 (M_LOG2El): Likewise.
6388 (M_LOG10El): Likewise.
6389 (M_LN2l): Likewise.
6390 (M_LN10l): Likewise.
6391 (M_PIl): Likewise.
6392 (M_PI_2l): Likewise.
6393 (M_PI_4l): Likewise.
6394 (M_1_PIl): Likewise.
6395 (M_2_PIl): Likewise.
6396 (M_2_SQRTPIl): Likewise.
6397 (M_SQRT2l): Likewise.
6398 (M_SQRT1_2l): Likewise.
6399
f230c29b
DM
64002012-05-31 David S. Miller <davem@davemloft.net>
6401
6402 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6403 values between float registers.
6404 * sysdeps/sparc/sparc64/memset.S: Likewise.
6405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6406
fed806c3
MF
64072012-05-31 Mike Frysinger <vapier@gentoo.org>
6408
6409 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6410 -D_FORTIFY_SOURCE=1.
6411 (CPPFLAGS-tst-longjmp_chk.c): Define.
6412 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6413 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6414 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6415 CFLAGS-tst-wchar-h.c.
6416
30917259
MP
64172012-05-31 Marek Polacek <polacek@redhat.com>
6418
6419 [BZ #14132]
6420 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6421 __endmntent_internal): Remove declaration.
6422 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6423 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6424 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6425
1c58d5dc
DM
64262012-05-30 David S. Miller <davem@davemloft.net>
6427
6428 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6429 (___Q_simulate_exceptions): Use real FP ops rather than writing
6430 into the %fsr.
6431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6432 Likewise.
6433
7dc00e0d
L
64342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6435
6436 [BZ #14117]
0bd53985
L
6437 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6438 * sysdeps/x86/bits/xtitypes.h: This.
6439
3a257e66
L
6440 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6441 * sysdeps/x86/bits/wordsize.h: This.
6442
62f62904
L
6443 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6444 * sysdeps/x86/bits/huge_vall.h: This.
6445
404fe9d9
L
6446 * sysdeps/i386/bits/select.h: Removed.
6447 * sysdeps/x86_64/bits/select.h: Renamed to ...
6448 * sysdeps/x86/bits/select.h: This.
6449
d48d0446
L
6450 * sysdeps/i386/bits/setjmp.h: Removed.
6451 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6452 * sysdeps/x86/bits/setjmp.h: This.
6453
7dc00e0d
L
6454 * sysdeps/i386/bits/mathdef.h: Removed.
6455 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6456 * sysdeps/x86/bits/mathdef.h: This.
6457
03277f8f
AS
64582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6459
6460 [BZ #14132]
6461 * include/sys/socket.h (__connect_internal)
6462 (__libc_sa_len_internal): Remove declaration.
6463 (__connect, __libc_sa_len): Declare hidden_proto.
6464 (SA_LEN): Remove use of INTUSE.
6465 * socket/connect.c: Add libc_hidden_def.
6466 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6467 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6468 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6469 alias.
6470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6472 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6473 of adding _internal alias.
6474
13764867
L
64752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6476
6477 [BZ #14117]
6bd97696
L
6478 * sysdeps/i386/bits/link.h: Removed.
6479 * sysdeps/i386/bits/linkmap.h: Likewise.
6480 * sysdeps/x86_64/bits/link.h: Renamed to ...
6481 * sysdeps/x86/bits/link.h: This.
6482 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6483 * sysdeps/x86/bits/linkmap.h: This.
6484
f726f0bb
L
6485 * sysdeps/i386/bits/endian.h: Removed.
6486 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6487 * sysdeps/x86/bits/endian.h: This.
6488
13764867
L
6489 * sysdeps/i386/bits/byteswap.h: Removed.
6490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6491 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6492 * sysdeps/x86/bits/byteswap.h: This.
6493 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6494 * sysdeps/x86/bits/byteswap-16.h: This.
6495 * sysdeps/i386/Implies: Add x86.
6496 * sysdeps/x86_64/Implies: Likewise.
6497
ae251b0b
DM
64982012-05-30 David S. Miller <davem@davemloft.net>
6499
6500 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6501 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6503 (FP_TRAPPING_EXCEPTIONS): Define.
6504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6505 (FP_TRAPPING_EXCEPTIONS): Define.
6506 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6507 subnormals only when inexact has been signalled or underflow
6508 exceptions are enabled.
6509 (_FP_PACK_CANONICAL): Likewise.
6510
d5c90867
L
65112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6512
6513 [BZ #14183]
6514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6515 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6516
63f1549e
RH
65172012-05-30 Richard Henderson <rth@twiddle.net>
6518
8d8f2279
RH
6519 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6520 with #ifndef NOT_IN_libc.
6521
63f1549e
RH
6522 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6523 marked to avoid plt entry.
6524
0ab0291b
L
65252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6526
6527 [BZ #14112]
6528 * Makeconfig (default-abi): New macro.
6529 (abi-includes): Likewise.
6530 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6531 $(abi-$(default-abi)-lib-soname) for soname if defined.
6532 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6533 abi-variants.
6534 * Makefile (installed-stubs): Likewise.
6535 * include/stubs-biarch.h: Removed.
6536 * scripts/lib-names.awk: Only handle one library at a time.
6537 * scripts/soversions.awk: Remove WORDSIZE support.
6538 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6539 entries.
6540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6541 Removed.
6542 (syscall-list-default-condition): Likewise.
6543 (syscall-list-default-condition): Likewise.
6544 (syscall-list-includes): Likewise.
6545 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6546 syscall-list-* with abi-*. Handle undefined abi-variants.
6547 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6548 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6549 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6552 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6553 Removed.
6554 (syscall-list-32-options): Likewise.
6555 (syscall-list-32-condition): Likewise.
6556 (syscall-list-64-options): Likewise.
6557 (syscall-list-64-condition): Likewise.
6558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6559 macro.
6560 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6561 Renamed to ...
6562 (abi-*): This.
6563 (abi-64-ld-soname): New macro.
6564 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6565 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6566 Renamed to ...
6567 (abi-*): This.
6568 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6569 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6570
4da0431d
JM
65712012-05-30 Joseph Myers <joseph@codesourcery.com>
6572
3a85279c
JM
6573 * sysdeps/unix/sysv/linux/kernel-features.h
6574 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6575 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6576 include <kernel-features.h>.
6577 [!__NR_ftruncate64]: Remove conditional code.
6578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6579 [__NR_ftruncate64]: Make code unconditional.
6580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6581 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6582 include <kernel-features.h>.
6583 [!__NR_ftruncate64]: Remove conditional code.
6584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6585 [__NR_ftruncate64]: Make code unconditional.
6586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6588 include <kernel-features.h>.
6589 [!__NR_ftruncate64]: Remove conditional code.
6590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6591 [__NR_ftruncate64]: Make code unconditional.
6592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6594 include <kernel-features.h>.
6595 [!__NR_ftruncate64]: Remove conditional code.
6596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6597 [__NR_ftruncate64]: Make code unconditional.
6598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6599
4da0431d
JM
6600 * configure.in (libc_cv_fpie): Weaken to a compile test using
6601 LIBC_TRY_CC_OPTION.
6602 * configure: Regenerated.
6603
11ef492c
AK
66042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6605
6606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6610 Refreshed.
6611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6617 Refreshed.
6618
d66ef399
DM
66192012-05-27 David S. Miller <davem@davemloft.net>
6620
6621 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6622 (___Q_zero): New.
6623 (__Q_simulate_exceptions): Return void. Change to simulate
6624 exceptions by writing into the %fsr.
6625 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6626 (__Qp_handle_exceptions): Likewise.
6627 (numbers): Delete.
6628 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6629 __Qp_handle_exceptions.
6630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6631 __Qp_handle_exceptions.
6632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6633 as unused and give dummy FP_RND_NEAREST initializer.
6634 (FP_INHIBIT_RESULTS): Define.
6635 (___Q_simulate_exceptions): Update declaration.
6636 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6637 formatting.
6638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6639 as unused and give dummy FP_RND_NEAREST initializer.
6640 (__Qp_handle_exceptions): Update declaration.
6641 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6642 formatting.
6643
04fb54b5
TS
66442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6645
6646 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6647 the temporary FPU control word.
6648 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6649 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6650 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6653 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6654 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6655 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6656 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6657 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6659
3f99608f
KK
66602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6661
6662 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6663 fields.
6664
65a4de4e
CLT
66652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6666
6667 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6668 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6669 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6670 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6671 Likewise.
6672 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6673 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6674 Likewise.
6675
15749d40
UD
66762012-05-27 Ulrich Drepper <drepper@gmail.com>
6677
6678 * po/h.po: Update from translation team.
6679
25dbcb27
AS
66802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6681
3d3f8e55
AS
6682 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6683
25dbcb27
AS
6684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6685 handling of denormals.
6686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6693 Likewise.
6694
7ad47a80 66952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6696
6697 [BZ #14152]
6698 * math/libm-test.inc (fma_test): Don't always expect underflow
6699 exception.
6700
9c6ea9fa
SP
67012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6702
6703 [BZ #12416]
6704 * elf/tst-execstack.c: Include stackinfo.h.
6705 (do_test): Adjust test case to ensure that pthread_getattr_np
6706 behaviour remains the same after marking stack executable.
6707
a8239222
JM
67082012-05-25 Joseph Myers <joseph@codesourcery.com>
6709
6710 * sysdeps/unix/sysv/linux/kernel-features.h
6711 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6713 kernel-features.h.
6714 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6715 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6716 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6717 kernel-features.h.
6718 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6719 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6720
918b5606
L
67212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 * configure.in: Define the default includes to being none.
6724 * configure: Regenerated.
6725
3a097cc7
RM
67262012-05-25 Roland McGrath <roland@hack.frob.com>
6727
8422c9a5
RM
6728 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6729 * sysdeps/x86_64/setjmp.S: Likewise.
6730 * sysdeps/i386/bsd-setjmp.S: Likewise.
6731 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6732 * sysdeps/i386/setjmp.S: Likewise.
6733 * sysdeps/i386/__longjmp.S: Likewise.
6734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6736
3a097cc7
RM
6737 * include/stap-probe.h: New file.
6738 * configure.in: Handle --enable-systemtap.
6739 * configure: Regenerated.
6740 * config.h.in (USE_STAP_PROBE): New #undef.
6741 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6742 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6743 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6744
21708942
JM
67452012-05-25 Joseph Myers <joseph@codesourcery.com>
6746
6747 [BZ #13717]
6748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6749 to 2.4.0 where earlier.
6750 * sysdeps/unix/sysv/linux/configure: Regenerated.
6751 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6752 <kernel-features.h>.
6753 [__ASSUME_32BITUIDS]: Make code unconditional.
6754 [!__ASSUME_32BITUIDS]: Remove conditional code.
6755 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6756 <kernel-features.h>.
6757 [__ASSUME_32BITUIDS]: Make code unconditional.
6758 [!__ASSUME_32BITUIDS]: Remove conditional code.
6759 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6760 [__ASSUME_32BITUIDS]: Make code unconditional.
6761 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6762 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6763 <kernel-features.h>.
6764 [__ASSUME_32BITUIDS]: Make code unconditional.
6765 [!__ASSUME_32BITUIDS]: Remove conditional code.
6766 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6767 <kernel-features.h>.
6768 [__ASSUME_32BITUIDS]: Make code unconditional.
6769 [!__ASSUME_32BITUIDS]: Remove conditional code.
6770 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6771 <kernel-features.h>.
6772 [__ASSUME_32BITUIDS]: Make code unconditional.
6773 [!__ASSUME_32BITUIDS]: Remove conditional code.
6774 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6775 <kernel-features.h>.
6776 [__ASSUME_32BITUIDS]: Make code unconditional.
6777 [!__ASSUME_32BITUIDS]: Remove conditional code.
6778 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6779 <kernel-features.h>.
6780 [__ASSUME_32BITUIDS]: Make code unconditional.
6781 [!__ASSUME_32BITUIDS]: Remove conditional code.
6782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6783 <kernel-features.h>.
6784 [__ASSUME_32BITUIDS]: Make code unconditional.
6785 [!__ASSUME_32BITUIDS]: Remove conditional code.
6786 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6787 <kernel-features.h>.
6788 [__ASSUME_32BITUIDS]: Make code unconditional.
6789 [!__ASSUME_32BITUIDS]: Remove conditional code.
6790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6791 <kernel-features.h>.
6792 [__ASSUME_32BITUIDS]: Make code unconditional.
6793 [!__ASSUME_32BITUIDS]: Remove conditional code.
6794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6795 <kernel-features.h>.
6796 [__ASSUME_32BITUIDS]: Make code unconditional.
6797 [!__ASSUME_32BITUIDS]: Remove conditional code.
6798 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6799 <kernel-features.h>.
6800 [__ASSUME_32BITUIDS]: Make code unconditional.
6801 [!__ASSUME_32BITUIDS]: Remove conditional code.
6802 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6803 <kernel-features.h>.
6804 [__NR_setresgid] (__setresgid): Do not declare.
6805 [__ASSUME_32BITUIDS]: Make code unconditional.
6806 [!__ASSUME_32BITUIDS]: Remove conditional code.
6807 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6808 <kernel-features.h>.
6809 [__NR_setresuid] (__setresuid): Do not declare.
6810 [__ASSUME_32BITUIDS]: Make code unconditional.
6811 [!__ASSUME_32BITUIDS]: Remove conditional code.
6812 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6813 <kernel-features.h>.
6814 [__ASSUME_32BITUIDS]: Make code unconditional.
6815 [!__ASSUME_32BITUIDS]: Remove conditional code.
6816 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6817 <kernel-features.h>.
6818 [__ASSUME_32BITUIDS]: Make code unconditional.
6819 [!__ASSUME_32BITUIDS]: Remove conditional code.
6820 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6821 <kernel-features.h>.
6822 [__ASSUME_32BITUIDS]: Make code unconditional.
6823 [!__ASSUME_32BITUIDS]: Remove conditional code.
6824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6825 <kernel-features.h>.
6826 [__ASSUME_32BITUIDS]: Make code unconditional.
6827 [!__ASSUME_32BITUIDS]: Remove conditional code.
6828 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6829 <kernel-features.h>.
6830 [__ASSUME_32BITUIDS]: Make code unconditional.
6831 [!__ASSUME_32BITUIDS]: Remove conditional code.
6832 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6833 <kernel-features.h>.
6834 [__ASSUME_32BITUIDS]: Make code unconditional.
6835 [!__ASSUME_32BITUIDS]: Remove conditional code.
6836 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6837 <kernel-features.h>.
6838 [__ASSUME_32BITUIDS]: Make code unconditional.
6839 [!__ASSUME_32BITUIDS]: Remove conditional code.
6840 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6841 <kernel-features.h>.
6842 [__ASSUME_32BITUIDS]: Make code unconditional.
6843 [!__ASSUME_32BITUIDS]: Remove conditional code.
6844 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6845 <kernel-features.h>.
6846 [__ASSUME_32BITUIDS]: Make code unconditional.
6847 [!__ASSUME_32BITUIDS]: Remove conditional code.
6848 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6849 <kernel-features.h>.
6850 [__ASSUME_32BITUIDS]: Make code unconditional.
6851 [!__ASSUME_32BITUIDS]: Remove conditional code.
6852 * sysdeps/unix/sysv/linux/kernel-features.h
6853 (__ASSUME_SETRESUID_SYSCALL): Remove.
6854 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6855 (__ASSUME_32BITUIDS): Likewise.
6856 (__ASSUME_LDT_WORKS): Likewise.
6857 (__ASSUME_O_DIRECTORY): Likewise.
6858 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6859 architecture but not kernel version.
6860 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6861 (__ASSUME_MMAP2_SYSCALL): Likewise.
6862 (__ASSUME_STAT64_SYSCALL): Likewise.
6863 (__ASSUME_IPC64): Likewise.
6864 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6865 <kernel-features.h>.
6866 [__ASSUME_32BITUIDS]: Make code unconditional.
6867 [!__ASSUME_32BITUIDS]: Remove conditional code.
6868 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6869 <kernel-features.h>.
6870 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6871 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6872 132096]: Remove conditional code.
6873 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6875 <kernel-features.h>.
6876 [__ASSUME_32BITUIDS]: Make code unconditional.
6877 [!__ASSUME_32BITUIDS]: Remove conditional code.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6879 <kernel-features.h>.
6880 [__ASSUME_32BITUIDS]: Make code unconditional.
6881 [!__ASSUME_32BITUIDS]: Remove conditional code.
6882 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6883 <kernel-features.h>.
6884 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6885 unconditional.
6886 (__setresgid): Do not declare.
6887 [__ASSUME_32BITUIDS]: Make code unconditional.
6888 [!__ASSUME_32BITUIDS]: Remove conditional code.
6889 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6890 <kernel-features.h>.
6891 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6892 unconditional.
6893 (__setresuid): Do not declare.
6894 [__ASSUME_32BITUIDS]: Make code unconditional.
6895 [!__ASSUME_32BITUIDS]: Remove conditional code.
6896 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6897 <kernel-features.h>.
6898 [__ASSUME_32BITUIDS]: Make code unconditional.
6899 [!__ASSUME_32BITUIDS]: Remove conditional code.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6901 <kernel-features.h>.
6902 [__ASSUME_32BITUIDS]: Make code unconditional.
6903 [!__ASSUME_32BITUIDS]: Remove conditional code.
6904
a386f1cc
RH
69052012-05-25 Richard Henderson <rth@twiddle.net>
6906
6907 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6908 dl_hwcap to ifunc resolver.
6909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6910 elf_ifunc_invoke.
6911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6912 dl_hwcap to ifunc resolver.
6913 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6914
b6550497
JM
69152012-05-24 Joseph Myers <joseph@codesourcery.com>
6916
6917 [BZ #14153]
6918 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6919 for |x| <= 2**-26, not 2**-57.
6920 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6921 exception.
6922
b0bc23a1
JL
69232012-05-24 Jeff Law <law@redhat.com>
6924
6925 * stdio-common/Makefile (tests): Add bug25.
6926 * stdio-common/bug25.c: New test.
6927
347c92e9
L
69282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 [BZ #13576]
6931 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6932 multiple of MALLOC_ALIGNMENT in size.
6933 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6934
6bcc8b3f
JM
69352012-05-24 Joseph Myers <joseph@codesourcery.com>
6936
6937 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6938 Require >= 256.
6939 (FILENAME_MAX): Use macro-int-constant.
6940 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6941 (_IOFBF): Use macro-int-constant.
6942 (_IOLBF): Likewise.
6943 (_IONBF): Likewise.
6944 (SEEK_CUR): Likewise.
6945 (SEEK_END): Likewise.
6946 (SEEK_SET): Likewise.
6947 (TMP_MAX): Likewise.
6948 (EOF): Use macro-int-constant. Require < 0.
6949 (NULL): Use macro-constant. Require == 0.
6950 (stdin): Require type to be FILE *.
6951 (stdout): Likewise.
6952 (stderr): Likewise.
6953 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6954 macro-int-constant.
6955 (EXIT_SUCCESS): Likewise.
6956 (NULL): Use macro-constant. Require == 0.
6957 (RAND_MAX): Use macro-int-constant.
6958 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6959 [C99-based standards] (strtof): Require function.
6960 [C99-based standards] (strtold): Likewise.
6961 [C99-based standards] (strtoll): Likewise.
6962 [C99-based standards] (strtoull): Likewise.
6963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6964 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6965 [ISO || ISO99 || ISO11] (math.h): Likewise.
6966 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6967 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6969
d18ea0c5
AS
69702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6971
6972 [BZ #14132]
56d25bb8
AS
6973 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6974 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6975 * intl/dgettext.c (DCGETTEXT): Likewise.
6976 * intl/gettext.c (DCGETTEXT): Likewise.
6977 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6978 * posix/regex_internal.h (gettext): Likewise.
6979 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6980 Remove declaration.
6981 * include/argz.h (__argz_count_internal)
6982 (__argz_stringify_internal): Remove declaration.
6983 (__argz_count, __argz_stringify): Declare hidden proto.
6984 * intl/dcgettext.c: Remove use of INTDEF.
6985 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6986 * string/argz-stringify.c: Likewise.
6987 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6988 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6989 Declare hidden proto.
d18ea0c5
AS
6990 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6991 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6992 Declare hidden proto.
6993 * include/stdio.h (__asprintf_internal): Don't declare.
6994 (__asprintf): Don't define as macro. Declare hidden proto.
6995 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6996 (__fsetlocking): Declare hidden proto.
6997 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6998 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6999 hidden proto.
7000 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7001 (_IO_setlinebuf): Remove use of INTUSE.
7002 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7003 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7004 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7005 Remove declaration.
7006 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7007 (_IO_do_flush): Remove use of INTUSE.
7008 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7009 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7010 (_IO_adjust_column, _IO_least_wmarker)
7011 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7012 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7013 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7014 (_IO_default_doallocate, _IO_wdefault_doallocate)
7015 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7016 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7017 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7018 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7019 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7020 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7021 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7022 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7023 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7024 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7025 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7026 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7027 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7028 proto.
7029 (_IO_flush_all_internal, _IO_adjust_column_internal)
7030 (_IO_default_uflow_internal, _IO_default_finish_internal)
7031 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7032 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7033 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7034 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7035 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7036 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7037 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7038 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7039 (_IO_file_close_internal, _IO_file_close_it_internal)
7040 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7041 (_IO_file_init_internal, _IO_file_attach_internal)
7042 (_IO_file_fopen_internal, _IO_file_read_internal)
7043 (_IO_file_sync_internal, _IO_file_seek_internal)
7044 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7045 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7046 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7047 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7048 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7049 (_IO_list_all_internal, _IO_link_in_internal)
7050 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7051 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7052 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7053 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7054 (_IO_do_write_internal, _IO_padn_internal)
7055 (_IO_getline_info_internal, _IO_getline_internal)
7056 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7057 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7058 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7059 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7060 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7061 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7062 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7063 with libc_hidden_ver, remove use of INTUSE.
7064 * libio/genops.c: Likewise.
7065 * libio/freopen.c: Likewise.
7066 * libio/freopen64.c: Likewise.
7067 * libio/iofclose.c: Likewise.
7068 * libio/iofdopen.c: Likewise.
7069 * libio/iofflush.c: Likewise.
7070 * libio/iofflush_u.c: Likewise.
7071 * libio/iofgets.c: Likewise.
7072 * libio/iofgets_u.c: Likewise.
7073 * libio/iofopen.c: Likewise.
7074 * libio/iofopncook.c: Likewise.
7075 * libio/iofread.c: Likewise.
7076 * libio/iofread_u.c: Likewise.
7077 * libio/ioftell.c: Likewise.
7078 * libio/iofwrite.c: Likewise.
7079 * libio/iogetline.c: Likewise.
7080 * libio/iogets.c: Likewise.
7081 * libio/iogetwline.c: Likewise.
7082 * libio/iopadn.c: Likewise.
7083 * libio/iopopen.c: Likewise.
7084 * libio/ioseekoff.c: Likewise.
7085 * libio/ioseekpos.c: Likewise.
7086 * libio/iosetbuffer.c: Likewise.
7087 * libio/iosetvbuf.c: Likewise.
7088 * libio/ioungetc.c: Likewise.
7089 * libio/ioungetwc.c: Likewise.
7090 * libio/iovdprintf.c: Likewise.
7091 * libio/iovsprintf.c: Likewise.
7092 * libio/iovsscanf.c: Likewise.
7093 * libio/memstream.c: Likewise.
7094 * libio/obprintf.c: Likewise.
7095 * libio/oldfileops.c: Likewise.
7096 * libio/oldiofclose.c: Likewise.
7097 * libio/oldiofdopen.c: Likewise.
7098 * libio/oldiofopen.c: Likewise.
7099 * libio/oldiopopen.c: Likewise.
7100 * libio/oldstdfiles.c: Likewise.
7101 * libio/putc.c: Likewise.
7102 * libio/setbuf.c: Likewise.
7103 * libio/setlinebuf.c: Likewise.
7104 * libio/stdfiles.c: Likewise.
7105 * libio/strops.c: Likewise.
7106 * libio/vasprintf.c: Likewise.
7107 * libio/vscanf.c: Likewise.
7108 * libio/vsnprintf.c: Likewise.
7109 * libio/vswprintf.c: Likewise.
7110 * libio/wfiledoalloc.c: Likewise.
7111 * libio/wfileops.c: Likewise.
7112 * libio/wgenops.c: Likewise.
7113 * libio/wmemstream.c: Likewise.
7114 * libio/wstrops.c: Likewise.
7115 * libio/__fpurge.c: Likewise.
7116 * libio/__fsetlocking.c: Likewise.
7117 * assert/assert.c: Likewise.
7118 * debug/fgets_chk.c: Likewise.
7119 * debug/fgets_u_chk.c: Likewise.
7120 * debug/fread_chk.c: Likewise.
7121 * debug/fread_u_chk.c: Likewise.
7122 * debug/gets_chk.c: Likewise.
7123 * debug/obprintf_chk.c: Likewise.
7124 * debug/vasprintf_chk.c: Likewise.
7125 * debug/vdprintf_chk.c: Likewise.
7126 * debug/vsnprintf_chk.c: Likewise.
7127 * debug/vsprintf_chk.c: Likewise.
7128 * malloc/mtrace.c: Likewise.
7129 * misc/error.c: Likewise.
7130 * misc/syslog.c: Likewise.
7131 * stdio-common/asprintf.c: Likewise.
7132 * stdio-common/fxprintf.c: Likewise.
7133 * stdio-common/getw.c: Likewise.
7134 * stdio-common/isoc99_fscanf.c: Likewise.
7135 * stdio-common/isoc99_scanf.c: Likewise.
7136 * stdio-common/isoc99_vfscanf.c: Likewise.
7137 * stdio-common/isoc99_vscanf.c: Likewise.
7138 * stdio-common/isoc99_vsscanf.c: Likewise.
7139 * stdio-common/printf-prs.c: Likewise.
7140 * stdio-common/printf_fp.c: Likewise.
7141 * stdio-common/printf_fphex.c: Likewise.
7142 * stdio-common/printf_size.c: Likewise.
7143 * stdio-common/putw.c: Likewise.
7144 * stdio-common/scanf.c: Likewise.
7145 * stdio-common/sprintf.c: Likewise.
7146 * stdio-common/tmpfile.c: Likewise.
7147 * stdio-common/vfprintf.c: Likewise.
7148 * stdio-common/vfscanf.c: Likewise.
7149 * stdlib/strfmon_l.c: Likewise.
7150 * sunrpc/openchild.c: Likewise.
7151 * sunrpc/xdr_stdio.c: Likewise.
7152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7153 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7154
d6c33fda
RM
71552012-05-24 Roland McGrath <roland@hack.frob.com>
7156
c1487492
RM
7157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7158
7159 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7160 in the third column, to generate for the shared library an IFUNC
7161 that uses _dl_vdso_vsym.
7162 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7163 * Makeconfig (object-suffixes-noshared): New variable.
7164
7165 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7166 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7167 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7168 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7169
d6c33fda
RM
7170 [BZ #14132]
7171 * include/sys/time.h (__gettimeofday): Remove macro.
7172 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7173 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7174 Remove INTDEF.
7175 (__gettimeofday): Add libc_hidden_def.
7176 (gettimeofday): Add libc_hidden_weak.
7177 * sysdeps/mach/gettimeofday.c: Likewise.
7178 * sysdeps/posix/gettimeofday.c: Likewise.
7179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7182 (__gettimeofday_internal): Remove strong_alias.
7183 (__gettimeofday): Add libc_hidden_def.
7184 (gettimeofday): Add libc_hidden_weak.
7185 * sysdeps/unix/syscalls.list (gettimeofday):
7186 Remove __gettimeofday_internal alias.
7187
b5a2bbe6
L
71882012-05-24 Daniel Jacobowitz <drow@false.org>
7189 H.J. Lu <hongjiu.lu@intel.com>
7190
7191 [BZ #12495]
7192 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7193 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7194 (largebin_index_32_big): New.
7195 (largebin_index): Use it for 16-byte alignment.
7196 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7197 correction with front_misalign.
7198
cfba4fda
L
71992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7200
7f907421
L
7201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7203 Likewise.
7204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7205 Likewise.
7206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7207 Likewise.
7208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7209 Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7211 Likewise.
7212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7213 Likewise.
7214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7215 Likewise.
7216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7217 Likewise.
7218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7219 Likewise.
7220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7221 Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7223 Likewise.
7224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7225 Likewise.
7226
cfba4fda
L
7227 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7228 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7229
80bad0cc
JM
72302012-05-24 Joseph Myers <joseph@codesourcery.com>
7231
7a25eb06
JM
7232 [BZ #10846]
7233 [BZ #14036]
7234 * math/libm-test.inc (exp_test): Add test from bug 14036.
7235 (pow_test): Add test from bug 10846.
7236
795405f9
JM
7237 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7238 and other flags.
7239 (special_function): Do not include flags in test name.
7240 (parse_args): Likewise.
7241 * sysdeps/i386/fpu/libm-test-ulps: Update.
7242 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7243 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7246
80bad0cc
JM
7247 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7248 exceptions.
7249 * math/libm-test.inc ("Philosophy"): Update comment about
7250 exception testing.
7251 (UNDERFLOW_EXCEPTION): New macro.
7252 (UNDERFLOW_EXCEPTION_OK): Likewise.
7253 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7254 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7255 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7256 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7257 (INVALID_EXCEPTION_OK): Update value.
7258 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7259 (OVERFLOW_EXCEPTION_OK): Likewise.
7260 (IGNORE_ZERO_INF_SIGN): Likewise.
7261 (test_exceptions): Handle underflow exceptions.
7262 (acos_test): Update for underflow exception expectations.
7263 (cexp_test): Likewise.
7264 (clog_test): Likewise.
7265 (clog10_test): Likewise.
7266 (csqrt_test): Likewise.
7267 (ctan_test): Likewise.
7268 (ctanh_test): Likewise.
7269 (exp_test): Likewise.
7270 (exp10_test): Likewise.
7271 (exp2_test): Likewise.
7272 (expm1_test): Likewise.
7273 (fma_test): Likewise.
7274 (j0_test): Likewise.
7275 (jn_test): Likewise.
7276 (nexttoward_test): Likewise.
7277 (pow_test): Likewise.
7278 (scalbn_test): Likewise.
7279 (scalbln_test): Likewise.
7280 (tan_test): Likewise.
7281 (y1_test): Likewise.
7282 * sysdeps/i386/fpu/libm-test-ulps: Update.
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7284
9e0e3d0b
DM
72852012-05-23 David S. Miller <davem@davemloft.net>
7286
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7288 (__libc_sigaction): Remove unused local variables.
7289
ccd0a08f
L
72902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7291
7292 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7293
62bdf9a6
PE
72942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7295
f8591f80
PE
7296 mktime: avoid signed integer overflow
7297 * time/mktime.c (__mktime_internal): Do not mishandle the case
7298 where diff == INT_MIN.
7299
94c7d826
PE
7300 mktime: simplify computation of average
7301 * time/mktime.c (ranged_convert): Use new time_t_avg function
7302 instead of rolling our own (probably-slower) code.
7303
ce73d683
PE
7304 mktime: do not assume signed right shift propagates sign bit
7305 * time/mktime.c (isdst_differ): New static function.
7306 (__mktime_internal): No need to normalize tm_isdst now.
7307 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7308 tm_isdst values.
7309
72a22e59
PE
7310 mktime: merge another wrapv change from gnulib
7311 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7312 from some compilers.
7313
68605433
PE
7314 mktime: remove incorrect attempt at unusual arithmetics
7315 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7316 The code didn't really work on such machines anyway.
7317 (TYPE_MINIMUM): Assume two's complement.
7318 (twos_complement_arithmetic): Verify that long_int and time_t
7319 are two's complement (or unsigned, in the latter case).
7320
03cf7fe3
PE
7321 mktime: check signed shifts on long_int and time_t, too
7322 * time/mktime.c (SHR): Check that shifts work as desired
7323 on the types long_int and time_t too, as SHR is used on
7324 such types.
7325
f04dfbc2
PE
7326 mktime: do not assume 'long' is wide enough
7327 * time/mktime.c (verify): Move decl up.
7328 (long_int): New type.
7329 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7330 to remove assumption in the code that 'long' is wide enough to
7331 store year values. This assumption is not true on x32 and on
7332 some non-glibc platforms.
7333
62bdf9a6
PE
7334 mktime: merge wrapv change from gnulib
7335 * time/mktime.c (WRAPV): New macro.
7336 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7337 (guess_time_tm, __mktime_internal): Do not assume that signed
7338 integer overflow wraps around; modern compilers generate code
7339 where this assumption is no longer valid.
7340
5e292e4f
L
73412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7344 Replace "jmp L(pseudo_end)" with "ret".
7345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7346 Likewise.
7347
8caf8c87
AJ
73482012-05-23 Andreas Jaeger <aj@suse.de>
7349
7350 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7351 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7352
1a09dc56
AJ
73532012-05-23 Andreas Jaeger <aj@suse.de>
7354 Maximilian Attems <max@stro.at>
7355
7356 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7357 New macros.
7358
1c87aba0
L
73592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7360
7361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7362 code so that pseudo_end is just ret and the stack pointer is
7363 correct also for static library in error case.
7364
40e45bd5
JM
73652012-05-23 Joseph Myers <joseph@codesourcery.com>
7366
c2670533
JM
7367 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7368 move to syscalls.list.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7373
40e45bd5
JM
7374 * manual/install.texi (Running make install): Do not mention Linux
7375 kernel version for which pt_chown is not needed.
7376 (Linux): Do not mention problems with nscd with 2.0 kernels.
7377 * INSTALL: Regenerated.
7378
be08eda5
AJ
73792012-05-23 Andreas Jaeger <aj@suse.de>
7380
7381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7382 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7383 macro.
7384 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7386 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7388 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7389 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7391 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7394 * sysdeps/unix/sysv/linux/bits/in.h
7395 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7396
a6a056bb
RM
73972012-05-22 Roland McGrath <roland@hack.frob.com>
7398
7399 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7400 (PREPARE_VERSION): Just use assert instead, it will be elided
7401 under [NDEBUG] anyway.
7402
c9009328
L
74032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7404
7405 * sysdeps/unix/sysv/linux/Makefile: Include
7406 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7407 (sysdep_routines): Remove sysctl.
c9009328
L
7408 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7409 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7411 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7412 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7413
73338355
AJ
74142012-05-22 Andreas Jaeger <aj@suse.de>
7415
7416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7417 that pseudo_end is just ret and the stack pointer is correct also
7418 for static library in error case.
7419
d44638b0
PP
74202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7421
7422 [BZ #14122]
7423 * nss/nsswitch.c (defconfig_entries): New variable.
7424 (__nss_database_lookup): Don't leak defconfig entries.
7425 (nss_parse_service_list): Don't leak on error paths.
7426 (free_database_entries): New function.
7427 (free_defconfig): New function.
7428 (free_mem): Move common code to free_database_entries.
7429
31a39bd8
L
74302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7431
da0331a8
L
7432 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7433 Add arch_prctl.
7434 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7435
31a39bd8
L
7436 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7437 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7439 New macro.
7440 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7441 (INTERNAL_SYSCALL_TYPES): Likewise.
7442 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7443 (LOAD_REGS_TYPES_[1-6]): Likewise.
7444 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7445 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7446
45470df3
AZ
74472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7448
7449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7450 copysignl for GLIBC_2_0.
7451 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7452 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7454 logbl for GLIBC_2_0.
7455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7457
98a61bcb
L
74582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7459
a4f6e481
L
7460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7462
f63d5db6
L
7463 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7464 Use "neg %eax".
7465
98a61bcb
L
7466 * time/mktime.c: Update copyright years.
7467
95770f14
PE
74682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7469
6226efbd
PE
7470 mktime: merge comment-quoting-style change from gnulib
7471 * time/mktime.c: Quote 'like this' in comments.
7472 The GNU coding standards suggest that we no longer quote `like this',
7473 as "`" and "'" are typically rendered asymmetrically nowadays.
7474 The typical gnulib style is to quote 'like this' when quoting
7475 code, and "like this" when quoting English.
7476
b99e4f78
PE
7477 * time/mktime.c (compile-command): Add "-I.".
7478
643e01e6
PE
7479 mktime: merge mktime-internal.h change from gnulib
7480 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7481
2554247d
PE
7482 mktime: merge time_r change from gnulib
7483 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7484
826dd0ab
PE
7485 mktime: merge DEBUG change from gnulib
7486 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7487 case system <time.h> has a #define.
7488
bd83aabe
PE
7489 mktime: merge <sys/types.h> change from gnulib
7490 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7491 since <time.t> is now guaranteed to define time_t.
7492
95770f14
PE
7493 mktime: merge HAVE_CONFIG_H change from gnulib
7494 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7495
5e1a27a9
L
74962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7497
0e44a77e
L
7498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7499 Use "neg %eax".
7500
5e1a27a9
L
7501 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7502 __rlim_t cast.
7503 (struct rusage): Use anonymous union to pad each field to
7504 __syscall_slong_t.
7505
46259bec
DM
75062012-05-21 David S. Miller <davem@davemloft.net>
7507
7508 * Makefules (o-iterator): Remove .s cases.
7509 (compile-command.s): Delete.
7510 (COMPILE.s): Delete.
7511 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7512
59f0c22e
JM
75132012-05-21 Joseph Myers <joseph@codesourcery.com>
7514
7515 * configure.in (libc_cv_predef_stack_protector): Only consider
7516 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7517 * configure: Regenerated.
7518
20c07380
L
75192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7520
bbb3154b
L
7521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7522 New macro. Use R*LP on int and pointer.
7523 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7524 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7525 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7526 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7527
20c07380
L
7528 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7529 [__WORDSIZE_TIME64_COMPAT32] instead of
7530 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7531 (struct utmp): Likewise.
7532 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7533 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7534 Renamed to ...
7535 (__WORDSIZE_TIME64_COMPAT32): This.
7536 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7537 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7538 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7539 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7540 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7541 (__WORDSIZE_TIME64_COMPAT32): New macro.
7542
d8d1017e
AJ
75432012-05-21 Andreas Jaeger <aj@suse.de>
7544
7545 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7546 only if [SHARED]. Add prototype for __wcschr_ia32.
7547
6c7fb145
RM
75482012-05-21 Roland McGrath <roland@hack.frob.com>
7549
7550 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7551 of %rbp unmolested in the jmp_buf while mangling the low bits.
7552 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7553 unmolested high bits of %rbp while demangling the low bits.
7554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7555
66274218
AJ
75562012-05-21 Andreas Jaeger <aj@suse.de>
7557
07c58f8f
AJ
7558 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7559 * sunrpc/svc_simple.c: Use it for registerrpc.
7560 * sunrpc/xcrypt.c: Use it for passwd2des.
7561
66274218
AJ
7562 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7563
61f65140
L
75642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7565
7566 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7567 Don't define if [__SYSCALL_WORDSIZE != 32].
7568 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7569 New macro.
7570
5fefb436
AJ
75712012-05-21 Bruno Haible <bruno@clisp.org>
7572 Andreas Jaeger <aj@suse.de>
7573
7574 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7575 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7576 inptr and inend for must_buffer_ch.
7577 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7578 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7579 * stdio-common/Makefile (tests): Remove bug15.
7580 (bug15-ENV): Remove macro.
7581 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7582 anymore.
7583
d8e272ab
AJ
75842012-05-19 Andreas Jaeger <aj@suse.de>
7585 Roland McGrath <roland@hack.frob.com>
7586
7587 * manual/contrib.texi: Completely rewritten. It contains now an
7588 alphabetical list of contributors and their contributions.
7589
4a56a162
RH
75902012-05-21 Richard Henderson <rth@twiddle.net>
7591
7592 * misc/getauxval.c (__getauxval): Use unsigned long int.
7593 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7594 (getauxval): Use unsigned long int.
7595
d024d23c
L
75962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7597
7598 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7599
cbc00a03
RM
76002012-05-21 Roland McGrath <roland@hack.frob.com>
7601
7602 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7603 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7604 __alignof__ (long double).
7605
478143fa
AZ
76062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7607
7608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7609
c7683a6d
RH
76102012-05-20 Richard Henderson <rth@twiddle.net>
7611
7612 * misc/getauxval.c: New file.
7613 * misc/sys/auxv.h: New file.
7614 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7615 (routines): Add getauxval.
7616 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7618 * elf/dl-sysdep.c (_dl_auxv): Remove.
7619 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7620 * elf/dl-support.c (_dl_auxv): New variable.
7621 (_dl_aux_init): Initialize it.
7622 * manual/startup.texi (Auxiliary Vector): New node.
7623 * sysdeps/generic/bits/hwcap.h: New file.
7624 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7625 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7626 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7627 * sysdeps/sparc/sysdep.h: ... here. Include it.
7628 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7631 Update.
c7683a6d
RH
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7640
a6f1845d
AZ
76412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642
7643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7644
cbcbe830
DM
76452012-05-19 David S. Miller <davem@davemloft.net>
7646
7647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7648
e0b16cc2
JM
76492012-05-19 Joseph Myers <joseph@codesourcery.com>
7650
7651 [BZ #14123]
7652 * math/s_ccosh.c: Include <float.h>
7653 (__ccosh): Avoid internal overflow calculating sinh and cosh
7654 values before multiplying by sin and cos values.
7655 * math/s_ccoshf.c: Likewise.
7656 * math/s_ccoshl.c: Likewise.
7657 * math/s_csin.c: Likewise.
7658 * math/s_csinf.c: Likewise.
7659 * math/s_csinl.c: Likewise.
7660 * math/s_csinh.c: Likewise.
7661 * math/s_csinhf.c: Likewise.
7662 * math/s_csinhl.c: Likewise.
7663 * math/libm-test.inc (ccos_test): Add more tests.
7664 (ccosh_test): Likewise.
7665 (csin_test): Likewise.
7666 (csinh_test): Likewise.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
6ad13e08
L
76702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7671
f66f0ce8
L
7672 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7673 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7674
6ad13e08
L
7675 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7676
b1d072a7
JM
76772012-05-19 Joseph Myers <joseph@codesourcery.com>
7678
7679 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7680 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7681 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7682 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7683 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7684 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7685 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7686 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7687 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7688 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7689 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7690 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7691 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7692 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7693 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7694 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7695 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7696 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7697 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7698 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7699 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7700 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7701 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7702 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7703 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7704 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7705 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7706 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7707 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7708 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7709 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7710
9eae47cb
AJ
77112012-05-18 Andreas Jaeger <aj@suse.de>
7712
7713 * csu/.gitignore: Delete.
7714
bb07f69f
L
77152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7718 (timex): Use __syscall_slong_t.
7719
e6bdb741
AJ
77202012-05-18 Andreas Jaeger <aj@suse.de>
7721 Carlos O'Donell <carlos_odonell@mentor.com>
7722
7723 * manual/install.texi (Configuring and compiling): Update
7724 description about files modified in the source directory.
d6c33fda 7725 * INSTALL: Regenerated.
e6bdb741 7726
1b74487e
L
77272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7728
7729 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7730 value. Use "or" to set return value to -1.
7731 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7732 negate return value.
7733
a88b64b9
TMQMF
77342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7735
7736 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7737 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7738 failure if the compiler has Graphite support disabled.
7739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7740 Likewise.
7741 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7742 CFLAGS-memmove.c): Likewise.
7743 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7744 Likewise.
7745
3707636e
L
77462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7747
610b8622
L
7748 * sysdeps/x86_64/x32/_itoa.h: New file.
7749
7cd195df
L
7750 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7751 getdents system call only if kernel and user dirents have the
7752 same d_ino and d_off.
7753
94b07d20
L
7754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7755 LLONG_MAX != LONG_MAX.
7756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7757 (_fitoa_word): Likewise.
7758
18298070
L
7759 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7760 years.
7761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7764
553c7ea4
L
7765 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7766 include <bits/wordsize.h>. Check __x86_64__ instead of
7767 __WORDSIZE.
7768 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7769 if __x86_64__ is defined. Use anonymous union on fpstate.
7770
3707636e
L
7771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7772 anonymous union.
7773
b53ef01a
AS
77742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7775
37fb1dc0
AS
7776 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7777 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7778 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7779 Refer to _rtld_local_ro instead of _rtld_global_ro.
7780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7781 Likewise.
7782 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7783 Likewise.
7784 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7785 Likewise.
7786 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7787 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7788 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7789
b53ef01a
AS
7790 * sysdeps/powerpc/powerpc32/dl-machine.c
7791 (__elf_machine_runtime_setup) [PROF]: Don't reference
7792 _dl_prof_resolve.
7793
7a185db2
AJ
77942012-05-18 Andreas Jaeger <aj@suse.de>
7795
7796 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7797 function only available for GCCs before 3.4 since GCC 3.4
7798 introduced a builtin.
7799 (lrint): Likewise.
7800 (llrintf): Likewise.
7801 (llrint): Likewise.
7802 (fmaxf): Likewise.
7803 (fmax): Likewise.
7804 (fminf): Likewise.
7805 (fmin): Likewise.
7806 (rint): Likewise.
7807 (rintf): Likewise.
7808 (nearbyint): Likewise.
7809 (nearbyintf): Likewise.
7810 (ceil): Likewise.
7811 (ceilf): Likewise.
7812 (floor): Likewise.
7813 (floorf): Likewise.
7814
3e5aef87
L
78152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7816
428bd707
L
7817 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7818 on both fields and cast pointer to __syscall_ulong_t.
7819
3e5aef87
L
7820 * bits/types.h (__fsword_t): New type.
7821 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7822 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7824 (__FSWORD_T_TYPE): Likewise.
7825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7826 (__FSWORD_T_TYPE): Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7828 (__FSWORD_T_TYPE): Likewise.
7829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7830 (__FSWORD_T_TYPE): Likewise.
7831 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7832 __SWORD_TYPE with __fsword_t.
7833 (statfs64): Likewise.
7834
1ba7c3dc
DM
78352012-05-17 David S. Miller <davem@davemloft.net>
7836
7837 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7838
59910343
AJ
78392012-05-17 Andreas Jaeger <aj@suse.de>
7840
7841 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7842 warning.
7843
2e4c1e9e
L
78442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7845
7846 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7847
de7f5ce7
AJ
78482012-05-17 Andreas Jaeger <aj@suse.de>
7849
7850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7851 when it is used.
7852
286abc3d
CM
78532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7854
7855 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7856
477cc68e
L
78572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7858
7859 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7860 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7861
1a0994f5
CD
78622012-05-17 Andreas Jaeger <aj@suse.de>
7863 Carlos O'Donell <carlos_odonell@mentor.com>
7864
7865 [BZ #14059]
7866 * sysdeps/x86_64/multiarch/init-arch.h
7867 (bit_YMM_Usable): Rename to...
7868 (bit_AVX_Usable): ... this.
7869 (bit_FMA4_Usable): New macro.
7870 (bit_XMM_state): New macro.
7871 (bit_YMM_state): New macro.
7872 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7873 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7874 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7875 (CPUID_OSXSAVE): New macro.
7876 (CPUID_AVX): New macro.
7877 (CPUID_FMA4): New macro.
7878 (index_YMM_Usable): Rename to...
7879 (index_AVX_Usable): ... this.
7880 (HAS_AVX): Use HAS_ARCH_FEATURE.
7881 (HAS_FMA4): Likewise.
7882 (HAS_YMM_USABLE): Remove.
7883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7884 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7885 are present.
7886 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7887 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7888 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7889 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7890 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7891
0af797de
CM
78922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7893
7894 * math/libm-test.c: Support platforms without multiple rounding modes.
7895 * math/bug-nextafter.c: Support platforms without FP exceptions.
7896 * math/bug-nexttoward.c: Likewise.
7897 * math/test-fenv.c: Likewise.
7898 * math/test-misc.c: Likewise.
7899 * stdlib/bug-getcontext.c: Likewise.
7900
e39745ff
AJ
79012012-05-17 Andreas Jaeger <aj@suse.de>
7902
7903 * manual/examples/search.c (critter_cmp): Change signature to
7904 avoid warnings.
7905 * manual/string.texi (Collation Functions): Likewise.
7906
48970aba
L
79072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 * bits/types.h: Fold copyright years.
7910 * bits/typesizes.h: Likewise.
7911 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7915 * time/time.h: Likewise.
7916
bedee953
PP
79172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7918
7919 [BZ #208]
7920 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7921 in instead of returning them. Return void.
7922 (__libc_mallinfo): Accumulate over all arenas.
7923 (__malloc_stats): Adjust for change in int_mallinfo interface.
7924
61653dfb
RM
79252012-05-16 Roland McGrath <roland@hack.frob.com>
7926
30b99d79
RM
7927 [BZ #10375]
7928 * configure.in (NM): Add AC_CHECK_TOOL for it.
7929 (libc_extra_cflags): New substituted variable.
7930 Check for -fstack-protector being used implicitly.
7931 * configure: Regenerated.
7932 * config.make.in (config-extra-cflags): New variable,
7933 gets @libc_extra_cflags@.
7934 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7935
61653dfb
RM
7936 [BZ #10375]
7937 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7938 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7939 * configure: Regenerated.
7940 * config.make.in (CPPUNDEFS): New substituted variable.
7941 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7942 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7943 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7944
661768bb
L
79452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7946
7947 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7948 (mq_attr): Use __syscall_slong_t.
7949
d4261567
L
79502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7953 Check __x86_64__ instead of __WORDSIZE.
7954 (_STAT_VER_LINUX): Likewise.
7955 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7956 __syscall_ulong_t and __syscall_slong_t.
7957 (stat64): Likewise.
7958
cf3ff365
L
79592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7962
76cf3e4d
L
79632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7964
7965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7966
a637753a
L
79672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7970 __syscall_ulong_t.
7971
d5e05119
L
7972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7973 include <bits/wordsize.h>. Check __x86_64__ instead of
7974 __WORDSIZE.
7975 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7976 defined.
7977 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7978
f62ee380
L
7979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7980 include <bits/wordsize.h>. Check __x86_64__ instead of
7981 __WORDSIZE.
7982 (user_regs_struct): Use "__extension__ unsigned long long"
7983 instead of "unsigned long" if __x86_64__ is defined.
7984 (user): Likewise. Pad after pointer field if __ILP32__ is
7985 defined.
7986
4e124ced
JM
79872012-05-16 Joseph Myers <joseph@codesourcery.com>
7988
6a3951a0
JM
7989 * configure.in (makeinfo): Require version 4.5 or later. Allow
7990 versions 5 to 9.
7991 * configure: Regenerated.
7992 * manual/install.texi (texinfo): Increase version requirement to
7993 4.5 or later.
7994 * INSTALL: Regenerated.
7995
4e124ced
JM
7996 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7997
953ca31a
L
79982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7999
8000 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8001
617aca05
L
8002 * sysdeps/x86_64/x32/ffs.c: New file.
8003
5762f7ae
L
8004 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8005 __syscall_ulong_t.
8006 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8007 defined. Use __syscall_ulong_t.
8008 (shminfo): Use __syscall_ulong_t.
8009 (shm_info): Likewise.
8010
a26b6856
L
8011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8012 __syscall_ulong_t.
8013
cb2b9ef7
L
8014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8015 <bits/wordsize.h>.
8016 (msgqnum_t): Use __syscall_ulong_t.
8017 (msglen_t): Likewise.
8018 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8019 __syscall_ulong_t.
8020
34683bb0
L
8021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8023
84a68786
L
8024 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8025
48baa5f1
L
8026 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8027 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8028
180be88b
L
8029 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8030 __syscall_slong_t.
8031
5e90c8ad
L
8032 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8033 include <bits/wordsize.h>. Check __x86_64__ instead of
8034 __WORDSIZE.
8035
23dfb58b
L
8036 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8037 "unsigned long long int" if __x86_64__ is defined.
8038 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8039
ce5d54b0
L
8040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8042 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8043
13dc9eac
L
8044 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8045 <stdint.h>.
8046 (GET_PC): Cast to uintptr_t first.
8047 (GET_FRAME): Likewise.
8048 (GET_STACK): Likewise.
8049
a7895d15
L
8050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8058 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8079
656416c9
AS
80802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8081
5bd66283
AS
8082 * Makerules (+depfiles): Also collect depfiles from .oS in
8083 $(extra-objs).
8084 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8085 .oS, $(libnldbl-routines)).
8086
656416c9
AS
8087 * Makerules (native-compile-mkdep-flags): Define.
8088 * sunrpc/Makefile (extra-objs): Add $(addprefix
8089 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8090 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8091 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8092 calling $(make-target-directory).
8093
a46f2169
L
80942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8095
8096 * bits/types.h (__snseconds_t): Removed.
8097 * time/time.h (struct timespec): Replace __snseconds_t with
8098 __syscall_slong_t.
8099 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8100 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8101 Likewise.
8102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8103 (__SNSECONDS_T_TYPE): Likewise.
8104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8105 (__SNSECONDS_T_TYPE): Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8107 (__SNSECONDS_T_TYPE): Likewise.
8108
6af6528b
L
81092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8110
8111 * sysdeps/mach/hurd/bits/typesizes.h
8112 (__SYSCALL_SLONG_TYPE): New macro.
8113 (__SYSCALL_ULONG_TYPE): Likewise.
8114
de986b56
L
81152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8116
8117 * bits/types.h (__syscall_slong_t): New type.
8118 (__syscall_ulong_t): Likewise.
8119
8120 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8121 (__SYSCALL_ULONG_TYPE): Likewise.
8122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8123 (__SYSCALL_SLONG_TYPE): Likewise.
8124 (__SYSCALL_ULONG_TYPE): Likewise.
8125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8126 (__SYSCALL_SLONG_TYPE): Likewise.
8127 (__SYSCALL_ULONG_TYPE): Likewise.
8128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8129 (__SYSCALL_SLONG_TYPE): Likewise.
8130 (__SYSCALL_ULONG_TYPE): Likewise.
8131
85736dc7
L
81322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8133
8134 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8135 Add sigaltstack-offsets.sym.
8136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8137 <sigaltstack-offsets.h>.
8138 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8139 longjmp_msg pointer.
8140 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8141 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8142 signal stack.
8143 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8144
cc03b296
JM
81452012-05-15 Joseph Myers <joseph@codesourcery.com>
8146
a9538892
JM
8147 * elf/stackguard-macros.h: Remove file.
8148 * sysdeps/generic/stackguard-macros.h: New file.
8149 * sysdeps/i386/stackguard-macros.h: Likewise.
8150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8156 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8157 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8158 <elf/stackguard-macros.h>.
8159
cc03b296
JM
8160 [BZ #14109]
8161 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8162 __aligned__ in attribute.
8163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8164 (gregset_t): Likewise.
8165
93171016
L
81662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8169 * sysdeps/x86_64/64/Implies-after: Here. New file.
8170 * sysdeps/x86_64/x32/Implies-after: New file.
8171
d86813a0
L
81722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8173
8174 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8175 and access return value for _dl_profile_fixup. Use R10_LP to
8176 load frame size.
8177
2953ec75
L
81782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8179
8180 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8181
3b550e9e
L
81822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8183
8184 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8185 * sysdeps/x86_64/x32/sysdep.h: New file.
8186
eda41706
L
81872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8190 * sysdeps/x86_64/setjmp.S: Likewise.
8191
9ea01d93
AZ
81922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193
8194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8196 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8198 remove unused global constant.
8199
02a91938
CM
82002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8201
8202 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8203 include of <not-cancel.h>.
8204
6540185f
RM
82052012-05-15 Roland McGrath <roland@hack.frob.com>
8206
8207 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8208
509072a0
AJ
82092012-05-15 Jeff Law <law@redhat.com>
8210 Andreas Jaeger <aj@suse.de>
8211
8212 [BZ #13594]
8213 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8214 out from...
8215 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8216 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8217 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8218 code changing __hst_map_handle.map.
8219
ba75122d
RM
82202012-05-15 Roland McGrath <roland@hack.frob.com>
8221
8222 * configure.in (sysnames): Look for Implies-before and Implies-after
8223 files.
8224 * configure: Regenerated.
8225
890d8bd8
L
82262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8227
8228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8229 8-byte data alignment with LP_SIZE alignment.
8230
f6ee6623
L
82312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8234 into R10_LP.
8235
ea2626f6
L
82362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8237
8238 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8239
085f715e
L
82402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8243 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8245 Likewise.
8246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8247
be8498fc
L
82482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8249
8250 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8251 (stackinfo_sub_sp): Likewise.
8252
70bc83b9
L
82532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8254
8255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8256 RAX_LP.
8257
9bc0b730
L
82582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8259
8260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8261 into R*_LP.
8262
6d2850e7
L
82632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8264
8265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8266 sizes into R*_LP.
8267
3cb84561
L
82682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8269
8270 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8271
54e2ed81
L
82722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8273
8274 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8275 into R11_LP and load __x86_64_shared_cache_size_half into
8276 R8_LP.
8277
8a17f349
L
82782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8279
8280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8281 R8_LP.
8282
777b1eea
AZ
82832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8284
8285 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8286 logb for POWER7.
8287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8288 logbf for POWER7.
8289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8290 logbl for POWER7.
8291 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8292 powerpc32/power7/fpu/s_logb.c via #include.
8293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8294 powerpc32/power7/fpu/s_logbf.c via #include.
8295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8296 powerpc32/power7/fpu/s_logbl.c via #include.
8297
d20d4ac2
JM
82982012-05-15 Joseph Myers <joseph@codesourcery.com>
8299
8300 * README.libm: Remove file.
8301
6cdef1ab
L
83022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8303
8304 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8305 count for x32. Use R*_LP and omit operand-size suffix.
8306
0b254d8f
L
83072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8308
8309 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8310 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8311 * sysdeps/x86_64/x32/shlib-versions: New file.
8312
ceb809dc
RM
83132012-05-14 Roland McGrath <roland@hack.frob.com>
8314
8315 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8316 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8317 Use _dl_fatal_printf instead.
8318
37f1abd4
JM
83192012-05-14 Joseph Myers <joseph@codesourcery.com>
8320
8321 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8322 set if not set by the user. Do not allow for being unset.
8323 * sysdeps/unix/sysv/linux/configure: Regenerated.
8324
11de3a33
L
83252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8326
8327 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8328 the `q' suffix from lea and replace .quad with ASM_ADDR.
8329
e02f153a
L
83302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8333 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8334 instead of $17.
8335 (PTR_DEMANGLE): Likewise.
8336
520ae0fd
L
83372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8338
8339 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8340 (LP_OP): Likewise.
8341 (ASM_ADDR): Likewise.
8342 (RAX_LP): Likewise.
8343 (RBP_LP): Likewise.
8344 (RBX_LP): Likewise.
8345 (RCX_LP): Likewise.
8346 (RDI_LP): Likewise.
8347 (RSI_LP): Likewise.
8348 (RSP_LP): Likewise.
8349 (R8_LP): Likewise.
8350 (R9_LP): Likewise.
8351 (R10_LP): Likewise.
8352 (R10_LP): Likewise.
8353 (R11_LP): Likewise.
8354 (R12_LP): Likewise.
8355 (R13_LP): Likewise.
8356 (R14_LP): Likewise.
8357 (R15_LP): Likewise.
8358
b985be81
L
83592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8360
8361 * sysdeps/x86_64/x32/dl-machine.h: New file.
8362
6a4888ff
AJ
83632012-05-14 Andreas Jaeger <aj@suse.de>
8364
8365 * manual/Makefile (subdir): Remove export of subdir.
8366 (all): Remove target.
8367 (.PHONY): Remove all from list.
8368 (mkinstalldirs): Remove.
8369 (.PHONY): Remove installdirs from list.
8370 ($(inst_infodir)/libc.info): Use make-target-directory.
8371 (installdirs): Remove.
8372 (subdir_%): Remove.
8373 (glibc-targets): Remove.
8374 (lib): Remove.
8375 (stubs): Remove.
8376 ($(objpfx)stubs ../po/manual.pot): Remove.
8377 ($(objpfx)stamp%): Remove.
8378 (make-target-directory): Remove.
8379 (subdir_install): Remove.
8380 (routines): Remove.
8381 (aux): Remove.
8382 (sources): Remove.
8383 (objects): Remove.
8384 (headers): Remove.
8385
8386 [BZ #13750]
8387 * manual/.gitignore: Remove, it's not needed anymore.
8388 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8389 all files in it.
8390 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8391 directory.
8392 (texis): Renamed to $(objpfx)texis.
8393 (texis-path): New, contains path to generated files.
8394 (chapters.%): Use texis-path for complete path, add extra argument
8395 libc-texinfo.sh.
8396 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8397 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8398 (summary,texi, stamp-summary): Use complete path of
8399 files. Generate files in build dir.
8400 (dir-add.texi): Build in build dir.
8401 (libm-err.texi,stamp-libm-err): Likewise.
8402 (version.texi, stamp-version): Likewise.
8403 (.%c.texi): Likewise.
8404 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8405 (mostlyclean): Remove target.
8406 (realclean): Remove target.
8407 (generated): Add new variable with contents from mostlyclean and
8408 realclean, remove entries duplicated in common-mostlyclean, add
8409 stamp-libm-err and stamp-version.
8410 (generated-dirs): Add libc directory.
8411 ($(inst_infodir)/libc.info): Install files from build dir.
8412
8413 * manual/install.texi (Configuring and compiling): Adjust since
8414 the info files are not part of the tar ball anymore.
8415
7ac77294
AJ
84162012-05-14 Andreas Jaeger <aj@suse.de>
8417
8418 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8419 variable.
8420
ffb7875d
JM
84212012-05-14 Joseph Myers <joseph@codesourcery.com>
8422
8423 [BZ #13717]
8424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8425 to 2.2.0 where earlier.
8426 * sysdeps/unix/sysv/linux/configure: Regenerated.
8427 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8428 Remove conditional code.
8429 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8430 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8431 Remove conditional code.
8432 [!__NR_lchown]: Likewise.
8433 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8434 [__NR_lchown]: Likewise.
8435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8436 comment referencing __ASSUME_LCHOWN_SYSCALL.
8437 * sysdeps/unix/sysv/linux/i386/sigaction.c
8438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8440 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8441 Remove conditional code.
8442 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8443 (__protocol_available): Remove #if 0 code.
8444 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8445 conditional code.
8446 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8447 * sysdeps/unix/sysv/linux/kernel-features.h
8448 (__ASSUME_GETCWD_SYSCALL): Don't define.
8449 (__ASSUME_REALTIME_SIGNALS): Likewise.
8450 (__ASSUME_PREAD_SYSCALL): Likewise.
8451 (__ASSUME_PWRITE_SYSCALL): Likewise.
8452 (__ASSUME_POLL_SYSCALL): Likewise.
8453 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8454 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8455 non-SPARC.
8456 (__ASSUME_SIOCGIFNAME): Don't define.
8457 (__ASSUME_MSG_NOSIGNAL): Likewise.
8458 (__ASSUME_SENDFILE): Define unconditionally.
8459 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8460 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8461 conditional code.
8462 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8463 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8464 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8465 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8466 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8467 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8468 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8493 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8494 Remove conditional code.
8495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8496 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8497 Remove conditional code.
8498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8499 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8500 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8501 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8502 Remove conditional code.
8503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8504 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8505 Remove conditional code.
8506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8507 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8508 Remove conditional code.
8509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8510 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8511 Remove conditional code.
8512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8513 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8514 Remove conditional code.
8515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8516 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8519 * sysdeps/unix/sysv/linux/sigaction.c
8520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8522 * sysdeps/unix/sysv/linux/sigpending.c
8523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8525 * sysdeps/unix/sysv/linux/sigprocmask.c
8526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8528 * sysdeps/unix/sysv/linux/sigsuspend.c
8529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8532 (__libc_missing_rt_sigs): Remove.
8533 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8534 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8535 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8536 Remove conditional code.
8537 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8538 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8539 return 1.
8540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8541 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8542 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8543 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8544
1bfb7291
AJ
85452012-05-14 Andreas Jaeger <aj@suse.de>
8546
caae5a81
AJ
8547 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8548 it's not used in glibc.
8549 (__coshm1): Likewise.
8550 (__acosh1p): Likewise.
8551 (__sgn): Likewise.
8552
1bfb7291
AJ
8553 * manual/string.texi (Copying and Concatenation): Add missing
8554 variable in concat example.
8555 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8556
c044d724
L
85572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8558
144c5467 8559 [BZ #14103]
c044d724
L
8560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8561 __builtin_clzl with __builtin_clzll.
8562
2523c62b
L
85632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 [BZ #14104]
8566 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8567 libc_freeres_ptr.
8568
d7bb4c42
LD
85692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8570
8571 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8572 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8573 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8575
9dc4e1fb
MF
85762012-05-14 Mike Frysinger <vapier@gentoo.org>
8577
8578 * NEWS: Update ia64 info.
8579
c7df0112
AS
85802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8581
8582 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8583 used as bcopy.
8584
dc70356c
TS
85852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8586
8587 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8588 * sysdeps/unix/syscalls.list (dup3): Likewise.
8589 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8590 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8591
9fb1a21f
L
85922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8593
8594 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8595 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8596
4822a2a5
L
85972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8598
8599 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8600 thread pointer.
8601 (TLS_IE): Use mov/add instead of movq/addq to load thread
8602 pointer.
8603 (TLS_GD_PREFIX): New.
8604 (TLS_GD): Use it.
8605
842b81d6
DM
86062012-05-11 David S. Miller <davem@davemloft.net>
8607
8608 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8609 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8610 (_FPU_SETCW): Likewise.
8611
1cf463cd
L
86122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8615 is 32-byte aligned.
8616
60cc4a18
AS
86172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8618
8619 [BZ #11837]
8620 * iconvdata/gb18030.c: Update tables.
8621 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8622 characters specially.
8623 (BODY for TO_LOOP): Add encoding of missing ranges.
8624
febb44a4
TS
86252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8626
8627 [BZ #13673]
8628 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8629 * sysdeps/mach/hurd/dup3.c: Likewise.
8630 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8631 * sysdeps/powerpc/memmove.c:: Likewise.
8632
0a10fb9e
L
86332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8634
8635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8636 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8637
df8a552f
L
86382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 * elf/elf.h (R_X86_64_RELATIVE64): New.
8641 (R_X86_64_NUM): Updated.
8642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8643 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8644 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8645 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8646 tst-quad1pie tst-quad2pie
8647 (modules-names): Add tst-quadmod1 tst-quadmod2.
8648 ($(objpfx)tst-quad1): New dependency.
8649 ($(objpfx)tst-quad2): Likewise.
8650 ($(objpfx)tst-quad1pie): Likewise.
8651 ($(objpfx)tst-quad2pie): Likewise.
8652 * sysdeps/x86_64/tst-quad1.c: New file.
8653 * sysdeps/x86_64/tst-quad1pie.c: New file.
8654 * sysdeps/x86_64/tst-quad2.c: Likewise.
8655 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8656 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8657 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8658 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8659 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8660
f34d6f84
ST
86612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8662
f42d41d1
ST
8663 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8664 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8665 * streams/stropts.h (t_scalar_t): Define type.
8666
3c3571fc
ST
8667 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8668 (_PATH_PRESERVE): Set to "/var/lib".
8669 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8670
61f06bd3
ST
8671 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8672 instead of int.
8673
918d4d71
ST
8674 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8675 if __dir_mkfile succeeded.
8676
f34d6f84
ST
8677 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8678 checking for _hurd_dtablesize. Unlock it right after having
8679 finished _hurd_dtable allocation.
8680
10589b4a
TS
86812012-05-10 Thomas Schwinge <thomas@schwinge.name>
8682
674cdbc7
TS
8683 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8684 * sysdeps/mach/hurd/configure: Regenerated.
8685 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8686 special-casing to...
8687 * sysdeps/gnu/configure.in: ... this new file.
8688 * sysdeps/unix/sysv/linux/configure: Regenerated.
8689 * sysdeps/gnu/configure: New generated file.
8690
8e41b99f
TS
8691 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8692 for Linux: use nsec instead of usec, as well as:
8693 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8694 members of type struct timespec.
8695 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8696 New macros.
8697 (struct stat64): Likewise.
8698 (_STATBUF_ST_NSEC): New macro.
8699 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8700
10589b4a
TS
8701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8702 __strtoul_internal rather than strtoul.
8703
63643c85
PT
87042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8705
8706 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8707 and reject them.
8708
3faebe6a
ST
87092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8710
8711 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8712 which preserves existing values.
8713 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8714
c6474b07
PT
87152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8716
8717 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8718 TIMEOUT values. Return EINVAL for NFDS values either negative or
8719 greater than FD_SETSIZE.
8720
1043890b
ST
87212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8722
8723 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8724 allocated, call __vm_protect to finish enabling the existing space, and
8725 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8726 allocate the remainder.
8727
37ed8b9b
PT
87282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8729
8730 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8731 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8732
db653660
ST
87332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8734
37ed8b9b
PT
8735 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8736 sysdeps/mach/hurd/readlink.c.
b29d4053 8737
db653660
ST
8738 * posix/tst-sysconf.c (posix_options): Only use
8739 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8740 _POSIX_SYNCHRONIZED_IO when they are defined
8741 * sysdeps/mach/hurd/bits/posix_opt.h:
8742 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8743 (_XOPEN_REALTIME): Undefine macro.
8744 (_XOPEN_REALTIME_THREADS): Undefine macro.
8745 (_XOPEN_SHM): Undefine macro.
8746 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8747 macro to -1.
8748 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8749 macro to -1.
8750 (_POSIX_ASYNC_IO): Undefine macro.
8751 (_POSIX_PRIORITIZED_IO): Undefine macro.
8752 (_POSIX_SPIN_LOCKS): Define macro to -1.
8753
ee16e894
ST
8754 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8755 SA_NODEFER, SA_RESETHAND.
8756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8757 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8758 F_DUPFD_CLOEXEC.
8759
6103ae3b
TS
87602012-05-10 Thomas Schwinge <thomas@schwinge.name>
8761
8762 * elf/Makefile (pldd-modules): Define unconditionally.
8763
80b4e5f3
TS
87642012-05-10 Thomas Schwinge <thomas@schwinge.name>
8765
8766 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8767
edadcbd6
ST
87682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8769
8770 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8771 Return ENOENT when name is empty.
8772 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8773
80694780
TS
87742012-05-10 Thomas Schwinge <thomas@schwinge.name>
8775
1792c087
TS
8776 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8777
80694780
TS
8778 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8779
6b645f0d
ST
87802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8781
80694780
TS
8782 Fix mlock in all cases except non-readable pages.
8783 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8784 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8785
6b645f0d
ST
8786 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8787 (__mkdir): When path is `/', just fail with EEXIST.
8788 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8789
e468f8a3
TS
87902012-05-10 Thomas Schwinge <thomas@schwinge.name>
8791
8792 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8793 <sys/uio.h> (for writev).
8794 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8795 and <sys/param.h> (for MIN).
8796
a4186cff
PT
87972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8798
8799 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8800 REQUESTED_TIME. Properly set the remaining time and return EINTR
8801 if interrupted.
8802
510bbf14
TS
88032012-05-10 Thomas Schwinge <thomas@schwinge.name>
8804
8805 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8806 Depend on against $(link-rpcuserlibs).
8807
5d5722e8
ST
88082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8809
a4186cff
PT
8810 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8811 (__libc_stack_end): Do not use attribute_relro.
8812 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8813 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8814 to libthread-provided value.
a4186cff
PT
8815 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8816 attribute_relro.
5d5722e8 8817
37233df9
TS
88182012-05-10 Thomas Schwinge <thomas@schwinge.name>
8819
be971a2b
TS
8820 [BZ #3748]
8821 * bits/libc-lock.h (__libc_once_get): New macro.
8822 * sysdeps/mach/bits/libc-lock.h: Likewise.
8823 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8825 instead of using implementation details.
8826
37233df9
TS
8827 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8828 * libio/freopen.c: Likewise.
8829 * libio/freopen64.c: Likewise.
8830 * misc/syslog.c: Likewise.
8831 * nscd/connections.c: Likewise.
8832 * nscd/netgroupcache.c: Likewise.
8833 * sysdeps/posix/getcwd.c: Likewise.
8834
38de94a5
RM
88352012-05-10 Roland McGrath <roland@hack.frob.com>
8836
8837 * math/w_ilogbf.c: Add #include <limits.h>.
8838
67530489
ST
88392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8840
a4186cff 8841 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8842 path instead of returning without unlocking.
8843
67530489
ST
8844 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8845 immediate-write ioctls.
8846 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8847
5aa3a74a
TS
88482012-05-10 Thomas Schwinge <thomas@schwinge.name>
8849
18bad2ae
TS
8850 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8851 __builtin_frame_address instead of making assumptions about the
8852 location of the return address relative to DATA. Force early load of
8853 the return address.
8854 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8855 __builtin_frame_address.
8856
5aa3a74a
TS
8857 dup3 for GNU Hurd.
8858 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8859 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8860 implement dup3 and do some further code clean-ups.
8861 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8862 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8863
ecd0de9a
ST
88642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8865
cd9fa985
ST
8866 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8867
a4186cff
PT
8868 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8869 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8870 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8871 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8872 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8873 d->port.lock.
802ca5a5 8874
a4186cff
PT
8875 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8876 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8877 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8878
bcf55240
TS
88792012-05-10 Thomas Schwinge <thomas@schwinge.name>
8880
6960eb42
TS
8881 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8882 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8883 definitions.
8884
eb43375f
TS
8885 accept4 for GNU Hurd.
8886 * include/sys/socket.h (__libc_accept4): New prototype.
8887 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8888 to implement __libc_accept4.
8889 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8890 __libc_accept4.
8891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8892
bcf55240
TS
8893 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8894 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8895 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8896 signal-defines.sym.
8897
6178c55b
ST
88982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8899
a4186cff 8900 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8901
6f080c2f
TS
89022012-05-10 Thomas Schwinge <thomas@schwinge.name>
8903
8904 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8905 assertion on O_CLOEXEC flag.
8906 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8907 * hurd/intern-fd.c: Likewise.
8908 * hurd/port2fd.c: Likewise.
8909
bcfe3a54
ST
89102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8911
8912 [BZ #3906]
8913 * bits/in.h (IPV6_PKTINFO): Define new macro.
8914 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8915
89c9aa49
AZ
89162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8917
8918 [BZ #13954]
8919 [BZ #13955]
8920 [BZ #13956]
8921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8923 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8924 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8927 * math/libm-test.inc (logb_test) : Additional logb tests.
8928
021db4be
AJ
89292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8930 Andreas Jaeger <aj@suse.de>
8931
8932 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8933 * configure: Regenerated.
8934 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8935 * config.make.in (link-obsolete-rpc): New substituted variable.
8936 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8937 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8938 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8939 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8940 so that libc.a contains the symbols.
8941 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8942 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8943 * sunrpc/auth_none.c: Likewise.
8944 * sunrpc/auth_unix.c: Likewise.
8945 * sunrpc/authdes_prot.c: Likewise.
8946 * sunrpc/authuxprot.c: Likewise.
8947 * sunrpc/clnt_gen.c: Likewise.
8948 * sunrpc/clnt_perr.c: Likewise.
8949 * sunrpc/clnt_raw.c: Likewise.
8950 * sunrpc/clnt_simp.c: Likewise.
8951 * sunrpc/clnt_tcp.c: Likewise.
8952 * sunrpc/clnt_udp.c: Likewise.
8953 * sunrpc/clnt_unix.c: Likewise.
8954 * sunrpc/des_crypt.c: Likewise.
8955 * sunrpc/des_soft.c: Likewise.
8956 * sunrpc/get_myaddr.c: Likewise.
8957 * sunrpc/key_call.c: Likewise.
8958 * sunrpc/key_prot.c: Likewise.
8959 * sunrpc/netname.c: Likewise.
8960 * sunrpc/pm_getmaps.c: Likewise.
8961 * sunrpc/pm_getport.c: Likewise.
8962 * sunrpc/pmap_clnt.c: Likewise.
8963 * sunrpc/pmap_prot.c: Likewise.
8964 * sunrpc/pmap_prot2.c: Likewise.
8965 * sunrpc/pmap_rmt.c: Likewise.
8966 * sunrpc/publickey.c: Likewise.
8967 * sunrpc/rpc_cmsg.c: Likewise.
8968 * sunrpc/rpc_common.c: Likewise.
8969 * sunrpc/rpc_dtable.c: Likewise.
8970 * sunrpc/rpc_prot.c: Likewise.
8971 * sunrpc/rpc_thread.c: Likewise.
8972 * sunrpc/rtime.c: Likewise.
8973 * sunrpc/svc.c: Likewise.
8974 * sunrpc/svc_auth.c: Likewise.
8975 * sunrpc/svc_raw.c: Likewise.
8976 * sunrpc/svc_run.c: Likewise.
8977 * sunrpc/svc_tcp.c: Likewise.
8978 * sunrpc/svc_udp.c: Likewise.
8979 * sunrpc/svc_unix.c: Likewise.
8980 * sunrpc/svcauth_des.c: Likewise.
8981 * sunrpc/xcrypt.c: Likewise.
8982 * sunrpc/xdr.c: Likewise.
8983 * sunrpc/xdr_array.c: Likewise.
8984 * sunrpc/xdr_float.c: Likewise.
8985 * sunrpc/xdr_intXX_t.c: Likewise.
8986 * sunrpc/xdr_mem.c: Likewise.
8987 * sunrpc/xdr_rec.c: Likewise.
8988 * sunrpc/xdr_ref.c: Likewise.
8989 * sunrpc/xdr_sizeof.c: Likewise.
8990 * sunrpc/xdr_stdio.c: Likewise.
8991
b5c086a2
RM
89922012-05-10 Roland McGrath <roland@hack.frob.com>
8993
8994 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8995 change. Update copyright years.
8996
6d74dd09
JM
89972012-05-10 Joseph Myers <joseph@codesourcery.com>
8998
8999 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9000
28e72501
MK
90012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9002 Joseph Myers <joseph@codesourcery.com>
9003 Paul Pluzhnikov <ppluzhnikov@google.com>
9004
9005 [BZ #14012]
9006 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9007 requiring rpcgen.
9008 [cross-compiling] (extra-libs): Likewise.
9009 [cross-compiling] (extra-libs-others): Likewise.
9010 [cross-compiling] (librpcsvc-routines): Likewise.
9011 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9012 [cross-compiling] (omit-deps): Likewise.
9013 (sunrpc-CPPFLAGS): New variable.
9014 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9015 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9016 (cross-rpcgen-objs): New variable.
9017 (extra-objs): Append $(cross-rpcgen-objs).
9018 ($(cross-rpcgen-objs)): New rule.
9019 ($(objpfx)cross-rpcgen): Likewise.
9020 (rpcgen-cmd): Define to use $(built-program-file). Expand
9021 comment.
9022 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9023 ($(objpfx)x%.stmp): Likewise.
9024 * sunrpc/proto.h [IS_IN_build] (_): Define.
9025 [IS_IN_build] (_libc_intl_domainname): Likewise.
9026
c8c59454
L
90272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9030 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9031 and R_X86_64_TPOFF64.
9032
6f27cd16
JM
90332012-05-10 Joseph Myers <joseph@codesourcery.com>
9034
9035 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9036 sysdeps/unix/sysv/syscalls.list.
9037 (stime): Likewise.
9038 (utime): Likewise.
9039 * sysdeps/unix/sysv/syscalls.list: Remove file.
9040
02467e1c
PE
90412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9042
9043 [BZ #3440]
9044 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9045 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9046 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9047 (__LC_IDENTIFICATION): Make these macros useful in #if
9048 expressions, as required by C99.
9049
da392631
AS
90502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9051
9052 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9053 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9054 after this.
9055
8115f29b
L
90562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9057
9058 * stdlib/longlong.h: Updated from GCC.
9059
bdd74070
AJ
90602012-05-09 Andreas Jaeger <aj@suse.de>
9061
edfe0dbe
AJ
9062 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9063 default is first entry.
9064 (run_mode): Set type.
9065 (main): Remove informal message about syslog.
9066 (options): Fix typo.
9067
bcfe3a54
ST
9068 [BZ #14053]
9069 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9070 to asm.
bcfe3a54
ST
9071 (lrint): Likewise.
9072 (llrintf): Likewise.
9073 (llrint): Likewise.
9074 (rint): Likewise.
9075 (rintf): Likewise.
9076 (nearbyint): Likewise.
9077 (nearbyintf): Likewise.
bdd74070 9078
91d8d69e
AJ
90792012-05-09 Andreas Jaeger <aj@suse.de>
9080 Pedro Alves <palves@redhat.com>
9081
9082 * nscd/nscd.c (run_mode): Use enum.
9083 (main): Cleanup coding style issue.
9084
bb90b80b
AJ
90852012-05-09 Alexandre Oliva <aoliva@redhat.com>
9086 Andreas Jaeger <aj@suse.de>
9087
bcfe3a54
ST
9088 * nscd/nscd.c (go_background): Replaced with...
9089 (run_mode): ... this.
bb90b80b 9090 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9091 (options): Add -F --foreground.
9092 (main): Implement it.
9093 (parse_opt): Parse it.
bb90b80b 9094
1a4b75a1
AJ
90952012-05-09 Andreas Jaeger <aj@suse.de>
9096
9097 [BZ #14083]
9098 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9099 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9100 -Wconversion warning.
9101 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9102 Likewise.
9103
b1cc2472
JM
91042012-05-09 Joseph Myers <joseph@codesourcery.com>
9105
9106 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9107 == 0.
9108 (LC_ALL): Use macro-int-constant.
9109 (LC_COLLATE): Likewise.
9110 (LC_CTYPE): Likewise.
9111 (LC_MESSAGES): Likewise.
9112 (LC_MONETARY): Likewise.
9113 (LC_NUMERIC): Likewise.
9114 (LC_TIME): Likewise.
9115 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9116 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9118 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9119 Specify type.
9120 [C99-based standards] (float_t): Expect type.
9121 [C99-based standards] (double_t): Expect type.
9122 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9123 type.
9124 [C99-based standards] (HUGE_VALL): Likewise.
9125 [C99-based standards] (INFINITY): Likewise.
9126 [C99-based standards] (NAN): Likewise.
9127 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9128 [C99-based standards] (FP_NAN): Likewise.
9129 [C99-based standards] (FP_NORMAL): Likewise.
9130 [C99-based standards] (FP_SUBNORMAL): Likewise.
9131 [C99-based standards] (FP_ZERO): Likewise.
9132 [C99-based standards] (FP_FAST_FMA): Use
9133 optional-macro-int-constant. Specify type. Require == 1.
9134 [C99-based standards] (FP_FAST_FMAF): Likewise.
9135 [C99-based standards] (FP_FAST_FMAL): Likewise.
9136 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9137 [C99-based standards] (FP_ILOGBNAN): Likewise.
9138 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9139 Specify type.
9140 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9141 [C99-based standards] (math_errhandling): Specify type.
9142 [ISO99 || ISO11] (signgam): Do not allow.
9143 [non-C99-based standards] (copysignf): Do not allow.
9144 [non-C99-based standards] (exp2f): Likewise.
9145 [non-C99-based standards] (log2f): Likewise.
9146 [non-C99-based standards] (modff): Allow.
9147 [non-C99-based standards] (erff): Do not allow.
9148 [non-C99-based standards] (erfcf): Likewise.
9149 [non-C99-based standards] (gammaf): Likewise.
9150 [non-C99-based standards] (hypotf): Likewise.
9151 [non-C99-based standards] (j0f): Likewise.
9152 [non-C99-based standards] (j1f): Likewise.
9153 [non-C99-based standards] (jnf): Likewise.
9154 [non-C99-based standards] (lgammaf): Likewise.
9155 [non-C99-based standards] (tgammaf): Likewise.
9156 [non-C99-based standards] (y0f): Likewise.
9157 [non-C99-based standards] (y1f): Likewise.
9158 [non-C99-based standards] (ynf): Likewise.
9159 [non-C99-based standards] (isnanf): Likewise.
9160 [non-C99-based standards] (acoshf): Likewise.
9161 [non-C99-based standards] (asinhf): Likewise.
9162 [non-C99-based standards] (atanhf): Likewise.
9163 [non-C99-based standards] (cbrtf): Likewise.
9164 [non-C99-based standards] (expm1f): Likewise.
9165 [non-C99-based standards] (ilogbf): Likewise.
9166 [non-C99-based standards] (log1pf): Likewise.
9167 [non-C99-based standards] (logbf): Likewise.
9168 [non-C99-based standards] (nextafterf): Likewise.
9169 [non-C99-based standards] (remainderf): Likewise.
9170 [non-C99-based standards] (rintf): Likewise.
9171 [non-C99-based standards] (scalbf): Likewise.
9172 [non-C99-based standards] (copysignl): Likewise.
9173 [non-C99-based standards] (exp2l): Likewise.
9174 [non-C99-based standards] (log2l): Likewise.
9175 [non-C99-based standards] (modfl): Allow.
9176 [non-C99-based standards] (erfl): Do not allow.
9177 [non-C99-based standards] (erfcl): Likewise.
9178 [non-C99-based standards] (gammal): Likewise.
9179 [non-C99-based standards] (hypotl): Likewise.
9180 [non-C99-based standards] (j0l): Likewise.
9181 [non-C99-based standards] (j1l): Likewise.
9182 [non-C99-based standards] (jnl): Likewise.
9183 [non-C99-based standards] (lgammal): Likewise.
9184 [non-C99-based standards] (tgammal): Likewise.
9185 [non-C99-based standards] (y0l): Likewise.
9186 [non-C99-based standards] (y1l): Likewise.
9187 [non-C99-based standards] (ynl): Likewise.
9188 [non-C99-based standards] (isnanl): Likewise.
9189 [non-C99-based standards] (acoshl): Likewise.
9190 [non-C99-based standards] (asinhl): Likewise.
9191 [non-C99-based standards] (atanhl): Likewise.
9192 [non-C99-based standards] (cbrtl): Likewise.
9193 [non-C99-based standards] (expm1l): Likewise.
9194 [non-C99-based standards] (ilogbl): Likewise.
9195 [non-C99-based standards] (log1pl): Likewise.
9196 [non-C99-based standards] (logbl): Likewise.
9197 [non-C99-based standards] (nextafterl): Likewise.
9198 [non-C99-based standards] (remainderl): Likewise.
9199 [non-C99-based standards] (rintl): Likewise.
9200 [non-C99-based standards] (scalbl): Likewise.
9201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9202 [non-C99-based standards] (FP_*): Do not allow.
9203 [C99-based standards] (FP_*): Change to
9204 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9205 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9206 allow.
9207 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9208 (SIG_ERR): Likewise.
9209 [X/Open-based standards] (SIG_HOLD): Likewise.
9210 (SIG_IGN): Likewise.
9211 (SIGABRT): Use macro-int-constant. Specify type. Require
9212 positive value.
9213 (SIGFPE): Likewise.
9214 (SIGILL): Likewise.
9215 (SIGINT): Likewise.
9216 (SIGSEGV): Likewise.
9217 (SIGTER): Likewise.
9218 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9219 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9220 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9221 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9222 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9223 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9224 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9225 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9226 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9227 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9228 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9229 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9230 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9231 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9232 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9233 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9234 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9235 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9236 [X/Open-based standards] (SIGTRAP): Likewise.
9237 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9238 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9239 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9240 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9241 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9242 allow.
9243
b9f1922d
IW
92442012-05-08 Ian Wienand <ianw@vmware.com>
9245
9246 [BZ #14080]
9247 * time/tzset.c (__tzset_parse_tz): Update default rules for
9248 daylight time changes in the Energy Policy Act of 2005.
9249
1db86e88
AJ
92502012-05-09 Andreas Jaeger <aj@suse.de>
9251
9252 [BZ #13983]
9253 * elf/ldconfig.c (parse_conf): Change string to make clear that
9254 ldconfig only issued a warning if ld.so.conf does not exist.
9255
dee4a4e3
DM
92562012-05-08 David S. Miller <davem@davemloft.net>
9257
ee0db190
DM
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9259 movxtod instead of popping the value on the stack.
9260
dee4a4e3
DM
9261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9262
6a43ec98
CD
92632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9264
9265 * config.h.in: Add HAVE_ARM_PCS_VFP.
9266
05c2c961
RMG
92672012-05-08 Roland Mc Grath <roland@hack.frob.com>
9268
bcfe3a54
ST
9269 [BZ #13979]
9270 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9271 checking but the checks are disabled for any reason.
05c2c961 9272
4b30f61a
L
92732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9274
9275 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9276 and ELF64_R_TYPE with ELFW(R_TYPE).
9277
eee2bc67
JM
92782012-05-08 Joseph Myers <joseph@codesourcery.com>
9279
7ea5391a
JM
9280 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9281 (ulimit): Likewise.
9282
eee2bc67
JM
9283 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9284 (settimeofday): Likewise.
9285
abb66a67
MF
92862012-05-08 Mike Frysinger <vapier@gentoo.org>
9287
9288 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9289 a struct th_u2 inside the union, and move tu_block/tu_code into
9290 a new th_u3 union of tu_block/tu_code inside of that. Move
9291 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9292 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9293 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9294 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9295 (th_stuff): Change to th_u1.tu_stuff.
9296 (th_data): Define.
9297 (th_msg): Change to th_u1.th_u2.tu_data.
9298
7f18b530
DM
92992012-05-07 David S. Miller <davem@davemloft.net>
9300
05760585
DM
9301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9302
7f18b530
DM
9303 [BZ #14074]
9304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9305 (SETUP_PIC_REG): Use it.
9306 (SETUP_PIC_REG_LEAF): Use it.
9307
495fd99f
JM
93082012-05-07 Joseph Myers <joseph@codesourcery.com>
9309
9310 [BZ #13885]
9311 [BZ #13923]
9312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9313 USE_AS_EXPM1L.
9314 (EXPL_FINITE): Likewise.
9315 (FLDLOG): Likewise.
9316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9317 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9318 e_expl.S.
9319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9320 USE_AS_EXPM1L.
9321 (EXPL_FINITE): Likewise.
9322 (FLDLOG): Likewise.
9323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9324 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9325 e_expl.S.
9326 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9327 test of -max_value argument for long double.
9328 * sysdeps/i386/fpu/libm-test-ulps: Update.
9329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330
6693d694
DM
93312012-05-06 David S. Miller <davem@davemloft.net>
9332
9333 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9334 quad soft-float symbols whose references which are compiler
9335 generated.
9336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9337
6c23e11c
JM
93382012-05-06 Joseph Myers <joseph@codesourcery.com>
9339
d8b82cad
JM
9340 [BZ #13884]
9341 [BZ #13914]
9342 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9343 USE_AS_EXP10L.
9344 (EXPL_FINITE): Likewise.
9345 (FLDLOG): Likewise.
9346 (c0): Likewise.
9347 (c1): Likewise.
9348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9349 Adjust comments for base varying.
9350 (__expl_finite): Change alias to EXPL_FINITE.
9351 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9352 e_expl.S.
9353 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9354 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9356 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9358 USE_AS_EXP10L.
9359 (EXPL_FINITE): Likewise.
9360 (FLDLOG): Likewise.
9361 (c0): Likewise.
9362 (c1): Likewise.
9363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9364 Adjust comments for base varying.
9365 (__expl_finite): Change alias to EXPL_FINITE.
9366 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9367 tests for bugs.
9368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9369
6c23e11c
JM
9370 [BZ #14064]
9371 * math/libm-test.inc (check_float_internal): Correct ulp
9372 calculation for subnormal expected results.
9373
29ba805c
AJ
93742012-05-06 Andreas Jaeger <aj@suse.de>
9375
9376 * Makeconfig (+math-flags): New, set to -frounding-math.
9377 (+cflags): Add +math-flags so that all of glibc gets compiled with
9378 it.
9379
9380 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9381
7b17aeda
JM
93822012-05-05 Joseph Myers <joseph@codesourcery.com>
9383
5779f134
JM
9384 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9385 Disable one test.
9386
41498f4d
JM
9387 [BZ #13787]
9388 [BZ #13922]
9389 [BZ #14036]
9390 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9391 (__ieee754_expl): Allow for and saturate large arguments.
9392 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9393 (u_threshold): Likewise.
9394 (__exp): Call __ieee754_exp before checking for overflow and
9395 underflow.
9396 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9397 (u_threshold): Likewise.
9398 (__expf): Call __ieee754_expf before checking for overflow and
9399 underflow.
9400 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9401 (u_threshold): Likewise.
9402 (__expl): Call __ieee754_expl before checking for overflow and
9403 underflow.
9404 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9405 (__ieee754_expl): Allow for and saturate large arguments.
9406 * math/libm-test.inc (exp_test): Add another test. Do not allow
9407 missing overflow exception on overflow.
9408 (expm1_test): Do not allow missing overflow exception on overflow.
9409
6698b8bf
JM
9410 * sysdeps/i386/fpu/e_expl.c: Move to ...
9411 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9412 rather than using inline asm.
9413 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9414 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9415 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9416
7b17aeda
JM
9417 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9418 (nice): Likewise.
9419 (poll): Likewise.
9420 (signal): Likewise.
9421 (time): Likewise.
9422 (times): Likewise.
9423
f7c85819
JM
94242012-05-04 Joseph Myers <joseph@codesourcery.com>
9425
9426 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9427 sysdeps/unix/common/syscalls.list.
9428 (fchmod): Likewise.
9429 (fchown): Likewise.
9430 (ftruncate): Likewise.
9431 (getrusage): Likewise.
9432 (gettimeofday): Likewise.
9433 (setpgid): Likewise.
9434 (setregid): Likewise.
9435 (setreuid): Likewise.
9436 (sigaction): Likewise.
9437 (truncate): Likewise.
9438 (vhangup): Likewise.
9439 * sysdeps/unix/common/syscalls.list: Remove file.
9440 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9441 * sysdeps/unix/sysv/linux/Implies: Likewise.
9442
336270d0
L
94432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9444
9445 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9447 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9448 Moved to ...
9449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9450 Here.
9451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9452 to ...
9453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9455 to ...
9456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9458 to ...
9459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9460 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9461 to ...
9462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9464 to ...
9465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9467 to ...
9468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9469 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9470 to ...
9471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9472 Here.
9473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9474 to ...
9475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9476 Here.
9477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9478 to ...
9479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9481 Moved to ...
9482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9483 Here.
9484 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9485 to ...
9486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9487
d128e450
JM
94882012-05-04 Joseph Myers <joseph@codesourcery.com>
9489
fa8ee516
JM
9490 * sysdeps/unix/common/bits/dirent.h: Remove file.
9491 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9492
d128e450
JM
9493 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9494 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9495 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9496 * sysdeps/unix/bsd/isatty.c: Likewise.
9497 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9498 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9499 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9500
ff8faaf0 95012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9502
62881be4 9503 [BZ #13563]
31dc8730
AZ
9504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9505 long double comparison inaccuracies.
9506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9508
6fef930c
AS
95092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9510
9511 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9513
8f203e6c
JM
95142012-05-04 Joseph Myers <joseph@codesourcery.com>
9515
9516 [BZ #14049]
9517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9518 nonzero digits before rounding a hex value.
9519 * stdlib/tst-strtod.c (tests): Add another test.
9520
5197d9c2
AK
95212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9522
9523 * sysdeps/s390/fpu/libm-test-ulps: Update.
9524
f0c1dedf
AJ
95252012-05-03 Andreas Jaeger <aj@suse.de>
9526
9527 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9528 does not get optimized out.
9529 (malloc_opt_barrier): New.
9530
a65ef2ae 95312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9532 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9533
2b942cb7 9534 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9535 intermediate file deletion.
2b942cb7 9536 (generated): Add .symlist files.
a65ef2ae 9537
54b71e02
JM
95382012-05-03 Joseph Myers <joseph@codesourcery.com>
9539
9540 [BZ #13775]
9541 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9542 Redirect under this condition.
9543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9544 [__USE_GNU] (__dprintf_chk): Not under this condition.
9545 [__USE_GNU] (__vdprintf_chk): Likewise.
9546 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9547 under this condition.
9548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9549 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9550 [__USE_XOPEN2K8] (vdprintf): Likewise.
9551 [__USE_GNU] (__dprintf_chk): Not under this condition.
9552 [__USE_GNU] (__vdprintf_chk): Likewise.
9553 [__USE_GNU] (dprintf): Likewise.
9554 [__USE_GNU] (vdprintf): Likewise.
9555
d3dfcc41
RM
95562012-05-03 Roland McGrath <roland@hack.frob.com>
9557
9558 * elf/Makefile (common-generated): Set this instead of generated for
9559 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9560 $(all-built-dso)-derived lists.
9561
7ac30cc5
AJ
95622012-05-03 Andreas Jaeger <aj@suse.de>
9563
0c51e550
AJ
9564 * sysdeps/i386/fpu/libm-test-ulps: Update.
9565
7ac30cc5
AJ
9566 * FAQ: Removed.
9567 * FAQ.in: Likewise.
9568 * scripts/gen-FAQ.pl: Likewise.
9569 * manual/install.texi (Installation): Point to online location of
9570 FAQ.
9571 * Makefile (files-for-dist): Remove FAQ.
9572 (FAQ): Remove.
9573
d4c2917f
AM
95742012-05-02 Allan McRae <allan@archlinux.org>
9575
9576 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9577 (LDFLAGS-reldepmod5.so): Likewise.
9578 (LDFLAGS-reldep6mod1.so): Likewise.
9579 (LDFLAGS-reldep6mod4.so): Likewise.
9580 (LDFLAGS-reldep8mod3.so): Likewise.
9581 (LDFLAGS-unload4mod1.so): Likewise.
9582 (LDFLAGS-unload4mod2.so): Likewise.
9583 (LDFLAGS-tst-initorder): Likewise.
9584 (LDFLAGS-tst-initordera2.so): Likewise.
9585 (LDFLAGS-tst-initordera3.so): Likewise.
9586 (LDFLAGS-tst-initordera4.so): Likewise.
9587 (LDFLAGS-tst-initorderb2.so): Likewise.
9588 (LDFLAGS-noload): Likewise.
9589 (LDFLAGS-next): Likewise.
9590 (LDFLAGS-order2mod1.so): Likewise.
9591 (LDFLAGS-order2mod2.so): Likewise.
9592 (LDFLAGS-tst-initorder2): Likewise.
9593 (LDFLAGS-tst-initorder2a.so): Likewise.
9594 (LDFLAGS-tst-initorder2b.so): Likewise.
9595 (LDFLAGS-tst-initorder2c.so): Likewise.
9596 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9597
d77f993f
DM
95982012-05-02 David S. Miller <davem@davemloft.net>
9599
9600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9601
171a70b4
PP
96022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9603
9604 [BZ #14055]
9605 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9606
0be196ad
AJ
96072012-05-02 Andreas Jaeger <aj@suse.de>
9608
9609 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9610 since we manipulate rounding mode.
9611 (CPPFLAGS-test-idouble.c): Likewise.
9612 (CPPFLAGS-test-ifloat.c): Likewise.
9613 (CFLAGS-test-ldouble.c): Likewise.
9614 (CFLAGS-test-double.c): Likewise.
9615 (CFLAGS-test-float.c): Likewise.
9616 (CFLAGS-test-misc.c): Likewise.
9617 (CFLAGS-test-test-fenv.c): Likewise.
9618
4f9d04aa
AZ
96192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9620
2b942cb7
RM
9621 [BZ #2550]
9622 [BZ #2570]
9623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9624 comparisons to determine direction to adjust input.
4f9d04aa 9625
82a79e7d
RM
96262012-05-01 Roland McGrath <roland@hack.frob.com>
9627
f5a01ca9
RM
9628 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9629 output to the target.
9630
90fe4186
RM
9631 * scripts/localplt.awk: New file.
9632 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9633 (check-localplt-CFLAGS): Variable removed.
9634 ($(all-built-dso:=.jmprel)): New static pattern rule.
9635 (generated): Add those targets.
9636 (localplt-built-dso): New variable.
9637 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9638
9639 * elf/check-localplt.c: File removed.
9640
82397ed6
RM
9641 * scripts/check-execstack.awk: New file.
9642 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9643 (check-execstack-CFLAGS): Variable removed.
9644 ($(objpfx)check-execstack.h): Target removed.
9645 ($(objpfx)execstack-default): New target.
9646 (generated): Add that instead of check-execstack.h.
9647 ($(all-built-dso:=.phdr)): New static pattern rule.
9648 (generated): Add those targets.
9649 * elf/check-execstack.c: File removed.
9650
82a79e7d
RM
9651 * scripts/check-textrel.awk: New file.
9652 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9653 (check-textrel-CFLAGS): Variable removed.
9654 (all-built-dso): Use := to define.o
9655 ($(all-built-dso:=.dyn)): New static pattern rule.
9656 (generated): Add those targets.
9657 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9658 * config.make.in (READELF): New substituted variable.
9659 * elf/check-textrel.c: File removed.
9660
62fde54f 96612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9662
615605c9
JM
9663 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9664 allow.
9665 * conform/data/ctype.h-data [C99-based standards] (isblank):
9666 Expect function.
9667 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9668 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9670 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9671 Specify type. Require positive value.
9672 (EILSEQ): Likewise.
9673 (ERANGE): Likewise.
9674 [ISO || POSIX] (EILSEQ): Do not expect.
9675 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9676 Specify type. Require positive value.
9677 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9678 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9679 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9680 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9681 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9682 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9683 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9684 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9685 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9686 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9687 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9688 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9689 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9690 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9691 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9692 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9693 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9694 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9695 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9696 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9697 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9698 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9699 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9700 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9701 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9702 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9703 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9706 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9745 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9750 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9751 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9752 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9753 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9754 Require >= 2.
9755 (FLT_ROUNDS): Expect as macro, not constant.
9756 (FLT_MANT_DIG): Use macro-int-constant.
9757 (DBL_MANT_DIG): Likewise.
9758 (LDBL_MANT_DIG): Likewise.
9759 (FLT_DIG): Likewise.
9760 (DBL_DIG): Likewise.
9761 (LDBL_DIG): Likewise.
9762 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9763 (DBL_MIN_EXP): Likewise.
9764 (LDBL_MIN_EXP): Likewise.
9765 (FLT_MAX_EXP): Use macro-int-constant.
9766 (DBL_MAX_EXP): Likewise.
9767 (LDBL_MAX_EXP): Likewise.
9768 (FLT_MAX_10_EXP): Likewise.
9769 (DBL_MAX_10_EXP): Likewise.
9770 (LDBL_MAX_10_EXP): Likewise.
9771 (FLT_MAX): Use macro-constant.
9772 (DBL_MAX): Likewise.
9773 (LDBL_MAX): Likewise.
9774 (FLT_EPSILON): Use macro-constant. Give upper bound.
9775 (DBL_EPSILON): Likewise.
9776 (LDBL_EPSILON): Likewise.
9777 (FLT_MIN): Likewise.
9778 (DBL_MIN): Likewise.
9779 (LDBL_MIN): Likewise.
9780 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9781 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9782 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9783 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9784 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9785 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9786 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9787 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9788 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9789 [ISO11] (FLT_TRUE_MIN): Likewise.
9790 [ISO11] (LDBL_TRUE_MIN): Likewise.
9791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9792 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9793 (SCHAR_MIN): Use macro-int-constant. Specify type.
9794 (SCHAR_MAX): Likewise.
9795 (UCHAR_MAX): Likewise.
9796 (CHAR_MIN): Likewise.
9797 (CHAR_MAX): Likewise.
9798 (MB_LEN_MAX): Use macro-int-constant.
9799 (SHRT_MIN): Use macro-int-constant. Specify type.
9800 (SHRT_MAX): Likewise.
9801 (USHRT_MAX): Likewise.
9802 (INT_MAX): Likewise.
9803 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9804 bound negative.
9805 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9806 bound with "U".
9807 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9808 bound with "L".
9809 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9810 bound negative. Suffix upper bound with "L".
9811 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9812 bound with "UL".
9813 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9814 Specify type.
9815 [C99-based standards] (LLONG_MAX): Likewise.
9816 [C99-based standards] (ULLONG_MAX): Likewise.
9817 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9818 == 0.
9819 [ISO11] (max_align_t): Require type.
9820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9821
c9140a62
JM
9822 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9823 from $CFLAGS, without defining away __attribute__ calls.
9824 (checknamespace): Use $CFLAGS_namespace.
9825
9af0bf29
JM
9826 * conform/conformtest.pl (@keywords): Only include C99 keywords
9827 for standards based on C99 or C11.
9828
343222a2
JM
9829 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9830 Disable tests.
9831 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9832 UNIX98]: Likewise.
9833
661f8cf0
JM
9834 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9835 usability of symbols in #if.
9836
ee74b9cb
JM
9837 * conform/conformtest.pl: If macro or constant types start
9838 "promoted:", expect the symbol to be of the following type
9839 promoted by the integer promotions.
62fde54f 9840
aafc49b3
JM
9841 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9842 in one place. Also handle "macro-constant".
9843
fefdf574
JM
9844 * conform/conformtest.pl: Only accept expected macro values with
9845 "==". Parse all "macro" lines in one place.
9846 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9847
f2d922fe
JM
9848 * conform/conformtest.pl: Handle braced types on "constant" lines
9849 instead of handling "typed-constant".
9850 * conform/data/signal.h-data: Use "constant" instead of
9851 "typed-constant".
9852
d22956c9
JM
9853 * conform/conformtest.pl: Handle "optional-" at start of lines in
9854 one place rather than duplicating several cases. Handle each
9855 format of "macro" line with initial "optional-".
9856
028e2e38
JM
9857 * conform/conformtest.pl: Only accept expected constant or
9858 optional-constant values with "==". Parse all "constant" lines in
9859 one place. Parse all "optional-constant" lines in one place.
9860 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9861 * conform/data/fmtmsg.h-data: Likewise.
9862 * conform/data/netinet/in.h-data: Likewise.
9863 * conform/data/tar.h-data: Likewise.
9864 * conform/data/limits.h-data: Use "==" form on "constant" and
9865 "optional-constant" lines.
9866
1b8f2850
JM
9867 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9868 Use -std=c99 for XOPEN2K.
9869 (@knownproblems): Remove.
9870 (newtoken): Don't check %isknown.
9871
a05a144b
JM
9872 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9873 Do not expect macro.
9874 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9886 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9887 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9898 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9899 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9904 [XPG3] (acosh): Likewise.
9905 [XPG3] (asinh): Likewise.
9906 [XPG3] (atanh): Likewise.
9907 [XPG3] (cbrt): Likewise.
9908 [XPG3] (expm1): Likewise.
9909 [XPG3] (ilogb): Likewise.
9910 [XPG3] (log1p): Likewise.
9911 [XPG3] (logb): Likewise.
9912 [XPG3] (nextafter): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9915 [XPG3] (remainder): Likewise.
9916 [XPG3] (rint): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9924 [UNIX98 || XOPEN2K] (scalb): Expect.
9925 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9926 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9990 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9991 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9992 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9993 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9994 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9995 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9996 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9997 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9998 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9999 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10000 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10001 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10003 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10004 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10005 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10006 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10007 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10008 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10009 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10010 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10011 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10012 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10013 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10014 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10015 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10016 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10017 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10018 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10019 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10020 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10021 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10022 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10023 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10024 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10025 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10026 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10027 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10028 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10029 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10030 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10031 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10032 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10033 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10034 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10035 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10036 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10037 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10038 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10039 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10040 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10041 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10042 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10043 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10044 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10045 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10046 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10047 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10048 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10049 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10050 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10051 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10052 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10053 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10054 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10055 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10056 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10057 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10058 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10059 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10060 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10061 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10062
73c5ebe3
JM
10063 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10064 _XOPEN_SOURCE_EXTENDED for XPG4.
10065
39c33b6c
JM
10066 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10067
62fde54f
JM
10068 * Makeconfig (localtime): Remove variable.
10069 (inst_localtime-file): Likewise.
10070
0741d64c
AS
100712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10072
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10074 Update.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10076 Update.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10078 Update.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10080 Update.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10082 Update.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10084 Update.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10086 Update.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10088 Update.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10090 Update.
10091
7cb029ee
JM
100922012-05-01 Joseph Myers <joseph@codesourcery.com>
10093
10094 [BZ #2550]
10095 [BZ #2570]
10096 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10097 comparisons to determine direction to adjust input.
10098 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10099 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10101 Likewise.
10102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10103 Likewise.
10104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10105 Likewise.
10106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10108 Likewise.
10109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10110 Likewise.
10111 * math/libm-test.inc (nexttoward_test): Add more tests.
10112
412bd966
AS
101132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 [BZ #14040]
10116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10117 in version GLIBC_2.1, not GLIBC_2.0.
10118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10119 Likewise.
10120
9568c0c2
JM
101212012-04-30 Joseph Myers <joseph@codesourcery.com>
10122
adfbc8ac
JM
10123 [BZ #13942]
10124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10125 (1 - x) * (1 + x).
10126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10127 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10128 * math/libm-test.inc (acos_test): Add more tests.
10129 (asin_test): Likewise.
10130 * sysdeps/i386/fpu/libm-test-ulps: Update.
10131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10132
5ba3cc69
JM
10133 [BZ #14034]
10134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10135 of square root.
10136 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10138 * math/libm-test.inc (acos_test_tonearest): New function.
10139 (acos_test_towardzero): Likewise.
10140 (acos_test_downward): Likewise.
10141 (acos_test_upward): Likewise.
10142 (asin_test_tonearest): Likewise.
10143 (asin_test_towardzero): Likewise.
10144 (asin_test_downward): Likewise.
10145 (asin_test_upward): Likewise.
10146 (main): Call the new functions.
10147 * sysdeps/i386/fpu/libm-test-ulps: Update.
10148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10149
9568c0c2
JM
10150 [BZ #13884]
10151 [BZ #13924]
10152 * math/e_exp10.c: Include <float.h>.
10153 (__ieee754_exp10): Handle underflow here rather than multiplying
10154 large negative argument by M_LN10.
10155 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10156 of __ieee754_expf.
10157 * math/e_exp10l.c: Include <float.h>.
10158 (__ieee754_exp10l): Handle underflow here rather than multiplying
10159 large negative argument by M_LN10l.
10160 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10161 spurious overflow exception on underflow.
10162
5ac3ea17
MP
101632012-04-29 Marek Polacek <polacek@redhat.com>
10164
10165 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10166 (__fortify_function): New macro.
10167 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10168 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10169 __extern_always_inline.
10170 * libio/bits/stdio2.h: Likewise.
10171 * libio/bits/stdio.h: Likewise.
10172 * string/string.h: Likewise.
10173 * string/bits/string3.h: Likewise.
10174 * include/stdio.h: Likewise.
10175 * stdlib/bits/stdlib.h: Likewise.
10176 * stdlib/stdlib.h: Likewise.
10177 * rt/bits/mqueue2.h: Likewise.
10178 * rt/mqueue.h: Likewise.
10179 * posix/bits/unistd.h: Likewise.
10180 * posix/unistd.h: Likewise.
10181 * io/bits/poll2.h: Likewise.
10182 * io/bits/fcntl2.h: Likewise.
10183 * io/fcntl.h: Likewise.
10184 * io/sys/poll.h: Likewise.
10185 * misc/bits/syslog.h: Likewise.
10186 * misc/bits/syslog-ldbl.h: Likewise.
10187 * misc/sys/syslog.h: Likewise.
10188 * socket/bits/socket2.h: Likewise.
10189 * socket/sys/socket.h: Likewise.
10190 * debug/tst-chk1.c: Likewise.
10191 * wcsmbs/bits/wchar2.h: Likewise.
10192 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10193 * wcsmbs/wchar.h: Likewise.
10194
ecf0ebfb
AJ
101952012-04-29 Andreas Jaeger <aj@suse.de>
10196
10197 * Makerules (tests): Remove enable-check-abi protection.
10198 (check-abi-warn): Remove.
10199 (check-abi-%): Remove check-abi-warn usage.
10200
10201 * configure.in: Remove check-abi configure option.
10202 * configure: Regenerated.
10203 * config.make.in (enable-check-abi): Remove.
10204
6d5c57fa
AS
102052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10206
24c5d07e 10207 [BZ #14033]
ded5180a
AS
10208 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10209 double functions to double *_finite functions.
10210
7e0d315d
AS
10211 [BZ #13941]
10212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10213 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10214 LDBL_MIN_EXP.
10215 * stdio-common/Makefile (tests): Add tst-sprintf3.
10216 * stdio-common/tst-sprintf3.c: New file.
10217
6d5c57fa
AS
10218 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10219 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10220
0749ff8b
JM
102212012-04-28 Joseph Myers <joseph@codesourcery.com>
10222
10223 * conform/conformtest.pl: Remove duplicate typed-constant
10224 handling.
10225
8dbd5d7b
DM
102262012-04-28 David S. Miller <davem@davemloft.net>
10227
10228 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10229 (check-abi-%): Remove AWK script prerequisite and explicit
10230 abilist directory.
10231 (check-abi): Rewrite to just diff the symlist with the abilist.
10232 (config-tls, config-abi-config): Delete, no longer used.
10233 (update-abi-%): Remove AWK script and explicit abilist directory.
10234 (update-abi): Rewrite to simply compare and conditionally copy the
10235 symlist and the sysdep abilist file. Remove update-abi-config
10236 checks.
10237 * abilist/ld.abilist: Remove.
10238 * abilist/libBrokenLocale.abilist: Remove.
10239 * abilist/libanl.abilist: Remove.
10240 * abilist/libcrypt.abilist: Remove.
10241 * abilist/libdl.abilist: Remove.
10242 * abilist/librt.abilist: Remove.
10243 * abilist/libthread_db.abilist: Remove.
10244 * abilist/libutil.abilist: Remove.
10245 * scripts/extract-abilist.awk: Remove.
10246 * scripts/merge-abilist.awk: Remove.
10247 * sysdeps/generic/libcidn.abilist: New file.
10248 * sysdeps/generic/libnss_compat.abilist: New file.
10249 * sysdeps/generic/libnss_db.abilist: New file.
10250 * sysdeps/generic/libnss_dns.abilist: New file.
10251 * sysdeps/generic/libnss_files.abilist: New file.
10252 * sysdeps/generic/libnss_hesiod.abilist: New file.
10253 * sysdeps/generic/libnss_nis.abilist: New file.
10254 * sysdeps/generic/libnss_nisplus.abilist: New file.
10255 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10256 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10257 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10258 file.
10259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10260 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10261 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10262 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10264 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10265 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10268 file.
10269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10273 file.
10274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10280 file.
10281 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10284 file.
10285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10287 New file.
10288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10289 New file.
10290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10291 New file.
10292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10293 New file.
10294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10295 New file.
10296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10297 New file.
10298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10299 New file.
10300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10301 New file.
10302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10303 New file.
10304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10305 New file.
10306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10307 New file.
10308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10309 New file.
10310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10311 New file.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10313 file.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10315 New file.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10317 New file.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10319 file.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10321 New file.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10323 New file.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10325 file.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10327 New file.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10329 New file.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10331 New file.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10333 New file.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10335 New file.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10337 New file.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10340 file.
10341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10342 New file.
10343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10344 file.
10345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10346 file.
10347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10348 file.
10349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10350 file.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10352 file.
10353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10354 New file.
10355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10356 file.
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10358 file.
10359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10360 New file.
10361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10362 file.
10363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10365 file.
10366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10367 New file.
10368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10369 file.
10370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10371 file.
10372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10373 file.
10374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10375 file.
10376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10377 file.
10378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10379 New file.
10380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10381 file.
10382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10383 file.
10384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10385 New file.
10386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10387 file.
10388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10390 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10391 file.
10392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10395 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10396 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10397 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10398 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10401 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10404 file.
10405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10406 New file.
10407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10408 file.
10409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10410 file.
10411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10412 file.
10413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10414 file.
10415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10416 file.
10417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10418 New file.
10419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10420 New file.
10421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10422 file.
10423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10424 New file.
10425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10426 file.
10427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10429 file.
10430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10431 New file.
10432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10433 file.
10434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10435 file.
10436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10437 file.
10438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10439 file.
10440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10441 file.
10442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10443 New file.
10444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10445 New file.
10446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10447 file.
10448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10449 New file.
10450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10451 file.
10452
41d73a1b
JM
104532012-04-28 Joseph Myers <joseph@codesourcery.com>
10454
10455 * conform/conformtest.pl: Fix typo in handling typed-constant from
10456 allow-header.
10457
28aeeda4
JM
104582012-04-27 Joseph Myers <joseph@codesourcery.com>
10459
adae8f5e
JM
10460 * README: Cut down references to pre-2.6 Linux kernels and
10461 Linuxthreads. Update lists of configurations in libc and ports
10462 and sort alphabetically. Say "or newer" with Linux kernel version
10463 requirements.
10464
28aeeda4
JM
10465 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10466
a462cb63
RA
104672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10468
10469 [BZ #887]
10470 * math/libm-test.inc (logb_test_downward): New test to expose
10471 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10472 rounding mode.
10473
6ad3493e
JM
104742012-04-27 Joseph Myers <joseph@codesourcery.com>
10475
10476 [BZ #14027]
10477 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10478 to be done.
10479 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10480 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10481
2ce4f015
JM
104822012-04-26 Joseph Myers <joseph@codesourcery.com>
10483
5aeb141a
JM
10484 * sysdeps/unix/i386/brk.S: Remove file.
10485 * sysdeps/unix/i386/dl-brk.S: Likewise.
10486 * sysdeps/unix/i386/pipe.S: Likewise.
10487 * sysdeps/unix/i386/sigreturn.S: Likewise.
10488 * sysdeps/unix/i386/syscall.S: Likewise.
10489 * sysdeps/unix/i386/vfork.S: Likewise.
10490 * sysdeps/unix/i386/wait.S: Likewise.
10491
7143acae
JM
10492 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10493 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10494
2ce4f015
JM
10495 * configure.in (arm*-none*): Do not allow without
10496 --enable-hacker-mode.
10497 (netbsd*): Remove case setting base_os.
10498 (386bsd*): Likewise.
10499 (freebsd*): Likewise.
10500 (bsdi*): Likewise.
10501 (osf*): Likewise.
10502 (sunos*): Likewise.
10503 (ultrix*): Likewise.
10504 (newsos*): Likewise.
10505 (dynix*): Likewise.
10506 (*bsd*): Likewise.
10507 (sysv*): Likewise.
10508 (isc*): Likewise.
10509 (esix*): Likewise.
10510 (sco*): Likewise.
10511 (minix*): Likewise.
10512 (irix4*): Likewise.
10513 (irix6*): Likewise.
10514 (solaris[2-9]*): Likewise.
10515 (none): Likewise.
10516 * configure: Regenerated.
10517
0ac229c8
AZ
105182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10519
10520 [BZ #11521]
10521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10522 overflow or cancellation in calculating denominator.
10523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10525 down expression to avoid unexpected rounding in newer GCCs.
10526 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10527
33f244f4
DM
105282012-04-26 David S. Miller <davem@davemloft.net>
10529
10530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10531 long-double compat symbols.
10532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10545
cfa1f3e8
DM
105462012-04-25 David S. Miller <davem@davemloft.net>
10547
10548 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10549 HWCAP_* values only after the memory barriers have been defined.
10550 (atomic_full_barrier): Define.
10551 (atomic_read_barrier): Define.
10552 (atomic_write_barrier): Define.
10553
6e236b92
SP
105542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10555
10556 * shlib-versions: Add libgcc_s version information.
10557 * sysdeps/generic/libgcc_s.h: Remove.
10558 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10559 libgcc_s.h.
10560 * sysdeps/gnu/unwind-resume.c: Likewise.
10561 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10562
aab39a09
DM
105632012-04-25 David S. Miller <davem@davemloft.net>
10564
10565 * sysdeps/unix/sparc/brk.S: Delete.
10566 * sysdeps/unix/sparc/dl-brk.S: Delete.
10567 * sysdeps/unix/sparc/pipe.S: Delete.
10568 * sysdeps/unix/sparc/sysdep.S: Delete.
10569 * sysdeps/unix/sparc/sysdep.h: Delete.
10570 * sysdeps/unix/sparc/vfork.S: Delete.
10571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10572 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10574 ret_ERRVAL, r0, r1, MOVE): Define.
10575 (JUMPTARGET): Remove.
10576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10577 sysdeps/unix/sparc/sysdep.h
10578 (ENTRY, END): Remove.
10579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10580
a3cc4f48
JM
105812012-04-25 Joseph Myers <joseph@codesourcery.com>
10582
2ed8cda2
JM
10583 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10584 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10585 -DIS_IN_build.
10586
35d76d59
JM
10587 * timezone/README: Update upstream location and email address for
10588 tzcode and tzdata.
10589 * timezone/zdump.c: Update from tzcode 2012b.
10590 * timezone/zic.c: Likewise.
10591
a3cc4f48
JM
10592 * configure.in (libc_cv_as_needed): Remove test.
10593 * configure: Regenerated.
10594 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10595 conditional definition.
10596 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10597 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10598 * config.make.in (have-as-needed): Remove variable.
10599
ceab42c3
SP
106002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10601 Paul Pluzhnikov <ppluzhnikov@google.com>
10602
10603 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10604 strings correctly.
10605
3ce2865f
CLT
106062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10607
10608 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10609 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10610 * sysdeps/sh/strlen.S: Likewise.
10611
f37e0d68
JM
106122012-04-24 Joseph Myers <joseph@codesourcery.com>
10613
ae186e9a
JM
10614 * sysdeps/unix/fork.S: Remove file.
10615 * sysdeps/unix/i386/fork.S: Likewise.
10616 * sysdeps/unix/sparc/fork.S: Likewise.
10617
b96914af
JM
10618 * sysdeps/unix/system.c: Remove file.
10619 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10620
f37e0d68
JM
10621 * sysdeps/unix/getegid.S: Remove file.
10622 * sysdeps/unix/geteuid.S: Likewise.
10623
87ef29ca
RM
106242012-04-24 Roland McGrath <roland@hack.frob.com>
10625
83bcd236
RM
10626 * scripts/check-localplt.awk: New file.
10627 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10628 of diff.
10629 * scripts/data/localplt-generic.data: Add a comment.
10630
87ef29ca
RM
10631 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10632 NODE when __dir_mkfile failed.
10633 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10634 Reported by Ludovic Courtès <ludo@gnu.org>.
10635
e5a6e567
AJ
106362012-04-24 Andreas Jaeger <aj@suse.de>
10637
10638 * Makerules (common-clean): Also remove gen-as-const-headers
10639 files.
10640
c1820385
JM
106412012-04-24 Joseph Myers <joseph@codesourcery.com>
10642
10643 * Makerules (native-compile): Do not change working directory for
10644 build. Use $(OUTPUT_OPTION) in command.
10645 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10646
94e02fc4
AZ
106472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10648
10649 [BZ #13886]
10650 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10651 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10652 * math/libm-test.inc (floor_test): Add more tests.
10653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10654
3a533ca3
JM
106552012-04-24 Joseph Myers <joseph@codesourcery.com>
10656
940ab4b3
JM
10657 * sysdeps/unix/getdents.c: Remove file.
10658 * sysdeps/unix/sysv/getdents.c: Likewise.
10659 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10660
90e037bd
JM
10661 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10662 sysdeps/unix/mman/syscalls.list.
10663 (mmap): Likewise.
10664 (mprotect): Likewise.
10665 (msync): Likewise.
10666 (munmap): Likewise.
10667 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10668 * sysdeps/unix/mman/syscalls.list: Remove.
10669 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10670
3a533ca3
JM
10671 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10672 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10673 * configure: Regenerated.
10674 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10675 $(libgcc_s_suffix).
10676 * config.make.in (libgcc_s_suffix): Remove variable.
10677
1ad743de
JM
106782012-04-23 Joseph Myers <joseph@codesourcery.com>
10679
4ad451e2
JM
10680 * sysdeps/unix/sysv/gethostname.c: Move to ...
10681 * sysdeps/posix/gethostname.c: ... here.
10682
5e37ce39
JM
10683 * sysdeps/unix/execve.S: Remove file.
10684
1ad743de
JM
10685 * sysdeps/unix/_exit.S: Remove file.
10686
4e681b5b
AJ
106872012-04-23 Andreas Jaeger <aj@suse.de>
10688
10689 [BZ #13739]
10690 * manual/Makefile: Remove make dist support, there's no
10691 need for a stand-alone documentation tar ball.
10692 (TEXI2DVI): Define always, it's not in Makeconfig.
10693 (dist): Removed.
10694 (tar-it): Removed.
10695 (edition): Removed.
10696 (glibc-doc-$(edition).tar): Removed
10697 (%.Z): Removed.
10698 (%.gz): Removed.
10699 (%.uu): Removed.
10700 (ETAGS): Remove, it's in Makeconfig.
10701 (move-if-change): Remove, it's in Makeconfig.
10702
c0baea34
PE
107032013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10704
10705 [BZ #13970]
10706 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10707 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10708 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10709 (strtod_l, strtof_l, strtold_l): Remove __wur.
10710 It is not necessarily an error to ignore strtol's return value.
10711 One can reliably look at the stored endptr to decide whether
10712 the number had valid syntax.
10713
7c0616fa
AJ
107142012-04-21 Andreas Jaeger <aj@suse.de>
10715
803cb6b7 10716 [BZ #13739]
7c0616fa
AJ
10717 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10718
b0fe253f
JM
107192012-04-21 Joseph Myers <joseph@codesourcery.com>
10720
10721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10722 * sysdeps/unix/sysv/Versions: Remove file.
10723
8280f22d
MT
107242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10725
10726 [BZ #13927]
10727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10728
75ce411f 107292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10730
10731 [BZ #7064]
10732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10733 version from __vm86.
10734
097d59fa
JM
107352012-04-20 Joseph Myers <joseph@codesourcery.com>
10736
a90f3bcb
JM
10737 * sysdeps/unix/common/lxstat.c: Remove file.
10738 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10739
edc7ea78
JM
10740 * sysdeps/unix/sysv/Makefile: Remove file.
10741
cb78c221
JM
10742 * sysdeps/unix/sysv/direct.h: Remove file.
10743
efa6a45f
JM
10744 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10745 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10746 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10747 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10748 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10749 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10750 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10751
9c9f2d0c
JM
10752 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10753
4541c83b
JM
10754 * sysdeps/unix/xmknod.c: Remove file.
10755 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10756
f5d153a0
JM
10757 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10758
aa746595
JM
10759 * sysdeps/unix/sysv/i386/time.S: Remove file.
10760
cce5905e
JM
10761 * sysdeps/unix/fxstat.c: Remove file.
10762 * sysdeps/unix/xstat.c: Likewise.
10763 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10764
37fa3841
JM
10765 * sysdeps/unix/sysv/sigaction.c: Remove file.
10766
ff1962a3
JM
10767 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10768 (sysdep_headers): Remove variable.
10769 [termio.h not in sysdep_headers] (generated): Likewise.
10770 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10771 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10772 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10773 * sysdeps/unix/sysv/tcflow.c: Likewise.
10774 * sysdeps/unix/sysv/tcflush.c: Likewise.
10775 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10776 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10777 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10778 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10779 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10780
e7740d31
JM
10781 * sysdeps/unix/siglist.c: Remove file.
10782
ee06f18b
JM
10783 * sysdeps/unix/getppid.S: Remove file.
10784
097d59fa
JM
10785 * sysdeps/unix/mkdir.c: Remove file.
10786 * sysdeps/unix/rmdir.c: Likewise.
10787
ff3d51ec
AS
107882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10789
10790 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10791 ERR_MAX value.
10792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10793 errlist-compat value.
10794
50f81fd7
DM
107952012-04-18 David S. Miller <davem@davemloft.net>
10796
10797 * sysdeps/generic/memcopy.h (reg_char): Delete.
10798 * debug/strcat_chk.c: Use char, not reg_char.
10799 * debug/strcpy_chk.c: Likewise.
10800 * debug/strncat_chk.c: Likewise.
10801 * debug/strncpy_chk.c: Likewise.
10802 * string/memchr.c: Likewise.
10803 * string/memrchr.c: Likewise.
10804 * string/rawmemchr.c: Likewise.
10805 * string/strcat.c: Likewise.
10806 * string/strchr.c: Likewise.
10807 * string/strchrnul.c: Likewise.
10808 * string/strcmp.c: Likewise.
10809 * string/strcpy.c: Likewise.
10810 * string/strncat.c: Likewise.
10811 * string/strncmp.c: Likewise.
10812 * string/strncpy.c: Likewise.
10813
8ff41c46
WS
108142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10815
10816 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10817 __builtin_memcopy is called when src and dest ranges are known to not
10818 overlap.
10819
6b652f46
WS
108202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10821
10822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10823 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10824 fwd_align_merge macro call.
10825 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10826 bwd_align_merge macro call.
10827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10828
b282631e
WS
108292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10830
10831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10832 bwd_align_merge macros.
10833 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10834 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10836
95aa737c
DM
108372012-04-18 David S. Miller <davem@davemloft.net>
10838
10839 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10840
7a99a614
AJ
108412012-04-18 Andreas Jaeger <aj@suse.de>
10842
10843 [BZ# 6794]
10844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10845 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10847
10848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10849 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10851
10852 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10854 Adjust for changed ldbl-128 files.
10855
10856 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10857 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10859
e5270c23
DM
108602012-04-17 David S. Miller <davem@davemloft.net>
10861
10862 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10863
fb5e92c9
AS
108642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10867 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10868 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10869 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10871 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10872
76da7265
AZ
108732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10874
10875 [BZ #6794]
10876 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10877 * math/libm-test.inc: Add ilogb errno and exception tests.
10878 * math/w_ilogb.c: New file: ilogb wrapper.
10879 * math/w_ilogbf.c: New file: ilogbf wrapper.
10880 * math/w_ilogbl.c: New file: ilogbl wrapper.
10881 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10882 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10883 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10884 exception being thrown with 0.0 as argument.
10885 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10886 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10887 exception being thrown with 0.0 as argument.
10888 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10889 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10890 exception being thrown with 0.0 as argument.
10891 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10892 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10893 exception being thrown with 0.0 as argument.
10894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10895 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10897 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10898 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10899 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10900 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10901 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10902 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10903
0396e69d
PB
109042012-04-17 Petr Baudis <pasky@ucw.cz>
10905
10906 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10907 with altivec.
10908
750b5926
MP
109092012-04-16 Marek Polacek <polacek@redhat.com>
10910
10911 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10912
751728a1
MP
109132012-04-16 Marek Polacek <polacek@redhat.com>
10914
10915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10916 operands of fdivp instruction.
10917
34a27407
L
109182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10921 * elf/tst-auditmod3b.c: Likewise.
10922 * elf/tst-auditmod4b.c: Likewise.
10923 * elf/tst-auditmod5b.c: Likewise.
10924 * elf/tst-auditmod6b.c: Likewise.
10925 * elf/tst-auditmod6c.c: Likewise.
10926 * elf/tst-auditmod7b.c: Likewise.
10927 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10928 * sysdeps/x86_64/preconfigure.in: Likewise.
10929 * sysdeps/x86_64/preconfigure: Regenerated.
10930
7e73e17d
L
109312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10934 __ILP32__.
10935
c7a6ab72
AB
109362012-04-13 Antoine Balestrat <merkil33@gmail.com>
10937
10938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10939 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10940
a9e8e0e0
CL
109412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10942
10943 [BZ #13973]
10944 * locale/iso-639.def: Fix gl language name. Spotted by
10945 Yaron Shahrabani.
10946
ec98af7d
RM
109472012-04-12 Roland McGrath <roland@hack.frob.com>
10948
10949 [BZ #2074]
10950 * libio/libio.h (__io_write_fn): Update comment.
10951
247c3ede
PB
109522012-04-12 Petr Baudis <pasky@ucw.cz>
10953
10954 [BZ #2074]
10955 * stdio.texi (Hook Functions): The user provided writer function
10956 is not allowed to return -1.
10957
55939d6d
DM
109582012-04-11 David S. Miller <davem@davemloft.net>
10959
10960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10961
90020f5a
MF
109622012-04-11 Mike Frysinger <vapier@gentoo.org>
10963
10964 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10965 Add a leading slash to rtkaio.
10966
288f9098
JM
109672012-04-11 Jim Meyering <meyering@redhat.com>
10968
90020f5a
MF
10969 [BZ #11959]
10970 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10971 It is not necessarily an error to ignore fwrite's return
10972 value. One can reliably use ferror to test for errors after
10973 the fact.
288f9098 10974
4be2b570
L
109752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 * bits/types.h (__snseconds_t): New type.
10978 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10979
10980 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10982 (__SNSECONDS_T_TYPE): Likewise.
10983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10984 (__SNSECONDS_T_TYPE): Likewise.
10985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10986 (__SNSECONDS_T_TYPE): Likewise.
10987
288f9098 109882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10989
10990 [BZ #2636]
10991 * manual/time.texi (Processor Time): Return type of times is
10992 elapsed real time since an arbitrary point in the past.
10993 (CPU Time): Move CLK_TCK from here...
10994 (Processor Time): ...to here. Correct description.
10995 * manual/conf.texi (Constants for Sysconf): Correct description of
10996 _SC_CLK_TCK.
10997
d7dd4413
DM
109982012-04-10 David S. Miller <davem@davemloft.net>
10999
11000 [BZ #13967]
11001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11002 where the is a gap between DT_REL(A) and DT_JMPREL.
11003
b46068fc
L
110042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11009
73d65cc3
SP
110102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11011
11012 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11013 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11014 (dl_main): Handle --inhibit-cache.
11015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11016 _dl_inhibit_cache.
11017 * elf/dl-load.c (_dl_map_object): Use it.
11018 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11019
bcc8d661
JM
110202012-04-09 Joseph Myers <joseph@codesourcery.com>
11021
8f9a2fae
JM
11022 [BZ #13872]
11023 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11024 (__ieee754_powl): Saturate large exponents rather than testing for
11025 overflow of y*log2(x).
11026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11027 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11028 exceptions.
11029
bcc8d661
JM
11030 [BZ #11521]
11031 * math/s_ctan.c: Include <float.h>.
11032 (__ctan): Avoid internal overflow or cancellation in calculating
11033 denominator.
11034 * math/s_ctanf.c: Likewise.
11035 * math/s_ctanl.c: Likewise.
11036 * math/s_ctanh.c: Likewise.
11037 * math/s_ctanhf.c: Likewise.
11038 * math/s_ctanhl.c: Likewise.
11039 * math/libm-test.inc (ctan_test): Add more tests.
11040 (ctanh_test): Likewise.
11041 * sysdeps/i386/fpu/libm-test-ulps: Update.
11042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11043
823fbbb4
AJ
110442012-04-09 Andreas Jaeger <aj@suse.de>
11045
03879793
AJ
11046 [BZ #6894]
11047 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11048 is an optional BSD extension.
11049
823fbbb4
AJ
11050 [BZ #10254]
11051 * manual/stdio.texi (Opening Streams): Document additional fopen
11052 parameters.
11053
8de131cb
RM
110542012-04-09 Roland McGrath <roland@hack.frob.com>
11055
11056 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11057 %eax without telling the compiler.
11058
c0ed9d7d
CD
110592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11060
11061 [BZ # 13963]
11062 * manual/install.texi: Use sourceware.org.
11063
c483f6b4
JM
110642012-04-09 Joseph Myers <joseph@codesourcery.com>
11065
d7dd9453
JM
11066 [BZ #13873]
11067 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11068 (__ieee754_pow): Generate overflow and underflow using huge*huge
11069 and tiny*tiny rather than just returning constant infinity or zero
11070 for large exponents.
11071 * math/libm-test.inc (pow_test): Require overflow exceptions for
11072 applicable cases of large exponents.
11073
c483f6b4
JM
11074 [BZ #706]
11075 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11076 (__ieee754_pow): Use iterative multiplication algorithm only for
11077 integer exponents with absolute value below 1024. Check for odd
11078 integer exponents when using algorithm for real exponents.
11079 * math/libm-test.inc (pow_test): Add more tests.
11080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11081
d2de7579
JM
110822012-04-08 Joseph Myers <joseph@codesourcery.com>
11083
11084 [BZ #13705]
11085 * math/libm-test.inc (exp_test): Do not allow overflow exception
11086 on underflow test.
11087
f77f1232
AJ
110882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11089
11090 [BZ #13705]
11091 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11092 instead of __kernel_standard_f.
11093
3884932b
MF
110942012-04-08 Mike Frysinger <vapier@gentoo.org>
11095
11096 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11097 * sysdeps/x86_64/memset_chk.S: Likewise.
11098
54472e9c
AJ
110992012-04-08 Andreas Jaeger <aj@suse.de>
11100
6ab0fbfc
AJ
11101 [BZ #10153]
11102 * manual/startup.texi (Environment Access): Describe return value
11103 for putenv and setenv.
11104
61efba8c
AJ
11105 [BZ #6895]
11106 * manual/filesys.texi (Directory Entries): Add description for
11107 DT_LNK.
11108
95c3f29a
AJ
11109 [BZ #6890]
11110 * manual/filesys.texi (Directory Entries): Clarify that it's file
11111 system not operating system in the description of DT_UNKNOWN.
11112
54472e9c
AJ
11113 [BZ #6578]
11114 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11115
624254b1
SC
111162012-04-08 Stephen Compall <s11@member.fsf.org>
11117
11118 [BZ #6649]
11119 * manual/llio.texi (Opening and Closing Files): Add cross
11120 reference to explain mode argument.
11121
1e4920e0
MF
111222012-04-07 Mike Frysinger <vapier@gentoo.org>
11123
11124 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11125 * sysdeps/x86_64/memset_chk.S: Likewise.
11126
5ed848f3
DM
111272012-04-07 David S. Miller <davem@davemloft.net>
11128
11129 * elf/elf.h (R_SPARC_WDISP10): Define.
11130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11131 R_SPARC_SIZE32.
11132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11133 R_SPARC_SIZE64 and R_SPARC_H34.
11134
96154cd8
CD
111352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11136
11137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11138 conditions and remove no longer applicable assertion.
11139
9904dc47
L
111402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11141
11142 * bits/byteswap.h: Include <features.h>.
11143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11145
f8887d0a
L
111462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11147
11148 * bits/byteswap.h (__bswap_16): Removed.
11149 Include <bits/byteswap-16.h> to get __bswap_16.
11150 * sysdeps/i386/bits/byteswap.h: Likewise.
11151 * sysdeps/s390/bits/byteswap.h: Likewise.
11152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11153 * bits/byteswap-16.h: New file.
11154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11156 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11157 * string/Makefile (headers): Add bits/byteswap-16.h.
11158
62470f60
PP
111592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11160
11161 [BZ #13895]
11162 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11163 extra indirection.
11164 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11165 * nss/tst-nss-static.c: New.
11166
4dad7bab
RM
111672012-04-06 Robert Millan <rmh@gnu.org>
11168
11169 [BZ #6486]
11170 * manual/llio.texi (File Position Primitive): lseek
11171 refers to WHENCE when it really means OFFSET.
11172
e9142a17
AJ
111732012-04-06 Andreas Jaeger <aj@suse.de>
11174
2c040eff
AJ
11175 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11176 strncmp declarations.
11177
e9142a17
AJ
11178 * abilist/libc.abilist: Add __poll and __ppoll.
11179
ff9f1c5f
DM
111802012-04-05 David S. Miller <davem@davemloft.net>
11181
dcd2ae90
DM
11182 * scripts/check-local-headers.sh: Accept a host triplet in the
11183 path matched by the exclude regexp.
11184
993eb054
DM
11185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11186 definition.
11187 * sysdeps/powerpc/powerpc32/dl-machine.h
11188 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11189 * sysdeps/s390/s390-32/dl-machine.h
11190 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11191 * sysdeps/sparc/sparc32/dl-machine.h
11192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11193 * sysdeps/sparc/sparc64/dl-machine.h
11194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11195
ff9f1c5f
DM
11196 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11197 lazy binding.
48e2e132 11198 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11199 undefined symbol errors.
11200
48e2e132 11201 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11202 DT_NEEDED entries.
11203
e80d6f94
MM
112042012-04-05 Michael Matz <matz@suse.de>
11205
11206 [BZ #13592]
11207 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11208
349fa79f
AJ
112092012-04-05 Andreas Jaeger <aj@suse.de>
11210
11211 [BZ #13908]
11212 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11213 comment.
11214
f402708f
KK
112152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11216
11217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11218 which ROUND is no valid rounding mode.
11219
2ecccfc9
KK
112202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11221
11222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11223 read again.
11224 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11225
8a53f50f
KK
112262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11227
11228 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11229 an exception using FPU order intentionally.
11230
112312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11232
11233 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11234 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11235 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11236 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11237
d653abb7
SJ
112382012-04-05 Simon Josefsson <simon@josefsson.org>
11239
11240 [BZ #12340]
11241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11242 EINVAL when BUFLEN is too smal.
11243
c3b1bf7d
TS
112442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11245
11246 [BZ #13553]
11247 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11248 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11249
b1aa60f3
AJ
112502012-04-03 Andreas Jaeger <aj@suse.de>
11251
c3b1bf7d 11252 [BZ #13938]
67f60a26
AJ
11253 * manual/setjmp.texi (System V contexts): Fix sentence.
11254
b1aa60f3
AJ
11255 [BZ #13926]
11256 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11257 New macro for this case.
11258 [!__GNUC__] (__bswap_64): New inline function for this case.
11259 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11260 * bits/byteswap.h: Likewise.
11261 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11262 ull, guard with __GLIBC_HAVE_LONG_LONG.
11263
11264 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11265 __GLIBC_HAVE_LONG_LONG.
11266
11267 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11268 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11269
39c59c35
TMQMF
112702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11271
11272 [BZ #13691]
11273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11274 inptr and inend, rather than using last_ch.
11275
135ffda8
DM
112762012-04-02 David S. Miller <davem@davemloft.net>
11277
11278 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11279 * stdio-common/printf-parse.h (read_int): Change return type to
11280 'int', return -1 on INT_MAX overflow.
11281 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11282 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11283 overflows INT_MAX. Check for overflow of in-format-string precision
11284 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11285 SIZE_MAX not INT_MAX for integer overflow test.
11286 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11287 skip the construct in the format string but do not record anything.
11288 * stdio-common/bug22.c: Adjust to test both width/prevision
11289 INT_MAX overflow as well as total length INT_MAX overflow. Check
11290 explicitly for proper errno values.
11291
228c019e
TS
112922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11293
302cadd3
TS
11294 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11295 CHAR_MAX.
11296 * string/test-strcmp.c [! WIDE]: Likewise.
11297 * time/tst-mktime2.c: Likewise for INT_MAX.
11298 * string/test-string.h: #include <sys/param.h> for MIN.
11299
228c019e
TS
11300 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11301 * sysdeps/i386/init-first.c (init): Likewise.
11302 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11303 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11304 * sysdeps/sh/init-first.c (init): Likewise.
11305
cfa633f5
UD
113062012-04-01 Ulrich Drepper <drepper@gmail.com>
11307
11308 * po/ru.po: Update from translation team.
d1635ef8 11309 * po/vi.po: Likewise.
cfa633f5 11310
6cd0a5ea
SP
113112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11312
11313 * resolv/nss_dns/dns-host.c: Merge copyright years.
11314
4b43400f
LD
113152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11316
11317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11318 Optimize memcpy with prefetch if
11319 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11320 src, dst pointers have unequal 16 byte alignments.
11321
48c41d04
SP
113222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11323
11324 [BZ #13928]
11325 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11326 from a CNAME entry and return the minimum ttl for the query.
11327 (gaih_getanswer_slice): Likewise.
11328
b8dc394d
JL
113292012-03-30 Jeff Law <law@redhat.com>
11330
11331 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11332 due to long keys.
11333 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11334 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11335
2f5a5ed0
JL
11336 * resolv/nss_dns/dns-host.c: Update copyright year.
11337
1d39e359
UD
113382012-03-30 Ulrich Drepper <drepper@gmail.com>
11339
c030f70c 11340 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11341 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11342
1d39e359
UD
11343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11344 comments for sendmmsg.
11345
113462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11347
11348 [BZ #13691]
11349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11350 with only 1 character between 0x0041 and 0x01b0.
11351 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11352 * wcsmbs/tst-mbsnrtowcs.c: New file.
11353
20fde227
DM
113542012-03-29 David S. Miller <davem@davemloft.net>
11355
11356 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11357 small copies by hand.
11358
984a4237
JL
113592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11360
11361 [BZ #13761]
11362 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11363 _nss_compat_initgroups_dyn): Fall back to malloc/free
11364 for large group memberships.
11365
18c9d62b
DM
113662012-03-28 David S. Miller <davem@davemloft.net>
11367
88d85d4f
DM
11368 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11369 that branches into memcpy.
11370 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11375 bits.
11376 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11377 implementation too.
11378 * sysdeps/sparc/mempcpy.S: New file.
11379
e5aa83e1
DM
11380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11381 the IFUNC routine in the libc case.
11382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11383
88570753
DM
11384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11385 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11386 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11387 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11388 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11389 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11390 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11391 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11392
249d7567
DM
11393 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11394 loop to 256 bytes instead of 64 bytes and fix test signedness.
11395
18c9d62b
DM
11396 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11397 * sysdeps/sparc/sparc32/Makefile: rather than here...
11398 * sysdeps/sparc/sparc64/Makefile: and here.
11399
05f3d1f6
UD
114002012-03-28 Ulrich Drepper <drepper@gmail.com>
11401
11402 * malloc/mallocbug.c: Avoid warnings about unused variables.
11403
86ae07a8
JL
114042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11405
11406 [BZ #13760]
11407 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11408 in the right place. Discard and retry query if response is
11409 larger than input buffer size.
11410
41bf21a1
JM
114112012-03-28 Joseph Myers <joseph@codesourcery.com>
11412
d6270972
JM
11413 [BZ #369]
11414 [BZ #2678]
11415 [BZ #3866]
11416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11417 x for large integer exponent.
11418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11420 sign of result as needed afterwards.
11421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11423 result for underflowing pow the same as for overflow.
11424 (__kernel_standard_l): Handle powl overflow and underflow here
11425 rather than calling __kernel_standard.
11426 * math/libm-test.inc (pow_test): Add more tests.
11427
414fca03 11428 [BZ #3868]
41bf21a1
JM
11429 [BZ #13879]
11430 [BZ #13910]
11431 [BZ #13911]
11432 [BZ #13912]
11433 [BZ #13913]
11434 [BZ #13915]
11435 [BZ #13916]
11436 [BZ #13917]
11437 [BZ #13918]
11438 [BZ #13919]
11439 [BZ #13920]
11440 [BZ #13921]
11441 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11442 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11443 (__kernel_standard_l): New function.
11444 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11445 __kernel_standard.
11446 * math/w_acosl.c (__acosl): Likewise.
11447 * math/w_asinl.c (__asinl): Likewise.
11448 * math/w_atan2l.c (__atan2l): Likewise.
11449 * math/w_atanhl.c (__atanhl): Likewise.
11450 * math/w_coshl.c (__coshl): Likewise.
11451 * math/w_exp10l.c (__exp10l): Likewise.
11452 * math/w_exp2l.c (__exp2l): Likewise.
11453 * math/w_fmodl.c (__fmodl): Likewise.
11454 * math/w_hypotl.c (__hypotl): Likewise.
11455 * math/w_j0l.c (__j0l, __y0l): Likewise.
11456 * math/w_j1l.c (__j1l, __y1l): Likewise.
11457 * math/w_jnl.c (__jnl, __ynl): Likewise.
11458 * math/w_lgammal.c (__lgammal): Likewise.
11459 * math/w_log10l.c (__log10l): Likewise.
11460 * math/w_log2l.c (__log2l): Likewise.
11461 * math/w_logl.c (__logl): Likewise.
11462 * math/w_powl.c (__powl): Likewise.
11463 * math/w_remainderl.c (__remainderl): Likewise.
11464 * math/w_scalbl.c (sysv_scalbl): Likewise.
11465 * math/w_sinhl.c (__sinhl): Likewise.
11466 * math/w_sqrtl.c (__sqrtl): Likewise.
11467 * math/w_tgammal.c (__tgammal): Likewise.
11468 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11469 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11470 * math/libm-test.inc (acos_test): Add more tests.
11471 (acosh_test): Likewise.
11472 (asin_test): Likewise.
11473 (atanh_test): Likewise.
11474 (exp_test): Likewise.
11475 (exp10_test): Likewise.
11476 (exp2_test): Likewise.
11477 (expm1_test): Likewise.
11478 (lgamma_test): Likewise.
11479 (log_test): Likewise.
11480 (log10_test): Likewise.
11481 (log1p_test): Likewise.
11482 (log2_test): Likewise.
11483 (pow_test): Do not allow some spurious overflow exceptions.
11484 (sqrt_test): Add more tests.
11485 (tgamma_test): Likewise.
11486 (y0_test): Likewise.
11487 (y1_test): Likewise.
11488 (yn_test): Likewise.
11489
dd62fda6
AB
114902012-03-27 Anton Blanchard <anton@samba.org>
11491
11492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11493 MAP_HUGETLB.
11494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11497
1e3cdfda
AJ
114982012-03-27 David S. Miller <davem@davemloft.net>
11499
b855ab85
DM
11500 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11501
1e3cdfda
AJ
11502 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11503 have-as-vis3 check.
11504
115052012-03-27 Andreas Jaeger <aj@suse.de>
11506
11507 * sysdeps/x86_64/elf/configure.in: Moved to ...
11508 * sysdeps/x86_64/configure.in: ... here.
11509 * sysdeps/x86_64/elf/start.S: Moved to ...
11510 * sysdeps/x86_64/start.S: ... here.
11511 * sysdeps/x86_64/elf/configure: Delete.
11512
11513 * sysdeps/x86_64/configure.in: Merge contents from
11514 sysdeps/i386/configure.in (without i686 check).
11515
11516 * sysdeps/i386/elf/Versions: Merge into ...
11517 * sysdeps/i386/Versions: ... this.
11518 * sysdeps/i386/elf/Versions: Delete file.
11519 * sysdeps/i386/elf/start.S: Moved to ...
11520 * sysdeps/i386/start.S: ...here.
11521 * sysdeps/i386/elf/configure.in: Merge into...
11522 * sysdeps/i386/configure.in: ...here.
11523 * sysdeps/i386/elf/configure.in: Delete file.
11524 * sysdeps/i386/elf/configure: Delete file.
11525
11526 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11527 * debug/backtracesyms.c: ... here.
11528 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11529 * debug/backtracesymsfd.c: ... here.
11530 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11531 * sysdeps/generic/ifunc-sel.h: ... here.
11532
11533 * sysdeps/unix/i386/start.c: Delete file.
11534 * sysdeps/unix/sparc/start.c: Delete file.
11535 * sysdeps/unix/start.c: Delete file.
11536
11537 * sysdeps/sh/elf/configure.in: Moved to ...
11538 * sysdeps/sh/configure.in: ... here.
11539 * sysdeps/sh/elf/start.S: Moved to ...
11540 * sysdeps/sh/start.S: ... here.
11541 * sysdeps/sh/elf/configure: Delete file.
11542
11543 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11544 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11545 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11546 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11547 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11548 * sysdeps/powerpc/powerpc64/start.S: here.
11549 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11550 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11551 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11552 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11553 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11554
11555 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11556 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11557 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11558 * sysdeps/powerpc/powerpc32/start.S: ... here.
11559 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11560 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11561 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11562
11563 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11564 * sysdeps/powerpc/ifunc-sel.h: ... here.
11565 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11566 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11567
11568 * sysdeps/sparc/elf/configure.in: Moved to ...
11569 * sysdeps/sparc/configure.in: ... here.
11570 * sysdeps/sparc/elf/configure: Delete file.
11571 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11572 * sysdeps/sparc/sparc32/start.S: ... here.
11573 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11574 * sysdeps/sparc/sparc64/start.S: ... here.
11575 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11576 * sysdeps/sparc/sparc32/Makefile: ... this.
11577 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11578 * sysdeps/sparc/sparc64/Makefile: ... this.
11579
11580 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11581 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11582 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11583 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11584 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11585 * sysdeps/s390/s390-32/setjmp.S: ... here.
11586 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11587 * sysdeps/s390/s390-32/configure.in: ... here.
11588 * sysdeps/s390/s390-32/elf/configure: Delete file.
11589 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11590 * sysdeps/s390/s390-32/start.S: ... here.
11591
11592 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11593 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11594 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11595 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11596 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11597 * sysdeps/s390/s390-64/setjmp.S: ... here.
11598 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11599 * sysdeps/s390/s390-64/configure.in: ... here
11600 * sysdeps/s390/s390-64/elf/configure: Delete file.
11601 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11602 * sysdeps/s390/s390-64/start.S: ... here.
11603 * sysdeps/s390/s390-64/elf/configure: Delete.
11604
11605 * configure.in: Remove support for elf directories in sysdeps.
11606
11607 * configure: Regenerated.
11608 * sysdeps/i386/configure: Regenerated.
11609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11611 * sysdeps/s390/s390-32/configure: Regenerated.
11612 * sysdeps/s390/s390-64/configure: Regenerated.
11613 * sysdeps/sh/configure: Regenerated.
11614 * sysdeps/sparc/configure: Regenerated.
11615 * sysdeps/x86_64/configure: Regenerated.
11616
a3f61311
AS
116172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11618
c876e002
AS
11619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11620
a3f61311
AS
11621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11622 denormal result into account.
11623
ac4c54f0
RM
116242012-03-25 Roland McGrath <roland@hack.frob.com>
11625
11626 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11627 Reported by Allan McRae <allan@archlinux.org>.
11628
6a9b9c02
JL
116292012-03-23 Jeff Law <law@redhat.com>
11630
11631 * nss/getnssent.c (__nss_getent): Fix typo.
11632
4c42a0c1
DM
116332012-03-23 David S. Miller <davem@davemloft.net>
11634
11635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11636
1532c7ac
L
116372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11640 to pad to uint64_t for each field.
11641 (dl_tls_index): Replace unsigned long with uint64_t.
11642
3ff42526
PP
116432012-03-23 Daniel Jacobowitz <dmj@google.com>
11644 Paul Pluzhnikov <ppluzhnikov@google.com>
11645
11646 [BZ #6528]
11647 * grp/Makefile (otherlibs): Don't set it.
11648 * inet/Makefile (otherlibs): Likewise.
11649 * login/Makefile (otherlibs): Likewise.
11650 * nscd/Makefile (otherlibs): Likewise.
11651 * posix/Makefile (otherlibs): Likewise.
11652 * pwd/Makefile (otherlibs): Likewise.
11653 * rt/Makefile (otherlibs): Likewise.
11654 * sunrpc/Makefile (otherlibs): Likewise.
11655 * nss/Makefile (otherlibs): Likewise.
11656 Add libnss_files to routines and static-only-routines.
11657 ($(objpfx)getent): Remove rule.
11658 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11659 static-only-routines.
11660
7c69cd14
JM
116612012-03-22 Joseph Myers <joseph@codesourcery.com>
11662
11663 [BZ #13892]
11664 * math/s_cexp.c: Include <float.h>.
11665 (__cexp): Handle exp result overflowing not necessarily
11666 overflowing both real and imaginary parts of result.
11667 * math/s_cexpf.c: Likewise.
11668 * math/s_cexpl.c: Likewise.
11669 * math/libm-test.inc (cexp_test): Add more tests.
11670 * sysdeps/i386/fpu/libm-test-ulps: Update.
11671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11672
81b035fe
L
116732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11674
11675 * include/link.h (ELFW): New macro.
11676 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11677 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11678
1da7940c
L
116792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11682 with uint64_t.
11683
b749dbb9
L
116842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11687 declaration.
11688 (struct La_x32_retval): Likewise.
11689
2ff87f3f
L
116902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11691
11692 * sysdeps/x86_64/preconfigure.in: New file.
11693 * sysdeps/x86_64/preconfigure: New generated file.
11694
c0df8e69
JM
116952012-03-22 Joseph Myers <joseph@codesourcery.com>
11696
48e44791
JM
11697 [BZ #13824]
11698 * math/e_exp2l.c: Include <float.h>.
11699 (__ieee754_exp2l): Handle overflow and underflow cases
11700 separately. Only pass fractional part of argument to
11701 __ieee754_expl.
11702 * math/libm-test.inc (exp2_test): Add more tests.
11703
c0df8e69
JM
11704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11705 negating x to take absolute value.
11706 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11707 Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11710 Likewise.
11711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11712 computing low part if x was negated.
11713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11714
c8e43ba7
L
117152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11716
11717 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11718 la_x32_gnu_pltexit.
11719 (pltexit): Cast int_retval to ptrdiff_t.
11720 * elf/tst-auditmod3b.c: Likewise.
11721 * elf/tst-auditmod4b.c: Likewise.
11722 * elf/tst-auditmod5b.c: Likewise.
11723 * elf/tst-auditmod6b.c: Likewise.
11724 * elf/tst-auditmod6c.c: Likewise.
11725 * elf/tst-auditmod7b.c: Likewise.
11726
11727 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11728 and x32_gnu_pltexit.
11729
11730 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11731 __ELF_NATIVE_CLASS.
11732 (La_x32_regs): New macro.
11733 (La_x32_retval): Likewise.
11734 (la_x32_gnu_pltenter): New function prototype.
11735 (la_x32_gnu_pltexit): Likewise.
11736
7998fa78
AS
117372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11738
dcb33988
AS
11739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11740 exponent.
11741
233fc563
AS
11742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11743
7998fa78
AS
11744 * configure.in (libc_cv_cc_nofma): Check for option to disable
11745 generation of FMA instructions.
11746 * configure: Regenerate.
11747 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11748 * sysdeps/ieee754/dbl-64/Makefile: New file.
11749 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11750 Remove brandred-fma4.
11751 (CFLAGS-brandred-fma4.c): Remove.
11752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11754 define.
11755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11756 define.
11757
8e95c99a
L
117582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11761 LLONG_MAX != LONG_MAX.
11762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11763 (_fitoa_word): Likewise.
11764 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11765 LLONG_MAX != LONG_MAX.
11766 * stdio-common/_itowa.h: Include <_itoa.h>.
11767 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11768 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11769 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11770 only if not defined.
11771 (_ITOA_WORD_TYPE): Likewise.
11772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11773 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11774
6f4db457
DM
117752012-03-21 David S. Miller <davem@davemloft.net>
11776
11777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11778
7785fe5a
L
117792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11780
11781 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11782 of x86_64 when setting libc_cv_slibdir, libdir and
11783 libc_cv_localedir.
11784 * sysdeps/unix/sysv/linux/configure: Regenerated.
11785
4535cd55
JM
117862012-03-21 Joseph Myers <joseph@codesourcery.com>
11787
11788 * manual/lang.texi (Old Varargs): Remove section.
11789 (How Variadic): Update menu.
11790 (va_start): Do not mention varargs.h.
11791
17228132
TS
117922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11793 Joseph Myers <joseph@codesourcery.com>
11794
11795 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11796 link test.
11797 * configure: Regenerated.
11798
8149f976
TS
117992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11800
05f3d1f6
UD
11801 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11802 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11803 conformtest.pl
8149f976 11804
1a4ac776
JM
118052012-03-21 Joseph Myers <joseph@codesourcery.com>
11806
be22ce65
JM
11807 * NOTES: Remove.
11808 * Makefile (files-for-dist): Remove NOTES.
11809 (NOTES): Remove rule.
11810 * README: Don't refer to NOTES.
11811 * manual/creature.texi: Don't include macros.texi.
11812 * manual/intro.texi (creature.texi): Remove comment referring to
11813 NOTES.
11814
40b601fb
JM
11815 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11816 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11817 * configure: Regenerated.
11818 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11819 LIBC_TRY_CC_OPTION.
11820 (libc_cv_as_i686): Likewise.
11821 (libc_cv_cc_avx): Likewise.
11822 (libc_cv_cc_sse2avx): Likewise.
11823 (libc_cv_cc_fma4): Likewise.
11824 (libc_cv_cc_novzeroupper): Likewise.
11825 * sysdeps/i386/configure: Regenerated.
11826
1a4ac776
JM
11827 [BZ #13883]
11828 * sysdeps/i386/fpu/s_cexp.S: Remove.
11829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11831 * math/libm-test.inc (cexp_test): Add more tests.
11832 * sysdeps/i386/fpu/libm-test-ulps: Update.
11833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11834
a458e7fe
AM
118352012-03-21 Allan McRae <allan@archlinux.org>
11836
11837 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11838
0cb7efc5
JM
118392012-03-21 Joseph Myers <joseph@codesourcery.com>
11840
11841 [BZ #13871]
11842 * math/w_exp2.c: Do not include <float.h>.
11843 (o_threshold, u_threshold): Remove.
11844 (__exp2): Calculate result before checking finiteness and calling
11845 __kernel_standard.
11846 * math/w_exp2f.c: Likewise.
11847 * math/w_exp2l.c: Likewise.
11848 * math/libm-test.inc (exp2_test): Require overflow exception for
11849 1e6 input.
2460d3aa
JM
11850
11851 [BZ #3866]
11852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11853 range of signed 64-bit integers before using fistpll. Remove
11854 checks for whether integers fit in mantissa bits.
11855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11856 the range of signed 32-bit integers before using fistpl. Remove
11857 checks for whether integers fit in mantissa bits.
11858 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11859 (__ieee754_powl): Test for y outside the range of signed 64-bit
11860 integers before using fistpll. Reduce 64-bit values to 63-bit
11861 ones as needed.
11862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11863 divide-by-zero is raised for zero to large negative powers.
11864 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11865 (__ieee754_powl): Test for y outside the range of signed 64-bit
11866 integers before using fistpll. Reduce 64-bit values to 63-bit
11867 ones as needed.
11868 * math/libm-test.inc (pow_test): Add more tests.
11869
eb96ffb0
L
118702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11871
11872 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11873 <stdio-common/_itoa.h>.
11874 * debug/segfault.c: Likewise.
11875 * elf/dl-cache.c: Likewise.
11876 * elf/dl-minimal.c: Likewise.
11877 * elf/dl-misc.c: Likewise.
11878 * elf/dl-sysdep.c: Likewise.
11879 * elf/dl-version.c: Likewise.
11880 * elf/rtld.c: Likewise.
11881 * hurd/hurdsock.c: Likewise.
11882 * hurd/lookup-retry.c: Likewise.
11883 * malloc/malloc.c: Likewise.
11884 * malloc/mtrace.c: Likewise.
11885 * nscd/nscd_getgr_r.c: Likewise.
11886 * nscd/nscd_getpw_r.c: Likewise.
11887 * nscd/nscd_getserv_r.c: Likewise.
11888 * posix/getopt_init.c: Likewise.
11889 * posix/wordexp.c: Likewise.
11890 * stdio-common/_itoa.c: Likewise.
11891 * stdio-common/printf_fphex.c: Likewise.
11892 * stdio-common/vfprintf.c: Likewise.
11893 * string/_strerror.c: Likewise.
11894 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11895 * sysdeps/i386/i686/hp-timing.h: Likewise.
11896 * sysdeps/mach/_strerror.c: Likewise.
11897 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11898 * sysdeps/mach/hurd/sethostid.c: Likewise.
11899 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11900 * sysdeps/mach/xpg-strerror.c: Likewise.
11901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11903 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11904 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11906 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11908 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11909 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11910 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11911 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11914 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11922
11923 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11924
11925 * stdio-common/_itoa.h: Moved to ...
11926 * sysdeps/generic/_itoa.h: Here.
11927
11928 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11929
11930 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11931 instead of "_itoa.h" and "_itowa.h".
11932 * stdio-common/vfprintf.: Likewise.
11933
d1af992d
L
119342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11935
11936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11937 <bits/wordsize.h>.
11938 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11939 (__signbit): Likwise.
11940 (llrintf): Likwise.
11941 (llrint): Likwise.
11942
114883e0
L
119432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11946 __WORDSIZE != 64.
11947
c135cc1b
JM
119482012-03-20 Joseph Myers <joseph@codesourcery.com>
11949
11950 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11951 OVERFLOW_EXCEPTION_OK.
11952 * math/libm-test.inc ("Philosophy"): Update comment about
11953 exception testing.
11954 (OVERFLOW_EXCEPTION): Define.
11955 (OVERFLOW_EXCEPTION_OK): Likewise.
11956 (INVALID_EXCEPTION_OK): Renumber.
11957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11958 (IGNORE_ZERO_INF_SIGN): Likewise.
11959 (test_exceptions): Handle FE_OVERFLOW.
11960 (exp10_test): Expect overflow exceptions.
11961 (exp2_test): Likewise.
11962 (expm1_test): Likewise.
11963 (nextafter_test): Likewise.
11964 (pow_test): Likewise.
11965 (scalbn_test): Likewise.
11966 (scalbln_test): Likewise.
11967
95443d88
L
119682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 * sysdeps/x86_64/bits/atomic.h
11971 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11972 64bit integer.
11973 (atomic_exchange_acq): Likewise.
11974 (__arch_exchange_and_add_body): Likewise.
11975 (__arch_add_body): Likewise.
11976 (atomic_add_negative): Likewise.
11977 (atomic_add_zero): Likewise.
11978
490df6c4
L
119792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11980
c2722551 11981 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11982 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11983
5e52b189
L
119842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11987 Check __x86_64__ instead of __WORDSIZE.
11988
a9879d4c
L
119892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11992
5df98260
DM
119932012-03-19 David S. Miller <davem@davemloft.net>
11994
e1497744
DM
11995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11996
5df98260
DM
11997 * sysdeps/sparc/fpu/fenv_private.h: New file.
11998 * sysdeps/sparc/fpu/math_private.h: Use it.
11999 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12000 Remove.
12001 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12002 (libc_feholdexcept_setroundl): Remove.
12003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12004 Remove.
12005 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12006 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12007
b4c35121
L
120082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12011 int64_t instead of long int.
12012 (INSERT_WORDS64): Likwise.
12013
56965fd7
L
120142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12015
12016 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12017 _Unwind_GetCFA return to _Unwind_Ptr first.
12018
83d1aec8
JM
120192012-03-19 Joseph Myers <joseph@codesourcery.com>
12020
1897ad44
JM
12021 [BZ #13629]
12022 * math/s_clog.c: Include <float.h>.
12023 (__clog): Scale large or subnormal inputs.
12024 * math/s_clogf.c: Likewise.
12025 * math/s_clogl.c: Likewise.
12026 * math/s_clog10.c: Include <float.h>.
12027 (M_LOG10_2): Define.
12028 (__clog10): Scale large or subnormal inputs.
12029 * math/s_clog10f.c: Likewise.
12030 * math/s_clog10l.c: Likewise.
12031 * math/libm-test.inc (clog_test): Add more tests.
12032 (clog10_test): Likewise.
12033 * sysdeps/i386/fpu/libm-test-ulps: Update.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035
7726d6a9
JM
12036 [BZ #11451]
12037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12038 x and y.
12039 * math/libm-test.inc (atan2_test): Add another test.
12040
83d1aec8
JM
12041 * Makerules (common-objdir-compile): Remove.
12042 * sysdeps/unix/Makefile (config-generated): Do not add
12043 $(unix-generated) to variable.
12044 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12045 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12046 Remove rule.
12047 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12048 Likewise.
12049 [generic bits/local_lim.h] (before-compile): Do not append to
12050 variable.
12051 [generic bits/local_lim.h] (common-generated): Likewise.
12052 [generic sys/param.h] (before-compile): Do not append to variable.
12053 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12054 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12056 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12057 include.
12058 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12059 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12060 [generic sys/param.h] ($(addprefix
12061 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12062 [generic sys/param.h] (common-generated): Do not append to
12063 variable.
12064 [generic sys/param.h] (sysdep_headers): Likewise.
12065 [generic bits/errno.h] (before-compile): Do not append to
12066 variable.
12067 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12068 rule.
12069 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12070 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12071 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12072 [generic bits/errno.h] (common-generated): Do not append to
12073 variable.
12074 [generic bits/ioctls.h] (before-compile): Do not append to
12075 variable.
12076 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12077 rule.
12078 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12079 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12080 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12081 rule.
12082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12083 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12084 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12085 [generic bits/ioctls.h] (common-generated): Do not append to
12086 variable.
12087 [generic sys/syscall.h] (syscall.h): Remove variable.
12088 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12089 rule.
12090 [generic sys/syscall.h] (before-compile): Do not append to
12091 variable.
12092 [generic sys/syscall.h] (common-generated): Likewise.
12093 * sysdeps/unix/errnos-tmpl.c: Remove file.
12094 * sysdeps/unix/errnos.awk: Likewise.
12095 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12096 * sysdeps/unix/ioctls.awk: Likewise.
12097 * sysdeps/unix/mk-local_lim.c: Likewise.
12098 * sysdeps/unix/snarf-ioctls: Likewise.
12099
4851a949
RH
121002012-03-19 Richard Henderson <rth@twiddle.net>
12101
bd37f2ee
RH
12102 * sysdeps/i386/fpu/fenv_private.h: New file.
12103 * sysdeps/i386/fpu/math_private.h: Use it.
12104 (math_opt_barrier, math_force_eval): Remove.
12105 (libc_feholdexcept_setround_53bit): Remove.
12106 (libc_feupdateenv_53bit): Remove.
12107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12108 (math_opt_barrier, math_force_eval): Remove.
12109 (libc_feholdexcept): Remove.
12110 (libc_feholdexcept_setround): Remove.
12111 (libc_fetestexcept, libc_fesetenv): Remove.
12112 (libc_feupdateenv_test): Remove.
12113 (libc_feupdateenv, libc_feholdsetround): Remove.
12114 (libc_feresetround): Remove.
12115
d0adc922
RH
12116 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12118
0fe0f1f8
RH
12119 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12120 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12121 (libc_feupdateenv_testl): New.
12122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12123 (libc_feupdateenv_testf): New.
12124 (libc_feupdateenv): Use libc_feupdateenv_test.
12125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12127
eb92c487
RH
12128 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12129 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12130 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12131 (libc_feresetround_noex): New.
12132 (libc_feresetround_noexf): New.
12133 (libc_feresetround_noexl): New.
12134 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12135 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12136 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12138 SET_RESTORE_ROUND.
12139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12141 (__cos): Likewise.
12142 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12144 SET_RESTORE_ROUND_NOEX.
12145 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12146 SET_RESTORE_ROUND_NOEXF.
12147 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12148 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12149 (libc_feholdsetroundf): New.
12150 (libc_feresetround, libc_feresetroundf): New.
12151
7d2e8012
RH
12152 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12153 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12154 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12155
b4dabbb4
RH
12156 * sysdeps/generic/math_private.h: Include <fenv.h>.
12157 (default_libc_feholdexcept): New.
12158 (default_libc_feholdexcept_setround): New.
12159 (default_libc_fesetenv, default_libc_feupdateenv): New.
12160 (libc_feholdexcept): Only define if undefined.
12161 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12163 (libc_feholdexcept_setroundl): Likewise.
12164 (libc_feholdexcept_setround_53bit): Likewise.
12165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12168 (libc_feupdateenv_53bit): Likewise.
12169 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12170 (libc_feholdexcept): Convert from macro to inline function.
12171 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12172 (libc_fesetenv, libc_feupdateenv): Likewise.
12173
4851a949
RH
12174 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12175 not previously defined.
12176 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12177 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12178 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12180 * sysdeps/ieee754/flt-32/math_private.h: New file.
12181 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12182 math_private.h below SET_FLOAT_WORD.
12183 (__isnan, __isinf_ns, __finite): Remove.
12184 (__isnanf, __isinf_nsf, __finitef): Remove.
12185
e79d442e
AS
121862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12187
12188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12189
90b80344
DM
121902012-03-17 David S. Miller <davem@davemloft.net>
12191
12192 [BZ #6471]
12193 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12194 for 2.16.
12195
edc21804
DM
121962012-03-16 David S. Miller <davem@davemloft.net>
12197
77e927af
DM
12198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12199 warnings.
12200
374976dd
DM
12201 [BZ #6471]
12202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12203 properly.
12204 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12205 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12206 sysdep_routines when subdir is sysvipc.
12207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12208 __getshmlba helper.
12209
edc21804
DM
12210 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12211
473c3ef3
L
122122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12213
12214 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12215 [__LP64__].
12216
eb0f39b6
L
122172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12220 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12221 (__lround): Renamed to ...
12222 (__llround): This. Replace long int with long long int.
12223 Define lround functions as aliases of llround functions.
12224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12225
6b6cd74b
L
122262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12227
12228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12229 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12230 adresses to uintptr_t. Replace "long int" and "unsigned long
12231 int" with "greg_t" on va_arg.
12232
f1a77b01
L
122332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12234
12235 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12236 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12237
12238 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12239 Move e_machine check before EI_CLASS check. Handle x32
12240 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12241 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12242 SKIP_EM_IA_64 and include
12243 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12244
12245 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12246 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12247 (add_system_dir): New macro.
12248
12249 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12251
11b90b9f
JM
122522012-03-16 Joseph Myers <joseph@codesourcery.com>
12253
c36e1d23
JM
12254 [BZ #2551]
12255 [BZ #2552]
12256 [BZ #2553]
12257 [BZ #2554]
12258 [BZ #2562]
12259 [BZ #2563]
12260 [BZ #2565]
12261 [BZ #2566]
12262 [BZ #2576]
12263 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12264 (y0): Likewise.
12265 * math/w_j0f.c (j0f): Likewise.
12266 (y0f): Likewise.
12267 * math/w_j0l.c (__j0l): Likewise.
12268 (__y0l): Likewise.
12269 * math/w_j1.c (j1): Likewise.
12270 (y1): Likewise.
12271 * math/w_j1f.c (j1f): Likewise.
12272 (y1f): Likewise.
12273 * math/w_j1l.c (__j1l): Likewise.
12274 (__y1l): Likewise.
12275 * math/w_jn.c (jn): Likewise.
12276 (yn): Likewise.
12277 * math/w_jnf.c (jnf): Likewise.
12278 (ynf): Likewise.
12279 * math/w_jnl.c (__jnl): Likewise.
12280 (__ynl): Likewise.
12281 * math/libm-test.inc (j0_test): Add more tests.
12282 (j1_test): Likewise.
12283 (jn_test): Likewise. Add trailing semicolon to existing test.
12284 (y0_test): Likewise.
12285 (y1_test): Likewise.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12288
11b90b9f
JM
12289 [BZ #13851]
12290 [BZ #13854]
12291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12292 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12293 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12295 (__tanl): Set errno for infinite argument.
12296 * sysdeps/i386/fpu/mptan.c: Remove.
12297 * sysdeps/i386/fpu/s_tan.S: Likewise.
12298 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12299 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12300 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12301 * math/libm-test.inc (tan_test): Add more tests and enable more
12302 tests for double and long double.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update.
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12305
6a1bd2a1
JK
123062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12307
12308 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12309 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12310
10a803e0
RM
123112012-03-16 Roland McGrath <roland@hack.frob.com>
12312
12313 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12314 * configure.in: Use it for both main tree and add-ons.
12315 * configure: Regenerated.
12316
f196c7f7
L
123172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12320
8848d99d
JM
123212012-03-16 Joseph Myers <joseph@codesourcery.com>
12322
96cbe7f4
JM
12323 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12324 in comment.
12325
8848d99d
JM
12326 [BZ #13851]
12327 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12328 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12329 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12331 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12332 infinite argument.
12333 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12335 != 0 for prec == 2.
12336 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12337 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12338 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12339 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12340 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12341 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12342 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12343 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12344 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12345 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12346 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12347 * math/libm-test.inc (cos_test): Add more tests and enable more
12348 tests for long double.
12349 (sin_test): Likewise.
12350 (sincos_test): Likewise.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12353
dd7f4703
DM
123542012-03-16 David S. Miller <davem@davemloft.net>
12355
12356 * sysdeps/sparc/fpu/math_private.h: New file.
12357
006f1daa
DM
123582012-03-15 David S. Miller <davem@davemloft.net>
12359
c0c83bc8
DM
12360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12361 file.
e6a62e18 12362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12364 file.
e6a62e18
DM
12365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12371 sysdep routines.
12372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12373
88cb87d9
DM
12374 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12375 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12376
006f1daa 12377 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12379 sparc-ifunc.h
006f1daa 12380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12382 Likewise.
12383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12384 Likewise.
006f1daa
DM
12385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12389 Likewise.
006f1daa
DM
12390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12395 Likewise.
12396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12397 Likewise.
006f1daa
DM
12398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12422
11e0098e
AS
124232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12424
12425 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12426 scaling.
12427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12428
e85b09d0
AJ
124292012-03-15 Andreas Jaeger <aj@suse.de>
12430
12431 [BZ #13852]
12432 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12433 ieee754/flt-32 implementation for sin, cos and sincos.
12434 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12435 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12436 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12437 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12438 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12439 ieee754/flt-32 implementation for tan.
12440
12441 * math/libm-test.inc (cos_test): Enable some large input tests for
12442 float as well
12443 (sin_test): Likewise.
12444 (sincos_test): Likewise.
12445 (tan_test): Add tests for large input.
12446
12447 * sysdeps/i386/fpu/libm-test-ulps: Update.
12448
81c64153
AJ
124492012-03-15 Andreas Jaeger <aj@suse.de>
12450
12451 [BZ #13658]
12452 * math/libm-test.inc (cos_test): Add more test cases.
12453 (sin_test): Likewise.
12454 (sincos_test): Likewise.
12455
7bbfa5c6
AJ
124562012-03-15 Andreas Jaeger <aj@suse.de>
12457
12458 [BZ #13837]
12459 * math/libm-test.inc (cos_test): Add a test case for large input
12460 value.
12461 (sin_test): Likewise.
12462 (sincos_test): Likewise.
12463
124642012-03-15 Andreas Jaeger <aj@suse.de>,
12465 Joseph Myers <joseph@codesourcery.com>
12466
12467 [BZ #13658]
0671f479 12468 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12469 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12470 * sysdeps/i386/fpu/branred.c: Likewise.
12471 * sysdeps/i386/fpu/dosincos.c: Likewise.
12472 * sysdeps/i386/fpu/mpa.c: Likewise.
12473 * sysdeps/i386/fpu/s_cos.S: Likewise.
12474 * sysdeps/i386/fpu/s_sin.S: Likewise.
12475 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12476 * sysdeps/i386/fpu/sincos32.c: Likewise.
12477
12478 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12479 Define.
12480 (libc_feupdateenv_53bit): Define.
12481 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12482 Define.
12483 (libc_feupdateenv_53bit): Define.
12484
12485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12486 53 bit (without extend i386 double precision).
12487
12488 * math/libm-test.inc (sincos_test): Add tests for large input.
12489 (sin): Likewise.
12490 (cos): Likewise.
12491
12492 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12493
9cad04ea
AS
124942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12495
12496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12497
f7062b9a
DM
124982012-03-15 David S. Miller <davem@davemloft.net>
12499
12500 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12501 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12502 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12503 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12516 file.
f7062b9a 12517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12519 file.
f7062b9a 12520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12522 file.
f7062b9a 12523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12525 file.
f7062b9a
DM
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12528 fmin/fmax sysdep routines.
12529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12530
7bd951ff
DM
125312012-03-14 David S. Miller <davem@davemloft.net>
12532
559398ab
DM
12533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12562 routines.
12563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12564 file.
559398ab 12565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12567 file.
559398ab 12568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12570 file.
559398ab 12571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12573 file.
559398ab 12574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12576 file.
559398ab 12577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12579 file.
12580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12581 file.
12582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12583 file.
12584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12585 file.
12586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12587 New file.
12588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12589 file.
12590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12591 file.
559398ab 12592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12594 file.
559398ab 12595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12597 file.
559398ab 12598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12600 file.
559398ab 12601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12603 VIS3 routines.
559398ab
DM
12604
12605 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12606 New file.
12607
5a1c1e32
DM
12608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12609
eae47a36
DM
12610 * sysdeps/sparc/configure.in: New file.
12611 * sysdeps/sparc/configure: Generate.
12612 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12613 * configure: Regenerate.
12614 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12615 * config.make.in (have-as-vis3): New.
12616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12617 available use -Av9d instead of -Av9a.
12618 * sysdeps/sparc/sparc64/Makefile: Likewise.
12619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12621 New file.
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12623 file.
12624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12625 New file.
12626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12627 file.
eae47a36
DM
12628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12633
c0c83bc8
DM
12634 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12635 fzeros/fnegs to load 0x80000000 into a float register instead of
12636 using the stack.
7bd951ff
DM
12637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12638
bd951ccb
JM
126392012-03-14 Joseph Myers <joseph@codesourcery.com>
12640
12641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12642 bits/syscall.h.
12643 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12644 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12645 ($(inst_includedir)/bits/syscall.h): Remove rule.
12646 ($(objpfx)bits/syscall.d): Include instead of
12647 $(objpfx)syscall-list.d.
12648 (generated): Change syscall-list.h and syscall-list.d to
12649 bits/syscall.h and bits/syscall.d.
12650
bb4e6db2
RM
126512012-03-14 Roland McGrath <roland@hack.frob.com>
12652
12653 [BZ #13846]
12654 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12655
aa4a2ae1
JM
126562012-03-14 Joseph Myers <joseph@codesourcery.com>
12657
e456826d
JM
12658 [BZ #13841]
12659 * math/s_csqrt.c: Include <float.h>.
12660 (__csqrt): Scale large or subnormal inputs.
12661 * math/s_csqrtf.c: Likewise.
12662 * math/s_csqrtl.c: Likewise.
12663 * math/libm-test.inc (csqrt_test): Add more tests.
12664 * sysdeps/i386/fpu/libm-test-ulps: Update.
12665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12666
aa4a2ae1
JM
12667 [BZ #13840]
12668 * math/libm-test.inc (hypot_test): Add more tests.
12669
7c10fd35
DM
126702012-03-13 David S. Miller <davem@davemloft.net>
12671
12672 [BZ #13840]
12673 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12674 double-precision for the calculation instead of scaling.
12675
f453b98b
JM
126762012-03-13 Joseph Myers <joseph@codesourcery.com>
12677
12678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12679 manipulate bits before adding and subtracting TWO52[sx].
12680 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12682 Likewise.
12683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12684
09a3453f
DM
126852012-03-13 David S. Miller <davem@davemloft.net>
12686
8e59da90
DM
12687 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12688 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12690 rtld-global-offsets.h
12691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12692
2a8ab7f2
DM
12693 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12694 large parameters.
12695
10f62770
DM
12696 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12697
5f0bdb18
DM
12698 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12699 'err' in the ifdef scope in which it is actually used.
12700
09a3453f
DM
12701 * nss/nss_db/db-init.c: Include string.h
12702
b4b2eb5e
DM
127032012-03-12 David S. Miller <davem@davemloft.net>
12704
98bb2f1c
DM
12705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12706 masking out of the most significant byte of random value used.
12707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12708 Fix coding style in previous change.
12709
b4b2eb5e
DM
12710 * sysdeps/unix/sysv/linux/kernel-features.h
12711 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12712 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12713 expression.
12714 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12715 later.
12716
6e226b09
DM
127172012-03-11 David S. Miller <davem@davemloft.net>
12718
a1bcbd40
DM
12719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12720 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12722 for 'resultvar' otherwise things get truncated on 64-bit.
12723
cb9d6174
DM
12724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12725 Fix masking out of the most significant byte of random value used.
12726
6e226b09
DM
12727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12728
058c132d
AS
127292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12730
12731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12732
2d2cd515
DM
127332012-03-09 David S. Miller <davem@davemloft.net>
12734
12735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12736 variables with appropriate CPP guards.
12737 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12738 frame pointer, not the stack pointer. Correct layout comments. Fix test
12739 on resulting framesize and the management of the outregs buffer for pltexit.
12740 Preserve floating point return values across _dl_call_pltexit call.
12741 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12742 framesize and the management of the outregs buffer for pltexit.
12743 Preserve floating point return values across _dl_call_pltexit
12744 call.
12745 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12746 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12747 (print_exit): Fix format string for return register value.
12748
9a07f9d0
JM
127492012-03-10 Joseph Myers <joseph@codesourcery.com>
12750
12751 * sunrpc/Makefile (others): Add rpcgen.
12752 ($(objpfx)rpcgen): Remove special build rule and dependency on
12753 libc.
12754 * sunrpc/rpcgen.c: New file.
12755
547b5e30
PE
127562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12757
c524201a
PE
12758 [BZ #13673]
12759 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12760 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12761 * sysdeps/i386/crti.S: Likewise.
12762 * sysdeps/i386/crtn.S: Likewise.
12763 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12764 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12765 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12766 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12767 * sysdeps/sh/crti.S: Likewise.
12768 * sysdeps/sh/crtn.S: Likewise.
12769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12770
7b6235f2
PE
12771 [BZ #13673]
12772 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12773 with URL.
12774 * locale/programs/locfile-kw.gperf: Likewise.
12775 * locale/programs/charmap-kw.h: Regenerated.
12776 * locale/programs/locfile-kw.h: Likewise.
12777
547b5e30
PE
12778 [BZ #13673]
12779 * intl/plural.y: Replace FSF snail mail address with URL.
12780 * intl/plural.c: Regenerated.
12781
5f0a5dae
RH
127822012-03-09 Richard Henderson <rth@twiddle.net>
12783
12784 * include/math_private.h: Remove file.
12785 * math/math_private.h: Move file ...
12786 * sysdeps/generic/math_private.h: ... here.
12787
b8c03620
RH
12788 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12789 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12790 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12791
4e234f5d 12792 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12793 and <math_private.h>.
12794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12889 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12890 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12894 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12895 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12896 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12897 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12906 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12907 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12908 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12910 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12911 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12912 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12914 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12915 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12917 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12919 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12921 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12922 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12924 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12925 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12927 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12929 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12930 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12931 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12934 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12935 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12938 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12942 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12943 * sysdeps/ieee754/k_standard.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12963 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12968 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13059 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13090 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13093 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13102 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13104 * sysdeps/ieee754/s_lib_version.c: Likewise.
13105 * sysdeps/ieee754/s_matherr.c: Likewise.
13106 * sysdeps/ieee754/s_signgam.c: Likewise.
13107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13109 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13110 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13111 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13112 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13113 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13114 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13115 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13116 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13117 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13118 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13119 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13120 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13121 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13122 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13128
1991fa03
JM
131292012-03-09 Joseph Myers <joseph@codesourcery.com>
13130
13131 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13132 * sunrpc/rpc_main.c: Likewise.
13133 * sunrpc/rpc_svcout.c: Likewise.
13134
60d6f5a6
DM
131352012-03-09 David S. Miller <davem@davemloft.net>
13136
13137 * include/math_private.h: New file.
13138
4962050e
JM
131392012-03-09 Joseph Myers <joseph@codesourcery.com>
13140
02a6f887
JM
13141 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13142 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13143 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13144 from <bits/socket_type.h>.
13145 (enum __socket_type): Don't define here.
13146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13148 bits/socket_type.h.
13149
c6e013c1
JM
13150 [BZ #13566]
13151 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13152 checking __USE_GNU.
13153
4962050e
JM
13154 * Makerules ($(inst_includedir)/%.h): New rule.
13155 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13156 (install-others): Remove variable setting.
13157 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13158
38842f45
RH
131592012-03-08 Richard Henderson <rth@twiddle.net>
13160
67bb6da6
RH
13161 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13162 from macro to inline function; merge with the
13163 !__LIBC_INTERNAL_MATH_INLINES version.
13164 (__ieee754_sqrtf): Likewise.
13165
15194b4b
RH
13166 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13167 to inline function.
13168 (__rintf, __floor, __floorf): Likewise.
13169
64e21ede
RH
13170 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13171 macro to inline function.
13172 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13173
38842f45
RH
13174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13175 not <math/math_private.h>.
13176
c64bf5fe
DM
131772012-03-08 David S. Miller <davem@davemloft.net>
13178
13179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13180 copyright year.
13181 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13182
82d86f28
TS
131832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13184
13185 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13186 normalization.
13187 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13188 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13189
aea5d727
UD
131902012-03-08 Ulrich Drepper <drepper@gmail.com>
13191
13192 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13193 be defined individually, they must be defined as a block. Define
13194 S for printing a string instead of hidint the different by using a
13195 macro for adding the 'l'.
13196 * stdio-common/tst-fphex-wide.c: Adjust.
13197
70bca0a3
MP
131982012-03-07 Marek Polacek <polacek@redhat.com>
13199
13200 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13201
65b81130
MP
132022012-03-08 Marek Polacek <polacek@redhat.com>
13203
13204 [BZ #13806]
13205 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13206 * stdio-common/tst-fphex.c: Define a few macros to make the
13207 test reusable. Use them.
13208 * stdio-common/tst-fphex-wide.c: New file.
13209
07037eeb
JM
132102012-03-08 Joseph Myers <joseph@codesourcery.com>
13211
a7a93d50
JM
13212 [BZ #6911]
13213 * manual/macros.texi (gnusystems): New macro.
13214 (nongnusystems): Likewise.
13215 (gnulinuxhurdsystems): Likewise.
13216 (gnuhurdsystems): Likewise..
13217 (gnulinuxsystems): Likewise.
13218 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13219 variants of the GNU system, not "GNU system".
13220 * manual/conf.texi: Likewise.
13221 * manual/errno.texi: Likewise. Update example of errno macro
13222 expansion.
13223 * manual/filesys.texi: Likewise.
13224 (getumask): Document as specific to GNU/Hurd.
13225 * manual/install.texi: Likewise. Reword some references to
13226 GNU/Linux.
13227 * manual/intro.texi: Likewise.
13228 * manual/io.texi: Likewise.
13229 (File Name Portability): Detail which constraints are inapplicable
13230 to all GNU systems and which are only inapplicable to GNU/Hurd.
13231 * manual/job.texi: Likewise.
13232 * manual/llio.texi: Likewise.
13233 (O_NOCTTY): Document as present on GNU/Linux.
13234 * manual/maint.texi: Likewise.
13235 * manual/memory.texi: Likewise.
13236 * manual/pattern.texi: Likewise.
13237 * manual/pipe.texi: Likewise.
13238 * manual/process.texi: Likewise.
13239 * manual/resource.texi: Likewise.
13240 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13241 child on GNU/Hurd.
13242 * manual/setjmp.texi: Likewise.
13243 * manual/signal.texi: Likewise.
13244 * manual/startup.texi: Likewise.
13245 * manual/stdio.texi: Likewise.
13246 * manual/terminal.texi: Likewise.
13247 (ONLCR): Document as POSIX.
13248 (OXTABS): Document availability on GNU/Linux as XTABS.
13249 (ONOEOT): Document availability separately from other bits.
13250 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13251 * manual/time.texi: Likewise.
13252 * manual/users.texi: Likewise.
13253 * INSTALL: Regenerated.
13254 * sysdeps/gnu/errlist.c: Regenerated.
13255
07037eeb
JM
13256 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13257 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13258 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13259 puts.
13260 * configure: Regenerated.
13261
d1d3431a
JM
132622012-03-07 Joseph Myers <joseph@codesourcery.com>
13263
af6a1e37
JM
13264 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13265 default includes instead of AC_HEADER_CHECK.
13266 * sysdeps/i386/configure: Regenerated.
13267
d1d3431a
JM
13268 [BZ #10716]
13269 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13270 * math/s_cacoshf.c (__cacoshf): Likewise.
13271 * math/s_cacoshl.c (__cacoshl): Likewise.
13272 * math/s_casinh.c (__casinh): Set signs of result from argument.
13273 * math/s_casinhf.c (__casinhf): Likewise.
13274 * math/s_casinhl.c (__casinhl): Likewise.
13275 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13276 (casinh_test): Add more tests.
13277 * sysdeps/i386/fpu/libm-test-ulps: Update.
13278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13279
482ff4da
UD
132802012-03-07 Ulrich Drepper <drepper@gmail.com>
13281
872fda05
UD
13282 * po/zh_TW.po: Update from translation team.
13283
a4300c7a
UD
13284 * login/Makefile (distribute): Remove variable.
13285 * catgets/Makefile: Likewise.
13286 * mach/Makefile: Likewise.
13287 * malloc/Makefile: Likewise.
13288 * misc/Makefile: Likewise.
13289 * iconv/Makefile: Likewise.
13290 * nscd/Makefile: Likewise.
13291 * hurd/Makefile: Likewise.
13292 * manual/Makefile: Likewise.
13293 * locale/Makefile: Likewise.
13294 * intl/Makefile: Likewise.
13295 * conform/Makefile: Likewise.
13296 * nss/Makefile: Likewise.
13297 * time/Makefile: Likewise.
13298 * soft-fp/Makefile: Likewise.
13299 * dirent/Makefile: Likewise.
13300 * gmon/Makefile: Likewise.
13301 * po/Makefile: Likewise.
13302 * rt/Makefile: Likewise.
13303 * socket/Makefile: Likewise.
13304 * math/Makefile: Likewise.
13305 * signal/Makefile: Likewise.
13306 * debug/Makefile: Likewise.
13307 * elf/Makefile: Likewise.
13308 * timezone/Makefile: Likewise.
13309 * stdlib/Makefile: Likewise.
13310 * iconvdata/Makefile: Likewise.
13311 * sunrpc/Makefile: Likewise.
13312 * io/Makefile: Likewise.
13313 * argp/Makefile: Likewise.
13314 * inet/Makefile: Likewise.
13315 * hesiod/Makefile: Likewise.
13316 * grp/Makefile: Likewise.
13317 * csu/Makefile: Likewise.
13318 * wctype/Makefile: Likewise.
13319 * crypt/Makefile: Likewise.
13320 * libio/Makefile: Likewise.
13321 * string/Makefile: Likewise.
13322 * nis/Makefile: Likewise.
13323 * resolv/Makefile: Likewise.
13324 * stdio-common/Makefile: Likewise.
13325 * wcsmbs/Makefile: Likewise.
13326 * dlfcn/Makefile: Likewise.
13327 * posix/Makefile: Likewise.
13328
3b7c4e74 13329 [BZ #6959]
482ff4da
UD
13330 * timezone/Makefile: Don't install timezone files, just the programs
13331 and scripts.
13332
f72ed77d
UD
133332012-03-06 Ulrich Drepper <drepper@gmail.com>
13334
a000466f
UD
13335 * nss/databases.def: Add missing gshadow entry.
13336
f72ed77d
UD
13337 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13338
a53b7a4e
MP
133392012-03-06 Marek Polacek <polacek@redhat.com>
13340
13341 [BZ #13726]
13342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13344 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13345 * stdio-common/tst-long-dbl-fphex.c: New file.
13346
e9258400
DM
133472012-03-06 David S. Miller <davem@davemloft.net>
13348
13349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13350 (set_obp_int): New function.
13351 (get_obp_int): New function.
13352 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13354 Avoid unused variable warnings on 'val' and use builtin_expect.
13355 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13356 __builtin_expect.
e9258400
DM
13357 (INLINE_CLONE_SYSCALL): Likewise.
13358
3bd2c723
DM
133592012-03-05 David S. Miller <davem@davemloft.net>
13360
13361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13362
bbb78d03
AS
133632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13364
884c5db4
AS
13365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13366
bbb78d03
AS
13367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13368 only for |x| >= 40.
13369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13370
1c9f702a 133712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13372
13373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13374 Replace gettimeofday with __vdso_gettimeofday.
13375
7be16f82
RM
13376 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13377 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13378 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13379
13380 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13381 time with __vdso_time.
13382
ed58a00f
JM
133832012-03-05 Joseph Myers <joseph@codesourcery.com>
13384
13385 * manual/lang.texi (size_t): Note types to which size_t may be
13386 equivalent with the GNU C Library, but do not describe when
13387 differences between them are significant.
13388
30ee4ced
AJ
133892012-03-05 Andreas Jaeger <aj@suse.de>
13390
13391 * sysdeps/i386/fpu/libm-test-ulps: Update.
13392
b7cd39e8
JM
133932012-03-05 Joseph Myers <joseph@codesourcery.com>
13394
13395 [BZ #3976]
13396 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13397 (__ieee754_pow): Save and restore rounding mode and use
13398 round-to-nearest for main computations.
13399 * math/libm-test.inc (pow_test_tonearest): New function.
13400 (pow_test_towardzero): Likewise.
13401 (pow_test_downward): Likewise.
13402 (pow_test_upward): Likewise.
13403 (main): Call the new functions.
13404 * sysdeps/i386/fpu/libm-test-ulps: Update.
13405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13406
13407 [BZ #3976]
13408 * math/libm-test.inc (cosh_test_tonearest): New function.
13409 (cosh_test_towardzero): Likewise.
13410 (cosh_test_downward): Likewise.
13411 (cosh_test_upward): Likewise.
13412 (sinh_test_tonearest): Likewise.
13413 (sinh_test_towardzero): Likewise.
13414 (sinh_test_downward): Likewise.
13415 (sinh_test_upward): Likewise.
13416 (main): Call the new functions.
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13419
6c6a98c9
TV
134202012-03-05 Tom de Vries <tom@codesourcery.com>
13421
13422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13423 default stack guard is set in last bytes.
13424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13425
21bb2d2e 134262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13427
21bb2d2e 13428 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13429
21bb2d2e
AJ
13430 [BZ #13656]
13431 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13432 possibly allocate from heap instead of stack.
13433 * stdio-common/bug-vfprintf-nargs.c: New file.
13434 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13435
c6922934
AS
134362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13439
bc957d53
MP
134402012-03-03 Marek Polacek <polacek@redhat.com>
13441
13442 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13443 * math/math_private.h: Likewise.
13444 * stdlib/tst-strtod.c: Likewise.
13445 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13446 * sysdeps/x86_64/bits/atomic.h: Likewise.
13447
6358490d
DM
134482012-03-02 David S. Miller <davem@davemloft.net>
13449
13450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13454 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13456 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13457 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13458
01ae168d
RM
134592012-03-02 Roland McGrath <roland@hack.frob.com>
13460
d9a17c07
RM
13461 [BZ #13792]
13462 * manual/examples/README: New file, says the example source files
13463 can be used under GPL>=2.
13464 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13465 line containing just "*/".
13466 * manual/examples/add.c: Add copyright header (GPL>=2).
13467 * manual/examples/argp-ex1.c: Likewise.
13468 * manual/examples/argp-ex2.c: Likewise.
13469 * manual/examples/argp-ex3.c: Likewise.
13470 * manual/examples/argp-ex4.c: Likewise.
13471 * manual/examples/atexit.c: Likewise.
13472 * manual/examples/db.c: Likewise.
13473 * manual/examples/dir.c: Likewise.
13474 * manual/examples/dir2.c: Likewise.
13475 * manual/examples/execinfo.c: Likewise.
13476 * manual/examples/filecli.c: Likewise.
13477 * manual/examples/filesrv.c: Likewise.
13478 * manual/examples/fmtmsgexpl.c: Likewise.
13479 * manual/examples/genpass.c: Likewise.
13480 * manual/examples/inetcli.c: Likewise.
13481 * manual/examples/inetsrv.c: Likewise.
13482 * manual/examples/isockad.c: Likewise.
13483 * manual/examples/longopt.c: Likewise.
13484 * manual/examples/memopen.c: Likewise.
13485 * manual/examples/memstrm.c: Likewise.
13486 * manual/examples/mkfsock.c: Likewise.
13487 * manual/examples/mkisock.c: Likewise.
13488 * manual/examples/mygetpass.c: Likewise.
13489 * manual/examples/pipe.c: Likewise.
13490 * manual/examples/popen.c: Likewise.
13491 * manual/examples/rprintf.c: Likewise.
13492 * manual/examples/search.c: Likewise.
13493 * manual/examples/select.c: Likewise.
13494 * manual/examples/setjmp.c: Likewise.
13495 * manual/examples/sigh1.c: Likewise.
13496 * manual/examples/sigusr.c: Likewise.
13497 * manual/examples/stpcpy.c: Likewise.
13498 * manual/examples/strdupa.c: Likewise.
13499 * manual/examples/strftim.c: Likewise.
13500 * manual/examples/strncat.c: Likewise.
13501 * manual/examples/subopt.c: Likewise.
13502 * manual/examples/swapcontext.c: Likewise.
13503 * manual/examples/termios.c: Likewise.
13504 * manual/examples/testopt.c: Likewise.
13505 * manual/examples/testpass.c: Likewise.
13506 * manual/examples/timeval_subtract.c: Likewise.
13507
01ae168d
RM
13508 [BZ #13792]
13509 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13510 function to ...
13511 * manual/timeval_subtract.c.texi: ... here, new file.
13512
49efa33d
DM
135132012-03-02 David S. Miller <davem@davemloft.net>
13514
13515 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13516
28afd92d
JM
135172012-03-02 Joseph Myers <joseph@codesourcery.com>
13518
804360ed
JM
13519 [BZ #3976]
13520 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13521 (__sin): Save and restore rounding mode and use round-to-nearest
13522 for all computations.
13523 (__cos): Save and restore rounding mode and use round-to-nearest
13524 for all computations.
13525 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13526 <fenv.h>.
13527 (tan): Save and restore rounding mode and use round-to-nearest for
13528 all computations.
13529 * math/libm-test.inc (cos_test_tonearest): New function.
13530 (cos_test_towardzero): Likewise.
13531 (cos_test_downward): Likewise.
13532 (cos_test_upward): Likewise.
13533 (sin_test_tonearest): Likewise.
13534 (sin_test_towardzero): Likewise.
13535 (sin_test_downward): Likewise.
13536 (sin_test_upward): Likewise.
13537 (tan_test_tonearest): Likewise.
13538 (tan_test_towardzero): Likewise.
13539 (tan_test_downward): Likewise.
13540 (tan_test_upward): Likewise.
13541 (main): Call the new functions.
13542 * sysdeps/i386/fpu/libm-test-ulps: Update.
13543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544
a6d06d7b
JM
13545 [BZ #10135]
13546 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13547 small n, then large n, before computing and testing k+n.
13548 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13550 Likewise.
13551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13552 Likewise.
13553 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13554 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13560 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13561 * math/libm-test.inc (scalbn_test): Add more tests.
13562 (scalbln_test): Likewise.
13563
07e12bb3
JM
13564 * manual/filesys.texi (mode_t): Describe constraints on size and
13565 signedness, not exact equivalence to a particular type.
13566 (ino_t): Likewise.
13567 (ino64_t): Likewise.
13568 (dev_t): Likewise.
13569 (nlink_t): Likewise.
13570 (blkcnt_t): Likewise.
13571 (blkcnt64_t): Likewise.
13572 * manual/llio.texi (off_t): Likewise.
13573
28afd92d
JM
13574 [BZ #3976]
13575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13576 (__ieee754_exp): Save and restore rounding mode and use
13577 round-to-nearest for all computations.
13578 * math/libm-test.inc (exp_test_tonearest): New function.
13579 (exp_test_towardzero): Likewise.
13580 (exp_test_downward): Likewise.
13581 (exp_test_upward): Likewise.
13582 (main): Call the new functions.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585
b1eeb65d
CD
135862012-03-01 Chris Demetriou <cgd@google.com>
13587
13588 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13589 have predictable order.
13590
53362a4b
DM
135912012-03-01 David S. Miller <davem@davemloft.net>
13592
3c969083
DM
13593 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13594
759707de
DM
13595 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13596 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13597 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13598 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13599
dfdb8ff2
DM
13600 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13601 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13602 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13604 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13605 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13606 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13607 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13608 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13609
ead89f96
DM
13610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13611
7f66bd07
DM
13612 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13613 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13614 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13615
53362a4b
DM
13616 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13618 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13619 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13620 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13624 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13625 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13626 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13630 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13632 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13633 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13634 * sysdeps/sparc/elf/configure: Regenerated.
13635
7b1902cb
JM
136362012-03-01 Joseph Myers <joseph@codesourcery.com>
13637
bec039bc
JM
13638 * configure.in (AS, LD): Require binutils 2.20 or later.
13639 * configure: Regenerated.
13640 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13641 as required minimum version.
13642 * INSTALL: Regenerated.
13643
7b1902cb
JM
13644 [BZ #2541]
13645 [BZ #4108]
13646 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13647 before squaring exponent.
13648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13649 bottom long double and 27 bits of top long double before squaring
13650 exponent.
13651 * math/libm-test.inc (erfc_test): Add more tests.
13652 * sysdeps/i386/fpu/libm-test-ulps: Update.
13653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13655
f775c276
KT
136562012-03-01 Kai Tietz <ktietz@redhat.com>
13657
13658 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13659 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13660 containing bit-fields.
13661 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13662 * soft-fp/single.h (_FP_UNION_S): Likewise.
13663 * soft-fp/double.h (_FP_UNION_D): Likewise.
13664
5b8a4d4a
JM
136652012-02-29 Joseph Myers <joseph@codesourcery.com>
13666
0bab47b6
JM
13667 [BZ #13786]
13668 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13669 not include ../strcmp.S.
13670 [USE_AS_STRNCASECMP_L]: Likewise.
13671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13672 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13673 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13674 (__strncasecmp_l_ia32): Define as alias to
13675 __strncasecmp_l_nonascii.
13676
0fcad3e2
JM
13677 [BZ #5794]
13678 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13679 * sysdeps/i386/fpu/libm-test-ulps: Update.
13680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681
5b8a4d4a
JM
13682 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13684
8fdceb2e
JL
136852012-02-29 Jeff Law <law@redhat.com>
13686
13687 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13688 out of bounds read.
13689
1f393a11
MP
136902012-02-29 Marek Polacek <polacek@redhat.com>
13691
13692 [BZ #13706]
13693 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13694 * elf/Makefile: Add rules to run tst-unused-dep.out.
13695
8847f037
DM
136962012-02-28 David S. Miller <davem@davemloft.net>
13697
13698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13704
169d7f11
JM
137052012-02-29 Joseph Myers <joseph@codesourcery.com>
13706
13707 * math/libm-test.inc (llround_test): Move one test from
13708 lround_test. Use TEST_f_L in moved test.
13709 (lround_test): Move misplaced test to llround_test. Add testcase
13710 from bug 2561.
13711
39adf059
UD
137122012-02-28 Ulrich Drepper <drepper@gmail.com>
13713
13714 * sysdeps/x86_64/fpu/e_expf.S: New file.
13715 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13716
71b5d1c5
SB
137172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13718
13719 [BZ #13637]
13720 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13721 of remain_len that may cause incomplete multi-byte character and
13722 false match.
13723 * posix/bug-regex33.c: New file.
13724 * posix/Makefile (tests): Add bug-regex33.
13725
1f77f049
JM
137262012-02-28 Joseph Myers <joseph@codesourcery.com>
13727
13728 * manual/macros.texi: New file.
13729 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13730 * manual/libc.texinfo: Include macros.texi.
13731 * manual/creatute.texi: Likewise.
13732 * manual/install.texi: Likewise.
13733 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13734 @glibcadj{} in references to the GNU C Library.
13735 * manual/charset.texi: Likewise.
13736 * manual/conf.texi: Likewise.
13737 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13738 when not using those macros.
13739 * manual/creature.texi: Likewise.
13740 * manual/crypt.texi: Likewise.
13741 * manual/errno.texi: Likewise.
13742 * manual/filesys.texi: Likewise.
13743 * manual/header.texi: Likewise.
13744 * manual/install.texi: Likewise.
13745 * manual/intro.texi: Likewise.
13746 * manual/io.texi: Likewise.
13747 * manual/job.texi: Likewise.
13748 * manual/lang.texi: Likewise.
13749 * manual/libc.texiinfo: Likewise.
13750 * manual/llio.texi: Likewise.
13751 * manual/locale.texi: Likewise.
13752 * manual/maint.texi: Likewise.
13753 * manual/math.texi: Likewise.
13754 * manual/memory.texi: Likewise.
13755 * manual/message.texi: Likewise.
13756 * manual/nss.texi: Likewise.
13757 * manual/pattern.texi: Likewise.
13758 * manual/process.texi: Likewise.
13759 * manual/resource.texi: Likewise.
13760 * manual/search.texi: Likewise.
13761 * manual/setjmp.texi: Likewise.
13762 * manual/signal.texi: Likewise.
13763 * manual/socket.texi: Likewise.
13764 * manual/startup.texi: Likewise.
13765 * manual/stdio.texi: Likewise.
13766 * manual/string.texi: Likewise.
13767 * manual/sysinfo.texi: Likewise.
13768 * manual/syslog.texi: Likewise.
13769 * manual/terminal.texi: Likewise.
13770 * manual/time.texi: Likewise.
13771 * manual/users.texi: Likewise.
13772 * INSTALL: Regenerated.
13773 * NOTES: Regenerated.
d40c5d54 13774 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13775
450bf206
AS
137762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13777
13778 * include/dirent.h: Include <dirstream.h> before
13779 <dirent/dirent.h>.
13780
741a235b
DM
137812012-02-28 David S. Miller <davem@davemloft.net>
13782
13783 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13784 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13785 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13786 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13787
d6b5aa58
DM
137882012-02-27 David S. Miller <davem@davemloft.net>
13789
1aff59a3
DM
13790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13792 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13793 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13794
d6b5aa58
DM
13795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13796 frame pointer instead of stack pointer relative arg slot.
13797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13798 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13799 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13800
433f48bf
CD
138012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13802
13803 [BZ #3992]
13804 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13805
d674b76d
DM
138062012-02-27 David S. Miller <davem@davemloft.net>
13807
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13812 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13813 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13814 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13815 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13816
0e7727f7
JM
138172012-02-27 Joseph Myers <joseph@codesourcery.com>
13818
13819 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13820 later. Allow versions 5-9.
43be4ca2 13821 * configure: Regenerated.
0e7727f7
JM
13822 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13823 required minimum version and 4.6 as recommended version. Do not
13824 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13825 * INSTALL: Regenerated.
0e7727f7 13826
a78bc654
DM
138272012-02-27 David S. Miller <davem@davemloft.net>
13828
428d5830
DM
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13835 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13837
a78bc654
DM
13838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13839 manipulate bits before adding and subtracting TWO112[sx].
13840 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13841
4579f81c
RM
138422012-02-27 Roland McGrath <roland@hack.frob.com>
13843
36c8acb4
RM
13844 [BZ #13775]
13845 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13846 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13847 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13848 being in POSIX, because they are in 1003.1-2008.
13849
84ad622b
RM
13850 * rt/tst-aio.c: Include <fcntl.h>.
13851 * rt/tst-aio7.c: Likewise.
13852 * rt/tst-aio64.c: Likewise.
13853
4579f81c
RM
13854 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13855
abd923db
JM
138562012-02-27 Joseph Myers <joseph@codesourcery.com>
13857
13858 * manual/install.texi (--with-headers): Describe headers as
13859 interface headers, not private headers.
13860 (Specific advice for GNU/Linux systems): Describe use of headers
13861 from "make headers_install", not private headers from older
13862 kernels.
43be4ca2 13863 * INSTALL: Regenerated.
abd923db
JM
13864 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13865 Change to 2.6.19.
13866 * sysdeps/unix/sysv/linux/configure: Regenerated.
13867
6664049b
JM
13868 * manual/llio.texi (fclean): Remove documentation.
13869
bb8b6697
JM
13870 * manual/Makefile (libc-texi-generated): New variable. Include
13871 version.texi.
13872 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13873 $(libc-texi-generated), not duplicated list of files.
13874 (version.texi, stamp-version): New rules.
13875 (realclean): Remove $(libc-texi-generated), not individual files
13876 from that list. Do not remove dir-add.texinfo.
13877 * manual/libc.texinfo: Comment out uses of edition numbers and
13878 references to printed manual. Remove last-updated dates.
13879 (EDITION): Comment out.
13880 (ISBN): Likewise.
13881 (VERSION, UPDATED): Remove.
13882 (version.texi): Include.
13883
12e5c3b9
AS
138842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13885
13886 * sysdeps/posix/spawni.c: Include <signal.h>.
13887 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13888 * sysdeps/pthread/aio_fsync.c: Likewise.
13889
4efeffc1 138902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13891
ba63ba08
UD
13892 * conform/Makefile (tests): Run only when not cross-compiling and
13893 when fast-check is not defined.
13894
d94a4670
UD
13895 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13896 * conform/data/limits.h-data: Fixes for POSIX2008.
13897 * conform/run-conformtest.sh: Run all tests.
13898 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13899 headers.
13900 * include/bits/dlfcn.h: Likewise.
13901 * include/langinfo.h: Likewise.
13902 * include/monetary.h: Likewise.
13903 * include/sys/poll.h: Likewise.
13904
13905 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13906 for __USE_GNU.
13907 * posix/spawn.h: Define __need_sigset_t.
13908 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13909 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13910 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13911 to get sigevent_t only.
13912 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13913 only for __USE_GNU.
13914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13916 process_vm_writev only for __USE_GNU.
13917 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13918
13919 * conform/Makefile: For now ignore errors from run-conformtest.
13920 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13921 POSIX to avoid namespace pollution. Don't prepend headers.
13922 * conform/data/aio.h-data: Fixes for POSIX testing.
13923 * conform/data/fcntl.h-data: Likewise.
13924 * conform/data/glob.h-data: Likewise.
13925 * conform/data/grp.h-data: Likewise.
13926 * conform/data/pthread.h-data: Likewise.
13927 * conform/data/pwd.h-data: Likewise.
13928 * conform/data/signal.h-data: Likewise.
13929 * conform/data/spawn.h-data: Likewise.
13930 * conform/data/stdio.h-data: Likewise.
13931 * conform/data/stdlib.h-data: Likewise.
13932 * conform/data/stropts.h-data: Likewise.
13933 * conform/data/sys/mman.h-data: Likewise.
13934 * conform/data/sys/stat.h-data: Likewise.
13935 * conform/data/sys/types.h-data: Likewise.
13936 * conform/data/sys/wait.h-data: Likewise.
13937 * conform/data/time.h-data: Likewise.
13938 * conform/data/unistd.h-data: Likewise.
13939 * conform/data/utime.h-data: Likewise.
13940
13941 * io/sys/stat.h: fchmod was always in POSIX.
13942 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13943 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13944 * rt/aio.h: Define __need_timespec before including <time.h>.
13945 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13946 struct. Add forward declaration of pthread_attr_t and use it in
13947 sigevent.
13948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13950 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13951 always remove CLK_TCK definition.
13952
c20105c3
AS
139532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13954
13955 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13956
7a270350
UD
139572012-02-25 Ulrich Drepper <drepper@gmail.com>
13958
31341567
UD
13959 * conform/run-conformtest.sh: New file.
13960 * conform/Makefile: Run run-conformtest for tests.
13961 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13962 support.
13963
13964 * conform/data/uchar.h-data: New file.
13965 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13966 * conform/data/arpa/inet.h-data: Likewise.
13967 * conform/data/assert.h-data: Likewise.
13968 * conform/data/complex.h-data: Likewise.
13969 * conform/data/cpio.h-data: Likewise.
13970 * conform/data/ctype.h-data: Likewise.
13971 * conform/data/dirent.h-data: Likewise.
13972 * conform/data/dlfcn.h-data: Likewise.
13973 * conform/data/errno.h-data: Likewise.
13974 * conform/data/fcntl.h-data: Likewise.
13975 * conform/data/float.h-data: Likewise.
13976 * conform/data/fmtmsg.h-data: Likewise.
13977 * conform/data/fnmatch.h-data: Likewise.
13978 * conform/data/ftw.h-data: Likewise.
13979 * conform/data/glob.h-data: Likewise.
13980 * conform/data/grp.h-data: Likewise.
13981 * conform/data/iconv.h-data: Likewise.
13982 * conform/data/inttypes.h-data: Likewise.
13983 * conform/data/langinfo.h-data: Likewise.
13984 * conform/data/libgen.h-data: Likewise.
13985 * conform/data/limits.h-data: Likewise.
13986 * conform/data/locale.h-data: Likewise.
13987 * conform/data/math.h-data: Likewise.
13988 * conform/data/monetary.h-data: Likewise.
13989 * conform/data/mqueue.h-data: Likewise.
13990 * conform/data/ndbm.h-data: Likewise.
13991 * conform/data/net/if.h-data: Likewise.
13992 * conform/data/netdb.h-data: Likewise.
13993 * conform/data/netinet/in.h-data: Likewise.
13994 * conform/data/nl_types.h-data: Likewise.
13995 * conform/data/poll.h-data: Likewise.
13996 * conform/data/pthread.h-data: Likewise.
13997 * conform/data/pwd.h-data: Likewise.
13998 * conform/data/regex.h-data: Likewise.
13999 * conform/data/sched.h-data: Likewise.
14000 * conform/data/search.h-data: Likewise.
14001 * conform/data/semaphore.h-data: Likewise.
14002 * conform/data/setjmp.h-data: Likewise.
14003 * conform/data/signal.h-data: Likewise.
14004 * conform/data/spawn.h-data: Likewise.
14005 * conform/data/stdarg.h-data: Likewise.
14006 * conform/data/stdio.h-data: Likewise.
14007 * conform/data/stdlib.h-data: Likewise.
14008 * conform/data/string.h-data: Likewise.
14009 * conform/data/strings.h-data: Likewise.
14010 * conform/data/stropts.h-data: Likewise.
14011 * conform/data/sys/ipc.h-data: Likewise.
14012 * conform/data/sys/mman.h-data: Likewise.
14013 * conform/data/sys/msg.h-data: Likewise.
14014 * conform/data/sys/resource.h-data: Likewise.
14015 * conform/data/sys/select.h-data: Likewise.
14016 * conform/data/sys/sem.h-data: Likewise.
14017 * conform/data/sys/shm.h-data: Likewise.
14018 * conform/data/sys/socket.h-data: Likewise.
14019 * conform/data/sys/stat.h-data: Likewise.
14020 * conform/data/sys/statvfs.h-data: Likewise.
14021 * conform/data/sys/time.h-data: Likewise.
14022 * conform/data/sys/timeb.h-data: Likewise.
14023 * conform/data/sys/times.h-data: Likewise.
14024 * conform/data/sys/types.h-data: Likewise.
14025 * conform/data/sys/uio.h-data: Likewise.
14026 * conform/data/sys/un.h-data: Likewise.
14027 * conform/data/sys/utsname.h-data: Likewise.
14028 * conform/data/sys/wait.h-data: Likewise.
14029 * conform/data/syslog.h-data: Likewise.
14030 * conform/data/tar.h-data: Likewise.
14031 * conform/data/termios.h-data: Likewise.
14032 * conform/data/utime.h-data: Likewise.
14033 * conform/data/utmpx.h-data: Likewise.
14034 * conform/data/varargs.h-data: Likewise.
14035 * conform/data/wchar.h-data: Likewise.
14036 * conform/data/wctype.h-data: Likewise.
14037 * conform/data/wordexp.h-data: Likewise.
14038
14039 * include/stropts.h: New file.
14040 * include/uchar.h: New file.
14041 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14042 * include/assert.h: Likewise.
14043 * include/ctype.h: Likewise.
14044 * include/dirent.h: Likewise.
14045 * include/dlfcn.h: Likewise.
14046 * include/fcntl.h: Likewise.
14047 * include/fnmatch.h: Likewise.
14048 * include/glob.h: Likewise.
14049 * include/grp.h: Likewise.
14050 * include/libio.h: Likewise.
14051 * include/locale.h: Likewise.
14052 * include/math.h: Likewise.
14053 * include/net/if.h: Likewise.
14054 * include/netdb.h: Likewise.
14055 * include/netinet/in.h: Likewise.
14056 * include/pthread.h: Likewise.
14057 * include/pwd.h: Likewise.
14058 * include/regex.h: Likewise.
14059 * include/sched.h: Likewise.
14060 * include/search.h: Likewise.
14061 * include/setjmp.h: Likewise.
14062 * include/signal.h: Likewise.
14063 * include/stdio.h: Likewise.
14064 * include/stdlib.h: Likewise.
14065 * include/string.h: Likewise.
14066 * include/sys/cdefs.h: Likewise.
14067 * include/sys/mman.h: Likewise.
14068 * include/sys/msg.h: Likewise.
14069 * include/sys/resource.h: Likewise.
14070 * include/sys/select.h: Likewise.
14071 * include/sys/socket.h: Likewise.
14072 * include/sys/stat.h: Likewise.
14073 * include/sys/statvfs.h: Likewise.
14074 * include/sys/time.h: Likewise.
14075 * include/sys/times.h: Likewise.
14076 * include/sys/uio.h: Likewise.
14077 * include/sys/utsname.h: Likewise.
14078 * include/sys/wait.h: Likewise.
14079 * include/termios.h: Likewise.
14080 * include/time.h: Likewise.
14081 * include/ulimit.h: Likewise.
14082 * include/unistd.h: Likewise.
14083 * include/utime.h: Likewise.
14084 * include/wchar.h: Likewise.
14085 * include/wctype.h: Likewise.
14086 * include/wordexp.h: Likewise.
14087
14088 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14089
7a270350
UD
14090 * time/time.h: TIME_UTC must be a macro.
14091 Make timespec_get available for ISO C11 only as well.
14092
7724defc
UD
140932012-02-24 Ulrich Drepper <drepper@gmail.com>
14094
14095 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14096 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14097
6b1d1d46
JM
140982012-02-24 Joseph Myers <joseph@codesourcery.com>
14099
14100 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14101
0f8bbd69
JM
141022012-02-24 Joseph Myers <joseph@codesourcery.com>
14103
14104 * manual/texinfo.tex: Update to version 2012-01-19.16.
14105
66ab80bc
JM
141062012-02-24 Joseph Myers <joseph@codesourcery.com>
14107
14108 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14109
74981cc5
RM
141102012-02-24 Roland McGrath <roland@hack.frob.com>
14111
ee968201
RM
14112 [BZ #13738]
14113 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14114 * manual/fdl-1.3.texi: New file.
14115 * manual/fdl-1.1.texi: File removed.
14116
74981cc5
RM
14117 [BZ #13738]
14118 * manual/libc.texinfo (FDL_VERSION): New @set.
14119 Use it for mention of FDL in cover text.
14120 (Documentation License): Use it in @include file name.
14121
7bb764bc
JM
141222012-02-22 Joseph Myers <joseph@codesourcery.com>
14123 Roland McGrath <roland@hack.frob.com>
14124
14125 [BZ #5461]
14126 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14127 not LONG_LONG_MAX and LONG_LONG_MIN.
14128 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14129 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14130 name.
14131 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14132
6cbeae47
JM
141332012-02-22 Joseph Myers <joseph@codesourcery.com>
14134
14135 [BZ #2547]
14136 [BZ #11365]
14137 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14138 manipulate bits before adding and subtracting TWO23[sx].
14139 * math/libm-test.inc (nearbyint_test): Add more tests.
14140
fe45ce09
JM
141412012-02-22 Joseph Myers <joseph@codesourcery.com>
14142
14143 [BZ #2548]
14144 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14145 bits before adding and subtracting TWO23[sx].
14146 * math/libm-test.inc (rint_test): Add more tests.
14147 (rint_test_tonearest): Likewise.
14148 (rint_test_towardzero): Likewise.
14149 (rint_test_downward): Likewise.
14150 (rint_test_upward: Likewise.
14151
ff3b3d82
JM
141522012-02-22 Joseph Myers <joseph@codesourcery.com>
14153
14154 [BZ #10110]
14155 * include/stdc-predef.h: New file. Extracted from features.h.
14156 * include/features.h: Include stdc-predef.h.
14157 * Makefile (headers): Add stdc-predef.h.
14158 * CONFORMANCE (Compiler limitations): Update.
14159
ef0aab35
JM
141602012-02-22 Joseph Myers <joseph@codesourcery.com>
14161
14162 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14163
58639409
DM
141642012-02-21 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14167 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14168
c0e70b25
DM
141692012-02-20 David S. Miller <davem@davemloft.net>
14170
14171 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14172 using a normal save/restore sequence, rather than allocating a
14173 dummy stack frame just to store a frame pointer and restore.
14174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14175
fb06851d
JM
141762012-02-21 Joseph Myers <joseph@codesourcery.com>
14177
14178 * manual/install.texi: Fix stray word in line-wrapped comment.
14179
7a8b71c3
DM
141802012-02-20 David S. Miller <davem@davemloft.net>
14181
d510c123
DM
14182 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14183 both binutils and gcc support GOTDATA.
14184
0722d7c2
DM
14185 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14186 "rd %pc" in the PIC register setup sequences.
14187
3d2b3019
DM
14188 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14189 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14191 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14197 (SYSCALL_ERROR_HANDLER): Likewise.
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14201 (SYSCALL_ERROR_HANDLER): Likewise.
14202
c80098a9
DM
14203 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14204 (HAVE_GCC_GOTDATA): New.
14205 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14206 relocation support in both binutils and gcc.
14207 * sysdeps/sparc/elf/configure: Regenerate.
14208
3a2545a0
DM
14209 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14210 * sysdeps/sparc/sparc32/elf/configure: Delete.
14211 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14212 * sysdeps/sparc/sparc64/elf/configure: Delete.
14213 * sysdeps/sparc/elf/configure.in: New file.
14214 * sysdeps/sparc/elf/configure: Generate.
14215
7a8b71c3
DM
14216 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14217 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14219 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14220 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14221
f1e86fca
JM
142222012-02-21 Joseph Myers <joseph@codesourcery.com>
14223
14224 * manual/install.texi: Do not mention specific glibc version
14225 numbers.
14226 * manual/libc.texinfo (VERSION, UPDATED): Update.
14227 (@copying): Use @copyright{} and range of years.
14228
0e7dfaef
JM
142292012-02-21 Joseph Myers <joseph@codesourcery.com>
14230
14231 [BZ #13695]
14232 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14233 [crti.S not in sysdirs] (generated): Do not append.
14234 [crti.S not in sysdirs] (omit-deps): Likewise.
14235 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14236 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14237 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14238 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14239 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14240 Likewise.
14241 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14242 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14243 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14244 * csu/defs.awk: Remove file.
14245 * sysdeps/generic/initfini.c: Likewise.
14246 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14247 variable.
14248 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14249 Likewise.
14250
599af3ca
JM
142512012-02-20 Joseph Myers <joseph@codesourcery.com>
14252
14253 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14254 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14258 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14259 <bits/epoll.h>.
14260 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14261 (__EPOLL_PACKED): Define to empty if not defined by
14262 <bits/epoll.h>.
14263 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14265 bits/epoll.h.
14266
0e499750
JM
142672012-02-20 Joseph Myers <joseph@codesourcery.com>
14268
14269 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14270 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14271 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14272 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14273 <bits/timerfd.h>.
14274 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14276 bits/timerfd.h.
14277
5ad91f6e
JM
142782012-02-20 Joseph Myers <joseph@codesourcery.com>
14279
14280 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14281 in C locale.
14282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14286
06b99b02
AJ
142872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14288
14289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14291
7638c0fd
AS
142922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14293
14294 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14295 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14296 defined.
14297 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14298 Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14300 entry for 2.16.
14301
92221550
AJ
143022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14303
14304 * math/w_acos.c: Use non-signaling floating-point comparisons.
14305 * math/w_acosf.c: Likewise.
14306 * math/w_acosh.c: Likewise.
14307 * math/w_acoshf.c: Likewise.
14308 * math/w_acoshl.c: Likewise.
14309 * math/w_acosl.c: Likewise.
14310 * math/w_asin.c: Likewise.
14311 * math/w_asinf.c: Likewise.
14312 * math/w_asinl.c: Likewise.
14313 * math/w_atanh.c: Likewise.
14314 * math/w_atanhf.c: Likewise.
14315 * math/w_atanhl.c: Likewise.
14316 * math/w_exp2.c: Likewise.
14317 * math/w_exp2f.c: Likewise.
14318 * math/w_exp2l.c: Likewise.
14319 * math/w_j0.c: Likewise.
14320 * math/w_j0f.c: Likewise.
14321 * math/w_j0l.c: Likewise.
14322 * math/w_j1.c: Likewise.
14323 * math/w_j1f.c: Likewise.
14324 * math/w_j1l.c: Likewise.
14325 * math/w_jn.c: Likewise.
14326 * math/w_jnf.c: Likewise.
14327 * math/w_log.c: Likewise.
14328 * math/w_log10.c: Likewise.
14329 * math/w_log10f.c: Likewise.
14330 * math/w_log10l.c: Likewise.
14331 * math/w_log2.c: Likewise.
14332 * math/w_log2f.c: Likewise.
14333 * math/w_log2l.c: Likewise.
14334 * math/w_logf.c: Likewise.
14335 * math/w_logl.c: Likewise.
14336 * math/w_sqrt.c: Likewise.
14337 * math/w_sqrtf.c: Likewise.
14338 * math/w_sqrtl.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14342 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14343 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14344
ebaf36eb
JM
143452012-02-19 Joseph Myers <joseph@codesourcery.com>
14346
14347 [BZ #9739]
14348 * manual/string.texi (strnlen): Use correct parameter name in
14349 equivalent expression.
14350
71c254a6
JM
143512012-02-19 Joseph Myers <joseph@codesourcery.com>
14352
14353 [BZ #11174]
14354 * manual/users.texi (seteuid): Consistently use neweuid for
14355 argument name.
14356
16d2c631
JM
143572012-02-19 Joseph Myers <joseph@codesourcery.com>
14358
14359 [BZ #13704]
14360 * manual/nss.texi (Services in the NSS configuration): Correct
14361 list of services in example configuration file.
14362
cd837b09
NB
143632012-02-19 Nick Bowler <nbowler@draconx.ca>
14364
14365 [BZ #11322]
14366 * manual/arith.texi: Remove statements about negative zero
14367 behaving identically to zero.
14368
02c4bbad
JM
143692012-02-18 Joseph Myers <joseph@codesourcery.com>
14370
14371 [BZ #5993]
14372 * manual/install.texi: Do not document upgrading from libc5.
14373
366842e7
JM
143742012-02-18 Joseph Myers <joseph@codesourcery.com>
14375
14376 [BZ #4596]
14377 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14378
dd54084d
DM
143792012-02-18 David S. Miller <davem@davemloft.net>
14380
14381 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14382 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14383 %o7 across the call.
14384 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14385 instead.
14386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14387 SETUP_PIC_REG_LEAF.
14388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14389 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14390 * sysdeps/sparc/crtn.S: Likewise.
14391
2bcc53a3
UD
143922012-02-17 Ulrich Drepper <drepper@gmail.com>
14393
14394 * aout/Makefile: Remove.
14395
09c093b5
RK
143962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14397
14398 [BZ #13058]
14399 * manual/examples/argp-ex1.c (main): Format definition in GNU
14400 style.
14401 * manual/examples/argp-ex2.c (main): Likewise.
14402 * manual/examples/argp-ex3.c (main): Likewise.
14403 * manual/examples/argp-ex4.c (main): Likewise.
14404 * manual/examples/longopt.c (main): Use new-style prototype
14405 definition.
14406 * manual/examples/strncat.c (main): Specify return type and use
14407 (void) for arguments.
14408 * manual/examples/subopt.c (main): Use char **argv argument.
14409
2ee633a2
JM
144102012-02-17 Joseph Myers <joseph@codesourcery.com>
14411
14412 [BZ #5077]
14413 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14414 rounding modes.
14415
0520adde
FB
144162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14417
14418 [BZ #6907]
14419 * manual/string.texi (strchr): Change when strchrnul is
14420 recommended.
14421
3f4081cd
DGM
144222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14423
14424 [BZ #174]
14425 * manual/locale.texi (setlocale): Document LOCPATH.
14426
d1b10e78
JM
144272012-02-17 Joseph Myers <joseph@codesourcery.com>
14428
14429 [BZ #10210]
14430 * manual/process.texi (execle): Move @dots{} before last argument.
14431
79c6869c
PB
144322012-02-17 Paul Bolle <pebolle@tiscali.nl>
14433
14434 [BZ #12047]
14435 * manual/charset.texi (Generic Charset Conversion): Fix typo
14436 (LC_TYPE -> LC_CTYPE).
14437
cc6e48bc
NB
144382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14439
14440 [BZ #5805]
14441 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14442 (scalbnf): Likewise.
14443 (scalbnl): Likewise.
14444 (scalbln): Likewise.
14445 (scalblnf): Likewise.
14446 (scalblnl): Likewise.
14447 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14448 (vwarnx): Likewise.
14449 (verr): Likewise.
14450 (verrx): Likewise.
14451 * manual/filesys.texi (telldir): Use braces around return type.
14452 * manual/llio.texi (mmap): Add space after comma.
14453 (mmap64): Likewise.
14454 * manual/math.texi (jn): Use @var{} on parameter names.
14455 (jnf): Likewise.
14456 (jnl): Likewise.
14457 (yn): Likewise.
14458 (ynf): Likewise.
14459 (ynl): Likewise.
14460 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14461 line.
14462 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14463 "...".
14464 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14465 (sched_get_priority_max): Likewise.
14466 * manual/signal.texi (sigvec): Add space after comma.
14467 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14468 names.
14469 (if_indextoname): Likewise.
14470 (if_freenameindex): Likewise.
14471 (sendto): Use ',' instead of '.' in prototype.
14472 * manual/startup.texi (syscall): Use @dots{} instead of literal
14473 "...".
14474 * manual/stdio.texi (__fpending): Separate initial words of
14475 paragraph from @deftypefun line.
14476 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14477 "...".
14478 (vsyslog): Use @var{} on parameter names.
14479 * manual/terminal.texi (stty): Use @var{} on parameter names.
14480 * manual/users.texi (getutmp): Use @var{} on parameter names.
14481 (getutmpx): Likewise.
14482
5b23062f
JM
144832012-02-17 Joseph Myers <joseph@codesourcery.com>
14484
14485 [BZ #6884]
14486 * manual/stdio.texi (fopen): Fix typos in description of
14487 ",ccs=STRING".
14488
8dee4833
AJ
144892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14490
14491 [BZ #4026]
14492 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14493 get clock_id definition.
14494
9078ce93
TS
144952012-02-17 Thomas Schwinge <thomas@schwinge.name>
14496
14497 [BZ #4822]
14498 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14499 (madvise): Cast every argument to void on its own.
14500
3835c55f
JM
145012012-02-17 Joseph Myers <joseph@codesourcery.com>
14502
14503 [BZ #9902]
14504 * manual/startup.texi (Exit Status): Fix typo.
14505
35c47e37
JM
145062012-02-17 Joseph Myers <joseph@codesourcery.com>
14507
14508 [BZ #10140]
14509 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14510 * manual/examples/argp-ex2.c: Likewise.
14511 * manual/examples/argp-ex3.c: Likewise.
14512
e3b69ca7
RH
145132012-02-16 Richard Henderson <rth@redhat.com>
14514
14515 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14516 * sysdeps/s390/s390-32/initfini.c: Remove.
14517 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14518 * sysdeps/s390/s390-64/initfini.c: Remove.
14519
df83af67
KK
145202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14521
14522 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14523 compiler output for sysdeps/generic/initfini.c.
14524 * sysdeps/sh/elf/initfini.c: Remove file.
14525
f63f3380
DM
145262012-02-16 David S. Miller <davem@davemloft.net>
14527
fb59b3a4
DM
14528 [BZ #11494]
14529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14530
f63f3380
DM
14531 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14532 * sysdeps/sparc/crti.S: New file.
14533 * sysdeps/sparc/crtn.S: New file.
14534 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14535 * sysdeps/sparc/sparc64/Makefile: Likewise.
14536
df6a4a4a
MF
145372012-02-15 Mike Frysinger <vapier@gentoo.org>
14538
6dd8f3dc 14539 [BZ #3335]
df6a4a4a
MF
14540 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14541
1cac7236
RM
145422012-02-15 Roland McGrath <roland@hack.frob.com>
14543
d2c736f8
RM
14544 [BZ #4822]
14545 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14546
1cac7236
RM
14547 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14548 (write, read, close): Likewise.
14549 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14550
8e475601
JM
145512012-02-15 Joseph Myers <joseph@codesourcery.com>
14552
14553 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14554 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14556 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14557 <bits/signalfd.h>.
14558 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14560 bits/signalfd.h.
14561
ed656b40
MP
145622012-02-14 Marek Polacek <polacek@redhat.com>
14563
14564 * sysdeps/x86_64/crti.S: New file.
14565 * sysdeps/x86_64/crtn.S: New file.
14566 * sysdeps/x86_64/elf/initfini.c: Remove file.
14567
2a979d3a
JM
145682012-02-13 Joseph Myers <joseph@codesourcery.com>
14569
14570 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14571 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14572 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14573 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14574 <bits/inotify.h>.
14575 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14577 bits/inotify.h.
14578
2a418ac3
JM
145792012-02-13 Joseph Myers <joseph@codesourcery.com>
14580
14581 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14582 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14583 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14584 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14585 <bits/eventfd.h>.
14586 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14588 bits/eventfd.h.
14589
fb779be7
TS
145902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14591
e19e83c5
RM
14592 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14593 __feraiseexcept instead of feraiseexcept.
7c35ffed 14594
fb779be7
TS
14595 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14596 nanosleep invocations.
14597 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14598 strings, and add error checking for a nanosleep invocations.
14599
59ba27a6
PE
146002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14601
14602 Replace FSF snail mail address with URLs, as per GNU coding standards.
14603 Most of the snail mail addresses were wrong anyway, and omitting
14604 them makes the source code easier to maintain. Almost all of the
14605 changes are to license notices and to locale LC_IDENTIFICATION
14606 addresses, except for this one:
14607 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14608 not its snail mail address.
14609
57b957eb
RH
146102012-02-09 Richard Henderson <rth@twiddle.net>
14611
af850b1c
RH
14612 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14613 of kernel-features.h.
14614
57b957eb
RH
14615 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14616
6b73181a
MP
146172012-02-08 Marek Polacek <polacek@redhat.com>
14618
14619 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14620 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14621 * sysdeps/gnu/_G_config.h: Likewise.
14622 * sysdeps/generic/_G_config.h: Likewise.
14623
26ecc33a
AS
146242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14625
6c6dbc63
AS
14626 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14627 tests.
14628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14629
e216c012
AS
14630 * sysdeps/powerpc/powerpc32/crti.S: New file.
14631 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14632 * sysdeps/powerpc/powerpc64/crti.S: New file.
14633 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14634
26ecc33a
AS
14635 * Makeconfig (have-initfini): Don't set.
14636 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14637 * configure.in (nopic_initfini): Don't substitute.
14638 * config.h.in (HAVE_INITFINI): Don't #undef.
14639 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14640 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14641
3add8e13
JM
146422012-02-08 Joseph Myers <joseph@codesourcery.com>
14643
14644 Support crti.S and crtn.S provided directly by architectures.
14645 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14646 [crti.S in sysdirs] (omit-deps): Likewise.
14647 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14648 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14649 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14650 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14651 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14652 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14653 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14654 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14655 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14656 compiler output for sysdeps/generic/initfini.c.
14657 * sysdeps/i386/elf/Makefile: Remove file.
14658 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14659
a22f12b4
MP
146602012-02-07 Marek Polacek <polacek@redhat.com>
14661
14662 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14663 * sysdeps/gnu/_G_config.h: Likewise.
14664 * sysdeps/mach/hurd/_G_config.h: Likewise.
14665
148cf100
MP
146662012-02-07 Marek Polacek <polacek@redhat.com>
14667
14668 * math/Makefile (tests): Add tst-CMPLX2.
14669 * math/tst-CMPLX2.c: New file.
14670
cfdc0dd7
AS
146712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14672
84ba42c4
AS
14673 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14674
cfdc0dd7
AS
14675 * math/libm-test.inc (jn_test): Add missing L suffix.
14676
622c86f4
MP
146772012-02-06 Marek Polacek <polacek@redhat.com>
14678
14679 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14680 * sysdeps/i386/fpu/e_powf.S: Likewise.
14681 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14682 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14684 * sysdeps/i386/fpu/e_pow.S: Likewise.
14685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14689 * sysdeps/i386/fpu/e_log2.S: Likewise.
14690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14692 * sysdeps/i386/fpu/e_powl.S: Likewise.
14693 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14695 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14696 * sysdeps/i386/fpu/e_logl.S: Likewise.
14697 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14698 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14699 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14700 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14701 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14702 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14703 * sysdeps/i386/fpu/e_log.S: Likewise.
14704 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14706 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14707 * sysdeps/i386/fpu/e_logf.S: Likewise.
14708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14710 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14711 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14712 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14713 * sysdeps/i386/fpu/e_log10.S: Likewise.
14714 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14716 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14717 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14719 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14720 * sysdeps/i386/asm-syntax.h: Likewise.
14721 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14724 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14725 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14730 * sysdeps/powerpc/sysdep.h: Likewise.
14731 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14732 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14733
d4a54ac6
JM
147342012-02-06 Joseph Myers <joseph@codesourcery.com>
14735
14736 [BZ #411]
14737 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14738
314054ea
JM
147392012-02-06 Joseph Myers <joseph@codesourcery.com>
14740
14741 * sysdeps/i386/sysdep.h: Include <features.h>.
14742 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14743 version.
14744
d8e0ca50
JM
147452012-02-05 Joseph Myers <joseph@codesourcery.com>
14746
14747 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14748 Define.
14749 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14750 LOAD_PIC_REG_STR.
14751
b1da7dd9
JM
147522012-02-03 Joseph Myers <joseph@codesourcery.com>
14753
14754 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14755 (SETUP_PIC_REG): Use GET_PC_THUNK.
14756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14757 macro.
14758
9a1d9254
JM
147592012-02-03 Joseph Myers <joseph@codesourcery.com>
14760
14761 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14762 for non-PIC compilation.
14763 (SETUP_PIC_REG): Add .p2align directive.
14764 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14765 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14772 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14773 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14774 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14775 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14776 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14777 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14778 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14779 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14780 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14786 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14787 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14799 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14800 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14801 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14802 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14803 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14805
65dc3b75
JM
148062012-02-03 Joseph Myers <joseph@codesourcery.com>
14807
14808 * math/tst-CMPLX.c: Include <stdio.h>.
14809
d55bf177
JM
148102012-01-31 Joseph Myers <joseph@codesourcery.com>
14811
14812 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14813 float.
14814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14815 * sysdeps/sparc/bits/mathdef.h: Likewise.
14816
69db4f8f
MP
148172012-01-31 Marek Polacek <polacek@redhat.com>
14818
14819 * libio/libio.h: Don't define _PARAMS.
14820 * locale/programs/config.h: Don't define PARAMS.
14821 * stdlib/strtol_l.c: Likewise.
14822 (__strtol_l): Remove PARAMS from the prototype.
14823
41b81892
UD
148242012-01-31 Ulrich Drepper <drepper@gmail.com>
14825
3b49edc0
UD
14826 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14827 names. Just use the correct names. Remove unnecessary wrapper
14828 functions.
14829 * malloc/arena.c: Likewise.
14830 * malloc/hooks.c: Likewise.
14831
41b81892
UD
14832 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14833 ARENA_TEST says not to. Simplify test for creation of a new arena.
14834 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14835
27a25b6e
UD
148362012-01-30 Ulrich Drepper <drepper@gmail.com>
14837
14838 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14839 into tail calls.
14840 (update_get_addr): New function.
14841 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14842 GET_ADDR_MODULE parameter.
14843
c8a89e7d
JM
148442012-01-30 Joseph Myers <joseph@codesourcery.com>
14845
14846 * crypt/cert.c: Remove __STDC__ conditionals.
14847 * crypt/crypt-entry.c: Likewise.
14848 * crypt/crypt_util.c: Likewise.
14849 * libio/filedoalloc.c: Likewise.
14850 * libio/fileops.c: Likewise.
14851 * libio/genops.c: Likewise.
14852 * libio/iofclose.c: Likewise.
14853 * libio/iofdopen.c: Likewise.
14854 * libio/iofopen.c: Likewise.
14855 * libio/iofopen64.c: Likewise.
14856 * libio/iogetdelim.c: Likewise.
14857 * libio/iopopen.c: Likewise.
14858 * libio/obprintf.c: Likewise.
14859 * libio/oldfileops.c: Likewise.
14860 * libio/oldiofclose.c: Likewise.
14861 * libio/oldiofdopen.c: Likewise.
14862 * libio/oldiofopen.c: Likewise.
14863 * libio/oldiopopen.c: Likewise.
14864 * libio/wfiledoalloc.c: Likewise.
14865 * libio/wgenops.c: Likewise.
14866 * locale/programs/xmalloc.c: Likewise.
14867 * misc/syslog.c: Likewise.
14868 * stdio-common/xbug.c: Likewise.
14869 * string/memchr.c: Likewise.
14870 * string/memcmp.c: Likewise.
14871 * string/memrchr.c: Likewise.
14872 * string/rawmemchr.c: Likewise.
14873 * sysdeps/posix/getcwd.c: Likewise.
14874 * time/strftime_l.c: Likewise.
14875
3b100462
JM
148762012-01-30 Joseph Myers <joseph@codesourcery.com>
14877
14878 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14879 * config.make.in (config-cflags-sse2avx): Define.
14880 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14881 Fix typo.
14882
607998af
CM
148832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14884
14885 * scripts/config.guess: Update from upstream config git repository.
14886 * scripts/config.sub: Likewise.
14887
3601428f
CM
148882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14889
3ac8b282
CM
14890 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14891 (EM_NUM): Update.
14892 (R_TILEPRO_*, R_TILEGX_*): New macros.
14893
e034841e
CM
14894 * scripts/firstversions.awk: Fix bug in version range handling.
14895
540d7568
CM
14896 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14897
3601428f
CM
14898 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14899
463de862
CM
14900 * include/sys/epoll.h: New file.
14901 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14902 libc_hidden_def.
14903
73139a76
UD
149042012-01-28 Ulrich Drepper <drepper@gmail.com>
14905
96bc5b45
UD
14906 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14907 Avoid unnecessary __WORDSIZE == 64 test.
14908 (fmaxf): Use VEX format if possible.
14909 (fmax): Likewise.
14910 (fminf): Likewise.
14911 (fmin): Likewise.
14912
56f6f6a2
UD
14913 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14914 * math/math_private.h: Remove libc_fegetround* and
14915 libc_fesetround*.
14916 * sysdeps/i386/configure.in: Check for -msse2avx.
14917 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14918 also if SSE2AVX is defined.
14919 Remove libc_fegetround* and libc_fesetround*.
14920 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14921 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14923 of HAS_YMM_USABLE.
14924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14925 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14928 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14929
73139a76
UD
14930 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14931
d73f93a4
AZ
149322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14933
14934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14935 size is not set.
14936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14937
6ee65ed6
UD
149382012-01-27 Ulrich Drepper <drepper@gmail.com>
14939
14940 [BZ #13618]
14941 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14942 relocation.
14943 * Makeconfig (libm): Define.
14944 * elf/Makefile: Add rules to build and run tst-relsort1.
14945 * elf/tst-relsort1.c: New file.
14946 * elf/tst-relsort1mod1.c: New file.
14947 * elf/tst-relsort1mod2.c: New file.
14948
8db21882
JM
149492012-01-27 Joseph Myers <joseph@codesourcery.com>
14950
14951 * math/s_ldexp.c: Remove __STDC__ conditionals.
14952 * math/s_ldexpf.c: Likewise.
14953 * math/s_ldexpl.c: Likewise.
14954 * math/s_nextafter.c: Likewise.
14955 * math/s_nexttowardf.c: Likewise.
14956 * math/s_significand.c: Likewise.
14957 * math/s_significandf.c: Likewise.
14958 * math/s_significandl.c: Likewise.
14959 * math/w_jnl.c: Likewise.
14960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14966 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14969 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14970 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14977 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14991 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14993 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14995 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15000 * sysdeps/ieee754/k_standard.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15080 * sysdeps/ieee754/s_matherr.c: Likewise.
15081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15085
965a54a4
JM
150862012-01-26 Joseph Myers <joseph@codesourcery.com>
15087
15088 * crypt/md5.h: Remove __STDC__ conditionals.
15089 * libio/libioP.h: Likewise.
15090 * locale/programs/config.h: Likewise.
15091 * sysdeps/generic/sysdep.h: Likewise.
15092 * sysdeps/i386/asm-syntax.h: Likewise.
15093 * sysdeps/s390/asm-syntax.h: Likewise.
15094 * sysdeps/unix/sysdep.h: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15097
7071ad79
JM
150982012-01-26 Joseph Myers <joseph@codesourcery.com>
15099
15100 * libio/libio.h: Remove __STDC__ conditionals.
15101 * malloc/obstack.h: Likewise.
15102 * math/complex.h: Likewise.
15103 * math/math.h: Likewise.
15104 * sysdeps/generic/_G_config.h: Likewise.
15105 * sysdeps/gnu/_G_config.h: Likewise.
15106 * sysdeps/mach/hurd/_G_config.h: Likewise.
15107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15108 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15109 * sysdeps/sparc/bits/mathdef.h: Likewise.
15110
afc5ed09
UD
151112012-01-26 Ulrich Drepper <drepper@gmail.com>
15112
15113 [BZ #13583]
15114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15115 Clean up HAS_* macros.
afc5ed09 15116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15117 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15118 possible.
15119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15120 HAS_AVX.
15121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15126
bdb6de1d
JM
151272012-01-25 Joseph Myers <joseph@codesourcery.com>
15128
15129 * elf/tst-unique3.cc (gets): Remove declaration.
15130 * elf/tst-unique3lib.cc (gets): Likewise.
15131 * elf/tst-unique3lib2.cc (gets): Likewise.
15132 * elf/tst-unique4.cc (gets): Likewise.
15133
b15549e6
UD
151342012-01-24 Ulrich Drepper <drepper@gmail.com>
15135
15136 * include/stdio.h: Add C++ protection. Add gets declarations and
15137 definitions.
15138 * debug/tst-chk1.c: Don't declare gets here.
15139 * stdio-common/tst-gets.c: Likewise.
15140
a037381f
JM
151412012-01-24 Joseph Myers <joseph@codesourcery.com>
15142
15143 * posix/glob: Remove directory.
15144
f1d4aa75
JM
151452012-01-24 Joseph Myers <joseph@codesourcery.com>
15146
15147 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15148
81c0c964
PT
151492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15150
15151 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15152 of the non-standard EPFNOSUPPORT.
15153
0ea698ae
ST
151542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15155
15156 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15157 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15158 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15159
d220b117
UD
151602012-01-21 Ulrich Drepper <drepper@gmail.com>
15161
15162 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15163
3e1aa84e
UD
151642012-01-20 Ulrich Drepper <drepper@gmail.com>
15165
15166 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15167 transient errors.
15168 * nscd/grpcache.c (cache_addgr): Likewise.
15169 * nscd/hstcache.c (cache_addhst): Likewise.
15170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15171 * nscd/pwdcache.c (cache_addpw): Likewise.
15172 * nscd/servicescache.c (cache_addserv): Likewise.
15173
400aa020
UD
151742012-01-16 Ulrich Drepper <drepper@gmail.com>
15175
d77e7869
UD
15176 * malloc/malloc.c: Various cleanups.
15177 * malloc/hooks.c: Likewise.
15178
400aa020
UD
15179 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15180 * stdlib/bug-fmtmsg1.c: New file.
15181
15182 * stdlib/fmtmsg.c (init): Add missing unlock.
15183 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15184
e0a309cf
MP
151852012-01-12 Marek Polacek <polacek@redhat.com>
15186
15187 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15188 and _GNU_SOURCE.
15189
929d11c7
WS
151902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15191
15192 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15193 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15194 macro to ensure uniqueness of label name.
15195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15197
41d0e869
UD
151982012-01-11 Ulrich Drepper <drepper@gmail.com>
15199
0cc5ed3b
UD
15200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15201
41d0e869
UD
15202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15206
a47a831a
UD
152072012-01-10 Ulrich Drepper <drepper@gmail.com>
15208
daa891c0
UD
15209 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15210
15211 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15213 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15214
e58ef0f2
UD
15215 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15216
a47a831a 15217 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15221
15222 * math/bits/math-finite.h: Add ldexp support.
15223
a0bfc9c7
MP
152242012-01-10 Marek Polacek <polacek@redhat.com>
15225
15226 * locale/programs/localedef.h (show_archive_content): Add noreturn
15227 attribute.
15228
d6e97a1d
UD
152292012-01-09 Ulrich Drepper <drepper@gmail.com>
15230
15231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15232
d5835c26
UD
152332012-01-08 Ulrich Drepper <drepper@gmail.com>
15234
e5f484c6
UD
15235 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15236
d5835c26
UD
15237 * io/Makefile (headers): Add bits/poll2.h.
15238
d1f741e9
WS
152392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15240
15241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15242 typo #include statement.
15243
ec09c1c4
UD
152442012-01-08 Ulrich Drepper <drepper@gmail.com>
15245
15246 * include/sys/cdefs.h: Define __attribute_alloc_size.
15247 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15248 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15249 * elf/pldd.c: Likewise.
15250 * iconv/iconv_charmap.c: Likewise.
15251 * iconv/iconvconfig.c: Likewise.
15252 * iconv/strtab.c: Likewise.
15253 * locale/programs/locale.c: Likewise.
15254 * locale/programs/localedef.h: Likewise.
15255 * locale/programs/simple-hash.c: Likewise.
15256 * nscd/nscd.h: Likewise.
15257 * nss/makedb.c: Likewise.
15258 * sysdeps/generic/ldconfig.h: Likewise.
15259 * locale/programs/localedef.c: Remove xmalloc prototype.
15260 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15261
20b38e03
PP
152622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15263
15264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15265 appropriate.
15266
a0da5fe1
UD
152672012-01-08 Ulrich Drepper <drepper@gmail.com>
15268
1d5a644a 15269 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15270 * math/tst-CMPLX.c: New file.
1d5a644a 15271
8784a6db
UD
15272 * math/complex.h (CMPLXL): Fix typo.
15273
d9a216c0
UD
15274 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15275 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15276 GLIBC_2.16.
15277 * debug/tst-chk1.c: Add poll and ppoll tests.
15278 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15279 * include/sys/poll.h: Add hidden proto for ppoll.
15280 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15281 * sysdeps/mach/hurd/ppoll.c: Likewise.
15282 * io/ppoll.c: Likewise.
15283 * debug/poll_chk.c: New file.
15284 * debug/ppoll_chk.c: New file.
15285 * include/bits/poll2.h: New file.
15286 * io/bits/poll2.h: New file.
15287
ac097f5c
UD
15288 [BZ #1350]
15289 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15290
2119dcfa
UD
15291 * configure.in: static is always set to yes. Remove.
15292 * config.make.in: Don't set build-static.
15293 * Makeconfig: Remove use of build-static.
15294 * dlfcn/Makefile: Likewise.
15295 * elf/Makefile: Likewise.
15296 * math/Makefile: Likewise.
15297 * misc/Makefile: Likewise.
15298 * nptl/Makefile: Likewise.
15299 * sysdeps/mach/hurd/Makefile: Likewise.
15300
121766a9
UD
15301 * configure.in: PWD_P is not used anymore.
15302 * config.make.in: Remove PWD_P entry.
15303
51a1d39c 15304 * configure.in: Remove last remnants of RANLIB.
8720d066 15305 No need to check for signed size_t anymore.
215f4bdc
UD
15306 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15307 and IA-64.
3857022a 15308 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15309 * aclocal.m4: Likewise.
15310
d3ed7225
UD
15311 * wcsmbs/mbrtoc16.c: Implement using towc function.
15312 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15313 * wcsmbs/wcsmbsload.c: Likewise.
15314 * iconv/gconv_simple.c: Likewise.
15315 * iconv/gconv_int.h: Likewise.
15316 * iconv/gconv_builtin.h: Likewise.
15317 * iconv/iconv_prog.c: Remove CHAR16 handling.
15318
15319 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15320
15321 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15322
a0da5fe1
UD
15323 * configure.in: Remove --with-elf and --enable-bounded options.
15324 Dont set base_machine for ia64. More non-ELF conditions removed.
15325 Remove testing and setting of leading underscore information.
15326 * config.make.in (build-bounded): Set to no.
15327 * config.h.in: Remove NO_UNDERSCORES entry.
15328 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15329 them.
15330 * csu/start.c: Remove !NO_UNDERSCORE code.
15331 * locale/localeinfo.h: Likewise.
15332 * sysdeps/generic/machine-gmon.h: Likewise.
15333 * sysdeps/generic/sysdep.h: Likewise.
15334 * sysdeps/i386/sysdep.h: Likewise.
15335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15336 * sysdeps/mach/sysdep.h: Likewise.
15337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15339 * sysdeps/sh/sysdep.h: Likewise.
15340 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15341 * sysdeps/unix/i386/sysdep.S: Likewise.
15342 * sysdeps/unix/sparc/start.c: Likewise.
15343 * sysdeps/unix/sparc/sysdep.S: Likewise.
15344 * sysdeps/unix/sparc/sysdep.h: Likewise.
15345 * sysdeps/unix/start.c: Likewise.
15346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15347 * sysdeps/x86_64/sysdep.h: Likewise.
15348
df78418a
UD
153492012-01-07 Ulrich Drepper <drepper@gmail.com>
15350
a784e502
UD
15351 [BZ #13553]
15352 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15353 for non-gcc.
15354 * argp/argp-fmtstream.h: Use const instead __const.
15355 * argp/argp.h: Likewise.
15356 * assert/assert.h: Likewise.
15357 * bits/fenv.h: Likewise.
15358 * bits/sched.h: Likewise.
15359 * bits/sigset.h: Likewise.
15360 * bits/sigthread.h: Likewise.
15361 * catgets/nl_types.h: Likewise.
15362 * conform/data/pthread.h-data: Likewise.
15363 * crypt/crypt-private.h: Likewise.
15364 * crypt/crypt.h: Likewise.
15365 * crypt/crypt_util.c: Likewise.
15366 * ctype/ctype.h: Likewise.
15367 * debug/execinfo.h: Likewise.
15368 * debug/mbsnrtowcs_chk.c: Likewise.
15369 * debug/mbsrtowcs_chk.c: Likewise.
15370 * debug/wcsnrtombs_chk.c: Likewise.
15371 * debug/wcsrtombs_chk.c: Likewise.
15372 * debug/wcstombs_chk.c: Likewise.
15373 * dirent/dirent.h: Likewise.
15374 * dlfcn/dlfcn.h: Likewise.
15375 * elf/neededtest4.c: Likewise.
15376 * grp/grp.h: Likewise.
15377 * gshadow/gshadow.h: Likewise.
15378 * iconv/gconv.h: Likewise.
15379 * iconv/gconv_int.h: Likewise.
15380 * iconv/gconv_simple.c: Likewise.
15381 * iconv/iconv.h: Likewise.
15382 * iconv/loop.c: Likewise.
15383 * iconv/skeleton.c: Likewise.
15384 * include/aio.h: Likewise.
15385 * include/aliases.h: Likewise.
15386 * include/argz.h: Likewise.
15387 * include/arpa/inet.h: Likewise.
15388 * include/assert.h: Likewise.
15389 * include/dirent.h: Likewise.
15390 * include/dlfcn.h: Likewise.
15391 * include/execinfo.h: Likewise.
15392 * include/fcntl.h: Likewise.
15393 * include/fenv.h: Likewise.
15394 * include/glob.h: Likewise.
15395 * include/grp.h: Likewise.
15396 * include/libintl.h: Likewise.
15397 * include/mntent.h: Likewise.
15398 * include/netdb.h: Likewise.
15399 * include/pwd.h: Likewise.
15400 * include/rpc/netdb.h: Likewise.
15401 * include/sched.h: Likewise.
15402 * include/search.h: Likewise.
15403 * include/shadow.h: Likewise.
15404 * include/signal.h: Likewise.
15405 * include/stdio.h: Likewise.
15406 * include/stdlib.h: Likewise.
15407 * include/string.h: Likewise.
15408 * include/sys/socket.h: Likewise.
15409 * include/sys/stat.h: Likewise.
15410 * include/sys/statfs.h: Likewise.
15411 * include/sys/statvfs.h: Likewise.
15412 * include/sys/syslog.h: Likewise.
15413 * include/sys/time.h: Likewise.
15414 * include/sys/uio.h: Likewise.
15415 * include/time.h: Likewise.
15416 * include/unistd.h: Likewise.
15417 * include/utmp.h: Likewise.
15418 * include/wchar.h: Likewise.
15419 * include/wctype.h: Likewise.
15420 * inet/aliases.h: Likewise.
15421 * inet/arpa/inet.h: Likewise.
15422 * inet/netinet/ether.h: Likewise.
15423 * inet/netinet/in.h: Likewise.
15424 * intl/libintl.h: Likewise.
15425 * io/bits/fcntl2.h: Likewise.
15426 * io/fcntl.h: Likewise.
15427 * io/ftw.h: Likewise.
15428 * io/sys/poll.h: Likewise.
15429 * io/sys/stat.h: Likewise.
15430 * io/sys/statfs.h: Likewise.
15431 * io/sys/statvfs.h: Likewise.
15432 * io/utime.h: Likewise.
15433 * libio/bits/stdio.h: Likewise.
15434 * libio/bits/stdio2.h: Likewise.
15435 * libio/libio.h: Likewise.
15436 * libio/libioP.h: Likewise.
15437 * libio/stdio.h: Likewise.
15438 * locale/lc-ctype.c: Likewise.
15439 * locale/locale.h: Likewise.
15440 * login/utmp.h: Likewise.
15441 * malloc/arena.c: Likewise.
15442 * malloc/malloc.c: Likewise.
15443 * malloc/malloc.h: Likewise.
15444 * malloc/mcheck.c: Likewise.
15445 * malloc/mtrace.c: Likewise.
15446 * math/bits/mathcalls.h: Likewise.
15447 * math/fenv.h: Likewise.
15448 * math/math_private.h: Likewise.
15449 * misc/bits/error.h: Likewise.
15450 * misc/bits/syslog.h: Likewise.
15451 * misc/err.h: Likewise.
15452 * misc/error.h: Likewise.
15453 * misc/fstab.h: Likewise.
15454 * misc/mntent.h: Likewise.
15455 * misc/regexp.h: Likewise.
15456 * misc/search.h: Likewise.
15457 * misc/sgtty.h: Likewise.
15458 * misc/sys/mman.h: Likewise.
15459 * misc/sys/syslog.h: Likewise.
15460 * misc/sys/uio.h: Likewise.
15461 * misc/sys/xattr.h: Likewise.
15462 * misc/ttyent.h: Likewise.
15463 * nis/rpcsvc/ypclnt.h: Likewise.
15464 * nss/nss.h: Likewise.
15465 * posix/bits/unistd.h: Likewise.
15466 * posix/fnmatch.h: Likewise.
15467 * posix/glob.h: Likewise.
15468 * posix/sched.h: Likewise.
15469 * posix/spawn.h: Likewise.
15470 * posix/sys/wait.h: Likewise.
15471 * posix/unistd.h: Likewise.
15472 * posix/wordexp.h: Likewise.
15473 * pwd/pwd.h: Likewise.
15474 * resolv/netdb.h: Likewise.
15475 * resource/sys/resource.h: Likewise.
15476 * rt/aio.h: Likewise.
15477 * rt/bits/mqueue2.h: Likewise.
15478 * rt/mqueue.h: Likewise.
15479 * shadow/shadow.h: Likewise.
15480 * signal/signal.h: Likewise.
15481 * socket/send.c: Likewise.
15482 * socket/sendto.c: Likewise.
15483 * socket/sys/socket.h: Likewise.
15484 * stdio-common/printf.h: Likewise.
15485 * stdlib/bits/stdlib.h: Likewise.
15486 * stdlib/fmtmsg.h: Likewise.
15487 * stdlib/monetary.h: Likewise.
15488 * stdlib/stdlib.h: Likewise.
15489 * stdlib/ucontext.h: Likewise.
15490 * streams/stropts.h: Likewise.
15491 * string/argz.h: Likewise.
15492 * string/bits/string2.h: Likewise.
15493 * string/string.h: Likewise.
15494 * string/strings.h: Likewise.
15495 * sunrpc/rpc/auth.h: Likewise.
15496 * sunrpc/rpc/auth_des.h: Likewise.
15497 * sunrpc/rpc/clnt.h: Likewise.
15498 * sunrpc/rpc/netdb.h: Likewise.
15499 * sunrpc/rpc/pmap_clnt.h: Likewise.
15500 * sunrpc/rpc/xdr.h: Likewise.
15501 * sysdeps/generic/inttypes.h: Likewise.
15502 * sysdeps/generic/net/if.h: Likewise.
15503 * sysdeps/generic/sys/swap.h: Likewise.
15504 * sysdeps/gnu/net/if.h: Likewise.
15505 * sysdeps/gnu/utmpx.h: Likewise.
15506 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15507 * sysdeps/i386/i486/bits/string.h: Likewise.
15508 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15509 * sysdeps/s390/bits/string.h: Likewise.
15510 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15511 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15512 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15513 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15514 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15515 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15516 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15517 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15518 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15519 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15520 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15521 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15522 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15523 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15524 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15530 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15532 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15533 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15534 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15535 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15536 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15538 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15540 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15541 * sysvipc/sys/ipc.h: Likewise.
15542 * sysvipc/sys/msg.h: Likewise.
15543 * sysvipc/sys/sem.h: Likewise.
15544 * sysvipc/sys/shm.h: Likewise.
15545 * termios/termios.h: Likewise.
15546 * time/sys/time.h: Likewise.
15547 * time/time.h: Likewise.
15548 * wcsmbs/bits/wchar2.h: Likewise.
15549 * wcsmbs/uchar.h: Likewise.
15550 * wcsmbs/wchar.h: Likewise.
15551 * wctype/wctype.h: Likewise.
15552
0269750c
UD
15553 [BZ #13551]
15554 * Makeconfig: Remove all but ELF support including AIX support.
15555 * Makerules: Likewise.
15556 * config.h.in: Likewise.
15557 * config.make.in: Likewise.
15558 * configure: Likewise.
15559 * configure.in: Likewise.
15560 * csu/Makefile: Likewise.
15561 * csu/version.c: Likewise.
15562 * debug/Makefile: Likewise.
15563 * dlfcn/Makefile: Likewise.
15564 * elf/Makefile: Likewise.
15565 * extra-lib.mk: Likewise.
15566 * iconv/Makefile: Likewise.
15567 * include/libc-symbols.h: Likewise.
15568 * include/shlib-compat.h: Likewise.
15569 * resolv/Makefile: Likewise.
15570 * resolv/res_libc.c: Likewise.
15571 * rt/Makefile: Likewise.
15572 * sysdeps/i386/asm-syntax.h: Likewise.
15573 * sysdeps/i386/sysdep.h: Likewise.
15574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15575 * sysdeps/mach/sysdep.h: Likewise.
15576 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15577 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15578 * sysdeps/s390/asm-syntax.h: Likewise.
15579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15581 * sysdeps/sh/sysdep.h: Likewise.
15582 * sysdeps/unix/sparc/sysdep.h: Likewise.
15583 * sysdeps/wordsize-32/divdi3.c: Likewise.
15584 * sysdeps/x86_64/sysdep.h: Likewise.
15585
00bbd29b
UD
15586 * argp/Versions: Remove _argp_unlock_xxx.
15587
15588 [BZ #13559]
15589 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15590 * abilist/libBrokenLocale.abilist: Likewise.
15591 * abilist/libanl.abilist: Likewise.
15592 * abilist/libc.abilist: Likewise.
15593 * abilist/libcrypt.abilist: Likewise.
15594 * abilist/libdl.abilist: Likewise.
15595 * abilist/libm.abilist: Likewise.
15596 * abilist/libnsl.abilist: Likewise.
15597 * abilist/libpthread.abilist: Likewise.
15598 * abilist/libresolv.abilist: Likewise.
15599 * abilist/librt.abilist: Likewise.
15600 * abilist/libthread_db.abilist: Likewise.
15601 * abilist/libutil.abilist: Likewise.
15602 * abilist/libnss_db.abilist: New file.
15603
15604 * scripts/abilist.awk: Add support for indirect functions.
15605
a2693a0e
UD
15606 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15607
3f05895f
UD
15608 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15609
ecb6fb48
UD
15610 * shlib-versions: Remove entries for ports architectures.
15611
664f8cb9
UD
15612 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15613 files in ports.
15614 * elf/stackguard-macros.h: Remove support for IA-64.
15615 * elf/tst-auditmod1.c: Likewise.
15616 * sysdeps/generic/ldsodefs.h: Likewise.
15617
7ae81d88
UD
15618 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15619 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15620 configure files.
15621
bdeba135
UD
15622 [BZ #13552]
15623 * configure.in: Remove --enable-omitfp support.
15624 * FAQ.in: Adjust.
15625 * config.make.in: Likewise.
15626 * Makeconfig: Likewise.
15627 * manual/install.texi: Likewise.
15628
d75a0a62
UD
15629 In case anyone cares, the IA-64 architecture could move to ports.
15630 * sysdeps/ia64/*: Removed.
15631 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15632 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15633
dcc9756b
UD
15634 [BZ #13555]
15635 * configure.in: Remove entries for unsupported architectures.
15636
d3761ebc 15637 [BZ #13533]
9954432e
UD
15638 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15639 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15640 routines.
15641 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15642 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15643 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15644 fall back to using wcrtomb.
15645 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15646 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15647 renaming.
15648 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15649 * wcsmbs/tst-c16c32-1.c: New file.
15650
15651 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15652 local variable.
15653
c3a87236
UD
15654 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15655
28926a1b
UD
15656 * elf/tst-unique3.cc: Add explicit declaration of gets.
15657 * elf/tst-unique3lib.cc: Likewise.
15658 * elf/tst-unique3lib2.cc: Likewise.
15659 * elf/tst-unique4.cc: Likewise.
15660
df78418a
UD
15661 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15662
8ecd6b2a
JM
156632012-01-06 Joseph Myers <joseph@codesourcery.com>
15664
15665 [BZ #13566]
15666 * assert/assert.h (static_assert): Don't define for C++.
15667 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15668 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15669
9f115170
UD
156702012-01-03 Ulrich Drepper <drepper@gmail.com>
15671
5e0d0300
UD
15672 * iconv/loop.c (single loop): Fix assertion in storing of
15673 remaining bytes.
15674
9f115170
UD
15675 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15676
81fb02b0
UD
156772012-01-01 Ulrich Drepper <drepper@gmail.com>
15678
15679 * posix/getconf.c: Update copyright year.
15680 * nss/getent.c: Likewise.
a316c1f6 15681 * nss/makedb.c: Likewise.
81fb02b0
UD
15682 * iconv/iconvconfig.c: Likewise.
15683 * iconv/iconv_prog.c: Likewise.
15684 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15685 * elf/pldd.c: Likewise.
15686 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15687 * catgets/gencat.c: Likewise.
15688 * csu/version.c: Likewise.
15689 * elf/ldd.bash.in: Likewise.
15690 * elf/sprof.c (print_version): Likewise.
15691 * locale/programs/locale.c: Likewise.
15692 * locale/programs/localedef.c: Likewise.
a316c1f6 15693 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15694 * nscd/nscd.c (print_version): Likewise.
15695 * debug/xtrace.sh: Likewise.
15696 * malloc/memusage.sh: Likewise.
15697 * malloc/mtrace.pl: Likewise.
15698 * debug/catchsegv.sh: Likewise.
15699
2ba92745
JJ
157002011-12-30 Jakub Jelinek <jakub@redhat.com>
15701
15702 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15703 pure attribute.
15704
dadebdae
UD
157052011-12-24 Ulrich Drepper <drepper@gmail.com>
15706
d3761ebc 15707 [BZ #13533]
db6af3eb
UD
15708 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15709 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15710 transformations.
15711 * iconv/gconv_int.h: Likewise.
15712 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15713 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15714 from libc for GLIBC_2.16.
15715 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15716 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15717 * wcsmbs/uchar.h: Really define mbstate_t.
15718 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15719 * wcsmbs/c16rtomb.c: New file.
15720 * wcsmbs/mbrtoc16.c: New file.
15721 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15722 for C/POSIX locale.
15723 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15724 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15725
dadebdae
UD
15726 * wcsmbs/wchar.h: Add missing __restrict.
15727
67371b56
UD
157282011-12-23 Ulrich Drepper <drepper@gmail.com>
15729
74033a25
UD
15730 [BZ #13532]
15731 * time/Makefile (routines): Add timespec_get.
15732 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15733 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15734 timespec for ISO C11.
15735 * time/timespec_get.c: New file.
15736 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15737 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15738
380d7e87
UD
15739 [BZ #13531]
15740 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15741 * stdlib/stdlib.h: Declare aligned_alloc.
15742 * Versions.def: Add GLIBC_2.16 for libc.
15743 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15744
4e9e7a35
UD
15745 [BZ 13527]
15746 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15747 ISO C11.
15748
380d7e87 15749 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15750 code.
15751
03a71829
UD
15752 [BZ #13528]
15753 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15754
839e283e
UD
15755 [BZ #13529]
15756 * assert/assert.h (static_assert): Define.
15757
ce5294e2 15758 * version.h: Update for 2.16 development version.
90fa7312 15759
8d44e150 15760 [BZ #13526]
d7809905
UD
15761 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15762 _ISOC11_SOURCE.
15763
c0da14cd
UD
15764 * version.h (RELEASE): Bump for 2.15 release.
15765 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15766
530a3249
MP
15767 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15768 Patch by Marek Polacek <mpolacek@redhat.com>.
15769
67371b56
UD
15770 * bits/byteswap.h: Protect long long constants with __extension__.
15771 * sysdeps/i386/bits/byteswap.h: Likewise.
15772 * sysdeps/ia64/bits/byteswap.h: Likewise.
15773 * sysdeps/s390/bits/byteswap.h: Likewise.
15774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15775
15db4de1
LD
157762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15777
15778 [BZ #13540]
bbe315ea
LD
15779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15780 destination buffer.
15db4de1
LD
15781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15782
2b2596b1
MP
157832011-12-23 Marek Polacek <polacek@redhat.com>
15784
15785 * elf/dl-addr.c (determine_info): Add inline keyword.
15786 * elf/tst-auditmod4b.c (check_avx): Likewise.
15787 * elf/tst-auditmod6b.c (check_avx): Likewise.
15788 * elf/tst-auditmod6c.c (check_avx): Likewise.
15789 * elf/tst-auditmod7b.c (check_avx): Likewise.
15790
70c6c246
UD
157912011-12-23 Ulrich Drepper <drepper@gmail.com>
15792
15793 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15794 !__SSE_MATH__.
15795
c044cf14
LD
157962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15797
15db4de1 15798 [BZ #13540]
c044cf14
LD
15799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15800 processing for last bytes.
15801
6b13d9d9
BH
158022011-08-06 Bruno Haible <bruno@clisp.org>
15803
d455f537
BH
15804 [BZ #13061]
15805 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15806 U+0385, not to U+1FEE.
15807
6b13d9d9
BH
15808 [BZ #13062]
15809 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15810 entry for U+00A5 U+0301.
15811
db910efd
UD
158122011-12-22 Ulrich Drepper <drepper@gmail.com>
15813
27deeafc
UD
15814 [BZ #13166]
15815 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15816 buffer for the output is too small.
15817
aed9d171
UD
15818 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15819 optimization.
15820
db910efd
UD
15821 [BZ #13185]
15822 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15823 SSE flags if possible.
15824
2bd779ae
LD
158252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15826
e7f9dac3 15827 [BZ #13540]
2bd779ae
LD
15828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15829 processing for last bytes.
15830
154bfc16
JM
158312011-12-22 Joseph Myers <joseph@codesourcery.com>
15832
15833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15834 (syscall-list-default-options, syscall-list-default-condition)
15835 (syscall-list-includes): Define.
15836 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15837 list of ABIs and options and #if conditions for each ABI. Do not
15838 handle common syscalls between ABIs specially.
15839 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15840 Remove.
15841 (syscall-list-variants, syscall-list-32bit-options)
15842 (syscall-list-32bit-condition, syscall-list-64bit-options)
15843 (syscall-list-64bit-condition): Define.
15844 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15845 (syscall-list-variants, syscall-list-32bit-options)
15846 (syscall-list-32bit-condition, syscall-list-64bit-options)
15847 (syscall-list-64bit-condition): Define.
15848 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15849 Remove.
15850 (syscall-list-variants, syscall-list-32bit-options)
15851 (syscall-list-32bit-condition, syscall-list-64bit-options)
15852 (syscall-list-64bit-condition): Define.
15853 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15854 Remove.
15855 (syscall-list-variants, syscall-list-32bit-options)
15856 (syscall-list-32bit-condition, syscall-list-64bit-options)
15857 (syscall-list-64bit-condition): Define.
15858
21eaf3a5
UD
158592011-12-22 Ulrich Drepper <drepper@gmail.com>
15860
16c6f992
UD
15861 * locale/iso-639.def: Add brx entry.
15862
41043168
UD
15863 [BZ #13328]
15864 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15865 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15866
21eaf3a5
UD
15867 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15868 __feraiseexcept_renamed.
15869
e3a851a2
UD
158702011-12-21 Ulrich Drepper <drepper@gmail.com>
15871
4920765e
UD
15872 [BZ #13538]
15873 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15874 EPOLLET with unsigned values.
15875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15877
e3a851a2
UD
15878 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15879 to large cancellation.
15880 * math/s_cacoshf.c: Likewise.
15881 * math/s_cacoshl.c: Likewise.
15882
b27e24b8
RK
158832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15884
15885 [BZ #13305]
aebefeee 15886 [BZ #12786]
b27e24b8
RK
15887 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15888 * math/s_cacoshf.c: Likewise.
15889 * math/s_cacoshl.c: Likewise.
15890
ee190f67
UD
158912011-12-21 Ulrich Drepper <drepper@gmail.com>
15892
15893 [BZ #13439]
15894 * iconv/gconv.h: Define __GCONV_SWAP.
15895 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15896 * iconvdata/utf-16.c: Likewise.
15897 * iconvdata/utf-32.c: Likewise.
15898
707f25df
AS
158992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15900
15901 [BZ #13524]
15902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15903 numerator after shifting it by one limb.
15904
d2daaa1e
RÁE
159052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15906
15907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15908 under [__USE_EXTERN_INLINES].
15909
a4647e72
UD
159102011-12-17 Ulrich Drepper <drepper@gmail.com>
15911
15912 [BZ #13446]
15913 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15914
f0b264f1
AZ
159152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15916
15917 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15918 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15919 optimized code.
15920 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15922 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15923 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15924 for strncasecmp/strncasecmp_l compilation.
15925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15926 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15927
8ef4f244
MP
159282011-12-08 Marek Polacek <mpolacek@redhat.com>
15929
15930 [BZ #13484]
15931 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15932 of __asm__.
15933
97ac2654
UD
159342011-12-17 Ulrich Drepper <drepper@gmail.com>
15935
15936 [BZ #13506]
15937 * time/tzfile.c (__tzfile_read): Check values from file header.
15938
91d2a845
WS
159392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15940
15941 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15942 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15943 * powerpc/powerpc32/dl-start.S: Likewise.
15944 * powerpc/powerpc32/elf/start.S: Likewise.
15945 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15946 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15947 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15948 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15949 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15950 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15951 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15952 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15953 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15954 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15955 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15956 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15957 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15958 * powerpc/powerpc32/memset.S: Likewise.
15959 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15960 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15961 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15962 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15963 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15964 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15965 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15966 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15967 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15968 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15970 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15971 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15972
a1267ba1
AZ
159732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974
15975 * math/libm-test.inc: Added more nearbyint tests.
15976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15977 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15980
ad8ac1bd
RL
159812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15982
15983 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15984 FD_CLOEXEC.
15985
1d3e4b61
UD
159862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15987
15988 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15989 Add wcscpy-ssse3 wcscpy-c.
15990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15991 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15992 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15993 * sysdeps/x86_64/wcschr.S: New file.
15994 * sysdeps/x86_64/wcsrchr.S: New file.
15995 * string/test-strcmp.c: Remove checking of wcscmp function for
15996 wrong alignments.
15997 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15998 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15999 wcsrchr-sse2 wcsrchr-c.
16000 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16001 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16002 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16003 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16004 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16005 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16006 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16007 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16009 * wcsmbc/wcschr.c (WCSCHR): New macro.
16010
5b330a2d
UD
160112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16012
16013 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16014 * wcsmbs/test-wcsrchr.c: New file.
16015 * string/test-strrchr.c: Add wcsrchr support.
16016 (WIDE): New macro.
16017 * wcsmbs/test-wcscpy.c: New file.
16018 * string/test-strcpy.c: Add wcscpy support.
16019 (WIDE): New macro.
26428b7c 16020
f039c043
UD
160212011-12-10 Ulrich Drepper <drepper@gmail.com>
16022
16023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16024 the inner loop.
16025
850fb039
AS
160262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16027
16028 [BZ #13472]
16029 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16030
4efbd5cb
UD
160312011-12-04 Ulrich Drepper <drepper@gmail.com>
16032
52ff5dd0 16033 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16034 Minor optimizations.
52ff5dd0 16035
4efbd5cb
UD
16036 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16037 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16038 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16039
8a426e12
UD
160402011-12-03 Ulrich Drepper <drepper@gmail.com>
16041
aff2453d
UD
16042 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16043 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16044 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16045 for gcc to avoid warnings.
16046 * inet/Makefile (tests): Add tst-checks.
16047 * inet/tst-checks.c: New file.
16048
16049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16050 warning.
16051
16052 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16053 __wmemcmp_sse2.
16054
16055 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16056 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16057
8a426e12
UD
16058 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16059
9bea3473
UD
160602011-12-02 Ulrich Drepper <drepper@gmail.com>
16061
3a965496
UD
16062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16063 problem.
16064
9bea3473
UD
16065 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16066
f101631b
UD
160672011-11-29 Joseph Myers <joseph@codesourcery.com>
16068
16069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16070 conditional on GCC version.
16071 (__arch_compare_and_exchange_val_8_acq)
16072 (__arch_compare_and_exchange_val_16_acq)
16073 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16074 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16075 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16076
a98275aa
UD
160772011-12-02 Joseph Myers <joseph@codesourcery.com>
16078
16079 * sysdeps/sh/backtrace.c: New file.
16080
d4cc29a2
AS
160812011-12-02 Andreas Schwab <schwab@redhat.com>
16082
16083 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16084 parenthesis.
16085
6257af2d
AS
160862011-12-01 Andreas Schwab <schwab@redhat.com>
16087
16088 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16089 falling back to utime.
16090
b5f44c1a
AS
160912011-11-30 Andreas Schwab <schwab@redhat.com>
16092
16093 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16094 expectations for float.
16095
f3a6cc0a
AS
160962011-11-29 Andreas Schwab <schwab@redhat.com>
16097
16098 * locale/weight.h (findidx): Add parameter len.
16099 * locale/weightwc.h (findidx): Likewise.
16100 * posix/fnmatch_loop.c (FCT): Adjust caller.
16101 * posix/regcomp.c (build_equiv_class): Likewise.
16102 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16103 * posix/regexec.c (check_node_accept_bytes): Likewise.
16104 * string/strcoll_l.c (STRCOLL): Likewise.
16105 * string/strxfrm_l.c (STRXFRM): Likewise.
16106
9d65ea3a
UD
161072011-11-17 Ulrich Drepper <drepper@gmail.com>
16108
16109 * Makefile.in: Remove CVSOPT handling.
16110 * configure.in: Remove use of AC_REVISION.
16111 * iconvdata/Makefile (distribute): No need to filter out CVS.
16112 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16113 handling.
16114
5583a086
AS
161152011-11-16 Andreas Schwab <schwab@redhat.com>
16116
16117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16118 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16119 [USE_AS_STRNCASECMP_L]: Likewise.
16120 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16121 NO_TLS_DIRECT_SEG_REFS.
16122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16123 Fix argument offsets for non-PIC.
16124 [USE_AS_STRNCASECMP_L]: Likewise.
16125 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16126 NO_TLS_DIRECT_SEG_REFS.
16127
d62a8200
UD
161282011-11-15 Ulrich Drepper <drepper@gmail.com>
16129
9d65ea3a 16130 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16131 O_CLOEXEC.
16132 * locale/loadlocale.c (_nl_load_locale): Likewise.
16133
09f93bd3
AS
161342011-11-15 Andreas Schwab <schwab@redhat.com>
16135
446514f9
AS
16136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16137 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16139 (SYSCALL_GETTIME): Set errno on error.
16140
09f93bd3
AS
16141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16142 count references to noai6ai_cached.
16143
312be3f9
UD
161442011-11-15 Ulrich Drepper <drepper@gmail.com>
16145
16146 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16147
16148 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16149 FD_CLOEXEC for /proc/self/maps.
16150
16151 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16152 FD_CLOEXEC for /proc/meminfo.
16153
16154 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16155 gai.conf.
16156
16157 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16158 FD_CLOEXEC for given file.
16159
16160 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16161
16162 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16163 FD_CLOEXEC for /etc/hosts.
16164 (_gethtent): Likewise.
16165
16166 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16167
16168 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16169 cancellation and set FD_CLOEXEC for /etc/netgroup.
16170
16171 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16172 reading /etc/publickey.
16173
16174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16175 allow cancellation when reading /etc/group.
16176
16177 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16178 cancellation.
16179 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16180
16181 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16182 when using data file.
16183
16184 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16185
16186 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16187 (write_nis_obj): Use "c" and "e" in fopen.
16188
16189 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16190
16191 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16192
16193 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16194
16195 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16196
16197 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16198 locale.alias.
16199
16200 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16201
16202 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16203
16204 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16205
16206 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16207 file parsing and set FD_CLOEXEC.
16208
82af0fa8
UD
162092011-11-14 Ulrich Drepper <drepper@gmail.com>
16210
16211 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16212
a5fb313c
AS
162132011-11-14 Andreas Schwab <schwab@redhat.com>
16214
16215 * malloc/arena.c (arena_get2): Don't call reused_arena when
16216 _int_new_arena failed.
16217
6abf3465
UD
162182011-11-14 Ulrich Drepper <drepper@gmail.com>
16219
16220 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16221 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16223 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16226 to compile strcasecmp and strncasecmp.
16227 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16228 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16229
16230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16231
76e3966e
UD
162322011-11-13 Ulrich Drepper <drepper@gmail.com>
16233
16234 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16235 locale-defines.sym to gen-as-const-headers.
16236 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16237 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16239 to compile strcasecmp and strncasecmp.
16240 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16241 strcasecmp_l and strncasecmp_l.
16242 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16243 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16244 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16246 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16248 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16249 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16250 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16251 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16252 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16253
ab26144e
UD
162542011-11-12 Ulrich Drepper <drepper@gmail.com>
16255
7edb22ef
UD
16256 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16257 result of SYSDEP_GETTIME_CPU to retval.
16258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16259 parameter list to macro. Remove trailing semicolon. Adjust users.
16260
9694fc44
UD
16261 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16262 variable.
16263
8ad89ef8
UD
16264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16265 mantissa words.
16266 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16267
0c822ef9
UD
16268 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16269 from unused variable.
16270
874e0564
UD
16271 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16272 DWARF definitions.
16273 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16274 for assembling.
16275
3a2edc79
UD
16276 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16277 over namespaces.
16278
f3c2577f
UD
16279 * sunrpc/rpc_prot.c (rejected): Fix case value.
16280
294ce126
UD
16281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16282 unsigned long long int to avoid warnings in shift.
16283
5e2b63c6
UD
16284 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16285 of use of trans.
16286 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16287 variable tmp.
16288
e7f4b08e
UD
16289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16290 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16292
ab26144e
UD
16293 * nis/nis_table.c (nis_list): Use variable of correct type for
16294 result of __follow_path call.
16295
8a6d5255
AZ
162962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16297
16298 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16299 of math functions ceil, trunc, floor, round, and sqrt, when
16300 avaliable on the platform.
16301 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16302 name clash.
16303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16306
aaddc98c
MP
163072011-10-30 Marek Polacek <mpolacek@redhat.com>
16308
16309 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16311
95b7042b
RM
163122011-11-11 Roland McGrath <roland@hack.frob.com>
16313
16314 * include/unistd.h: Fix __readlink return type.
16315 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16316
57769839
UD
163172011-11-11 Ulrich Drepper <drepper@gmail.com>
16318
16319 * stdlib/ucontext.h: Undo last change for makecontext.
16320
edc5984d
AS
163212011-11-11 Andreas Schwab <schwab@redhat.com>
16322
98591e58
AS
16323 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16324
edc5984d
AS
16325 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16326 * setjmp/setjmp.h: Mark functions as non-leaf.
16327 * setjmp/bits/setjmp2.h: Likewise.
16328 * stdlib/ucontext.h: Likewise.
16329
77cdc054
AS
163302011-11-10 Andreas Schwab <schwab@redhat.com>
16331
16332 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16333 (reused_arena): Don't check arena limit.
16334 (arena_get2): Atomically check arena limit.
16335
fe72eebd
UD
163362011-11-08 Ulrich Drepper <drepper@gmail.com>
16337
5f078c32
UD
16338 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16339 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16340
fe72eebd
UD
16341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16342 instructions.
16343
ae1bc2fa
AS
163442011-11-07 Andreas Schwab <schwab@redhat.com>
16345
7583a88d
AS
16346 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16347 handler when locking.
16348
ae1bc2fa
AS
16349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16350 Fix size of allocated buffer.
16351
10fb0bfa
AS
163522011-11-04 Andreas Schwab <schwab@redhat.com>
16353
998832a4
AS
16354 [BZ #10103]
16355 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16356 declarations for long double functions.
16357 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16358
10fb0bfa
AS
16359 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16360
3d7ba52b
AS
163612011-11-03 Andreas Schwab <schwab@redhat.com>
16362
a9ae54a1
AS
16363 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16364 installed.
16365
3d7ba52b
AS
16366 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16367 is disabled.
16368
bc8db248
ST
163692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16370
16371 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16372
45b96dd6
AS
163732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16374
647776f6
AS
16375 * include/alloca.h (stackinfo_alloca_round): Define.
16376 (extend_alloca): Use it.
16377 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16378 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16379 here.
16380
d91a8b93
AS
16381 * scripts/check-local-headers.sh: Ignore libaudit.h.
16382
45b96dd6
AS
16383 * nscd/Makefile (extra-objs): Make recursively expanded.
16384
432d41ce
UD
163852011-11-01 Ulrich Drepper <drepper@gmail.com>
16386
34372fc6
UD
16387 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16389
fadb59f8
UD
16390 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16391 * posix/tst-rfc3484-2.c: Likewise.
16392 * posix/tst-rfc3484-3.c: Likewise.
16393
78239589
UD
16394 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16395 process_vm_writev.
16396 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16397 process_vm_writev.
16398 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16399 process_vm_writev from libc using GLIBC_2.15 version.
16400
432d41ce
UD
16401 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16402
02f9c6cf
PP
164032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16404
16405 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16406 stack usage.
16407
3a2c0242
UD
164082011-10-31 Ulrich Drepper <drepper@gmail.com>
16409
f4ec4833
UD
16410 [BZ #13367]
16411 * nss/getent.c (initgroups_keys): Show error message in case no group
16412 names are given.
16413
3a2c0242
UD
16414 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16415 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16416 __bump_nl_timestamp.
16417 * nscd/connections (nscd_init): When host database is served open
16418 netlink socket and request notification about configuration changes.
16419 (main_loop_poll): Track netlink file descriptor and bump timestamp
16420 in case data becomes available.
16421 (main_loop_epoll): Likewise.
16422 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16423 (database_pers_head): Add extra_data fileds.
16424 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16426 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16427 Adjust caller.
16428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16429 in6ai data, call __free_in6ai.
16430 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16431 Add -DHAVE_NETLINK.
16432 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16433 interface information. Reuse previous data if netlink timestamp
16434 is not changed.
16435 (__bump_nl_timestamp): New function.
16436 (__free_in6ai): New function.
16437
636064eb
UD
164382011-10-30 Ulrich Drepper <drepper@gmail.com>
16439
16440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16441 close_not_cancel_no_status here.
16442 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16443
9beb2334
UD
164442011-10-29 Ulrich Drepper <drepper@gmail.com>
16445
6ef76f3b
UD
16446 [BZ #13276]
16447 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16448 return value.
16449
0ffc4f3e 16450 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16451 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16452 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16453
cb95113e
UD
164542011-07-03 Andreas Jaeger <aj@suse.de>
16455
16456 [BZ #10709]
16457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16458 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16459 * math/libm-test.inc (sin_test): Add test case.
16460
a1b560ff
UD
164612011-10-29 Ulrich Drepper <drepper@gmail.com>
16462
c9aaface
UD
16463 [BZ #13337]
16464 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16465 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16466
d272e7f1
UD
16467 * elf/chroot_canon.c (chroot_canon): Cleanups.
16468
1bc33071
UD
16469 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16470
1760874d
TJ
16471 [BZ #13335]
16472 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16473 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16474
51d91b18
UD
16475 * string/test-strchr.c: Make usable for strchrnul testing.
16476 * string/test-strchrnul.c: New file.
16477 * string/Makefile (strop-tests): Add strchrnul.
16478
a1b560ff 16479 * po/it.po: Update from translation team.
b611fb81 16480 * po/es.po: Likewise.
a1b560ff 16481
a5b81e1f
UD
164822011-10-28 Ulrich Drepper <drepper@gmail.com>
16483
fd52bc6d
UD
16484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16485 the three constants needed as parameters. Drop the others.
16486 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16487 __m128i_strloadu_tolower.
52e4b9eb
UD
16488 Create and initialize variable zero and use it in all the places
16489 where _mm_setzero_si128 was used.
fd52bc6d 16490
a5b81e1f
UD
16491 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16492 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16493 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16495 anymore.
16496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16497 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16498 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16499 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16500 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16501 __mpranred, __mptan.
16502 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16503 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16504 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16505 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16506 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16507 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16510 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16511
b4343346
AS
165122011-10-28 Andreas Schwab <schwab@redhat.com>
16513
0c92d8a8
AS
16514 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16515 redefine if SHARED.
16516 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16517
b4343346
AS
16518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16519 wide char related routines to wcsmbs subdir.
16520
3871f58f
AS
165212011-10-27 Andreas Schwab <schwab@redhat.com>
16522
16523 [BZ #13344]
16524 * misc/sys/cdefs.h (__THROWNL): Define.
16525 * posix/unistd.h: Use __THREADNL instead of __THREAD
16526 for memory synchronization functions.
16527
94d44d9f
RM
165282011-10-26 Roland McGrath <roland@hack.frob.com>
16529
21b64b15 16530 [BZ #13349]
94d44d9f
RM
16531 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16532 doesn't exist.
16533 * manual/stdio.texi (Obstack Streams): Node removed.
16534
f6ce9294
AS
165352011-10-26 Andreas Schwab <schwab@redhat.com>
16536
80479147
AS
16537 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16540
f6ce9294
AS
16541 * math/math_private.h (math_force_eval): Allow non-addressable
16542 arguments.
16543 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16544
618280a1
UD
165452011-10-25 Ulrich Drepper <drepper@gmail.com>
16546
e0016b11
UD
16547 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16548 file is not needed.
16549
16550 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16553 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16557 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16558 Add AVX variants.
16559 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16560 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16561 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16562 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16564 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16565 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16567 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16568 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16569 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16570 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16572 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16573 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16574 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16575 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16577 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16578
16579 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16580 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16581
618280a1
UD
16582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16583 place. Use VEX encoding when compiling for AVX.
16584
37822576
AS
165852011-10-25 Andreas Schwab <schwab@redhat.com>
16586
1f1e1947
AS
16587 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16588 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16589
37822576
AS
16590 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16591
31ea014d
UD
165922011-10-25 Ulrich Drepper <drepper@gmail.com>
16593
d7826aa1 16594 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16595 useless if() expression.
d7826aa1
UD
16596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16607 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16609 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16610 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16613 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16615
31ea014d
UD
16616 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16617
16437fec
AS
166182011-10-25 Andreas Schwab <schwab@redhat.com>
16619
16620 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16621 condition.
16622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16623
31d3cc00
UD
166242011-10-25 Ulrich Drepper <drepper@gmail.com>
16625
16626 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16627 .text section. Avoid duplicate constants.
16628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16636 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16637 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16640 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16643 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16645 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16651 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16652 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16653 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16654 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16655 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16659 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16660 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16661 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16662 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16663 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16664 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16666 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16667 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16668 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16670 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16672 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16673
58985aa9
UD
166742011-10-24 Ulrich Drepper <drepper@gmail.com>
16675
202c9deb
UD
16676 * sysdeps/x86_64/dla.h: Move to ...
16677 * sysdeps/x86_64/fpu/dla.h: ...here.
16678 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16679 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16680
af968f62
UD
16681 * config.make.in: Add have-mfma4 entry.
16682 * configure.in: Substitute libc_cv_cc_fma4.
16683 * math/Makefile (dbl-only-routines): Add sincostab.
16684 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16685 Use __sincostab not sincos.
16686 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16687 name is a macro.
16688 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16692 using __copysign.
16693 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16694 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16695 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16696 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16697 and __inv.
16698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16699 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16700 __copysign.
16701 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16702 define aliases when function name is a macro.
16703 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16704 sysdeps/ieee754/dbl-64/sincos.tbl.
16705 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16706 fma4-enabled routines.
16707 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16708 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16709 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16710 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16712 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16717 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16719 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16720 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16722 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16723 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16724 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16725 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16727 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16728 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16729 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16737
58985aa9
UD
16738 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16739 rename.
16740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16748
a201fbcf
AS
167492011-10-24 Andreas Schwab <schwab@redhat.com>
16750
16751 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16752
fc2ee42a
LD
167532011-10-23 Ulrich Drepper <drepper@gmail.com>
16754
bb3129bd
UD
16755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16756
0275fff8
UD
16757 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16758 prediction.
16759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16760
2fa2ae85
UD
16761 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16762 Remove unused variable magic_bits.
16763 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16764
fc2ee42a
LD
16765 * string/strnlen.c: Define and use STRNLEN macro.
16766 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16767 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16769 * wcsmbs/wcslen.c: Define and use WCSLEN.
16770 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16771 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16772 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16773 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16774 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16775 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16777
ce7dd29f
LD
167782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16779
16780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16781 strnlen-sse2-no-bsf.
16782 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16784 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16785 Add strnlen support.
16786 (USE_AS_STRNLEN): New macro.
16787 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16789 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16790 * sysdeps/x86_64/wcslen.S: New file.
16791
979c70a3
MZ
167922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16793
16794 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16795 XMM-moves are used for copying on small sizes.
16796
2d09f82f
LD
167972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16798
16799 * wcsmbs/Makefile (strop-tests): Add wcschr.
16800 * wcsmbs/test-wcschr.c: New file.
16801 * string/test-strchr.c: Update.
16802 Add wcschr support.
16803 (WIDE): New macro.
16804
619fccca
LD
168052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16806
2d09f82f 16807 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16808 * wcsmbs/test-wcslen.c: New file.
16809 * string/test-strlen.c: Update.
16810 Add wcslen support.
16811 (WIDE): New macro.
16812
09f699ea
UD
168132011-10-23 Ulrich Drepper <drepper@gmail.com>
16814
16815 * po/it.po: Update from translation team.
16816
95584d3b
LD
168172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16818
16819 * sysdeps/x86_64/wcscmp.S: Update.
16820 Fix wrong comparison semantics.
16821 wcscmp shall use signed comparison not unsigned.
16822 Don't use substraction to avoid overflow bug.
16823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16824 * wcsmbc/wcscmp.c: Likewise.
16825 * string/test-strcmp.c: Likewise.
16826 Add new tests to check cases with negative values.
16827
c8b3296b
UD
168282011-10-23 Ulrich Drepper <drepper@gmail.com>
16829
16830 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16831 * sysdeps/x86_64/dla.h: ...here. New file.
16832 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16841
246ad57a
AS
168422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16843
16844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16845 __ynl_finite aliases.
16846
a1a87169
UD
168472011-10-22 Ulrich Drepper <drepper@gmail.com>
16848
0d355eb7
UD
16849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16850
a1a87169
UD
16851 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16852 define DLA_FMA.
16853 [DLA_FMA] (EMULV): Use DLA_FMA.
16854 [DLA_FMA] (MUL12): Use EMULV.
16855 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16856 that are not needed.
16857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16864
ee2aafe0
AS
168652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16866
16867 * math/s_nan.c: Undef __nan.
16868 * math/s_nanf.c: Undef __nanf.
16869 * math/s_nanl.c: Undef __nanl.
16870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16871 "math_private.h".
16872
bc62c2fb
UD
168732011-10-22 Ulrich Drepper <drepper@gmail.com>
16874
77425c63
UD
16875 * math/s_catan.c: Add branch predictions.
16876 * math/s_catanf.c: Likewise.
16877 * math/s_catanh.c: Likewise.
16878 * math/s_catanhf.c: Likewise.
16879 * math/s_catanhl.c: Likewise.
16880 * math/s_catanl.c: Likewise.
16881 * math/s_cexp.c: Likewise.
16882 * math/s_cexpf.c: Likewise.
16883 * math/s_cexpl.c: Likewise.
16884 * math/s_clog.c: Likewise.
16885 * math/s_clog10.c: Likewise.
16886 * math/s_clog10f.c: Likewise.
16887 * math/s_clog10l.c: Likewise.
16888 * math/s_clogf.c: Likewise.
16889 * math/s_clogl.c: Likewise.
16890 * math/s_csqrt.c: Likewise.
16891 * math/s_csqrtf.c: Likewise.
16892 * math/s_csqrtl.c: Likewise.
16893 * math/s_ctanf.c: Likewise.
16894 * math/s_ctanh.c: Likewise.
16895 * math/s_ctanhf.c: Likewise.
16896 * math/s_ctanhl.c: Likewise.
16897 * math/s_ctanl.c: Likewise.
16898
bc62c2fb
UD
16899 * math/math_private.h: Define __nan, __nanf, __nanl.
16900 * math/s_cacosh.c: Include <math_private.h>.
16901 * math/s_cacoshl.c: Likewise.
16902 * math/s_casinh.c: Likewise.
16903 * math/s_casinhf.c: Likewise.
16904 * math/s_casinhl.c: Likewise.
16905 * math/s_ccos.c: Rely entire on ccosh.
16906 * math/s_ccosf.c: Rely entire on ccoshf.
16907 * math/s_ccosl.c: Rely entirely on ccoshl.
16908 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16909 Remove tests for FE_INVALID.
16910 * math/s_ccoshf.c: Likewise.
16911 * math/s_ccoshl.c: Likewise.
16912 * math/s_csin.c: Likewise.
16913 * math/s_csinf.c: Likewise.
16914 * math/s_csinh.c Likewise.
16915 * math/s_csinhf.c: Likewise.
16916 * math/s_csinhl.c: Likewise.
16917 * math/s_csinl.c: Likewise.
16918 * math/s_ctan.c: Likewise.
16919 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16920 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16922
8ec250a4
UD
169232011-10-21 Ulrich Drepper <drepper@gmail.com>
16924
c196fed8
UD
16925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16926 compilation problems.
16927
8ec250a4
UD
16928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16929 __builtin_expect.
16930
8d4f46c6
UD
169312011-10-20 Ulrich Drepper <drepper@gmail.com>
16932
ed72b654
UD
16933 * sysdeps/i386/configure.in: Test for -mfma4 option.
16934 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16935 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16936 COMMON_CPUID_INDEX_80000001.
16937 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16938 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16939 use it if FMA3 is not supported.
16940 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16941
8d4f46c6
UD
16942 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16944
d45c60c2
AS
169452011-10-20 Andreas Schwab <schwab@redhat.com>
16946
16947 [BZ #12892]
16948 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16949 it would create a cycle with a link time dependency.
16950
d9a4d2ab
UD
169512011-10-19 Ulrich Drepper <drepper@gmail.com>
16952
855d1560
UD
16953 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16954 instruction.
16955 * string/Makefile (strop-tests): Add rawmemchr.
16956 * string/test-rawmemchr.c: New file.
16957
d9a4d2ab
UD
16958 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16960 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16961 when compiling str{,n}casecmp and when AVX is available. Hook up
16962 new optimized code in initializers.
16963
8f3b1ffe
AS
169642011-10-19 Andreas Schwab <schwab@redhat.com>
16965
16966 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16967 __feraiseexcept instead of feraiseexcept.
16968
d38f1dba
UD
169692011-10-18 Ulrich Drepper <drepper@gmail.com>
16970
d9a8d0ab
UD
16971 * math/math_private.h: Define defaults for libc_fetestexcept and
16972 libc_feupdateenv.
16973 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16974 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16976 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16978 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16979 libc_fetestexcept and libc_feupdateenv.
16980
4855e3dd
UD
16981 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16982 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16983 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16984 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16985 libc_feholdexcept_setround.
16986
581d30e3
UD
16987 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16988 Add s_nearbyint-c and s_nearbyintf-c.
16989 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16990 nearbyintf inlines.
16991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16992 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16994 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16995
d38f1dba
UD
16996 * math/math_private.h: Define defaults for libc_fegetround,
16997 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16998 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16999 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17001 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17002 standard functions.
17003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17004 Remove comments and hacks for old compiler versions.
17005 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17006 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17007 libc_feholdexceptl.
17008
caa6c9d8
AS
170092011-10-18 Andreas Schwab <schwab@redhat.com>
17010
17011 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17012 (__feraiseexcept_renamed): Add __NTH.
17013 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17014 namespace violations.
17015
97c066e6
UD
170162011-10-17 Ulrich Drepper <drepper@gmail.com>
17017
99ce7b04
UD
17018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17019
1004d182
UD
17020 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17021
228a984d
UD
17022 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17023 recently added interfaces.
17024 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17025
c8553a6a
UD
17026 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17027 about macro parameter expansion.
17028
ed22dcf6
UD
17029 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17030 __NO_MATH_INLINES is defined. Cleanups.
17031
17032 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17033 and __floorf is target has SSE4.1.
17034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17038
b171c137
UD
17039 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17040 name.
17041 (floorf): Likewise.
17042
97c066e6
UD
17043 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17044
629f62ef
AS
170452011-10-17 Andreas Schwab <schwab@redhat.com>
17046
49a43d80
AS
17047 * misc/sys/cdefs.h: Fix last change.
17048
629f62ef
AS
17049 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17050 database lookup.
17051
e453f6cd
UD
170522011-10-16 Ulrich Drepper <drepper@gmail.com>
17053
aa78043a
UD
17054 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17055
ad0f5cad
UD
17056 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17065 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17066 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17067 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17068 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17069 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17070 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17074 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17075 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17076 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17077 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17078
17079 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17080 ceil, ceilf, floor, floorf.
17081
17082 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17083 Perform IRELATIVE relocations last.
17084
e453f6cd
UD
17085 * elf/do-rel.h: Add another parameter nrelative, replacing the
17086 local variable with the same name. Change name of the function
17087 to end in Rel or Rela (uppercase).
17088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17089 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17090 elf_dynamic_do_##reloc function.
17091
fd5bdc09
UD
170922011-10-15 Ulrich Drepper <drepper@gmail.com>
17093
79b195b5
UD
17094 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17095 is sufficient, at least on modern CPUs.
17096
d4a28569
UD
17097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17098
b61099b5
UD
17099 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17101
bcf01e6d
UD
17102 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17103 __expl_finite.
17104 * math/bits/math-finite.h: Add entries for exp.
17105 * math/e_expl.c: Add __*_finite alias.
17106 * sysdeps/i386/fpu/e_exp.S: Likewise.
17107 * sysdeps/i386/fpu/e_expf.S: Likewise.
17108 * sysdeps/i386/fpu/e_expl.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17110 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17114 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17115 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17116
ba1a0d59
UD
17117 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17118 is sufficient, at least on modern CPUs.
17119
fd5bdc09
UD
17120 * ctype/ctype-info.c (__ctype_init): Define.
17121 * include/ctype.h (__ctype_init): Declare.
17122 (__ctype_b_loc): The variable is always initialized.
17123 (__ctype_toupper_loc): Likewise.
17124 (__ctype_tolower_loc): Likewise.
17125 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17126 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17127
7872cfb0
AS
171282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17129
b468825a
AS
17130 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17131
7872cfb0
AS
17132 * configure.in: Also look in $cxxmachine/include for C++ system
17133 headers.
17134
be13f7bf
LD
171352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17136
17137 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17138 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17139 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17140 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17142 (USE_AS_WMEMCMP): New macro.
17143 Fixing indents.
17144 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17145 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17146 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17147 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17149 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17150 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17151 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17152 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17153 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17155 (USE_AS_WMEMCMP): New macro.
17156 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17157 * sysdeps/string/test-memcmp.c: Update.
17158 Fix simple_wmemcmp.
17159 Add new tests.
17160 * wcsmbs/wmemcmp.c: Update.
17161 (WMEMCMP): New macro.
17162 Fix overflow bug.
17163
556a2007
AJ
171642011-10-12 Andreas Jaeger <aj@suse.de>
17165
17166 [BZ #13268]
17167 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17168
538faaa7
UD
171692011-10-15 Ulrich Drepper <drepper@gmail.com>
17170
ab6737ff
UD
17171 * libio/iofwide.c (do_length): Avoid warning.
17172
538faaa7
UD
17173 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17174
396a21b1
UD
171752011-10-14 Ulrich Drepper <drepper@gmail.com>
17176
cdf2901f
UD
17177 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17178
38ad40ce
UD
17179 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17180 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17181 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17182 * sysdeps/i386/i686/fpu/e_log.S: New file.
17183 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17184 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17185
396a21b1
UD
17186 * ctype/ctype.h: Add support for inlined isXXX functions when
17187 compiling C++ code.
17188
6b1f68c9
AS
171892011-10-14 Andreas Schwab <schwab@redhat.com>
17190
349290c0
AS
17191 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17192
6b1f68c9
AS
17193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17194
f2282d42
RM
171952011-10-13 Roland McGrath <roland@hack.frob.com>
17196
17197 [BZ #13291]
17198 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17199
5298ffa8
AS
172002011-10-13 Andreas Schwab <schwab@redhat.com>
17201
714fad23
AS
17202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17203 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17204 feraiseexcept.
17205
81dcc7fb
AS
17206 * sysdeps/x86_64/memrchr.S: Check for zero size.
17207
5298ffa8
AS
17208 * string/stratcliff.c: Add memrchr tests.
17209
951fbcec
LD
172102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17211
17212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17213 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17214 rawmemchr-sse2 rawmemchr-sse2-bsf.
17215 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17216 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17217 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17218 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17219 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17220 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17221 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17222 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17224 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17225 * string/memrchr.c (MEMRCHR): New macro.
17226
0ac5ae23
UD
172272011-10-12 Ulrich Drepper <drepper@gmail.com>
17228
17229 Add integration with gcc's -ffinite-math-only and optimize wrapper
17230 functions in libm.
17231 * Versions.def: Define GLIBC_2.15 version for libm.
17232 * math/Makefile (headers): Add bits/math-finite.h.
17233 * math/bits/math-finite.h: New file.
17234 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17235 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17236 * math/e_acoshl.c: Add __*_finite alias.
17237 * math/e_acosl.c: Likewise.
17238 * math/e_asinl.c: Likewise.
17239 * math/e_atan2l.c: Likewise.
17240 * math/e_atanhl.c: Likewise.
17241 * math/e_coshl.c: Likewise.
17242 * math/e_exp10.c: Likewise.
17243 * math/e_exp10f.c: Likewise.
17244 * math/e_exp10l.c: Likewise.
17245 * math/e_exp2l.c: Likewise.
17246 * math/e_fmodl.c: Likewise.
17247 * math/e_gammal_r.c: Likewise.
17248 * math/e_hypotl.c: Likewise.
17249 * math/e_j0l.c: Likewise.
17250 * math/e_j1l.c: Likewise.
17251 * math/e_jnl.c: Likewise.
17252 * math/e_lgammal_r.c: Likewise.
17253 * math/e_log10l.c: Likewise.
17254 * math/e_log2l.c: Likewise.
17255 * math/e_logl.c: Likewise.
17256 * math/e_powl.c: Likewise.
17257 * math/e_sinhl.c: Likewise.
17258 * math/e_sqrtl.c: Likewise.
17259 * math/e_scalb.c: Completely rewritten and optimized.
17260 * math/e_scalbf.c: Likewise.
17261 * math/e_scalbl.c: Likewise.
17262 * math/w_acos.c: Likewise.
17263 * math/w_acosf.c: Likewise.
17264 * math/w_acosl.c: Likewise.
17265 * math/w_acosh.c: Likewise.
17266 * math/w_acoshf.c: Likewise.
17267 * math/w_acoshl.c: Likewise.
17268 * math/w_asin.c: Likewise.
17269 * math/w_asinf.c: Likewise.
17270 * math/w_asinl.c: Likewise.
17271 * math/w_atan2.c: Likewise.
17272 * math/w_atan2f.c: Likewise.
17273 * math/w_atan2l.c: Likewise.
17274 * math/w_atanh.c: Likewise.
17275 * math/w_atanhf.c: Likewise.
17276 * math/w_atanhl.c: Likewise.
17277 * math/w_exp10.c: Likewise.
17278 * math/w_exp10f.c: Likewise.
17279 * math/w_exp10l.c: Likewise.
17280 * math/w_fmod.c: Likewise.
17281 * math/w_fmodf.c: Likewise.
17282 * math/w_fmodl.c: Likewise.
17283 * math/w_j0.c: Likewise.
17284 * math/w_j0f.c: Likewise.
17285 * math/w_j0l.c: Likewise.
17286 * math/w_j1.c: Likewise.
17287 * math/w_j1f.c: Likewise.
17288 * math/w_j1l.c: Likewise.
17289 * math/w_jn.c: Likewise.
17290 * math/w_jnf.c: Likewise.
17291 * math/w_log.c: Likewise.
17292 * math/w_logf.c: Likewise.
17293 * math/w_logl.c: Likewise.
17294 * math/w_log10.c: Likewise.
17295 * math/w_log10f.c: Likewise.
17296 * math/w_log10l.c: Likewise.
17297 * math/w_log2.c: Likewise.
17298 * math/w_log2f.c: Likewise.
17299 * math/w_log2l.c: Likewise.
17300 * math/w_pow.c: Likewise.
17301 * math/w_powf.c: Likewise.
17302 * math/w_powl.c: Likewise.
17303 * math/w_remainder.c: Likewise.
17304 * math/w_remainderf.c: Likewise.
17305 * math/w_remainderl.c: Likewise.
17306 * math/w_scalb.c: Likewise.
17307 * math/w_scalbf.c: Likewise.
17308 * math/w_scalbl.c: Likewise.
17309 * math/w_sqrt.c: Likewise.
17310 * math/w_sqrtf.c: Likewise.
17311 * math/w_sqrtl.c: Likewise.
17312 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17313 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17314 used.
17315 * math/math_private.h: Declare __kernel_standard_f.
17316 * math/w_cosh.c: Remove cruft and optimize a bit.
17317 * math/w_coshf.c: Likewise.
17318 * math/w_coshl.c: Likewise.
17319 * math/w_exp2.c: Likewise.
17320 * math/w_exp2f.c: Likewise.
17321 * math/w_exp2l.c: Likewise.
17322 * math/w_hypot.c: Likewise.
17323 * math/w_hypotf.c: Likewise.
17324 * math/w_hypotl.c: Likewise.
17325 * math/w_lgamma.c: Likewise.
17326 * math/w_lgamma_r.c: Likewise.
17327 * math/w_lgammaf.c: Likewise.
17328 * math/w_lgammaf_r.c: Likewise.
17329 * math/w_lgammal.c: Likewise.
17330 * math/w_lgammal_r.c: Likewise.
17331 * math/w_sinh.c: Likewise.
17332 * math/w_sinhf.c: Likewise.
17333 * math/w_sinhl.c: Likewise.
17334 * math/w_tgamma.c: Likewise.
17335 * math/w_tgammaf.c: Likewise.
17336 * math/w_tgammal.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17339 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17340 Minor optimizations. Pretty printing. Remove cruft.
17341 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17345 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17346 * sysdeps/i386/fpu/e_asin.S: Likewise.
17347 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17348 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17349 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17350 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17353 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17354 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17355 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17356 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17357 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17358 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17359 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17360 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17361 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17362 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17363 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17364 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17365 * sysdeps/i386/fpu/e_log.S: Likewise.
17366 * sysdeps/i386/fpu/e_log10.S: Likewise.
17367 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17369 * sysdeps/i386/fpu/e_log2.S: Likewise.
17370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17372 * sysdeps/i386/fpu/e_logf.S: Likewise.
17373 * sysdeps/i386/fpu/e_logl.S: Likewise.
17374 * sysdeps/i386/fpu/e_pow.S: Likewise.
17375 * sysdeps/i386/fpu/e_powf.S: Likewise.
17376 * sysdeps/i386/fpu/e_powl.S: Likewise.
17377 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17378 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17379 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17383 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17384 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17385 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17411 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17414 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17415 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17417 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17419 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17420 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17421 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17422 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17423 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17472 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17474 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17477 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17478 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17479 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17483 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17484 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17485 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17486 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17487 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17488 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17489 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17490 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17494 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17496 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17497 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17498 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17499 (__isnanf): Likewise.
17500 (__isinf_ns): Likewise.
17501 (__isinf_nsf): Likewise.
17502 (__finite): Likewise.
17503 (__finitef): Likewise.
17504 (__ieee754_sqrt): Define as macro.
17505 (__ieee754_sqrtf): Define as macro.
17506 (__ieee754_sqrtl): Define as macro.
17507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17508 inlined copy.
17509 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17510 __FINITE_MATH_ONLY__ consistent.
17511 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17512
12cc2fcd
AS
175132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17514
a843a204
AS
17515 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17516 of rawmemchr.
17517
12cc2fcd
AS
17518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17519
c853acd5
UD
175202011-10-09 Ulrich Drepper <drepper@gmail.com>
17521
17522 * po/ja.po: Update from translation team.
17523
c658d255
RM
175242011-10-08 Roland McGrath <roland@hack.frob.com>
17525
110946e4
RM
17526 * locale/programs/locarchive.c (prepare_address_space): New function.
17527 (create_archive, enlarge_archive, open_archive): Use it.
17528
50604220
RM
17529 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17530 inside [SHARED], where it is used.
17531
c658d255
RM
17532 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17533
17534 * nss/getent.c (netgroup_keys): Remove unused variable.
17535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17536
6a621eb7
UD
175372011-10-08 Ulrich Drepper <drepper@gmail.com>
17538
7edb55ce
UD
17539 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17544 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17545 * math/Makefile (libm-calls): Add s_isinf_ns.
17546 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17547 * math/multc3.c: Likewise.
17548 * math/s_casin.c: Likewise.
17549 * math/s_casinf.c: Likewise.
17550 * math/s_casinl.c: Likewise.
17551 * math/s_ccos.c: Likewise.
17552 * math/s_ccosf.c: Likewise.
17553 * math/s_ccosl.c: Likewise.
17554 * math/s_ctan.c: Likewise.
17555 * math/s_ctanf.c: Likewise.
17556 * math/s_ctanh.c: Likewise.
17557 * math/s_ctanhf.c: Likewise.
17558 * math/s_ctanhl.c: Likewise.
17559 * math/s_ctanl.c: Likewise.
17560 * math/w_fmod.c: Likewise.
17561 * math/w_fmodf.c: Likewise.
17562 * math/w_fmodl.c: Likewise.
17563 * math/w_remainder.c: Likewise.
17564 * math/w_remainderf.c: Likewise.
17565 * math/w_remainderl.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17567 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17570 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17571 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17572 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17573 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17574
187da0ae
UD
17575 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17576 of the number.
17577 * stdio-common/printf_fphex.c: Likewise.
17578 * stdio-common/printf_size.c: Likewise.
17579
9277c064
UD
17580 * math/e_exp10.c: Include math_private.h using <...> not "...".
17581 * math/e_exp10f.c: Likewise.
17582 * math/e_exp10l.c: Likewise.
17583 * math/e_exp2l.c: Likewise.
17584 * math/e_j0l.c: Likewise.
17585 * math/e_j1l.c: Likewise.
17586 * math/e_jnl.c: Likewise.
17587 * math/e_lgammal_r.c: Likewise.
17588 * math/e_rem_pio2l.c: Likewise.
17589 * math/e_scalb.c: Likewise.
17590 * math/e_scalbf.c: Likewise.
17591 * math/e_scalbl.c: Likewise.
17592 * math/k_cosl.c: Likewise.
17593 * math/k_sinl.c: Likewise.
17594 * math/k_tanl.c: Likewise.
17595 * math/s_cacoshf.c: Likewise.
17596 * math/s_catan.c: Likewise.
17597 * math/s_catanf.c: Likewise.
17598 * math/s_catanh.c: Likewise.
17599 * math/s_catanhf.c: Likewise.
17600 * math/s_catanhl.c: Likewise.
17601 * math/s_catanl.c: Likewise.
17602 * math/s_ccosh.c: Likewise.
17603 * math/s_ccoshf.c: Likewise.
17604 * math/s_ccoshl.c: Likewise.
17605 * math/s_cexp.c: Likewise.
17606 * math/s_cexpf.c: Likewise.
17607 * math/s_cexpl.c: Likewise.
17608 * math/s_clog.c: Likewise.
17609 * math/s_clog10.c: Likewise.
17610 * math/s_clog10f.c: Likewise.
17611 * math/s_clog10l.c: Likewise.
17612 * math/s_clogf.c: Likewise.
17613 * math/s_clogl.c: Likewise.
17614 * math/s_csin.c: Likewise.
17615 * math/s_csinf.c: Likewise.
17616 * math/s_csinh.c: Likewise.
17617 * math/s_csinhf.c: Likewise.
17618 * math/s_csinhl.c: Likewise.
17619 * math/s_csinl.c: Likewise.
17620 * math/s_csqrt.c: Likewise.
17621 * math/s_csqrtf.c: Likewise.
17622 * math/s_csqrtl.c: Likewise.
17623 * math/s_ctan.c: Likewise.
17624 * math/s_ctanf.c: Likewise.
17625 * math/s_ctanh.c: Likewise.
17626 * math/s_ctanhf.c: Likewise.
17627 * math/s_ctanhl.c: Likewise.
17628 * math/s_ctanl.c: Likewise.
17629 * math/s_ldexp.c: Likewise.
17630 * math/s_ldexpf.c: Likewise.
17631 * math/s_ldexpl.c: Likewise.
17632 * math/s_significand.c: Likewise.
17633 * math/s_significandf.c: Likewise.
17634 * math/s_significandl.c: Likewise.
17635 * math/w_acos.c: Likewise.
17636 * math/w_acosf.c: Likewise.
17637 * math/w_acosh.c: Likewise.
17638 * math/w_acoshf.c: Likewise.
17639 * math/w_acoshl.c: Likewise.
17640 * math/w_acosl.c: Likewise.
17641 * math/w_asin.c: Likewise.
17642 * math/w_asinf.c: Likewise.
17643 * math/w_asinl.c: Likewise.
17644 * math/w_atan2.c: Likewise.
17645 * math/w_atan2f.c: Likewise.
17646 * math/w_atan2l.c: Likewise.
17647 * math/w_atanh.c: Likewise.
17648 * math/w_atanhf.c: Likewise.
17649 * math/w_atanhl.c: Likewise.
17650 * math/w_cosh.c: Likewise.
17651 * math/w_coshf.c: Likewise.
17652 * math/w_coshl.c: Likewise.
17653 * math/w_dremf.c: Likewise.
17654 * math/w_exp10.c: Likewise.
17655 * math/w_exp10f.c: Likewise.
17656 * math/w_exp10l.c: Likewise.
17657 * math/w_exp2.c: Likewise.
17658 * math/w_exp2f.c: Likewise.
17659 * math/w_fmod.c: Likewise.
17660 * math/w_fmodf.c: Likewise.
17661 * math/w_fmodl.c: Likewise.
17662 * math/w_hypot.c: Likewise.
17663 * math/w_hypotf.c: Likewise.
17664 * math/w_hypotl.c: Likewise.
17665 * math/w_j0.c: Likewise.
17666 * math/w_j0f.c: Likewise.
17667 * math/w_j0l.c: Likewise.
17668 * math/w_j1.c: Likewise.
17669 * math/w_j1f.c: Likewise.
17670 * math/w_j1l.c: Likewise.
17671 * math/w_jn.c: Likewise.
17672 * math/w_jnf.c: Likewise.
17673 * math/w_jnl.c: Likewise.
17674 * math/w_lgamma.c: Likewise.
17675 * math/w_lgamma_r.c: Likewise.
17676 * math/w_lgammaf.c: Likewise.
17677 * math/w_lgammaf_r.c: Likewise.
17678 * math/w_lgammal.c: Likewise.
17679 * math/w_lgammal_r.c: Likewise.
17680 * math/w_log.c: Likewise.
17681 * math/w_log10.c: Likewise.
17682 * math/w_log10f.c: Likewise.
17683 * math/w_log10l.c: Likewise.
17684 * math/w_log2.c: Likewise.
17685 * math/w_log2f.c: Likewise.
17686 * math/w_log2l.c: Likewise.
17687 * math/w_logf.c: Likewise.
17688 * math/w_logl.c: Likewise.
17689 * math/w_pow.c: Likewise.
17690 * math/w_powf.c: Likewise.
17691 * math/w_powl.c: Likewise.
17692 * math/w_remainder.c: Likewise.
17693 * math/w_remainderf.c: Likewise.
17694 * math/w_remainderl.c: Likewise.
17695 * math/w_scalb.c: Likewise.
17696 * math/w_scalbf.c: Likewise.
17697 * math/w_scalbl.c: Likewise.
17698 * math/w_sinh.c: Likewise.
17699 * math/w_sinhf.c: Likewise.
17700 * math/w_sinhl.c: Likewise.
17701 * math/w_sqrt.c: Likewise.
17702 * math/w_sqrtf.c: Likewise.
17703 * math/w_sqrtl.c: Likewise.
17704 * math/w_tgamma.c: Likewise.
17705 * math/w_tgammaf.c: Likewise.
17706 * math/w_tgammal.c: Likewise.
17707
6a621eb7
UD
17708 * po/ja.po: Update from translation team.
17709
bf582445
AJ
177102011-09-29 Andreas Jaeger <aj@suse.de>
17711
f9efbf3a
AJ
17712 [BZ #13179]
17713 * sunrpc/netname.c (netname2host): Fix logic.
17714
bf582445
AJ
17715 [BZ #6779]
17716 [BZ #6783]
17717 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17718 correctly.
17719 * math/w_remainder.c (__remainder): Likewise.
17720 * math/w_remainderf.c (__remainderf): Likewise.
17721 * math/libm-test.inc (remainder_test): Add test cases.
17722
48693bea
AK
177232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17724
17725 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17726 sdiv_qrnnd.
17727
42622229
LD
177282011-10-07 Ulrich Drepper <drepper@gmail.com>
17729
17730 * string/test-memcmp.c: Avoid unncessary #defines.
17731 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17732
093ecf92
LD
177332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17734
17735 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17736 Use new sse2 version for core i3 - i7 as it's faster
17737 than sse42 version.
17738 (bit_Prefer_PMINUB_for_stringop): New.
17739 * sysdeps/x86_64/rawmemchr.S: Update.
17740 Replace with faster SSE2 version.
17741 * sysdeps/x86_64/memrchr.S: New file.
17742 * sysdeps/x86_64/memchr.S: Update.
17743 Replace with faster SSE2 version.
17744
fde56e5c
MP
177452011-09-12 Marek Polacek <mpolacek@redhat.com>
17746
17747 * elf/dl-load.c (lose): Add cast to avoid warning.
17748
21fd49a9
UD
177492011-10-07 Ulrich Drepper <drepper@gmail.com>
17750
5a06e643
UD
17751 * po/ca.po: Update from translation team.
17752
684ae515
UD
17753 * inet/getnetgrent_r.c: Hook up nscd.
17754 * nscd/Makefile (routines): Add nscd_netgroup.
17755 (nscd-modules): Add netgroupcache.
17756 (CFLAGS-netgroupcache.c): Define.
17757 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17758 (cache_search): Add const to second parameter.
17759 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17760 INNETGR.
17761 (dbs): Add netgrdb entry.
17762 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17763 (verify_persistent_db): Handle netgrdb.
17764 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17765 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17766 GETFDNETGR.
17767 (netgroup_response_header): Define.
17768 (innetgroup_response_header): Define.
17769 (datahead): Add netgroup_response_header and innetgroup_response_header
17770 elements.
17771 * nscd/nscd.conf: Add entries for netgroup cache.
17772 * nscd/nscd.h (dbtype): Add netgrdb.
17773 (_PATH_NSCD_NETGROUP_DB): Define.
17774 (netgroup_iov_disabled): Declare.
17775 (xmalloc, xcalloc, xrealloc): Move declarations here.
17776 (cache_search): Adjust prototype.
17777 Add netgroup-related prototypes.
17778 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17779 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17780 (__nscd_innetgr): Declare.
17781 * nscd/selinux.c (perms): Use access_vector_t as element type and
17782 add netgroup-related initializers.
17783 * nscd/netgroupcache.c: New file.
17784 * nscd/nscd_netgroup.c: New file.
17785 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17786 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17787 For four parameters use innetgr.
17788 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17789 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17790 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17791 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17792
21fd49a9
UD
17793 * nscd/connections.c (register_traced_file): Don't register file
17794 for disabled databases.
17795
054c0457
UD
177962011-10-06 Ulrich Drepper <drepper@gmail.com>
17797
32b63198
UD
17798 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17799
054c0457
UD
17800 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17801 from tree and freeing node.
17802
64031225
JO
178032011-09-25 Jiri Olsa <jolsa@redhat.com>
17804
17805 * nss/nsswitch.c (__nss_database_lookup): Handle
17806 nss_parse_service_list out of memory case.
17807
0490345c
JO
178082011-09-15 Jiri Olsa <jolsa@redhat.com>
17809
17810 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17811 out of memory case.
17812
3a62d00d
AS
178132011-10-04 Andreas Schwab <schwab@redhat.com>
17814
17815 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17816 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17817 pass it down.
17818 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17819 elf_machine_rela, elf_machine_lazy_rel.
17820 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17821 (ELF_DYNAMIC_DO_REL): Likewise.
17822 (ELF_DYNAMIC_DO_RELA): Likewise.
17823 (ELF_DYNAMIC_RELOCATE): Likewise.
17824 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17825 to ELF_DYNAMIC_DO_REL.
17826 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17827 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17828 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17829 elf_machine_rela.
17830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17831 skip_ifunc, don't call ifunc function if non-zero.
17832 (elf_machine_rela): Likewise.
17833 (elf_machine_lazy_rel): Likewise.
17834 (elf_machine_lazy_rela): Likewise.
17835 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17836 (elf_machine_lazy_rel): Likewise.
17837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17838 Likewise.
17839 (elf_machine_lazy_rel): Likewise.
17840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17841 Likewise.
17842 (elf_machine_lazy_rel): Likewise.
17843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17844 (elf_machine_lazy_rel): Likewise.
17845 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17846 (elf_machine_lazy_rel): Likewise.
17847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17848 (elf_machine_lazy_rel): Likewise.
17849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17850 (elf_machine_lazy_rel): Likewise.
17851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17852 (elf_machine_lazy_rel): Likewise.
17853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17854 (elf_machine_lazy_rel): Likewise.
17855
68577918
UD
178562011-09-28 Ulrich Drepper <drepper@gmail.com>
17857
17858 * nss/nss_files/files-init.c (_nss_files_init): Use static
17859 initialization for all the *_traced_file variables.
17860
68822d74
AS
178612011-09-28 Andreas Schwab <schwab@redhat.com>
17862
17863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17864
2056100b
RM
178652011-09-27 Roland McGrath <roland@hack.frob.com>
17866
17867 [BZ #13226]
17868 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17869
32c76b63
AS
178702011-09-27 Andreas Schwab <schwab@redhat.com>
17871
17872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17873 Reread the line before reparsing it.
17874
bf972c9d
AS
178752011-09-26 Andreas Schwab <schwab@redhat.com>
17876
17877 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17878
e057a1b5
JM
178792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17880 Maxim Kuvyrkov <maxim@codesourcery.com>
17881 Joseph Myers <joseph@codesourcery.com>
17882
17883 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17884 if needed for __stack_chk_guard.
17885
bc7e1c36
RM
178862011-09-19 Roland McGrath <roland@hack.frob.com>
17887
ecb1482f
RM
17888 * sysdeps/posix/spawni.c (script_execute): Always define it.
17889 It will be optimized away if unused.
17890 (maybe_script_execute): New function.
17891 (__spawni): Call it.
17892
bc7e1c36
RM
17893 * Makerules: Don't include tls.make.
17894 (config-tls): Always set to thread.
17895 * tls.make.c: File removed.
17896
1c3b002b
MF
178972011-09-19 Mike Frysinger <vapier@gentoo.org>
17898
17899 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17900 * config.make.in (CPPFLAGS-config): New substituted variable.
17901
2840865d
UD
179022011-09-15 Ulrich Drepper <drepper@gmail.com>
17903
88738eb6
UD
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17905
cbf645a6 17906 [BZ #13192]
2840865d
UD
17907 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17908 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17909
b402e91a
RM
179102011-09-15 Roland McGrath <roland@hack.frob.com>
17911
17912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17913 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17915 (CALL_FAIL): Likewise.
17916 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17917 (CALL_FAIL): Macro removed.
17918 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17919
4c1a1f71
UD
179202011-09-15 Ulrich Drepper <drepper@gmail.com>
17921
17922 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17923 for __FINITE_MATH_ONLY__ == 1.
17924
edc121be
AS
179252011-09-15 Andreas Schwab <schwab@redhat.com>
17926
17927 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17928 __ieee754_sqrt instead of sqrt.
17929 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17930 __ieee754_sqrtf instead of sqrtf.
17931 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17932 __floorf instead of floorf.
17933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17934 __floorf, __truncf instead of floorf, truncf.
17935
cd205654
UD
179362011-09-14 Ulrich Drepper <drepper@gmail.com>
17937
ee4d0315
UD
17938 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17939
cd205654
UD
17940 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17941 __extern_always_inline.
17942 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17943 32-bit.
17944
48b67d71
AS
179452011-09-14 Andreas Schwab <schwab@redhat.com>
17946
17947 * elf/rtld.c (dl_main): Also relocate in dependency order when
17948 doing symbol dependency testing.
17949
1ae12c75
AS
179502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17951
17952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17953 Always define `refsym'.
17954
995a80df
AS
179552011-09-13 Andreas Schwab <schwab@redhat.com>
17956
e529793b
AS
17957 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17958 (__FD_ELT): Renamed from __FDELT.
17959 * misc/bits/select2.h (__FD_ELT): Likewise.
17960 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17961 __FD_MASK instead of __FDELT, __FDMASK.
17962 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17963 Likewise.
17964 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17965 Likewise.
17966
52d4fef8
AS
17967 * elf/Makefile (gen-ldd): Fix pattern.
17968
995a80df
AS
17969 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17970 (init_tls): Likewise.
17971
8682f8b0
UD
179722011-09-12 Ulrich Drepper <drepper@gmail.com>
17973
17974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17975
de82006d
AS
179762011-09-12 Andreas Schwab <schwab@redhat.com>
17977
a7c8e6a1
AS
17978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17979 `struct cmsghdr *' instead of `void *'.
17980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17981 Likewise.
17982
0f31fe77
AS
179832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17984
17985 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17986 if non-absolute.
17987 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17988 ldd_rewrite_script.
0f31fe77 17989
32b4c839
UD
179902011-09-11 Ulrich Drepper <drepper@gmail.com>
17991
83cd1420
UD
17992 * configure.in: Remove --with-tls option.
17993 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17994 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17995 out in case it is missing.
17996 * sysdeps/ia64/elf/configure.in: Likewise.
17997 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17998 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17999 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18000 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18001 * sysdeps/sh/elf/configure.in: Likewise.
18002 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18004 * sysdeps/x86_64/elf/configure.in: Likewise.
18005 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18006 * sysdeps/mach/hurd/tls.h: Likewise.
18007
633f745d
UD
18008 [BZ #13067]
18009 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18010
f318beb8
UD
18011 [BZ #13090]
18012 * configure.in: Fix use of AC_INIT.
18013
32b4c839
UD
18014 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18015
3ce1f295
UD
180162011-09-10 Ulrich Drepper <drepper@gmail.com>
18017
bb016596
UD
18018 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18019 __set_errno.
8e58439c
UD
18020 * malloc/hooks.c: Likewise.
18021
aebae053 18022 [BZ #11929]
02d46fc4
UD
18023 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18024 variables statically.
18025 (narenas): Initialize.
18026 (list_lock): Initialize.
bb016596
UD
18027 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18028 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18029 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18030 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18031 Add initializers to main_arena and mp_.
18032 (malloc_state): Remove pagesize member. Change all users to use
18033 GLRO(dl_pagesize).
18034
18035 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18036 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18037 is always initialized.
18038
22a89187
UD
18039 * malloc/malloc.c: Removed unused configurations and dead code.
18040 * malloc/arena.c: Likewise.
18041 * malloc/hooks.c: Likewise.
02d46fc4 18042 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18043
d063d164
UD
18044 * include/tls.h: Removed. USE___THREAD must always be defined.
18045 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18046 * elf/dl-libc.c: Likewise.
18047 * elf/dl-tsd.c: Likewise.
18048 * include/errno.h: Likewise.
18049 * include/netdb.h: Likewise.
18050 * include/resolv.h: Likewise.
18051 * inet/herrno-loc.c: Likewise.
18052 * inet/herrno.c: Likewise.
18053 * malloc/arena.c: Likewise.
18054 * malloc/hooks.c: Likewise.
18055 * malloc/malloc.c: Likewise.
18056 * resolv/res-state.c: Likewise.
18057 * resolv/res_libc.c: Likewise.
18058 * sysdeps/i386/dl-machine.h: Likewise.
18059 * sysdeps/ia64/dl-machine.h: Likewise.
18060 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18061 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18062 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18063 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18064 * sysdeps/sh/dl-machine.h: Likewise.
18065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18067 * sysdeps/unix/i386/sysdep.S: Likewise.
18068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18069 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18074 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18079 * sysdeps/x86_64/dl-machine.h: Likewise.
18080 * tls.make.c: Likewise.
18081
3ce1f295
UD
18082 * configure.in: Remove --with-__thread option. Make tests for
18083 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18084 tls_model attribute fail if no support is available. Remove
18085 USE_IN_LIBIO.
18086 * Makeconfig: Adjust for dropped configure option. All features are
18087 now mandatory.
18088 * Makerules: Likewise.
18089 * Versions.def: Likewise.
18090 * argp/argp-fmtstream.c: Likewise.
18091 * argp/argp-fmtstream.h: Likewise.
18092 * argp/argp-help.c: Likewise.
18093 * assert/assert.c: Likewise.
18094 * config.h.in: Likewise.
18095 * config.make.in: Likewise.
18096 * configure: Likewise.
18097 * configure.in: Likewise.
18098 * csu/Versions: Likewise.
18099 * csu/init.c: Likewise.
18100 * elf/tst-audit2.c: Likewise.
18101 * elf/tst-tls10.c: Likewise.
18102 * elf/tst-tls10.h: Likewise.
18103 * elf/tst-tls11.c: Likewise.
18104 * elf/tst-tls12.c: Likewise.
18105 * elf/tst-tls14.c: Likewise.
18106 * elf/tst-tlsmod11.c: Likewise.
18107 * elf/tst-tlsmod12.c: Likewise.
18108 * elf/tst-tlsmod13.c: Likewise.
18109 * elf/tst-tlsmod13a.c: Likewise.
18110 * elf/tst-tlsmod14a.c: Likewise.
18111 * elf/tst-tlsmod15b.c: Likewise.
18112 * elf/tst-tlsmod16a.c: Likewise.
18113 * elf/tst-tlsmod16b.c: Likewise.
18114 * elf/tst-tlsmod7.c: Likewise.
18115 * elf/tst-tlsmod8.c: Likewise.
18116 * elf/tst-tlsmod9.c: Likewise.
18117 * gmon/gmon.c: Likewise.
18118 * grp/fgetgrent_r.c: Likewise.
18119 * grp/putgrent.c: Likewise.
18120 * hurd/fopenport.c: Likewise.
18121 * include/libc-symbols.h: Likewise.
18122 * include/tls.h: Likewise.
18123 * intl/gettextP.h: Likewise.
18124 * intl/loadinfo.h: Likewise.
18125 * locale/global-locale.c: Likewise.
18126 * locale/localeinfo.h: Likewise.
18127 * mach/devstream.c: Likewise.
18128 * malloc/arena.c: Likewise.
18129 * malloc/set-freeres.c: Likewise.
18130 * misc/err.c: Likewise.
18131 * misc/getttyent.c: Likewise.
18132 * misc/mntent_r.c: Likewise.
18133 * posix/getopt.c: Likewise.
18134 * posix/wordexp.c: Likewise.
18135 * pwd/fgetpwent_r.c: Likewise.
18136 * resolv/Versions: Likewise.
18137 * resolv/res_hconf.c: Likewise.
18138 * shadow/fgetspent_r.c: Likewise.
18139 * shadow/putspent.c: Likewise.
18140 * stdio-common/printf_fphex.c: Likewise.
18141 * stdio-common/tmpfile.c: Likewise.
18142 * stdlib/abort.c: Likewise.
18143 * stdlib/fmtmsg.c: Likewise.
18144 * sunrpc/auth_unix.c: Likewise.
18145 * sunrpc/clnt_perr.c: Likewise.
18146 * sunrpc/clnt_tcp.c: Likewise.
18147 * sunrpc/clnt_udp.c: Likewise.
18148 * sunrpc/clnt_unix.c: Likewise.
18149 * sunrpc/openchild.c: Likewise.
18150 * sunrpc/svc_simple.c: Likewise.
18151 * sunrpc/svc_tcp.c: Likewise.
18152 * sunrpc/svc_udp.c: Likewise.
18153 * sunrpc/svc_unix.c: Likewise.
18154 * sunrpc/xdr.c: Likewise.
18155 * sunrpc/xdr_array.c: Likewise.
18156 * sunrpc/xdr_rec.c: Likewise.
18157 * sunrpc/xdr_ref.c: Likewise.
18158 * sunrpc/xdr_stdio.c: Likewise.
18159
1248c1c4
PB
181602011-09-09 Ulrich Drepper <drepper@gmail.com>
18161
18162 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18163
181642011-07-03 Andreas Jaeger <aj@suse.de>
18165
18166 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18167 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18168 regenerate with gen-libm-tests.pl.
18169
181702010-05-12 Petr Baudis <pasky@suse.cz>
18171
18172 [BZ #11589]
18173 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18174 around j0() zero points by switching to j1().
18175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18179
f22e1074
UD
181802011-09-09 Ulrich Drepper <drepper@gmail.com>
18181
f19009c1
UD
18182 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18183 instead of 0.
18184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18185 instead of 0. .
18186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18187 Patch in part by Pavel Roskin <proski@gnu.org>.
18188
3f8cc204
UD
18189 [BZ #13138]
18190 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18191 realloc.
18192 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18193 Free memory block if necessary.
18194
f22e1074
UD
18195 [BZ #12847]
18196 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18197 be NULL. Don't lock in this case.
18198
0a2349f9
RM
181992011-09-09 Roland McGrath <roland@hack.frob.com>
18200
18201 * elf/elf.h (ELFOSABI_GNU): New macro.
18202 (ELFOSABI_LINUX): Define to that.
18203
f3cdd467
DZ
182042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18205
18206 * string/strncat.c (strncat): Undef the symbol in case it has been
18207 defined in bits/string.h.
18208
74718d13
UD
182092011-09-09 Ulrich Drepper <drepper@gmail.com>
18210
633e9e0f
UD
18211 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18212
0a2349f9 18213 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18214 link map.
18215
f9924780
AJ
182162011-08-17 Andreas Jaeger <aj@suse.de>
18217
18218 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18219
7f5517aa
PP
182202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18221 Ian Lance Taylor <iant@google.com>
18222
18223 * math/libm-test.inc (lround_test): New testcase.
18224 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18225
762011fe
UD
182262011-09-08 Ulrich Drepper <drepper@gmail.com>
18227
92963737
UD
18228 * Makefile: Remove support for automatic cvs check-ins.
18229 * Makerules: Likewise.
18230 * config.make.in: Likewise.
18231 * configure.in: Likewise.
18232 * intl/Makefile: Likewise.
18233 * locale/Makefile: Likewise.
18234 * po/Makefile: Likewise.
18235 * posix/Makefile: Likewise.
18236 * sysdeps/gnu/Makefile: Likewise.
18237 * sysdeps/mach/hurd/Makefile: Likewise.
18238 * sysdeps/sparc/sparc32/Makefile: Likewise.
18239
b0727fd8
JS
18240 [BZ #13118]
18241 * posix/Makefile (bug-regex32-ENV): Define.
18242 Patch by John Stanley <jpsinthemix@verizon.net>.
18243
a0f33f99
UD
18244 * misc/Makefile (headers): Add bits/select2.h.
18245 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18246 * misc/bits/select2.h: New file.
18247 * include/bits/select2.h: New file.
18248 * debug/Makefile (routines): Add fdelt_chk.
18249 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18250 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18251 FD_ISSET.
18252 * debug/fdelt_chk.c: New file.
18253
762011fe
UD
18254 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18255 * wcsmbs/test-wmemcmp.c: Likewise.
18256 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18257 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18258
182592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18260
18261 * string/Makefile (strop-tests): Add memcmp.
18262 * string/test-wmemcmp.c: New file.
18263 * string/test-memcmp.c: Add wmemcmp support.
18264
7f513ec8
RM
182652011-09-08 Roland McGrath <roland@hack.frob.com>
18266
0442afb4
RM
18267 [BZ #13153]
18268 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18269 2011-07-19 change.
18270
7f513ec8
RM
18271 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18272 garbage value in a __mach_port_mod_refs call in the cases of the
18273 task-self and thread-self ports.
18274
a12b2239
ST
182752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18276
18277 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18278
610f9ab4
AS
182792011-09-08 Andreas Schwab <schwab@redhat.com>
18280
7f513ec8 18281 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18282
48882a1a
LD
182832011-09-07 Ulrich Drepper <drepper@gmail.com>
18284
b49865be
UD
18285 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18286
fdc86bc9
UD
18287 * elf/dl-libc.c (dlerror_run): Pass back error code from
18288 dl_catch_error.
18289
c966526a
UD
18290 [BZ #13123]
18291 * elf/dl-load.c (lose): Free l_origin if it is valid.
18292
48882a1a
LD
18293 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18294 names.
18295 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18298 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18299 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18300 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18301
77a2a8b4
AZ
183022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18303
18304 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18305 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18308 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18309 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18310 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18311 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18312 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18313 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18314
24f579d8
AM
183152011-08-15 Alan Modra <amodra@gmail.com>
18316
18317 [BZ #13092]
18318 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18319 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18320 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18321 ppc_mcount to static-only-routines.
18322 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18323 __mcount_internal.
18324 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18325 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18326
3d4837df
UD
183272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18328
18329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18330 for finite and infinity parameters.
18331
22700377
WS
183322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18333
18334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18335 and add nop instructions for throughput optimization.
18336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18337
5025581e
WS
183382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18339
18340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18341 aligned copy for power7 with vector-scalar instructions.
18342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18343
08a300c9
L
183442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18345
18346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18347 AVX check.
18348
59178ef9
AS
183492011-09-07 Andreas Schwab <schwab@redhat.com>
18350
18351 [BZ #13144]
18352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18353 last change.
18354
e38ba7ab
UD
183552011-09-07 Ulrich Drepper <drepper@gmail.com>
18356
18357 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18358 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18359 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18361 clock_gettime.
18362
d53a73ac
UD
183632011-09-06 Ulrich Drepper <drepper@gmail.com>
18364
fc8bffcc
UD
18365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18366 Forgot to demangle the pointer.
18367
ceaa0c5d
UD
18368 * sysdeps/i386/sysdep.h: Define atom_text_section.
18369 * sysdeps/x86_64/sysdep.h: Likewise.
18370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18371 section with atom_text_section.
18372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18374 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18377
a77d3c17
UD
18378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18380 already be defined. Change to take two parameters and don't assign
18381 result to variable. Adjust all users.
18382 Define INTERNAL_GETTIME if not already defined.
18383 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18384 call.
18385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18386 HAVE_CLOCK_GETTIME_VSYSCALL.
18387 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18388
d53a73ac
UD
18389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18390 gettimeofday vsyscall, just use time.
18391
a8f84144
AS
183922011-09-06 Andreas Schwab <schwab@redhat.com>
18393
18394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18395 <errno.h>.
18396
ef606249
UD
183972011-09-06 Ulrich Drepper <drepper@gmail.com>
18398
18399 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18400 syscall on x86-64.
18401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18402 syscall.
18403 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18405 syscall if possible.
18406
6585cb60
UD
184072011-09-05 Ulrich Drepper <drepper@gmail.com>
18408
18409 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18410 e_ident. Don't pass to find_mapsXX.
18411 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18412
a5f524e4
LD
184132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18414
18415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18416 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18417 * sysdeps/x86_64/multiarch/strchr.S: Update.
18418 Check bit_slow_BSF bit.
18419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18422
554881ef
UD
184232011-09-05 Ulrich Drepper <drepper@gmail.com>
18424
d96de963
UD
18425 [BZ #13134]
18426 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18427 before glibc 2.15.
18428 (tryshell): Define.
18429 (__spawni): Change last parameter to be flag. Test
18430 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18431 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18432 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18433 * posix/spawni.c: Likewise.
18434 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18435 * posix/spawnp.c: Likewise. Change normal version to use
18436 SPAWN_XFLAGS_USE_PATH.
18437 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18438 SPAWN_XFLAGS_TRY_SHELL.
18439
d48e5868
UD
18440 [BZ #13150]
18441 * posix/glob.h: Remove gcc 1.x support.
18442
554881ef
UD
18443 [BZ #13068]
18444 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18445
693fb948
LD
184462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18447
18448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18449 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18450 strrchr-sse2-bsf
18451 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18452 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18457
1b48c537
UD
184582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18459
49d42c37
UD
18460 * sysdeps/x86_64/wcscmp.S: New file.
18461
1b48c537
UD
18462 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18463 wcscmp-c wcscmp-sse2
18464 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18465 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18467 * wcsmbs/wcscmp.c: Allow renaming.
18468
15c95c5d
DM
184692011-09-05 David S. Miller <davem@davemloft.net>
18470
18471 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18472 stack slot, rather than the struct return pointer slot.
18473 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18474 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18477
2f0ad8f3
UD
184782011-09-05 Ulrich Drepper <drepper@gmail.com>
18479
d88ae418
UD
18480 * po/ja.po: Update from translation team.
18481
2f0ad8f3
UD
18482 [BZ #13144]
18483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18484 kernel in 64-bit binaries.
18485
5f4318d1
DM
184862011-09-01 David S. Miller <davem@davemloft.net>
18487
18488 * elf/elf.h (HWCAP_SPARC_*): Move to..
18489 * sysdeps/sparc/sysdep.h: this new file and add new values.
18490 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18491 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18492 _DL_HWCAP_COUNT to 24.
18493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18494 entries.
18495 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18496 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18497 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18499 instead of magic constants.
18500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18501
3ba57516
DM
185022011-08-31 David S. Miller <davem@davemloft.net>
18503
18504 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18506 Reimplement to do errno handling inline.
18507 (SYSCALL_ERROR_HANDLER): New macro.
18508 (__SYSCALL_STRING): Do not do errno handling in asm.
18509 (__CLONE_SYSCALL_STRING): Delete.
18510 (__INTERNAL_SYSCALL_STRING): Delete.
18511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18512 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18513 (PSEUDO): Reimplement to do errno handling inline.
18514 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18515 (SYSCALL_ERROR_HANDLER): New macro.
18516 (__SYSCALL_STRING): Do not do errno handling in asm.
18517 (__CLONE_SYSCALL_STRING): Delete.
18518 (__INTERNAL_SYSCALL_STRING): Delete.
18519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18520 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18521 i386.
18522 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18523 (inline_syscall*): Add 'err' argument.
18524 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18525 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18526 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18527 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18528
18529 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18531
2bc17433
AS
185322011-08-30 Andreas Schwab <schwab@redhat.com>
18533
18534 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18535
fbeb5f4d
JO
185362011-08-29 Jiri Olsa <jolsa@redhat.com>
18537
18538 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18539 directive.
18540
ad69cc26
DM
185412011-08-24 David S. Miller <davem@davemloft.net>
18542
18543 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18544
39dd69df
AS
185452011-08-24 Andreas Schwab <schwab@redhat.com>
18546
18547 * elf/Makefile: Add rules to build and run unload8 test.
18548 * elf/unload8.c: New file.
18549 * elf/unload8mod1.c: New file.
18550 * elf/unload8mod1x.c: New file.
18551 * elf/unload8mod2.c: New file.
18552 * elf/unload8mod3.c: New file.
18553
18554 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18555 it wasn't used.
18556
2c0b250a
DM
185572011-08-23 David S. Miller <davem@davemloft.net>
18558
18559 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18560 subtract stack bias.
18561 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18562 %sp not %fp in calculations.
18563 (_JMPBUF_UNWINDS_ADJ): Likewise.
18564
22044b48
DM
18565 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18566 (aio_suspend): Call it to force an exception region around the
18567 AIO_MISC_WAIT() invocation.
18568
2cae4995
AS
185692011-08-23 Andreas Schwab <schwab@redhat.com>
18570
18571 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18572 backslash.
18573
873a772e
AJ
185742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18575
18576 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18577 protection macro.
18578 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18579 and <dl-machine.h>.
18580 (Elf64_FuncDesc): Remove.
18581
25ad0df1
DM
185822011-08-22 David S. Miller <davem@davemloft.net>
18583
18584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18585 sigaltstack check, add missing cfi directives.
18586 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18587 missing cfi directives, and sigaltstack handling.
18588
e888bcbe
AS
185892011-08-16 Andreas Schwab <schwab@redhat.com>
18590
18591 [BZ #11724]
18592 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18593 object is seen twice.
18594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18595
18596 * elf/Makefile (distribute): Add tst-initorder2.c.
18597 (tests): Add tst-initorder2.
18598 (modules-names): Add tst-initorder2a tst-initorder2b
18599 tst-initorder2c tst-initorder2d. Add rules to build them.
18600 ($(objpfx)tst-initorder2.out): New rule.
18601 * elf/tst-initorder2.c: New file.
18602 * elf/tst-initorder2.exp: New file.
18603
87162f46
AS
186042011-08-22 Andreas Schwab <schwab@redhat.com>
18605
70538b7f
AS
18606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18607
f55ffe58
AS
18608 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18609 dependencies back to end of function.
18610
87162f46
AS
18611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18612 $(elfobjdir)/ld.so.
18613
91b392a4
UD
186142011-08-21 Ulrich Drepper <drepper@gmail.com>
18615
18616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18617 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18619 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18620 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18621 of __vdso_gettimeofday.
18622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18623 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18624 attribute_hidden.
18625 (_libc_vdso_platform_setup): Remove initialization of
18626 __vdso_gettimeofday and __vdso_time.
18627
5c43483f
UD
186282011-08-20 Ulrich Drepper <drepper@gmail.com>
18629
775a77e7
UD
18630 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18631 and fgetc_unlocked.
18632 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18633 getc_unlocked.
89f447ed 18634
49c74ba9
UD
18635 * elf/dl-open.c (add_to_global): Report additions to the global scope
18636 for LD_DEBUG=scopes.
18637 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18638 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18639
5c43483f
UD
18640 [BZ #13114]
18641 * stdio-common/Makefile (tests): Add bug24.
18642 * stdio-common/bug24.c: New file.
18643
a101b025
AJ
186442011-08-19 Andreas Jaeger <aj@suse.de>
18645
18646 [BZ #13114]
18647 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18648 non-existant file when using close-on-exec mode.
18649
c88f1766
UD
186502011-08-20 Ulrich Drepper <drepper@gmail.com>
18651
0276a718
UD
18652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18653 the very first instruction.
18654
c88f1766
UD
18655 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18656 the CFI state in the end.
18657 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18658 inclusion of dl-trampoline.h.
18659 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18660
51ccffa0
AS
186612011-08-19 Andreas Schwab <schwab@redhat.com>
18662
94d7165f
AS
18663 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18664 expectations for long double.
18665
51ccffa0
AS
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18667 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18668
fd708658 186692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18670
18671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18672 artificual limit depends upon the system page size.
18673
44f0a71e
UD
186742011-08-17 Ulrich Drepper <drepper@gmail.com>
18675
18676 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18677 * resolv/Makefile: Define CFLAGS-libresolv.
18678
8de79a24
AS
186792011-08-17 Andreas Schwab <schwab@redhat.com>
18680
18681 * nss/makedb.c (compute_tables): Make variables used in nested
18682 function static.
18683
27724598
UD
186842011-08-17 Ulrich Drepper <drepper@gmail.com>
18685
c5305d88
UD
18686 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18687 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18688 if buffer was too small.
18689
27724598
UD
18690 * elf/pldd.c (main): Attach to all threads in the process.
18691 Rewrite /proc handling to use *at functions.
18692
076fe015
UD
186932011-08-16 Ulrich Drepper <drepper@gmail.com>
18694
174baab3
UD
18695 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18696 specifies first scope to show.
18697 (dl_open_worker): Update callers. Move printing scope of new
18698 object to before the relocation.
44f0a71e 18699 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18700 * sysdeps/generic/ldsodefs.h: Update declaration.
18701
076fe015
UD
18702 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18703 string for the scope number.
18704
a60df2c3
UD
187052011-08-14 Ulrich Drepper <drepper@gmail.com>
18706
18707 * nscd/servicescache.c (cache_addserv): Make sure written is always
18708 initialized.
18709
5e4287d1
RM
187102011-08-14 Roland McGrath <roland@hack.frob.com>
18711
85ae0589
RM
18712 * sysdeps/i386/i486/bits/atomic.h
18713 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18714 statement expression, so as to suppress "set but not used" warning.
18715 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18716
69f63097
RM
18717 * string/strncat.c (STRNCAT): Use prototype definition.
18718
675456ef
RM
18719 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18720 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18721 -Iprograms here.
18722 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18723 (localedef-modules): Add localedef.
18724 (locale-modules): Add locale.
18725
5e4287d1
RM
18726 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18727 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18728 to avoid a warning.
18729
9c96ff23
DM
187302011-08-14 David S. Miller <davem@davemloft.net>
18731
18732 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18733 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18734
f9ddf089
UD
187352011-08-13 Ulrich Drepper <drepper@gmail.com>
18736
44f0a71e 18737 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18738 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18739 * elf/rtld.c (dl_main): Set l_name of vDSO.
18740 Call _dl_show_scope when DL_DEBUG_SCOPES.
18741 (process_dl_debug): Recognize scopes flag and also set it for all.
18742 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18743 Declare _dl_show_scope.
18744
1dc27704
UD
18745 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18746 (do_dlopen): Pass caller_dlopen to dl_open.
18747 (__libc_dlopen_mode): Initialize caller_dlopen.
18748
f9ddf089
UD
18749 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18750 of libc. Make tolower call locale-independent. Optimize a bit by
18751 using isdigit instead of isalnum.
18752 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18753
9ac533d3
UD
187542011-08-12 Ulrich Drepper <drepper@gmail.com>
18755
18756 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18757 was a dependency or dynamically loaded.
18758
89edf2e9
UD
187592011-08-11 Ulrich Drepper <drepper@gmail.com>
18760
8e999d29
UD
18761 * intl/l10nflist.c: Allow architecture-specific pop function.
18762 * sysdeps/x86_64/l10nflist.c: New file.
18763
89edf2e9
UD
18764 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18765 classification.
18766
14d96785
AS
187672011-08-10 Andreas Schwab <schwab@redhat.com>
18768
18769 * include/dirent.h: Add libc_hidden_proto for scandirat and
18770 scandirat64. Don't declare __scandirat64.
18771 * dirent/scandirat.c: Add libc_hidden_def.
18772 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18773 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18774
6761ac04
DM
187752011-08-10 David S. Miller <davem@davemloft.net>
18776
18777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18778 enum.
18779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18782
c55fbd1e
UD
187832011-08-09 Ulrich Drepper <drepper@gmail.com>
18784
18785 * Versions.def [libc]: Add GLIBC_2.15.
18786 * dirent/Makefile (routines): Add scandirat and scandirat64.
18787 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18788 GLIBC_2.15.
18789 * dirent/dirent.h: Declare scandirat and scandirat64.
18790 * dirent/scandirat.c: New file.
18791 * dirent/scandirat64.c: New file.
18792 * sysdeps/wordsize-64/scandirat.c: New file.
18793 * sysdeps/wordsize-64/scandirat64.c: New file.
18794 * dirent/opendir.c: Define opendirat.
18795 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18796 using scandirat.
18797 * dirent/scandir64.c: Adjust for scandir.c change.
18798 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18799 __scandirat64, and __scandir_cancel_handler.
18800 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18801 additional parameter and use openat instead of open (outside of ld.so).
18802 Add new __opendir as wrapper around __opendirat.
18803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18804 here without requiring old scandirat implementation.
18805
879165f2
UD
188062011-08-08 Ulrich Drepper <drepper@gmail.com>
18807
18808 * dirent/scandir.c (cancel_handler): Renamed to
18809 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18810 defined. Adjust users.
18811 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18813
cb7e923b
UD
188142011-08-04 Ulrich Drepper <drepper@gmail.com>
18815
16292edd
UD
18816 * string/test-string.h (IMPL): Use __STRING to expand name and then
18817 stringify it.
18818
cb7e923b
UD
18819 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18820 of cleanups.
18821
cff82933
LD
188222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18823
18824 * string/Makefile: Update.
18825 (strop-tests): Append strncat.
18826 * string/test-wcscmp.c: New file.
18827 New comprehensive test for wcscmp.
18828 * string/test-strcmp.c: Update.
18829 (WIDE): New define.
18830
9be9bfcc
AS
188312011-07-22 Andreas Schwab <schwab@redhat.com>
18832
18833 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18834 line.
18835
2e96f1c7
AS
188362011-07-26 Andreas Schwab <schwab@redhat.com>
18837
18838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18839 encoding to ACE if AI_IDN.
18840
85188888
JJ
188412011-08-01 Jakub Jelinek <jakub@redhat.com>
18842
18843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18844 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18845
5fa16e9b
LD
188462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18847
18848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18849 Fix overflow bug in strncat.
18850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18851
18852 * string/test-strncat.c: Update.
18853 Add new tests for checking overflow bugs.
18854
188552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18856
18857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18858 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18859 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18860 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18862 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18863 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18864 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18865 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18866
18867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18868 (USE_AS_STRCAT): Define.
18869 Add strcat and strncat support.
18870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18871
8c1a459f
AS
188722011-07-25 Andreas Schwab <schwab@redhat.com>
18873
18874 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18875 __n bigger than INT_MAX+1.
18876 (__strncmp_g): Likewise.
18877
bba33c28
UD
188782011-07-23 Ulrich Drepper <drepper@gmail.com>
18879
798be72d
UD
18880 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18881 * libio/stido.h: Likewise.
18882
8accd4dc
UD
18883 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18884 (AF_NFC): Define.
18885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18886 (AF_NFC): Define.
18887
cbff0d96
UD
18888 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18893
9191c04a
UD
18894 [BZ #13021]
18895 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18896 installed.
18897
bba33c28
UD
18898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18899 typo.
18900 (_dl_x86_64_save_sse): Likewise.
18901
90f139dd
UD
189022011-07-22 Ulrich Drepper <drepper@gmail.com>
18903
1aae088a
UD
18904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18905 OSXSAVE.
18906 (_dl_x86_64_save_sse): Likewise.
18907
8e2045f5
UD
18908 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18909
90f139dd
UD
18910 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18911
1d002f25
AS
189122011-07-21 Andreas Schwab <schwab@redhat.com>
18913
18914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18915 change.
18916 (_dl_x86_64_save_sse): Use correct AVX check.
18917
21137f89
UD
189182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18919
18920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18921 bug in strncpy/strncat.
18922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18923
a65c0b7a
UD
189242011-07-21 Ulrich Drepper <drepper@gmail.com>
18925
18926 * string/tester.c (test_strcat): Add tests for different alignments
18927 of source and destination.
18928 (test_strncat): Likewise.
18929
6986b98a
UD
189302011-07-20 Ulrich Drepper <drepper@gmail.com>
18931
90bb2039
UD
18932 [BZ #12852]
18933 * posix/glob.c (glob): Check passed in values before using them in
18934 expressions to avoid some overflows.
18935 (glob_in_dir): Likewise.
18936
5644ef54
UD
18937 [BZ #13007]
18938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18939 check for AVX enablement so that we don't crash with old kernels and
18940 new hardware.
18941 * elf/tst-audit4.c: Add same checks here.
18942 * elf/tst-audit6.c: Likewise.
18943
18944 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18945
bfc9dc9b
AS
189462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18947
18948 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18949
702e64bb
UD
189502011-07-20 Ulrich Drepper <drepper@gmail.com>
18951
18952 * po/cs.po: Update from translation team.
18953 * po/bg.po: Likewise.
18954
295e904f
MP
189552011-07-12 Marek Polacek <mpolacek@redhat.com>
18956
18957 * misc/sys/cdefs.h: Add support for const attribute.
18958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18959 to gnu_dev_{major,minor,makedev} functions.
18960
3ff94596
MP
189612011-07-20 Marek Polacek <mpolacek@redhat.com>
18962
18963 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18964
28b59fca
AS
189652011-07-20 Andreas Schwab <schwab@redhat.com>
18966
18967 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18968 strlen results.
18969
19df733e
AK
189702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18971
18972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18973 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18974 register in order to avoid conflicts with the soft frame pointer
18975 being held in r11 when necessary.
18976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18977 (INTERNAL_VSYSCALL_NCS): Likewise.
18978
c8835729
MP
189792011-07-14 Marek Polacek <mpolacek@redhat.com>
18980
18981 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18982 * elf/dl-fini.c (_dl_fini): Adjust caller.
18983 * elf/dl-close.c (_dl_close_worker): Likewise.
18984 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18985
b902330c
MP
189862011-07-15 Marek Polacek <mpolacek@redhat.com>
18987
8991e135
MP
18988 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18989 "aux_cache->nlibs < 0".
18990
b902330c
MP
18991 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18992 in the reload-count case.
18993
99710781
LD
189942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18995
18996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18997 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18998 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18999 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19000 * sysdeps/x86_64/multiarch/strcat.S: New file.
19001 * sysdeps/x86_64/multiarch/strncat.S: New file.
19002 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19004 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19005 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19007 (USE_AS_STRCAT): Define.
19008 Add strcat and strncat support.
19009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19012 * string/strncat.c: Update.
19013 (USE_AS_STRNCAT): Define.
19014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19015 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19016 and i7.
19017 * sysdeps/x86_64/multiarch/init-arch.h
19018 (bit_Prefer_PMINUB_for_stringop): New.
19019 (index_Prefer_PMINUB_for_stringop): Likewise.
19020 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19021 bit_Prefer_PMINUB_for_stringop.
19022
7dc6bd90
UD
190232011-07-19 Ulrich Drepper <drepper@gmail.com>
19024
19025 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19026 buffer64.
19027 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19028 of casting of buffer.
19029 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19030 buffer32 and buffer64.
19031 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19032 writes instead of casting of buffer.
19033 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19034 buffer32.
19035 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19036 casting of buffer.
19037
e0e72284
AS
190382011-07-19 Andreas Schwab <schwab@redhat.com>
19039
19040 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19041
feb1eb0b
UD
190422011-07-19 Ulrich Drepper <drepper@gmail.com>
19043
19044 * nscd/nscd.c (termination_handler): Don't do anything for a database
19045 if it has not yet been initialized.
19046
298711ff
UD
190472011-07-18 Ulrich Drepper <drepper@gmail.com>
19048
19049 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19050
190512011-07-15 Marek Polacek <mpolacek@redhat.com>
19052
19053 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19054
f9d68389
UD
190552011-07-18 Ulrich Drepper <drepper@gmail.com>
19056
19057 * po/nl.po: Update from translation team.
19058 * po/sv.po: Likewise.
19059
db290cf5
RM
190602011-07-16 Roland McGrath <roland@hack.frob.com>
19061
19062 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19063 now disallowed by GCC.
5c550700 19064
fd5e21c7
RM
19065 * configure.in (use-default-link): Default to yes if a test -shared
19066 link meets our qualifications.
19067 * configure: Regenerated.
19068
5c550700
RM
19069 * config.make.in (output-format): New variable.
19070 * configure.in: Check for ld --print-output-format support.
19071 * configure: Regenerated.
19072 * Makerules ($(common-objpfx)format.lds)
19073 [$(output-format) != unknown]: Just use $(output-format),
19074 instead of the linker-script munging.
19075
9fa2c032
RM
190762011-07-14 Roland McGrath <roland@hack.frob.com>
19077
a6928d51
RM
19078 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19079 of $(common-objpfx)shlib.lds.
19080 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19081
661607b3
RM
19082 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19083 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19084
9fa2c032
RM
19085 * configure.in (-z relro check): Adjust test code to add a large
19086 writable data section after it.
19087 * configure: Regenerated.
19088
defe9061
RM
190892011-07-11 Roland McGrath <roland@hack.frob.com>
19090
19091 * configure.in (-z relro check): Fix test code to make the variable
19092 truly const.
19093 * configure: Regenerated.
19094
319b9ad4
UD
190952011-07-11 Ulrich Drepper <drepper@gmail.com>
19096
19097 * nscd/nscd.h (struct traced_file): Define.
19098 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19099 elements. Add traced_files.
19100 (inotify_fd): Declare.
19101 (register_traced_file): Declare.
19102 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19103 (inotify_fd): Export.
19104 (resolv_conf_descr): Remove.
19105 (nscd_init): Move inotify descriptor creation to main.
19106 Don't register files for notification here.
19107 (register_traced_file): New function.
19108 (invalidate_cache): Don't use reset_res to determine whether to call
19109 res_init, go through the list of registered files.
19110 (main_loop_poll): The inotify descriptors are now stored in the
19111 structures for the traced files.
19112 (main_loop_epoll): Likewise
19113 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19114 to __nss_disable_nscd.
19115 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19116 for a database anymore. Check the records for all the registered
19117 files instead.
19118 * nss/Makefile (libnss_files-routines): Add files-init.
19119 (libnss_db-routines): Add db-init.
19120 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19121 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19122 * nss/nss_db/db-init.c: New file.
19123 * nss/nss_files/files-init.c: New file.
19124 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19125 __nss_lookup_function.
19126 (__nss_lookup_function): Call nss_load_library.
19127 (nss_load_all_libraries): New function.
19128 (__nss_disable_nscd): Take parameter with callback function for files
19129 to register. Set is_nscd. Load all the DSOs for the NSS modules
19130 used for the cached services.
19131 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19133 options for features to all the files in nscd.
19134
19135 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19136
23bee3e8
RM
191372011-07-10 Roland McGrath <roland@hack.frob.com>
19138
19139 * csu/elf-init.c (__libc_csu_init): Comment typo.
19140
46a5b7f0
UD
191412011-07-09 Ulrich Drepper <drepper@gmail.com>
19142
19143 * po/pl.po: Update from translation team.
19144 * po/ja.po: Likewise.
19145 * po/ru.po: Likewise.
19146 * po/ko.po: Likewise.
19147 * po/fr.po: Likewise.
19148
d30cf5bb
RM
191492011-07-09 Roland McGrath <roland@hack.frob.com>
19150
113ddea4
RM
19151 * configure.in (.ctors/.dtors header and trailer check):
19152 Use an empirical test on a built program.
19153 * configure: Regenerated.
19154
574920b4
RM
19155 * configure.in (-z relro check): Use an empirical test on a built DSO.
19156 Detect, but do not require, on ia64.
19157 * configure: Regenerated.
19158
d30cf5bb
RM
19159 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19160 Update tests that use readelf to use $READELF instead.
19161 * configure: Regenerated.
19162
8538fdb3
UD
191632011-07-08 Ulrich Drepper <drepper@gmail.com>
19164
19165 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19166 if the result is not used.
19167
04d08991
AJ
191682011-07-05 Andreas Jaeger <aj@suse.de>
19169
19170 [BZ#9696]
19171 * stdlib/tst-strtod.c: Add testcase.
19172
de283087
AD
191732011-07-07 Ulrich Drepper <drepper@gmail.com>
19174
4e5f31c8 19175 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19176 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19177 The latter has a higher limit. Take additional parameter to pass to
19178 the new function.
19179 (__pathconf): Pass file to __statfs_link_max.
19180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19181 __statfs_link_max.
19182 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19183 __statfs_link_max.
19184
de283087
AD
19185 [BZ #12868]
19186 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19188 Handle Lustre.
19189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19190 (__statfs_filesize_max): Likewise.
19191 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19192
c75fa153
AJ
191932011-07-05 Andreas Jaeger <aj@suse.de>
19194
19195 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19196
1a544854
UD
191972011-07-06 Marek Polacek <mpolacek@redhat.com>
19198
19199 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19200 `status' variable.
19201 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19202 Likewise.
19203
6f0eec67
UD
192042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19205
19206 * Makefile (strop-tests): Add strncat.
19207 * string/test-strncat.c: New file.
19208
aae30307
UD
192092011-06-30 Marek Polacek <mpolacek@redhat.com>
19210
19211 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19212
c0cfb5eb
UD
192132011-06-21 Andreas Jaeger <aj@suse.de>
19214
19215 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19216 Copy rule from iconvdata/Makefile.
19217
01636b21
UD
192182011-07-06 Ulrich Drepper <drepper@gmail.com>
19219
19220 [BZ #12922]
19221 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19222 but no long options are defined, just return 'W'.
19223
9895c8bc
UD
192242011-06-22 Marek Polacek <mpolacek@redhat.com>
19225
19226 [BZ #9696]
19227 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19228
5d4cf042
UD
192292011-07-06 Ulrich Drepper <drepper@gmail.com>
19230
19231 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19232 netgroups to read.
960e5535 19233 (innetgr): Likewise.
5d4cf042 19234
751eb97e
RM
192352011-07-05 Roland McGrath <roland@hack.frob.com>
19236
19237 * config.make.in (install_root): Default to $(DESTDIR).
19238
f15f1e45
UD
192392011-07-05 Ulrich Drepper <drepper@gmail.com>
19240
19241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19242
4e34ac6a
RM
192432011-07-02 Roland McGrath <roland@hack.frob.com>
19244
5e9b6af4
RM
19245 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19246
84f9ea0f
RM
19247 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19248 containing directory rather than embedding absolute directory names.
19249
ea5ee9f7
RM
19250 * scripts/check-local-headers.sh: Rewritten using awk.
19251 Match by word, not by line. Print error messages for matches.
19252 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19253
1b74661a
RM
19254 * Makerules [shlib-lds-flags empty]:
19255 ($(common-objpfx)libc_pic.opts): New target.
19256 ($(common-objpfx)libc_pic.os.clean): New target.
19257 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19258
19259 * config.make.in (OBJCOPY): New variable.
19260 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19261 * configure: Regenerated.
19262
f781ef40
RM
19263 * config.make.in (use-default-link): New variable.
19264 * configure.in (use_default_link): Grok --with-default-link to set it.
19265 * configure: Regenerated.
19266 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19267 (shlib-lds, shlib-lds-flags): Define to empty.
19268
2d4fa81e
RM
19269 * Makerules (shlib-lds): New variable.
19270 (shlib-lds-flags): New variable.
19271 (build-shlib, build-moduile, build-module-asneeded): Use it.
19272 ($(common-objpfx)libc.so): Use $(shlib-lds).
19273 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19274 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19275
31fffa6b
RM
19276 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19277 DT_FLAGS/DT_FLAGS_1 with zero flags.
19278
4e34ac6a
RM
19279 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19280 linker script munging.
19281
fcfc776b
UD
192822011-07-02 Ulrich Drepper <drepper@gmail.com>
19283
19284 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19285 as 128-bit value.
19286 * crypt/sha512.c (sha512_process_block): Perform total addition using
19287 128-bit if possible.
19288 (__sha512_finish_ctx): Likewise.
19289 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19290 as 64-bit value.
19291 * crypt/sha256.c (SWAP64): Define.
19292 (sha256_process_block): Perform total addition using 64-bit if
19293 possible.
19294 (__sha256_finish_ctx): Likewise.
19295
99231d9a
UD
192962011-07-01 Ulrich Drepper <drepper@gmail.com>
19297
19298 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19300 * nscd/hstcache.c (cache_addhst): Likewise.
19301 * nscd/grpcache.c (cache_addgr): Likewise.
19302 * nscd/aicache.c (addhstaiX): Likewise
19303 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19304
445b4a53
TK
193052011-07-01 Thorsten Kukuk <kukuk@suse.de>
19306
19307 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19309 * nscd/hstcache.c (cache_addhst): Likewise.
19310 * nscd/grpcache.c (cache_addgr): Likewise.
19311 * nscd/aicache.c (addhstaiX): Likewise
19312
6d4d8e8e
AS
193132011-07-01 Andreas Schwab <schwab@redhat.com>
19314
19315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19316 domain only when needed.
19317
89f654c5
AS
193182011-06-30 Andreas Schwab <schwab@redhat.com>
19319
19320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19321 is always restored.
19322
cf3b23ff
UD
193232011-06-29 Ulrich Drepper <drepper@gmail.com>
19324
19325 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19326 are re-adding the entry.
19327 * nscd/servicescache.c (cache_addserv): Likewise.
19328
751626f9
AJ
193292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19330
19331 * sysdeps/generic/dl-irel.h: fix protection against multiple
19332 inclusions.
19333 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19334
9113ea1f
UD
193352011-06-28 Ulrich Drepper <drepper@gmail.com>
19336
5c0b8d90
UD
19337 [BZ #12935]
19338 * malloc/memusage.sh: Fix quoting in message.
19339 * debug/xtrace.sh: Likewise.
19340
9113ea1f
UD
19341 * configure.in: Remove support for --experimental-malloc option, make
19342 it the default.
19343 * config.make.in: Likewise.
19344 * malloc/Makefile: Likewise.
19345
a4172181
AS
193462011-06-27 Andreas Schwab <schwab@redhat.com>
19347
19348 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19349 two-byte characters.
19350
78a7eee7
RM
193512011-06-27 Roland McGrath <roland@hack.frob.com>
19352
62bede13
RM
19353 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19354 AC_CACHE_CHECK invocation.
19355 * configure: Regenerated.
19356
78a7eee7
RM
19357 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19358
5ce33a62
UD
193592011-06-27 Ulrich Drepper <drepper@gmail.com>
19360
034807a9
UD
19361 [BZ #12350]
19362 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19363 bit from old_res_options.
19364
4902da17
UD
19365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19366
5ce33a62
UD
19367 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19368 value type for setfct.
19369
c2344f56
L
193702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19371
19372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19373 __gettimeofday instead of gettimeofday.
19374
68468076
UD
193752011-06-26 Ulrich Drepper <drepper@gmail.com>
19376
19377 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19378
acb0d739
L
193792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19380
19381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19382
19383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19384 info.
19385
8912479f
L
193862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19387
19388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19389 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19390 strcpy-sse2-unaligned strncpy-sse2-unaligned
19391 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19392 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19393 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19394 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19395 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19398 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19399 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19400 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19401 (STRCPY): Support SSE2 and SSSE3 versions.
19402
d5495a11
UD
194032011-06-24 Ulrich Drepper <drepper@gmail.com>
19404
19405 [BZ #12874]
19406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19407 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19408 kernels which artificially limit size of requests.
19409
0b1cbaae
L
194102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19411
19412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19413 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19414 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19415 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19416 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19417 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19418 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19419 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19422 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19423 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19424 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19425 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19426 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19428 Enable unaligned load optimization for Intel Core i3, i5 and i7
19429 processors.
19430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19431 Define.
19432 (index_Fast_Unaligned_Load): Define.
19433 (HAS_FAST_UNALIGNED_LOAD): Define.
19434
07f494a0
MP
194352011-06-23 Marek Polacek <mpolacek@redhat.com>
19436
19437 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19438
fa3fc0fe
UD
194392011-06-22 Ulrich Drepper <drepper@gmail.com>
19440
19441 [BZ #12907]
19442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19443 until it is clear that the information is realy needed.
19444 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19445
e12df166
AS
194462011-06-22 Andreas Schwab <schwab@redhat.com>
19447
19448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19449
852eb34d
UD
194502011-06-22 Ulrich Drepper <drepper@gmail.com>
19451
84e2a551
UD
19452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19453 /sys/devices/system/cpu/online if it is usable.
19454
852eb34d
UD
19455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19456 reading the information from the /proc filesystem to once a second.
19457
6e502e19
UD
194582011-06-21 Andreas Jaeger <aj@suse.de>
19459
19460 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19461 NULL after inclusion of kernel headers.
19462
75d39ff2
UD
194632011-06-21 Ulrich Drepper <drepper@gmail.com>
19464
51f9aa6a
UD
19465 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19466 calls to internal_setent.
19467
c0244a9d
UD
19468 [BZ #12885]
19469 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19470 addresses using gethostbyname4_r ignore IPv4 addresses.
19471
c5e3c2ae
UD
19472 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19473 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19474
75d39ff2
UD
19475 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19476
42675c6f
DM
194772011-06-20 David S. Miller <davem@davemloft.net>
19478
19479 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19480 inclusions.
19481 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19482
19483 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19484 (elf_irel): Use it.
19485 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19486 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19487 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19488 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19489 * sysdeps/x86_64/dl-irel.h: Likewise.
19490
19491 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19492 * elf/dl-sym.c: Likewise.
19493
57912a71
UD
194942011-06-15 Ulrich Drepper <drepper@gmail.com>
19495
19496 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19497 need to dereference resplen2.
19498
ee22793d
AS
194992011-06-14 Andreas Schwab <schwab@redhat.com>
19500
19501 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19502
a9e836b0
UD
195032011-06-15 Ulrich Drepper <drepper@gmail.com>
19504
77fb9117
UD
19505 * Makeconfig: Define vardbdir and inst_vardbdir.
19506 * nss/Makefile: Add rules to install db-Makefile.
19507
40c1b22c
UD
19508 * nss/nss_db/db-XXX.c: Cleanup.
19509
9f2da732
UD
19510 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19511 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19512 GLIBC_PRIVATE.
19513 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19514 * nss/makedb.c: Implement -g option to specify that value strings
19515 are generated and should not be added to table iterated over for
19516 get*ent calls.
19517 * nss/nss_db/db-initgroups.c: New file.
19518
82e9a1f7
UD
19519 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19520 interface.
19521
c41af17e
UD
19522 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19523 (internal_getgrouplist): Adjust to name change.
19524 Update use_initgroups_entry if this is not the first call.
19525 * nss/databases.def: Add initgroups entry.
19526
a9e836b0
UD
19527 * nss/makedb.c (compute_tables): Check result of multiple hash table
19528 sizes to minimize maximum chain length.
19529
2666d441
UD
195302011-06-14 Ulrich Drepper <drepper@gmail.com>
19531
19532 * Versions.def: Add entry for libnss_db.
19533 * shlib-versions: Likewise.
19534 * nss/Makefile: Add rules to build libnss_db.
19535 * nss/Versions: Add libnss_db information. Organize libnss_files
19536 entries better.
19537 * nss/db-Makefile: Add gshadow support. Change rules for the new
19538 makedb progra. Some minor improvements to generate smaller files.
19539 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19540 here from...
19541 * nss/makedb.c: ...here.
19542 Improve database format to be smaller and require less memory at
19543 runtime.
19544 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19545 db anymore.
19546 * nss/nss_db/db-netgrp.c: Likewise.
19547 * nss/nss_db/db-open.c: Likewise.
19548 * nss/nss_files/flies-XXX.x: Adjust comments.
19549 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19550 * nss/nss_files/files-grp.c: Likewise.
19551 * nss/nss_files/files-hosts.c: Likewise.
19552 * nss/nss_files/files-network.c: Likewise.
19553 * nss/nss_files/files-proto.c: Likewise.
19554 * nss/nss_files/files-pwd.c: Likewise.
19555 * nss/nss_files/files-rpc.c: Likewise.
19556 * nss/nss_files/files-service.c: Likewise.
19557 * nss/nss_files/files-sgrp.c: Likewise.
19558 * nss/nss_files/files-spwd.c: Likewise.
19559 * nss/nss_db/db-alias.c: Removed.
19560 * nss/nss_db/dummy-db.h: Removed.
19561
9ee76b5a
UD
195622011-06-02 Ulrich Drepper <drepper@gmail.com>
19563
19564 * nss/makedb.c: Rewritten to not use database library.
19565 * nss/Makefile: Update to build new makedb program.
19566
c71ca1f8
AJ
195672011-06-14 Andreas Jaeger <aj@suse.de>
19568
19569 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19570 memset declaration.
19571
3154bfb8
UD
195722011-06-10 Andreas Schwab <schwab@redhat.com>
19573
19574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19575 tmpbuf.
19576
b350afab
RM
195772011-06-10 Roland McGrath <roland@hack.frob.com>
19578
decd4e50
RM
19579 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19580 * elf/Makefile ($(objpfx)ld.so): Likewise.
19581
5615eaf2
RM
19582 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19583 Don't list ld.so twice in dependencies.
19584
19585 * posix/bug-regex31.c: Include <stdlib.h>.
19586
19587 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19588
19589 * nis/nss_compat/compat-spwd.c
19590 (getspent_next_nss_netgr): Remove unused variable.
19591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19592
19593 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19594 nonmembers" output to use the right array.
19595
19596 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19597
19598 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19599
19600 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19601 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19602 * catgets/gencat.c (read_input_file): Likewise.
19603 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19604
19605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19606 variable definition inside #if's controlling its use.
19607
19608 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19609
19610 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19611
19612 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19613
19614 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19615 unreachable code.
19616
19617 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19618
b68e08db
RM
19619 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19620 * configure: Regenerated.
19621
b350afab
RM
19622 * Makerules: Revert last change.
19623 * elf/Makefile: Likewise.
19624
28368601
RM
196252011-06-09 Roland McGrath <roland@hack.frob.com>
19626
19627 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19628 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19629 (reloc-link): Likewise.
19630
11988f8f
UD
196312011-06-09 Ulrich Drepper <drepper@gmail.com>
19632
19633 * elf/Makefile: Add rules to build pldd.
19634 * elf/pldd.c: New file.
19635 * elf/pldd-xx.c: New file.
19636
e80fab37
UD
196372011-06-07 Ulrich Drepper <drepper@gmail.com>
19638
19639 * version.h: Update for 2.15 development version.
19640
9b849836
DM
196412011-06-07 David S. Miller <davem@davemloft.net>
19642
19643 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19644 ifuncs.
19645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19646 elf_machine_lazy_rel): Likewise.
19647 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19649 elf_machine_lazy_rel): Likewise.
19650 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19651 dl_hwcap via passed in argument.
19652 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19653 Likewise.
19654
5a31b283
AK
196552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19656
19657 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19658
069e52f8
RM
196592011-06-06 Roland McGrath <roland@hack.frob.com>
19660
19661 [BZ #12849]
19662 * manual/fdl-1.1.texi: New file, verbatim from:
19663 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19664 * manual/lgpl-2.1.texi: New file, verbatim from:
19665 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19666 * manual/Makefile (licenses): New variable, list those new file names.
19667 (texis): Use it.
19668 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19669
19670 * manual/fdl.texi: File removed.
19671 * manual/lesser.texi: File removed.
19672 * manual/libc.texinfo (Copying, Documentation License):
19673 Use new @include file names, put @appendix directive before @include.
19674
f16846a5
JJ
196752011-06-04 Jakub Jelinek <jakub@redhat.com>
19676
19677 [BZ #12841]
19678 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19679 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19680 (mq_open): Add __NTH.
19681
3d29045b
L
196822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19683
19684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19685 Assume Intel Core i3/i5/i7 processor if AVX is available.
19686
8c297311
UD
196872011-05-31 Ulrich Drepper <drepper@gmail.com>
19688
19689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19690 typo.
19691
c8fc0c91
UD
196922011-05-31 Andreas Schwab <schwab@redhat.com>
19693
19694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19695 memory. Use alloca_account. Fix memory leak when retrying.
19696
5b27a807
UD
196972011-05-31 Ulrich Drepper <drepper@gmail.com>
19698
356f8bc6
UD
19699 * version.h (RELEASE): Bump for 2.14 release.
19700 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19701
5b27a807
UD
19702 * config.make.in (RANLIB): Remove entry.
19703
01f16ab0
UD
197042011-05-30 Ulrich Drepper <drepper@gmail.com>
19705
41fce8bd
UD
19706 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19707 (libc.pot): Work around missing support for .ksh extension in xgettext.
19708
4769ae77
UD
19709 [BZ #12684]
19710 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19711 if both request failed.
19712 (send_dg): In case of server errors clear resplen or *resplen2.
19713
6b1e7d19
UD
19714 [BZ #12454]
19715 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19716 when there are multiple maps.
19717 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19718 (_dl_fini): Remove test here.
19719
01f16ab0
UD
19720 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19721
b1ebd700
UD
197222011-05-29 Ulrich Drepper <drepper@gmail.com>
19723
7ae22829
UD
19724 [BZ #12350]
19725 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19726 bit from old_res_options.
19727 (gaih_inet): Likewise.
19728
553149f6 19729 [BZ #11099]
18a84741 19730 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19731 as signed.
19732
652ffab1
UD
19733 * resolv/res_init.c (res_setoptions): Make the code more compact.
19734
16985fd0
UD
19735 [BZ #11558]
19736 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19737 set RES_USEVC.
19738
0464f746
UD
19739 [BZ #11634]
19740 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19741
7d17596c
UD
19742 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19743
cf6bbbd7
UD
19744 [BZ #11781]
19745 * malloc/malloc.h: Declare malloc hook variables as volatile.
19746
13f1ab36
UD
19747 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19748 in last patch.
19749
b1ebd700
UD
19750 [BZ #11799]
19751 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19752 raise in the comment.
80e2212d
UD
19753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19755 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19756
ce67228d
UD
197572011-05-28 Ulrich Drepper <drepper@gmail.com>
19758
8887a920
UD
19759 [BZ #12811]
19760 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19761 grow the buffers more if it already has to be sufficient.
19762 (build_wcs_upper_buffer): Likewise.
19763 * posix/regexec.c (check_matching): Likewise.
19764 (clean_state_log_if_needed): Likewise.
19765 (extend_buffers): Don't enlarge buffers beyond size of the input
19766 buffer.
19767 Patches mostly by Emil Wojak <emil@wojak.eu>.
19768 * posix/bug-regex32.c: New file.
19769 * posix/Makefile (tests): Add bug-regex32.
19770
4f031072
UD
19771 * locale/findlocale.c (_nl_find_locale): Return right away if
19772 _nl_explode_name failed.
19773 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19774
d0478f0c
UD
19775 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19776
de81b246
UD
19777 * debug/xtrace.sh: Unify messages.
19778 * malloc/memusage.sh: Likewise.
19779
c738465a
UD
19780 [BZ #12813]
19781 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19782 time symbol from vDSO. Substitute with vsyscall if not available.
19783 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19784 __vdso_time.
19785
f1f929d7
UD
19786 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19787 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19789 Add sendmmsg and internal_sendmmsg.
19790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19792 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19793
ce67228d
UD
19794 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19795 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19797
e57420c6
UD
197982011-05-27 Ulrich Drepper <drepper@gmail.com>
19799
a8509ca5
UD
19800 [BZ #12813]
19801 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19802 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19803 available.
19804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19805 __vdso_getcpu.
19806
e57420c6
UD
19807 [BZ #12814]
19808 * iconvdata/Makefile (tests): Add bug-iconv9.
19809 * iconvdata/bug-iconv9.c: New file.
19810
4d07db15
AS
198112011-05-27 Andreas Schwab <schwab@redhat.com>
19812
19813 [BZ #12814]
19814 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19815
ea486f69
JJ
198162011-05-25 Jakub Jelinek <jakub@redhat.com>
19817
19818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19819 (struct user_regs_struct): Change intcs field back to cs.
19820
6f038433
UD
198212011-05-25 Ulrich Drepper <drepper@gmail.com>
19822
19823 * po/ja.po: Update from translation team.
19824
67f86a25
UD
198252011-05-23 Ulrich Drepper <drepper@gmail.com>
19826
19827 [BZ #12795]
19828 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19830
def7fbd6
AS
198312011-05-20 Andreas Schwab <schwab@redhat.com>
19832
19833 * stdlib/longlong.h: Update from GCC.
19834
f50ef8f1
AS
198352011-05-23 Andreas Schwab <schwab@redhat.com>
19836
19837 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19838 parameter name.
19839 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19840 Add parameter name.
19841 (__sysconf): Pass it down.
19842
de7ce8f1
UD
198432011-05-22 Ulrich Drepper <drepper@gmail.com>
19844
f2962a71
UD
19845 [BZ #12671]
19846 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19847 some situations.
19848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19849 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19850 add in in __libc_use_alloca calls. Adjust callers.
19851 (glob): Use malloc in some situations.
19852
de7ce8f1
UD
19853 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19854 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19855 pltexit.
19856
aec84f53
UD
198572011-05-21 Ulrich Drepper <drepper@gmail.com>
19858
05bb4a68
UD
19859 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19860 and CLOCK_BOOTTIME_ALARM.
19861
7ea72f99
UD
19862 [BZ #12782]
19863 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19864 is returned.
19865
7e4afad5
UD
19866 * string/_strerror.c (__strerror_r): Print negative errors as signed
19867 numbers.
19868
8e211fec
UD
19869 [BZ #12777]
19870 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19871 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19872 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19873
f7d82dc9
UD
19874 * configure.in: Fix typo in redirection and correct removal of test
19875 files in two cases.
19876
cc9e536d
UD
19877 [BZ #12788]
19878 * locale/setlocale.c (new_composite_name): Fix test to check for
19879 identical name of all categories.
19880
aec84f53
UD
19881 [BZ #12792]
19882 * libio/filedoalloc.c (local_isatty): New function.
19883 (_IO_file_doallocate): Use local_isatty.
19884 * stdio-common/perror.c (perror): In case a new stream is used
19885 forward the stream error.
19886 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19887 error flag.
19888
78e64fdc
RT
198892011-05-20 Ulrich Drepper <drepper@gmail.com>
19890
34a9094f
UD
19891 [BZ #11869]
19892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19893 alloca.
19894 * include/alloca.h (extend_alloca_account): Define.
19895
78e64fdc
RT
19896 [BZ #11857]
19897 * posix/regex.h: Fix comments with documentation of user-accessible
19898 fields after compilation and describe correct free'ing of pattern
19899 after re_compile_pattern.
19900 Patch by Reuben Thomas <rrt@sc3d.org>.
19901
457bddfc
RA
199022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19903
19904 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19905 and -mno-altivec to prevent the compiler from using Altivec and/or
19906 VSX instructions when the corresponding registers are not available.
19907
a4527b51
AS
199082011-05-19 Andreas Schwab <schwab@redhat.com>
19909
19910 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19911
ed690b2f
UD
199122011-05-19 Ulrich Drepper <drepper@gmail.com>
19913
19914 * libio/freopen.c (freopen): Use __dup2, not dup2.
19915 * libio/freopen64.c (freopen64): Likewise.
19916
8db73634
L
199172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19918
19919 [BZ #12775]
19920 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19921 * math/Makefile (tests): Add test-powl.
19922 (CFLAGS-test-powl.c): Define.
19923 * math/test-powl.c: New file.
19924
0a197a9d
L
199252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19928
ee30c380
UD
199292011-05-17 Ulrich Drepper <drepper@gmail.com>
19930
19931 [BZ #11837]
19932 * iconvdata/gb18030.c: Update to GB18020-2005.
19933
6ce75379
UD
199342011-05-16 Ulrich Drepper <drepper@gmail.com>
19935
a4b89fd8
AR
19936 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19937 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19938 Patch by Aharon Robbins <arnold@skeeve.com>.
19939
ea389b12
UD
19940 [BZ #11892]
19941 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19942 on the stack.
19943
68a3f91f
UD
19944 [BZ #11895]
19945 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19946 through underflows.
19947
15cc7dd1
UD
19948 [BZ #12766]
19949 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19950 point to strings before performing equality test for error_one_per_line
19951 mode.
19952
f3799213
UD
19953 [BZ #11697]
19954 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19955
d79a9c94
UD
19956 [BZ #11820]
19957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19958 (struct user_fpregs_struct): Avoid __uint*_t types.
19959
56e5eb46
UD
19960 [BZ #6420]
19961 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19962 symbol info. Use it instead of calling _dl_addr locally.
19963 (lock_and_info): New function.
19964 (tr_freehook): Call lock_and_info and pass symbol info as additional
19965 parameter to tr_where.
19966 (tr_mallochook): Likewise.
19967 (tr_reallochook): Likewise.
19968 (tr_memalignhook): Likewise.
19969
6ce75379
UD
19970 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19971 used and couldn't be at all thread-safe.
19972
f8a3b5bf
UD
199732011-05-15 Ulrich Drepper <drepper@gmail.com>
19974
94b7cc37
UD
19975 * libio/freopen.c (freopen): Don't close old file descriptor
19976 before the new one is opened. Instead dup the new file descriptor
19977 to the old one after the new stream is created.
19978 * libio/freopen64.c (freopen64): Likewise.
19979 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19980 * libio/fileops.c (_IO_new_file_close_it): Handle new
19981 _IO_FLAGS2_NOCLOSE flag.
19982 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19983 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19984 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19985 _IO_FLAGS2_NOCLOSE flag.
19986 * include/unistd.h: Add hidden_proto for dup3.
19987 Define __have_dup3.
19988 * io/dup3.c: Define hidden symbol.
19989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19990
bd25564e
UD
19991 [BZ #7101]
19992 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19993 when an incomplete long option is used.
19994 * posix/tst-getopt_long1.c: New file.
19995 * posix/Makefile (tests): Add tst-getopt_long1.
19996
c84cfef4
UD
19997 [BZ #10138]
19998 * scripts/config.guess: Update from autoconf-2.68.
19999 * scripts/config.sub: Likewise.
20000
3b85df27
UD
20001 [BZ #10157]
20002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20003 tests into ...
20004 (has_cpuclock): ...this. New function.
20005 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20006 macro here based on has_cpuclock code.
20007
15a856b1
UD
20008 [BZ #10149]
20009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20010 First byte (not low byte) is now always NUL.
20011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20012
05f399e6
UD
20013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20014 Use non-cancelable interfaces.
20015
10a52685 20016 [BZ #9809]
94ecc67d
UD
20017 * locale/iso-639.def: Add entry for Sorani.
20018
f8a3b5bf
UD
20019 [BZ #11901]
20020 * include/stdlib.h: Move include protection to the right place.
20021 Define abort_msg_s. Declare __abort_msg with it.
20022 * stdlib/abort.c (__abort_msg): Adjust type.
20023 * assert/assert.c (__assert_fail_base): New function. Majority
20024 of code from __assert_fail. Allocate memory for __abort_msg with
20025 mmap.
20026 (__assert_fail): Now call __assert_fail_base.
20027 * assert/assert-perr.c: Remove bulk of implementation. Use
20028 __assert_fail_base.
20029 * include/assert.hL Declare __assert_fail_base.
20030 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20031 mmap.
20032 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20033
1af4e298
UD
200342011-05-14 Ulrich Drepper <drepper@gmail.com>
20035
f8a3b5bf 20036 [BZ #11952]
d26dfc60
MG
20037 [BZ #12453]
20038 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20039 until all modules are registered in the DTV.
20040 * elf/Makefile: Add rules to build and run tst-tls19.
20041 * elf/tst-tls19.c: New file.
20042 * elf/tst-tls19mod1.c: New file.
20043 * elf/tst-tls19mod2.c: New file.
20044 * elf/tst-tls19mod3.c: New file.
20045 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20046
2fc54d6f
UD
20047 [BZ #12083]
20048 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20049 correctly.
20050
98d76b46
UD
20051 [BZ #12601]
20052 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20053 two-byte sequence errors.
20054 * iconvdata/Makefile (tests): Add bug-iconv8.
20055 * iconvdata/bug-iconv8.c: New file.
20056
da3c19ef
UD
20057 [BZ #12626]
20058 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20059 buf2 definition.
20060
ca408c15
UD
20061 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20062
d6f67f7d
UD
20063 [BZ #12432]
20064 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20065 (dummy_getcfa): New function.
20066 (init): Get _Unwind_GetCFA address, use dummy if not found.
20067 (backtrace_helper): In recursion check, also check whether CFA changes.
20068 (__backtrace): Completely initialize arg.
20069
1af4e298 20070 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20071 storing incomplete byte sequence in state object. Avoid testing for
20072 guaranteed too small input if we know there is enough data available.
1af4e298 20073
da62f81b
AS
200742011-05-11 Andreas Schwab <schwab@redhat.com>
20075
20076 * Makeconfig (+link-pie): Indent.
20077 * Rules (binaries-pie): Define if $(have-fpie) and
20078 $(build-shared).
20079 (binaries-shared): Also filter out $(binaries-pie).
20080 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20081 * nscd/Makefile (others-pie): Add nscd.
20082 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20083 ($(objpfx)nscd): Remove command override.
20084 * login/Makefile (others-pie): Add pt_chown.
20085 ($(objpfx)pt_chown): Remove command override.
20086 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20087 remove command overrides.
20088
fcabc0f8
UD
200892011-05-13 Ulrich Drepper <drepper@gmail.com>
20090
20030ae6
UD
20091 * libio/tst_putwc.c: Fix error messages.
20092
fcabc0f8
UD
20093 [BZ #12724]
20094 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20095 currently writing and seek to current position when not.
20096 * libio/Makefile (tests): Add bug-fclose1.
20097 * libio/bug-fclose1.c: New file.
20098
320a5dc0
PB
200992011-05-12 Ulrich Drepper <drepper@gmail.com>
20100
20101 [BZ #12511]
20102 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20103 don't set DF_1_NODELETE here.
20104 (do_lookup_x): When entering new entry test for copy relocation
20105 and if necessary set DF_1_NODELETE flag.
20106 * elf/tst-unique4.cc: New file.
20107 * elf/tst-unique4.h: New file.
20108 * elf/tst-unique4lib.cc: New file.
20109 * elf/Makefile: Add rules to build and run tst-unique4.
20110 Patch by Piotr Bury <pbury@goahead.com>.
20111
22836f52
UD
201122011-05-11 Ulrich Drepper <drepper@gmail.com>
20113
f574184a
UD
20114 [BZ #12052]
20115 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20116
e1fb097f
UD
20117 [BZ #12625]
20118 * misc/mntent_r.c (addmntent): Flush the stream after the output
20119
22836f52
UD
20120 [BZ #12393]
20121 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20122 (is_trusted_path_normalize): Skip initial colon. Append slash
20123 to empty buffer. Duplicate is_trusted_path code but allow
20124 constructed patch to be prefix.
20125 (is_dst): Allow $ORIGIN followed by /.
20126 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20127 Correct testing of result of is_trusted_path_normalize
20128 (decompose_rpath): Fix warning.
20129
7b3b0b2a
UD
201302011-05-10 Ulrich Drepper <drepper@gmail.com>
20131
20132 [BZ #11257]
20133 * grp/initgroups.c (internal_getgrouplist): When we found the service
20134 list through the initgroups entry in nsswitch.conf do not always
20135 continue on a successful lookup. Don't always use the
eac80ce2 20136 __nss_group_database value if it is set.
7b3b0b2a
UD
20137 * nss/nsswitch.conf (initgroups): Change action for successful db
20138 lookup to continue for compatibility.
20139
2a81eaa5
UD
201402011-05-09 Ulrich Drepper <drepper@gmail.com>
20141
be97a69e
UD
20142 [BZ #11532]
20143 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20144 and CP774 modules.
20145 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20146 and CP774 modules.
20147 * iconvdata/tst-tables.sh: Likewise.
20148 * iconvdata/cp770.c: New file.
20149 * iconvdata/cp771.c: New file.
20150 * iconvdata/cp772.c: New file.
20151 * iconvdata/cp773.c: New file.
20152 * iconvdata/cp774.c: New file.
20153 * iconvdata/testdata/CP770: New file.
20154 * iconvdata/testdata/CP770..UTF8: New file.
20155 * iconvdata/testdata/CP771: New file.
20156 * iconvdata/testdata/CP771..UTF8: New file.
20157 * iconvdata/testdata/CP772: New file.
20158 * iconvdata/testdata/CP772..UTF8: New file.
20159 * iconvdata/testdata/CP773: New file.
20160 * iconvdata/testdata/CP773..UTF8: New file.
20161 * iconvdata/testdata/CP774: New file.
20162 * iconvdata/testdata/CP774..UTF8: New file.
20163
20164 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20165 END CHARMAP line.
20166 * iconvdata/gen-8bit-gap.sh: Likewise.
20167 * iconvdata/gen-8bit.sh: Likewise.
20168
c1e9e399
UD
20169 * locale/iso-639.def: Add ary entry.
20170
24c55fb3 20171 [BZ #11258]
96b4b1b0
UD
20172 * locale/C-translit.h.in: Add U20A1 transliteration.
20173
bdc2f971
KB
20174 [BZ #12178]
20175 * locale/iso-639.def: Add wae entry.
20176 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20177
2952b117
UD
20178 [BZ #12545]
20179 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20180 for n.
20181
2a81eaa5
UD
20182 [BZ #12711]
20183 * locale/C-translit.h.in: Add entry for U20B9.
20184 Patch by pravin.d.s@gmail.com.
20185
28377d1b
UD
201862011-05-08 Ulrich Drepper <drepper@gmail.com>
20187
7fb90fb8
UD
20188 [BZ #12713]
20189 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20190 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20191 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20192 in rtld. Use *stat64.
7fb90fb8 20193 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20194 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20195 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20196 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20197 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20198 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20199 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20200 __fstatat64 macros.
7fb90fb8
UD
20201 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20202 * dirent/rewinddir.c: Add libc_hidden_def.
20203 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20204 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20205
28377d1b
UD
20206 * include/dirent.h (__alloc_dir): Add flags parameter.
20207 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20208 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20209 __alloc_dir.
20210 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20211 from fdopendir if O_CLOEXEC is already set.
20212
66bdbaa4
AM
202132011-03-15 Alan Modra <amodra@gmail.com>
20214
20215 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20216 l_tls_firstbyte_offset non-zero. Save padding offset in
20217 l_tls_firstbyte_offset for later use.
20218 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20219 freeing static tls block.
20220
95721191
JN
202212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20222
20223 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20224 where #ifdef was intended. The intent is to prevent ARG_MAX from
20225 being defined by the kernel headers.
20226
f87dfb1f
UD
202272011-05-07 Ulrich Drepper <drepper@gmail.com>
20228
20229 [BZ #12734]
20230 * resolv/resolv.h: Define RES_NOTLDQUERY.
20231 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20232 no-tld-query and set RES_NOTLDQUERY.
20233 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20234 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20235 modern BIND to search name as TLD unless forbidden.
20236
47c3cd7a
UD
202372011-05-07 Petr Baudis <pasky@suse.cz>
20238 Ulrich Drepper <drepper@gmail.com>
20239
20240 [BZ #12393]
20241 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20242 (is_trusted_path): ...to here.
c1e9ea35 20243 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20244 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20245 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20246
8a35c912
PP
202472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20248
20249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20250 __BEGIN/__END_DECLS.
20251
acd41f47
UD
202522011-05-06 Ulrich Drepper <drepper@gmail.com>
20253
20254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20255 NSS_STATUS_NOTFOUND if no record was found.
20256
597df647
AS
202572011-05-05 Andreas Schwab <schwab@redhat.com>
20258
20259 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20260 (headers-not-in-tirpc): Remove rpc/netdb.h
20261 * resolv/netdb.h: Revert last change.
20262
b9af1301
PP
202632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20264
20265 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20266 circular dependency between libgcc.a and libc.a.
20267
4e34d5f5
AS
202682011-05-05 Andreas Schwab <schwab@redhat.com>
20269
20270 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20271 * nis/Makefile: Don't install rpcsvc/*.
20272 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20273 instead of <rpc/types.h>.
20274 (MAXHOSTNAMELEN): Define.
20275
00ee369c
AS
202762011-05-03 Andreas Schwab <schwab@redhat.com>
20277
20278 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20279
0b592a30
MB
202802011-04-28 Maciej Babinski <mbabinski@google.com>
20281
20282 [BZ #12714]
20283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20284 gethostbyname4_r when IPv6 results are possible.
20285
6e04cbbe
UD
202862011-05-02 Ulrich Drepper <drepper@gmail.com>
20287
20288 [BZ #12723]
20289 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20290 _PC_PIPE_BUF handling.
20291
e4ecafe0
BH
202922011-04-30 Bruno Haible <bruno@clisp.org>
20293
20294 [BZ #12717]
20295 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20296 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20297 to 'int'.
20298 * inet/getnameinfo.c (getnameinfo): Likewise.
20299
125ee683
UD
203002011-04-29 Ulrich Drepper <drepper@gmail.com>
20301
20302 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20303 to groups setting in database lookup.
20304 * nss/nsswitch.conf: Add initgroups entry.
20305
b722481a
EB
203062011-04-22 Ulrich Drepper <drepper@gmail.com>
20307
20308 [BZ #12685]
20309 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20310 mode string.
20311 Patch by Eric Blake <eblake@redhat.com>.
20312
4df46dbd
L
203132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20314
20315 * sunrpc/Makefile (need-export-routines): Add svc_run.
20316 (routines): Remove svc_run.
20317 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20318 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20319 * sunrpc/svc_run.c (svc_run): Likewise.
20320 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20321
e84142d2
UD
203222011-04-21 Ulrich Drepper <drepper@gmail.com>
20323
20324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20325 problem in reallocation in last patch.
20326
877175d8
UD
203272011-04-20 Ulrich Drepper <drepper@gmail.com>
20328
20329 * sunrpc/Makefile: Move inclusion of Rules.
20330
ab8eed78
UD
203312011-04-19 Ulrich Drepper <drepper@gmail.com>
20332
20333 * nss/nss_files/files-initgroups.c: New file.
20334 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20335 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20336 _nss_files_initgroups_dyn.
20337
e3d8f584
RS
203382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20339
20340 * elf/elf.h (R_ARM_IRELATIVE): Define.
20341
af190f45
UD
203422011-04-19 Ulrich Drepper <drepper@gmail.com>
20343
20344 * po/ru.po: Update from translation team.
20345
53cf59ef
UD
203462011-04-17 Ulrich Drepper <drepper@gmail.com>
20347
20348 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20349 dependencies.
20350
4c559bcd
MF
203512011-02-06 Mike Frysinger <vapier@gentoo.org>
20352
20353 [BZ #12653]
20354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20355 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20359
4420675c
AS
203602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20361
20362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20363 differing bytes.
20364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20367
75ea32ab
UD
203682011-04-17 Ulrich Drepper <drepper@gmail.com>
20369
20370 [BZ #12420]
20371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20372 storing it.
20373 * stdlib/bug-getcontext.c: New file.
20374 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20375
27390476
AK
203762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20377
20378 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20379 instructions into .machine "z9-109".
20380 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20381 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20382
10442705
AK
203832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20384
20385 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20386 between environment variables and auxiliary vector.
20387
7b57bfe5
UD
203882011-04-16 Ulrich Drepper <drepper@gmail.com>
20389
20390 * Makefile: Add rules to build linkobj/libc.so.
20391 * include/libc-symbols.h: Define libc_hidden_nolink.
20392 * include/rpc/auth.h: Mark functions which are to be hidden.
20393 * include/rpc/auth_des.h: Likewise.
20394 * include/rpc/auth_unix.h: Likewise.
20395 * include/rpc/clnt.h: Likewise.
20396 * include/rpc/des_crypt.h: Likewise.
20397 * include/rpc/key_prot.h: Likewise.
20398 * include/rpc/pmap_clnt.h: Likewise.
20399 * include/rpc/pmap_prot.h: Likewise.
20400 * include/rpc/pmap_rmt.h: Likewise.
20401 * include/rpc/rpc_msg.h: Likewise.
20402 * include/rpc/svc.h: Likewise.
20403 * include/rpc/svc_auth.h: Likewise.
20404 * include/rpc/xdr.h: Likewise.
20405 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20406 * nss/Makefile: Likewise.
20407 * sunrpc/Makefile: Don't install headers. Build library with normal
20408 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20409 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20410 for the compat linking library. Remove use of INTDEF/INTUSE.
20411 * sunrpc/auth_none.c: Likewise.
20412 * sunrpc/auth_unix.c: Likewise.
20413 * sunrpc/authdes_prot.c: Likewise.
20414 * sunrpc/authuxprot.c: Likewise.
20415 * sunrpc/clnt_gen.c: Likewise.
20416 * sunrpc/clnt_perr.c: Likewise.
20417 * sunrpc/clnt_raw.c: Likewise.
20418 * sunrpc/clnt_simp.c: Likewise.
20419 * sunrpc/clnt_tcp.c: Likewise.
20420 * sunrpc/clnt_udp.c: Likewise.
20421 * sunrpc/clnt_unix.c: Likewise.
20422 * sunrpc/des_crypt.c: Likewise.
20423 * sunrpc/des_soft.c: Likewise.
20424 * sunrpc/get_myaddr.c: Likewise.
20425 * sunrpc/key_call.c: Likewise.
20426 * sunrpc/key_prot.c: Likewise.
20427 * sunrpc/netname.c: Likewise.
20428 * sunrpc/pm_getmaps.c: Likewise.
20429 * sunrpc/pm_getport.c: Likewise.
20430 * sunrpc/pmap_clnt.c: Likewise.
20431 * sunrpc/pmap_prot.c: Likewise.
20432 * sunrpc/pmap_prot2.c: Likewise.
20433 * sunrpc/pmap_rmt.c: Likewise.
20434 * sunrpc/publickey.c: Likewise.
20435 * sunrpc/rpc_cmsg.c: Likewise.
20436 * sunrpc/rpc_common.c: Likewise.
20437 * sunrpc/rpc_dtable.c: Likewise.
20438 * sunrpc/rpc_prot.c: Likewise.
20439 * sunrpc/rpc_thread.c: 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_intXX_t.c: Likewise.
20456 * sunrpc/xdr_mem.c: Likewise.
20457 * sunrpc/xdr_rec.c: Likewise.
20458 * sunrpc/xdr_ref.c: Likewise.
20459 * sunrpc/xdr_sizeof.c: Likewise.
20460 * sunrpc/xdr_stdio.c: Likewise.
20461
e6c61494
UD
204622011-04-10 Ulrich Drepper <drepper@gmail.com>
20463
20464 [BZ #12650]
20465 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20466 * sysdeps/ia64/dl-tls.h: Likewise.
20467 * sysdeps/powerpc/dl-tls.h: Likewise.
20468 * sysdeps/s390/dl-tls.h: Likewise.
20469 * sysdeps/sh/dl-tls.h: Likewise.
20470 * sysdeps/sparc/dl-tls.h: Likewise.
20471 * sysdeps/x86_64/dl-tls.h: Likewise.
20472 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20473
34fe483e
AS
204742011-03-14 Andreas Schwab <schwab@redhat.com>
20475
20476 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20477 rpath element also skip the following colon.
20478 (expand_dynamic_string_token): Add is_path parameter and pass
20479 down to DL_DST_REQUIRED and _dl_dst_substitute.
20480 (decompose_rpath): Call expand_dynamic_string_token with
20481 non-zero is_path. Ignore empty rpaths.
20482 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20483 with zero is_path.
20484
f12a32e6
AS
204852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20486
20487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20488 Make cancelable.
20489
38a7d692
UD
204902011-04-09 Ulrich Drepper <drepper@gmail.com>
20491
20492 [BZ #12655]
20493 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20494 Patch by Filipe David Manana <fdmanana@apache.org>.
20495
e451d22b
AS
204962011-04-07 Andreas Schwab <schwab@redhat.com>
20497
20498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20499 Maintain aligned stack.
20500 (CHECK_RSP): Remove unused macro.
20501
dedc7c7b
UD
205022011-04-03 Ulrich Drepper <drepper@gmail.com>
20503
20504 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20506
94521213
UD
205072011-04-02 Ulrich Drepper <drepper@gmail.com>
20508
20509 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20510
8cb700c0 20511 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20512
0354e355
L
205132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20514
20515 [BZ #12518]
20516 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20517 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20518 * sysdeps/x86_64/memmove.c: New file.
20519 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20520 (memcpy): Renamed to ...
20521 (__new_memcpy): This.
20522 (memcpy): Provide GLIBC_2_14 memcpy.
20523 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20524 (memcpy): Provide GLIBC_2_2_5 memcpy.
20525
8593482f
UD
205262011-04-01 Ulrich Drepper <drepper@gmail.com>
20527
20528 [BZ #12631]
20529 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20530
81a5726b
AS
205312011-03-30 Andreas Schwab <schwab@redhat.com>
20532
20533 * misc/syncfs.c: New file.
20534 * misc/Makefile (routines): Add syncfs.
20535 * posix/unistd.h: Declare syncfs.
20536 * sysdeps/unix/syscalls.list: Add syncfs.
20537
00e5419f
AS
205382011-04-01 Andreas Schwab <schwab@redhat.com>
20539
20540 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20541 open_by_handle_at.
20542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20547 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20549
748876bf
UD
205502011-04-01 Ulrich Drepper <drepper@gmail.com>
20551
658e451d
UD
20552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20553 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20559
748876bf
UD
20560 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20561 sync_file_range.c with -fexceptions.
20562 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20563 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20564 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20565 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20566 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20569 sync_file_range as cancellation point
20570 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20571 now a wrapper around __call_sync_file_range with cancellation handling.
20572 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20573 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20574 function name to __call_sync_file_range.
20575 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20576 Add call_sync_file_range.
748876bf 20577
6e63d5e1
AS
205782011-04-01 Andreas Schwab <schwab@redhat.com>
20579
20580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20581 bits/timex.h.
6e63d5e1 20582
46998f74
UD
205832011-04-01 Ulrich Drepper <drepper@gmail.com>
20584
4c1423ed
UD
20585 * iconv/iconv.h: Fix typo in comment.
20586 * io/fcntl.h: Likewise.
20587 * libio/stdio.h: Likewise.
20588 * posix/spawn.h: Likewise.
20589 * posix/unistd.h: Likewise.
20590 * stdlib/stdlib.h: Likewise.
20591 * time/time.h: Likewise.
20592 * wcsmbs/wchar.h: Likewise.
20593
158648c0
UD
20594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20595 open_by_handle): Add.
20596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20597 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20598 Augment a few comments.
20599 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20604 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20605 open_by_handle.
20606
46998f74
UD
20607 * io/fcntl.h (AT_EMPTY_PATH): Define.
20608
83fe108b
UD
206092011-03-30 Ulrich Drepper <drepper@gmail.com>
20610
20611 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20612 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20613 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20614 to...
20615 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20616 * Versions.def: Add GLIBC_2.14.
20617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20618 Export.
83fe108b 20619
bb242059
UD
206202011-03-22 Ulrich Drepper <drepper@gmail.com>
20621
20622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20623 round counter.
20624 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20625
c97a1282
L
206262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20627
20628 [BZ #12597]
20629 * string/test-strncmp.c (do_page_test): New function.
20630 (check2): Likewise.
20631 (test_main): Call check2.
20632 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20633
2a115601
UD
206342011-03-20 Ulrich Drepper <drepper@gmail.com>
20635
20636 [BZ #12587]
20637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20638 Handle cache information in CPU leaf 4.
20639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20640
8126d904
UD
206412011-03-18 Ulrich Drepper <drepper@gmail.com>
20642
042c49c6 20643 [BZ #12583]
8126d904
UD
20644 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20645 character representation.
20646 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20647
ccfe366e
RA
206482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20649
20650 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20651 END(__isnan) to END(__isnanf) to match function entry point/label
20652 EALIGN(__isnanf,...).
20653
c6e13027
JJ
206542011-03-10 Jakub Jelinek <jakub@redhat.com>
20655
20656 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20657
33f85a3f
UD
206582011-03-10 Ulrich Drepper <drepper@gmail.com>
20659
028478fa
UD
20660 [BZ #12510]
20661 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20662 copy from the symbol referenced in the relocation to initialize the
20663 used variable.
20664 Patch by Piotr Bury <pbury@goahead.com>.
20665 * elf/Makefile: Add rules to build and tst-unique3.
20666 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20667 * elf/tst-unique3.cc: New file.
20668 * elf/tst-unique3.h: New file.
20669 * elf/tst-unique3lib.cc: New file.
20670 * elf/tst-unique3lib2.cc: New file.
20671
33f85a3f
UD
20672 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20673
03592fc7
MF
206742011-03-10 Mike Frysinger <vapier@gentoo.org>
20675
20676 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20677 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20678 to _start.
03592fc7 20679
6a5ee102
UD
206802011-03-06 Ulrich Drepper <drepper@gmail.com>
20681
20682 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20683 to-be-loaded object along a path to loader is ld.so.
20684
7e4ba49c
HJ
206852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20686 Ulrich Drepper <drepper@gmail.com>
20687
20688 * sysdeps/x86_64/memset.S: After aligning destination, code
20689 branches to different locations depending on the value of
20690 misalignment, when multiarch is enabled. Fix this.
20691
206922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20693
20694 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20695 Set _x86_64_preferred_memory_instruction for AMD processsors.
20696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20697 Set bit_Prefer_SSE_for_memop for AMD processors.
20698
13a804de
UD
206992011-03-04 Ulrich Drepper <drepper@gmail.com>
20700
20701 * libio/fmemopen.c (fmemopen): Optimize a bit.
20702
9d25c392
AS
207032011-03-03 Andreas Schwab <schwab@redhat.com>
20704
20705 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20706
a5543c6a
RM
207072011-03-03 Roland McGrath <roland@redhat.com>
20708
20709 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20710
012d35f7
DM
207112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20712
7e4ba49c 20713 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20714 __bzero_ultra1 instead of __memset_ultra1.
20715
4bff6e01
AS
207162011-02-23 Andreas Schwab <schwab@redhat.com>
20717 Ulrich Drepper <drepper@gmail.com>
20718
20719 [BZ #12509]
20720 * include/link.h (struct link_map): Add l_orig_initfini.
20721 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20722 returning unsuccessfully.
20723 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20724 close of a file loaded at startup, restore the original l_initfini
20725 list.
20726 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20727 list, store the pointer.
20728 * elf/Makefile ($(objpfx)noload-mem): New rule.
20729 (noload-ENV): Define.
20730 (tests): Add $(objpfx)noload-mem.
20731 * elf/noload.c: Include <memcheck.h>.
20732 (main): Call mtrace. Close all opened handles.
20733
f2092faf
AS
207342011-02-17 Andreas Schwab <schwab@redhat.com>
20735
20736 [BZ #12454]
20737 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20738 dependencies are missing.
20739
6c8a2e88
ST
207402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20741
f2092faf 20742 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20743 Hurd needs munmap.
20744 * sysdeps/mach/hurd/ifreq.h: New file.
20745
84a42118
PB
207462011-01-27 Petr Baudis <pasky@suse.cz>
20747 Ulrich Drepper <drepper@gmail.com>
20748
071f805e 20749 [BZ 12445]#
84a42118
PB
20750 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20751 to extend_alloca().
20752 * stdio-common/bug23.c: New file.
20753 * stdio-common/Makefile (tests): Add bug23.
20754
e23fe25b
AS
207552010-09-28 Andreas Schwab <schwab@redhat.com>
20756 Ulrich Drepper <drepper@gmail.com>
20757
20758 [BZ #12489]
20759 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20760 before performing relro protection. At old place add assertion
20761 to make sure nothing changed.
20762
d3f02e10
NS
207632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20764 Glauber de Oliveira Costa <glommer@gmail.com>
20765
20766 * elf/elf.h: Add new ARM TLS relocs.
20767
d55fd7a5
RA
207682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20769
20770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20771 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20772 cast from r3.
20773 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20774 'tests' variable.
20775 * sysdeps/wordsize-64/tst-writev.c: New file.
20776
2206397e
RA
207772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20778
20779 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20780 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20781 insns in _dl_start to prevent a TOC reference before relocs are
20782 resolved.
20783
e9433893
UD
207842011-02-15 Ulrich Drepper <drepper@gmail.com>
20785
20786 [BZ #12469]
20787 * Makeconfig: Remove RANLIB definition.
20788 * Makerules: Don't use RANLIB.
20789 * aclocal.m4: Remove ranlib test.
20790 * configure.in: No need to check for ranlib.
20791 * elf/rtld-Rules: Don't use RANLIB.
20792
f75286c6
ST
207932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20794
8e31c82d
ST
20795 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20796 protection macro.
20797 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20798 inclusion protection macro.
20799
f75286c6
ST
20800 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20801 SIGRTMIN and SIGRTMAX and print information in that case only when
20802 SIGRTMIN is defined.
20803
c1d0e639
JJ
208042011-02-11 Jakub Jelinek <jakub@redhat.com>
20805
20806 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20807 arginfo fn returning -1.
20808
20809 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20810 and thousands string is zero terminated.
20811
edf9294e
AS
208122011-02-03 Andreas Schwab <schwab@redhat.com>
20813
20814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20815 sysdeps/unix/sysv/linux/bits/socket.h.
20816
2b7e92df
ST
208172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20818
edf9294e
AS
20819 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20820 (__CPU_COUNT): Remove old macros.
20821 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20822 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20823 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20824 (__sched_cpualloc, __sched_cpufree): Add declarations.
20825
a4c7ea7b
UD
208262011-02-05 Ulrich Drepper <drepper@gmail.com>
20827
20828 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20829 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20830 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20831 (readdhstai): Return value of addhstaiX call.
20832 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20833 (addgrbyX): Return value returned by cache_addgr.
20834 (readdgrbyname): Return value returned by addgrbyX.
20835 (readdgrbygid): Likewise.
20836 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20837 (addpwbyX): Return value returned by cache_addpw.
20838 (readdpwbyname): Return value returned by addhstbyX.
20839 (readdpwbyuid): Likewise.
20840 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20841 (addservbyX): Return value returned by cache_addserv.
20842 (readdservbyname): Return value returned by addservbyX:
20843 (readdservbyport): Likewise.
20844 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20845 (addhstbyX): Return value returned by cache_addhst.
20846 (readdhstbyname): Return value returned by addhstbyX.
20847 (readdhstbyaddr): Likewise.
20848 (readdhstbynamev6): Likewise.
20849 (readdhstbyaddrv6): Likewise.
20850 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20851 (readdinitgroups): Return value returned by addinitgroupsX.
20852 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20853 (prune_cache): Keep track of timeout value of re-added entries.
20854 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20855 * nscd/nscd.h: Adjust prototypes of readd* functions.
20856
a0bf67cc
RM
208572011-02-04 Roland McGrath <roland@redhat.com>
20858
20859 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20860 (nis_stats): Likewise.
20861 * nis/nis_modify.c (nis_modify): Likewise.
20862 * nis/nis_remove.c (nis_remove): Likewise.
20863 * nis/nis_add.c (nis_add): Likewise.
20864
20865 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20866
20867 * posix/fnmatch_loop.c: Add some consts.
20868
20869 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20870
435b95eb
L
208712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20872
20873 [BZ #12460]
20874 * config.make.in (config-cflags-novzeroupper): Define.
20875 * configure.in: Substitute libc_cv_cc_novzeroupper.
20876 * elf/Makefile (AVX-CFLAGS): Define.
20877 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20878 (CFLAGS-tst-auditmod4a.c): Likewise.
20879 (CFLAGS-tst-auditmod4b.c): Likewise.
20880 (CFLAGS-tst-auditmod6b.c): Likewise.
20881 (CFLAGS-tst-auditmod6c.c): Likewise.
20882 (CFLAGS-tst-auditmod7b.c): Likewise.
20883 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20884
8517b15e
UD
208852011-02-02 Ulrich Drepper <drepper@gmail.com>
20886
20887 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20888 function to the callback.
20889 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20890
10a656fe
AS
208912011-02-02 Andreas Schwab <schwab@redhat.com>
20892
20893 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20894 of errno.
20895
968dad0a
UD
208962011-01-19 Ulrich Drepper <drepper@gmail.com>
20897
9f94d2ea 20898 [BZ #11724]
968dad0a
UD
20899 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20900 of constructors.
20901 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20902 of destructors.
20903 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20904
20905 [BZ #11724]
20906 * elf/Makefile: Add rules to build and run new test.
20907 * elf/tst-initorder.c: New file.
20908 * elf/tst-initorder.exp: New file.
20909 * elf/tst-initordera1.c: New file.
20910 * elf/tst-initordera2.c: New file.
20911 * elf/tst-initordera3.c: New file.
20912 * elf/tst-initordera4.c: New file.
20913 * elf/tst-initorderb1.c: New file.
20914 * elf/tst-initorderb2.c: New file.
20915 * elf/tst-order-a1.c: New file.
20916 * elf/tst-order-a2.c: New file.
20917 * elf/tst-order-a3.c: New file.
20918 * elf/tst-order-a4.c: New file.
20919 * elf/tst-order-b1.c: New file.
20920 * elf/tst-order-b2.c: New file.
20921 * elf/tst-order-main.c: New file.
20922 New test case by George Gensure <werkt0@gmail.com>.
20923
86e92359
UD
209242010-10-01 Andreas Schwab <schwab@redhat.com>
20925
20926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20927 decoding ACE if AI_CANONIDN.
20928
5d5732b0
UD
209292011-01-18 Ulrich Drepper <drepper@gmail.com>
20930
20931 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20932
a77e8cbc
UD
209332011-01-17 Ulrich Drepper <drepper@gmail.com>
20934
6392473f
UD
20935 * version.h (RELEASE): Bump for 2.13 release.
20936 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20937
620a0529
UD
20938 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20939
18ba70a5
UD
20940 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20941 MADV_NOHUGEPAGE.
32465c3e
UD
20942 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20944 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20945 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20948
c0dafcf1
UD
20949 * posix/getconf.c: Update copyright year.
20950 * catgets/gencat.c: Likewise.
20951 * csu/version.c: Likewise.
20952 * debug/catchsegv.sh: Likewise.
20953 * debug/xtrace.sh: Likewise.
20954 * elf/ldconfig.c: Likewise.
20955 * elf/ldd.bash.in: Likewise.
20956 * elf/sprof.c (print_version): Likewise.
20957 * iconv/iconv_prog.c: Likewise.
20958 * iconv/iconvconfig.c: Likewise.
20959 * locale/programs/locale.c: Likewise.
20960 * locale/programs/localedef.c: Likewise.
20961 * malloc/memusage.sh: Likewise.
20962 * malloc/mtrace.pl: Likewise.
20963 * nscd/nscd.c (print_version): Likewise.
20964 * nss/getent.c: Likewise.
20965
a77e8cbc
UD
20966 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20967 PF_CAIF, and PF_ALG.
20968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20969
77e8bddf
AS
209702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20971
1f20b93a
AS
20972 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20973 (modules-names): Use them.
20974 (ifunc-test-modules, ifunc-pie-tests): Define.
20975 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20976 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20977 (test-extras): Likewise.
20978 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20979 $(compile-command.c).
20980 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20981 (all-built-dso): Define.
20982 (check-textrel.out, check-execstack.out): Depend on it.
20983
77e8bddf
AS
20984 * configure.in: Don't override --enable-multi-arch.
20985
bc425b33
UD
209862011-01-15 Ulrich Drepper <drepper@gmail.com>
20987
20988 [BZ #6812]
20989 * nscd/hstcache.c (tryagain): Define.
20990 (cache_addhst): Return tryagain not notfound for temporary errors.
20991 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20992 failed.
20993
794c3ad3
UD
209942011-01-14 Ulrich Drepper <drepper@gmail.com>
20995
70181fdd
UD
20996 [BZ #10563]
20997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20998 to make the syscall.
20999 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21000
794c3ad3
UD
21001 [BZ #12378]
21002 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21003 and fall back to matching as normal character if the string ends before
21004 the matching ']' is found. This is what POSIX requires.
21005 * posix/testfnm.c: Adjust test result.
21006 * posix/globtest.sh: Adjust test result. Add new test.
21007 * posix/tst-fnmatch.input: Likewise.
21008 * posix/tst-fnmatch2.c: Add new test.
21009
68dc9497
AS
210102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21011
21012 * elf/Makefile (check-execstack): Revert last change. Depend on
21013 check-execstack.h.
21014 (check-execstack.h): New target.
21015 (generated): Add check-execstack.h.
21016 * elf/check-execstack.c: Include "check-execstack.h".
21017 (main): Revert last change.
21018 (handle_file): Return zero if GNU_STACK is absent and
21019 DEFAULT_STACK_PERMS doesn't include PF_X.
21020
451f001b
UD
210212011-01-13 Ulrich Drepper <drepper@gmail.com>
21022
cfa28e56
UD
21023 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21024 in child fails because the descriptor is already closed.
8cf8ce17
UD
21025 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21026 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21028
1086d70d
UD
21029 [BZ #12397]
21030 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21031 syscall.
21032
451f001b
UD
21033 [BZ #10484]
21034 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21035 temporary buffer used to handle multi lookups locally.
a85b5cb4 21036 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21037
08769175
UD
210382011-01-12 Ulrich Drepper <drepper@gmail.com>
21039
21040 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21041 loader is ld.so.
21042
5e49c52e
UD
210432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21044
21045 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21046 alignment for SSE2.
21047
60522a5f
UD
210482011-01-12 Ulrich Drepper <drepper@gmail.com>
21049
21050 [BZ #12394]
21051 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21052 characters. When rounding increased number of integer digits recompute
21053 number of groups.
21054 * stdio-common/tst-grouping.c: New file.
21055 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21056
f257bbd7
UD
210572011-01-09 Ulrich Drepper <drepper@gmail.com>
21058
21059 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21060 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21061
21062 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21063 void.
21064 * bits/select.h: Likewise.
21065
fa9c15cb
UD
210662011-01-08 Ulrich Drepper <drepper@gmail.com>
21067
21068 * po/ja.po: Update from translation team.
21069
16c2895f
DM
210702011-01-04 David S. Miller <davem@sunset.davemloft.net>
21071
21072 [BZ #11155]
21073 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21074 implementation just like for lxstat, fxstatat, et al.
21075
2543fef2
JM
210762010-12-27 Jim Meyering <meyering@redhat.com>
21077
21078 [BZ #12348]
21079 * posix/regexec.c (build_trtable): Return failure indication upon
21080 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21081
98727dbe
UD
210822010-12-25 Ulrich Drepper <drepper@gmail.com>
21083
5bd6dc5c
UD
21084 [BZ #12201]
21085 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21086 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21089
97983464
UD
21090 [BZ #12207]
21091 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21092
98727dbe
UD
21093 [BZ #12204]
21094 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21095 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21096
4a531bb0
L
210972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21098
21099 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21100 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21101 script has SORT_BY_INIT_PRIORITY.
21102 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21103 NO_CTORS_DTORS_SECTIONS is defined.
21104 * elf/soinit.c: Likewise.
21105 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21106 NO_CTORS_DTORS_SECTIONS is defined.
21107 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21108 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21109 * sysdeps/sh/init-first.c: Likewise.
21110 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21111
07eb4b71
UD
211122010-12-24 Ulrich Drepper <drepper@gmail.com>
21113
21114 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21115 always use the slow path.
21116
30950a5f
RA
211172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21118
21119 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21120 similar rule which adds the sysdep directories to the header search in
21121 order to pick up the correct platform stackinfo.h.
21122 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21123 perform test if it is, otherwise return successfully without testing.
21124 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21125 DEFAULT_STACK_PERMS define in stackinfo.h.
21126 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21127 defined in stackinfo.h.
21128 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21129 DEFAULT_STACK_PERMS defined in stackinfo.h.
21130 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21131 * sysdeps/ia64/stackinfo.h: Likewise.
21132 * sysdeps/s390/stackinfo.h: Likewise.
21133 * sysdeps/sh/stackinfo.h: Likewise.
21134 * sysdeps/sparc/stackinfo.h: Likewise.
21135 * sysdeps/x86_64/stackinfo.h: Likewise.
21136 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21137 PF_X for powerpc64. Retain PF_X for powerpc32.
21138
db753e2c
UD
211392010-12-19 Ulrich Drepper <drepper@gmail.com>
21140
14b697f7
UD
21141 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21142 accurately.
db753e2c
UD
21143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21144 GETDENTS_64BIT_ALIGNED.
21145
28300719
UD
211462010-12-14 Ulrich Drepper <dreper@gmail.com>
21147
14b697f7 21148 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21149
4f197237
AS
211502010-12-10 Andreas Schwab <schwab@redhat.com>
21151
dbb0472f
AS
21152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21153 _GNU_SOURCE.
21154
4f197237
AS
21155 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21156 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21157 Remove __restrict.
21158 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21159 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21160
fb88ac72
UD
211612010-12-09 Ulrich Drepper <drepper@gmail.com>
21162
21163 [BZ #11655]
21164 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21165 are initialized.
21166
42acbb92
JJ
211672010-12-09 Jakub Jelinek <jakub@redhat.com>
21168
21169 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21170
c038d98d
UD
211712010-12-03 Ulrich Drepper <drepper@gmail.com>
21172
21173 * po/it.po: Update from translation team.
21174
3a4a2499
L
211752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21176
21177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21178 unused codes.
21179
1e24cf6e
UD
211802010-11-30 Ulrich Drepper <drepper@gmail.com>
21181
21182 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21183
a7690819
AS
211842010-11-24 Andreas Schwab <schwab@redhat.com>
21185
21186 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21187 specially.
21188 (gaih_getanswer_slice): Likewise.
21189
3bf8d1b1
JJ
211902010-10-20 Jakub Jelinek <jakub@redhat.com>
21191
21192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21193
6db52fbb
PB
211942010-05-31 Petr Baudis <pasky@suse.cz>
21195
21196 [BZ #11149]
21197 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21198 silently even in the chroot mode.
21199
eaca7569
UD
212002010-11-22 Ulrich Drepper <drepper@gmail.com>
21201
21202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21203 last patch a bit. Pretty printing
21204
3056dcdb
UD
212052010-05-31 Petr Baudis <pasky@suse.cz>
21206
21207 [BZ #10085]
21208 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21209 initialization of skip_initgroups_dyn.
21210
cf7c9078
UD
212112010-11-19 Ulrich Drepper <drepper@gmail.com>
21212
21213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21215
a1fb5e3e
UD
212162010-11-16 Ulrich Drepper <drepper@gmail.com>
21217
21218 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21219
3540d66b
AS
212202010-11-11 Andreas Schwab <schwab@redhat.com>
21221
21222 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21223 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21224 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21225 ($(objpfx)tst-fnmatch-mem): New rule.
21226 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21227 * posix/tst-fnmatch.c (main): Call mtrace.
21228
13b69574
L
212292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21230
21231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21232 Support Intel processor model 6 and model 0x2c.
21233
da93d214
LM
212342010-11-10 Luis Machado <luisgpm@br.ibm.com>
21235
21236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21237 signed comparison.
21238
8ca52c6e
L
212392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21240
21241 [BZ #12205]
21242 * string/test-strncasecmp.c (check_result): New function.
21243 (do_one_test): Use it.
21244 (check1): New function.
21245 (test_main): Use it.
21246 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21247 Support strcasecmp and strncasecmp.
21248
69da074d
UD
212492010-11-08 Ulrich Drepper <drepper@gmail.com>
21250
21251 [BZ #12194]
21252 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21254
ff02d528
L
212552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21258 IFUNC support.
21259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21260 memset-x86-64.
21261 * sysdeps/x86_64/multiarch/bzero.S: New file.
21262 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21263 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21264 * sysdeps/x86_64/multiarch/memset.S: New file.
21265 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21267 Set bit_Prefer_SSE_for_memop for Intel processors.
21268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21269 Define.
21270 (index_Prefer_SSE_for_memop): Define.
21271 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21272
344d0b54
LM
212732010-11-04 Luis Machado <luisgpm@br.ibm.com>
21274
21275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21276 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21277
c0dde15b
UD
212782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 [BZ #12191]
21281 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21282 (__x86_64_raw_data_cache_size_half): Likewise.
21283 (__x86_64_raw_shared_cache_size): Likewise.
21284 (__x86_64_raw_shared_cache_size_half): Likewise.
21285
21286 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21287 (__x86_64_raw_data_cache_size_half): Likewise.
21288 (__x86_64_raw_shared_cache_size): Likewise.
21289 (__x86_64_raw_shared_cache_size_half): Likewise.
21290 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21291 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21292 and __x86_64_raw_shared_cache_size_half. Round
21293 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21294 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21295 to multiple of 256 bytes.
21296
0e516e0e
MS
212972010-11-03 Ulrich Drepper <drepper@gmail.com>
21298
21299 [BZ #12167]
21300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21301 of inacessible symlinks. Verify result of symlink before returning it.
21302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21303 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21304
0e012e87
ER
213052010-10-28 Erich Ritz <erichritz@gmail.com>
21306
21307 * math/math.h (isinf): Fix typo in comment.
21308
de0ff7bc
UD
213092010-11-01 Ulrich Drepper <drepper@gmail.com>
21310
21311 * po/da.po: Update from translation team.
21312
fa41c84d
UD
213132010-10-26 Ulrich Drepper <drepper@gmail.com>
21314
21315 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21316 is added to the list.
21317
f0967738
AK
213182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21319 Ulrich Drepper <drepper@gmail.com>
21320
21321 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21322 the global list here. Move code to...
21323 (_dl_add_to_namespace_list): ...here. New function.
21324 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21325 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21326 * elf/dl-load.c (lose): Don't remove the element from the list.
21327 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21328 (_dl_map_object): Likewise.
21329
213302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21331
21332 [BZ #12159]
21333 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21334 into all bytes of SSE register.
21335 Patch by Richard Li <richardpku@gmail.com>.
21336
f0967738 213372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21338
21339 [BZ #12140]
21340 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21341 perturbing.
21342
d0b9e94f
MB
213432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21344
21345 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21346 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21347 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21348 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21350 submachine.
21351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21352
8e9f92e9
AS
213532010-10-22 Andreas Schwab <schwab@redhat.com>
21354
21355 * include/dlfcn.h (__RTLD_SECURE): Define.
21356 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21357 mode & __RTLD_SECURE instead.
21358 (open_path): Rename preloaded parameter to secure.
21359 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21360 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21361 * elf/dl-deps.c (openaux): Likewise.
21362 * elf/rtld.c (struct map_args): Remove is_preloaded.
21363 (map_doit): Don't use it.
21364 (dl_main): Likewise.
21365 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21366 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21367
bc96fbda
AS
213682010-09-09 Andreas Schwab <schwab@redhat.com>
21369
21370 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21371 (sysd-rules-targets): Remove duplicates.
21372 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21373 rtld-%.$o dependency.
21374
22cd1c9b
AS
213752010-10-18 Andreas Schwab <schwab@redhat.com>
21376
21377 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21378 _dl_map_object do it.
21379
18edac48
UD
213802010-10-19 Ulrich Drepper <drepper@gmail.com>
21381
21382 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21383 fast fma builtins, define the macros in the C99 standard.
21384 (FP_FAST_FMAF): Likewise.
21385 (FP_FAST_FMAL): Likewise.
21386 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21387
21388 * bits/mathdef.h: Update copyright year.
21389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21390
d2050124
MM
213912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21392
21393 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21394 builtins, define the macros in the C99 standard.
21395 (FP_FAST_FMAF): Likewise.
21396 (FP_FAST_FMAL): Likewise.
21397 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21398 multiply/add.
21399 (FP_FAST_FMAF): Likewise.
21400
475facd1
JJ
214012010-10-15 Jakub Jelinek <jakub@redhat.com>
21402
21403 [BZ #3268]
21404 * math/libm-test.inc (fma_test): Some new testcases.
21405 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21406 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21407 y and infinite z. Do multiplication by C already in long double.
21408 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21410 y and infinite z. Do bitwise or of inexact bit into u.d.
21411 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21412 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21413 * sysdeps/i386/fpu/s_fma.S: Removed.
21414 * sysdeps/i386/fpu/s_fmal.S: Removed.
21415
7c08a05c
JJ
214162010-10-16 Jakub Jelinek <jakub@redhat.com>
21417
21418 [BZ #3268]
21419 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21421 computation is not scheduled after fetestexcept. Fix value
21422 of minimum denormal long double.
21423
f3f7372d
JJ
214242010-10-14 Jakub Jelinek <jakub@redhat.com>
21425
21426 [BZ #3268]
21427 * math/libm-test.inc (fma_test): Add some more tests.
21428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21429 correctly.
21430
14d43591
AS
214312010-10-15 Andreas Schwab <schwab@redhat.com>
21432
21433 * scripts/data/localplt-s390-linux-gnu.data: New file.
21434 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21435
5e908464
JJ
214362010-10-13 Jakub Jelinek <jakub@redhat.com>
21437
21438 [BZ #3268]
21439 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21440 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21441 instead of dbl-64.
21442 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21443 inlines.
21444 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21446 if one of x and y is very large and the other is subnormal.
21447 * sysdeps/s390/fpu/s_fmaf.c: New file.
21448 * sysdeps/s390/fpu/s_fma.c: New file.
21449 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21450 * sysdeps/powerpc/fpu/s_fma.S: New file.
21451 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21452 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21453 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21454
214552010-10-12 Jakub Jelinek <jakub@redhat.com>
21456
21457 [BZ #3268]
21458 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21459 fma tests.
21460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21461 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21462 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21463 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21464 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21465 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21466 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21467
b833d51f
UD
214682010-10-12 Ulrich Drepper <drepper@redhat.com>
21469
21470 [BZ #12078]
21471 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21472 * posix/bug-regex31.input: Add test case.
21473
1751705d
UD
214742010-10-11 Ulrich Drepper <drepper@gmail.com>
21475
e9b9cbf5
UD
21476 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21477 * posix/bug-regex31.input: New file.
21478
21479 [BZ #12078]
21480 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21481 (parse_sub_exp): Fix last change, use postorder.
21482
ef06edbe
UD
21483 * posix/bug-regex31.c: New file.
21484 * posix/Makefile: Add rules to build and run bug-regex31.
21485
a129c80d
UD
21486 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21487
21488 [BZ #12078]
21489 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21490
b76b818e
UD
21491 [BZ #12108]
21492 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21493 to have entries in sys_siglist.
21494
1751705d
UD
21495 [BZ #12093]
21496 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21497 be NULL.
21498
9ff8d36f
JJ
214992010-10-07 Jakub Jelinek <jakub@redhat.com>
21500
21501 [BZ #3268]
21502 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21503 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21504 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21505 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21506 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21507 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21508 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21509 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21510 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21511 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21512 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21513 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21514 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21515 * math/ftestexcept.c (fetestexcept): Likewise.
21516 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21517 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21518 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21519 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21520 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21521 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21522 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21523
af325969
UD
215242010-10-11 Ulrich Drepper <drepper@gmail.com>
21525
c579b202 21526 [BZ #12107]
af325969
UD
21527 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21528 newline.
21529
67a67b95
UD
215302010-10-06 Ulrich Drepper <drepper@gmail.com>
21531
21532 * string/bug-strstr1.c: New file.
21533 * string/Makefile: Add rules to build and run bug-strstr1.
21534
5fb308bc
EB
215352010-10-05 Eric Blake <eblake@redhat.com>
21536
21537 [BZ #12092]
21538 * string/str-two-way.h (two_way_long_needle): Always clear memory
21539 when skipping input due to the shift table.
21540
45db99c7
UD
215412010-10-03 Ulrich Drepper <drepper@gmail.com>
21542
3b111893
UD
21543 [BZ #12005]
21544 * malloc/mcheck.c: Handle large requests.
21545
45db99c7
UD
21546 [BZ #12077]
21547 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21548 for strncmp and strncasecmp.
21549 * string/stratcliff.c: Add tests for strcmp and strncmp.
21550 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21551
cf7a1eb8
NI
215522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21553
21554 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21555 __set_fpscr.
21556
6484ba5e
AJ
215572010-09-30 Andreas Jaeger <aj@suse.de>
21558
21559 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21560 (CGROUP_SUPER_MAGIC): Define.
21561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21562 Handle btrfs and cgroup file systems.
21563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21564 Likewise.
21565
91c42559
LM
215662010-09-27 Luis Machado <luisgpm@br.ibm.com>
21567
21568 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21569 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21570
87a97932
AK
215712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21572
21573 [BZ #12067]
21574 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21575 trying to locate the ELF header.
21576
c21cc9bc
AS
215772010-09-27 Andreas Schwab <schwab@redhat.com>
21578
21579 [BZ #11611]
21580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21581 Mask out sign-bit copies when constructing f_fsid.
21582
315970f6
PB
215832010-09-24 Petr Baudis <pasky@suse.cz>
21584
21585 * debug/stack_chk_fail_local.c: Add missing licence exception.
21586 * debug/warning-nop.c: Likewise.
21587
1ac7a2c7
JM
215882010-09-15 Joseph Myers <joseph@codesourcery.com>
21589
21590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21591 implementing getdents64 using getdents syscall, set d_type if
21592 __ASSUME_GETDENTS32_D_TYPE.
21593
56801c50
AS
215942010-09-16 Andreas Schwab <schwab@redhat.com>
21595
21596 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21597 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21598
dda51327
UD
215992010-09-21 Ulrich Drepper <drepper@redhat.com>
21600
21601 [BZ #12037]
21602 * posix/unistd.h: Undo change of feature selection for ftruncate from
21603 2010-01-11.
21604
8ffcee4a
UD
216052010-09-20 Ulrich Drepper <drepper@redhat.com>
21606
a545ecd9 21607 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21608 detection.
21609
e24f0a8b
AS
216102010-09-20 Andreas Schwab <schwab@redhat.com>
21611
21612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21613 fanotify_mark.
21614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21615
7291c56f
AS
216162010-09-14 Andreas Schwab <schwab@redhat.com>
21617
21618 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21619 variables after CHECK_SP call.
21620 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21621
bc5fb037
AS
216222010-09-13 Andreas Schwab <schwab@redhat.com>
21623 Ulrich Drepper <drepper@redhat.com>
21624
21625 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21626 re-relocationg ld.so.
21627 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21628 _dl_init_paths call.
21629 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21630 here anymore.
21631
e66e7419
UD
216322010-09-14 Ulrich Drepper <drepper@redhat.com>
21633
21634 * resolv/res_init.c (__res_vinit): Count the default server we added.
21635
c044aa75
CLT
216362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21637 Ulrich Drepper <drepper@redhat.com>
21638
21639 [BZ #11968]
21640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21641 (____longjmp_chk): Use %ebx for saving value across system call.
21642 Add unwind info.
21643
32cf4069
AS
216442010-09-06 Andreas Schwab <schwab@redhat.com>
21645
21646 * manual/Makefile: Don't mix pattern rules with normal rules.
21647
817328ee
AS
216482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21649
21650 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21651 operation.
21652 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21653 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21654 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21655 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21657 Likewise.
21658
29fddf61
UD
216592010-09-04 Ulrich Drepper <drepper@redhat.com>
21660
21661 [BZ #11979]
21662 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21663 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21664
0959ffc9
UD
216652010-09-02 Ulrich Drepper <drepper@redhat.com>
21666
21667 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21668 * sysdeps/x86_64/addmul_1.S: Likewise.
21669 * sysdeps/x86_64/lshift.S: Likewise.
21670 * sysdeps/x86_64/mul_1.S: Likewise.
21671 * sysdeps/x86_64/rshift.S: Likewise.
21672 * sysdeps/x86_64/sub_n.S: Likewise.
21673 * sysdeps/x86_64/submul_1.S: Likewise.
21674
ece29840
ST
216752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21676
0959ffc9
UD
21677 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21678 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21679 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21680 * bits/sched.h [__need_schedparam]
ece29840 21681 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21682 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21683 (__defined_schedparam): Define to 1.
ece29840
ST
21684 (__sched_param): New structure, identical to sched_param.
21685 (__need_schedparam): Undefine.
21686
e53a31fe
MF
216872010-08-31 Mike Frysinger <vapier@gentoo.org>
21688
fdc0c10d
MF
21689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21690 (epoll_create1): Declare.
21691
e53a31fe
MF
21692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21693
a726d796
AS
216942010-08-31 Andreas Schwab <schwab@redhat.com>
21695
21696 [BZ #7066]
21697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21698 shifting retval into place.
21699
2f3e3dc7
UD
217002010-09-01 Ulrich Drepper <drepper@redhat.com>
21701
f2933da9
UD
21702 * nis/rpcsvc/nis.h: Update copyright notice.
21703 * nis/rpcsvc/nis.x: Likewise.
21704 * nis/rpcsvc/nis_callback.h: Likewise.
21705 * nis/rpcsvc/nis_callback.x: Likewise.
21706 * nis/rpcsvc/nis_object.x: Likewise.
21707 * nis/rpcsvc/nis_tags.h: Likewise.
21708 * nis/rpcsvc/yp.h: Likewise.
21709 * nis/rpcsvc/yp.x: Likewise.
21710 * nis/rpcsvc/ypupd.h: Likewise.
21711 * nis/yp_xdr.c: Likewise.
21712 * nis/ypupdate_xdr.c: Likewise.
21713
2f3e3dc7
UD
21714 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21715 mainly the body of pmap_getport. Add parameters to specify timeouts.
21716 (pmap_getport): Use __libc_rpc_getport.
21717 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21718 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21719 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21720
f3dcc2f9
AS
217212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21722
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21724 fanotify_mark.
21725
6d34eb5b
RM
217262010-08-27 Roland McGrath <roland@redhat.com>
21727
21728 * sysdeps/i386/i686/multiarch/Makefile
21729 (CFLAGS-varshift.c): New variable.
21730
9ea3de11
UD
217312010-08-27 Ulrich Drepper <drepper@redhat.com>
21732
c96d23fc
UD
21733 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21734 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21735
9ea3de11
UD
21736 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21737
21738 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21739
623aac7f
L
217402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21741
21742 * sysdeps/x86_64/strlen.S: Unroll the loop.
21743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21744 strlen-sse2 strlen-sse2-bsf.
21745 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21746 __strlen_no_bsf if bit_Slow_BSF is set.
21747 (__strlen_sse42): Removed.
21748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21749 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21750
8b2b7715
RM
217512010-08-25 Roland McGrath <roland@redhat.com>
21752
21753 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21754 * sysdeps/x86_64/multiarch/varshift.c: New file.
21755 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21756 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21757 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21759
e73015f2
L
217602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21761
21762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21763 strlen-sse2 strlen-sse2-bsf.
21764 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21765 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21766 (__strlen_sse2): Removed.
21767 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21770 bit_Slow_BSF for Atom.
21771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21772 (index_Slow_BSF): Define.
21773 (HAS_SLOW_BSF): Define.
21774
df24a73e
UD
217752010-08-25 Ulrich Drepper <drepper@redhat.com>
21776
21777 [BZ #10851]
21778 * resolv/res_init.c (__res_vinit): When no server address at all
21779 is given default to loopback.
21780
f2ac4868
RM
217812010-08-24 Roland McGrath <roland@redhat.com>
21782
09055553
RM
21783 * configure.in: Remove config-name.h generation.
21784 * configure: Regenerated.
21785 * config-name.in: File removed.
21786 * scripts/config-uname.sh: New file.
21787 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21788 ($(objdir)config-name.h): New target.
21789
f2ac4868
RM
21790 * sunrpc/rpc_parse.h: Avoid nested comment.
21791
73f27d5e
RH
217922010-08-24 Richard Henderson <rth@redhat.com>
21793 Ulrich Drepper <drepper@redhat.com>
21794 H.J. Lu <hongjiu.lu@intel.com>
21795
21796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21798 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21799 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21800 _mm_alignr_epi8 with _mm_loadu_si128.
21801 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21802 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21803 (__m128i_shift_right): Removed.
21804 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21805 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21806 * sysdeps/x86_64/multiarch/varshift.h: New file.
21807 * sysdeps/x86_64/multiarch/varshift.S: New file.
21808
84b9230c
MF
218092010-08-21 Mike Frysinger <vapier@gentoo.org>
21810
21811 * configure.in: Move assembler checks to before sysdep dir checking.
21812
9bbd0ddc
PB
218132010-08-20 Petr Baudis <pasky@suse.cz>
21814
21815 * LICENSES: Sync the sunrpc license.
21816
9da4bb31
UD
218172010-08-19 Ulrich Drepper <drepper@redhat.com>
21818
a7ab6ec8
UD
21819 * sunrpc/auth_des.c: Update copyright notice once again.
21820 * sunrpc/auth_none.c: Likewise.
21821 * sunrpc/auth_unix.c: Likewise.
21822 * sunrpc/authdes_prot.c: Likewise.
21823 * sunrpc/authuxprot.c: Likewise.
21824 * sunrpc/bindrsvprt.c: Likewise.
21825 * sunrpc/clnt_gen.c: Likewise.
21826 * sunrpc/clnt_perr.c: Likewise.
21827 * sunrpc/clnt_raw.c: Likewise.
21828 * sunrpc/clnt_simp.c: Likewise.
21829 * sunrpc/clnt_tcp.c: Likewise.
21830 * sunrpc/clnt_udp.c: Likewise.
21831 * sunrpc/clnt_unix.c: Likewise.
21832 * sunrpc/des_crypt.c: Likewise.
21833 * sunrpc/des_soft.c: Likewise.
21834 * sunrpc/get_myaddr.c: Likewise.
21835 * sunrpc/getrpcport.c: Likewise.
21836 * sunrpc/key_call.c: Likewise.
21837 * sunrpc/key_prot.c: Likewise.
21838 * sunrpc/openchild.c: Likewise.
21839 * sunrpc/pm_getmaps.c: Likewise.
21840 * sunrpc/pm_getport.c: Likewise.
21841 * sunrpc/pmap_clnt.c: Likewise.
21842 * sunrpc/pmap_prot.c: Likewise.
21843 * sunrpc/pmap_prot2.c: Likewise.
21844 * sunrpc/pmap_rmt.c: Likewise.
21845 * sunrpc/rpc/auth.h: Likewise.
21846 * sunrpc/rpc/auth_unix.h: Likewise.
21847 * sunrpc/rpc/clnt.h: Likewise.
21848 * sunrpc/rpc/des_crypt.h: Likewise.
21849 * sunrpc/rpc/key_prot.h: Likewise.
21850 * sunrpc/rpc/netdb.h: Likewise.
21851 * sunrpc/rpc/pmap_clnt.h: Likewise.
21852 * sunrpc/rpc/pmap_prot.h: Likewise.
21853 * sunrpc/rpc/pmap_rmt.h: Likewise.
21854 * sunrpc/rpc/rpc.h: Likewise.
21855 * sunrpc/rpc/rpc_des.h: Likewise.
21856 * sunrpc/rpc/rpc_msg.h: Likewise.
21857 * sunrpc/rpc/svc.h: Likewise.
21858 * sunrpc/rpc/svc_auth.h: Likewise.
21859 * sunrpc/rpc/types.h: Likewise.
21860 * sunrpc/rpc/xdr.h: Likewise.
21861 * sunrpc/rpc_clntout.c: Likewise.
21862 * sunrpc/rpc_cmsg.c: Likewise.
21863 * sunrpc/rpc_common.c: Likewise.
21864 * sunrpc/rpc_cout.c: Likewise.
21865 * sunrpc/rpc_dtable.c: Likewise.
21866 * sunrpc/rpc_hout.c: Likewise.
21867 * sunrpc/rpc_main.c: Likewise.
21868 * sunrpc/rpc_parse.c: Likewise.
21869 * sunrpc/rpc_parse.h: Likewise.
21870 * sunrpc/rpc_prot.c: Likewise.
21871 * sunrpc/rpc_sample.c: Likewise.
21872 * sunrpc/rpc_scan.c: Likewise.
21873 * sunrpc/rpc_scan.h: Likewise.
21874 * sunrpc/rpc_svcout.c: Likewise.
21875 * sunrpc/rpc_tblout.c: Likewise.
21876 * sunrpc/rpc_util.c: Likewise.
21877 * sunrpc/rpc_util.h: Likewise.
21878 * sunrpc/rpcinfo.c: Likewise.
21879 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21880 * sunrpc/rpcsvc/key_prot.x: Likewise.
21881 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21882 * sunrpc/rpcsvc/mount.x: Likewise.
21883 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21884 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21885 * sunrpc/rpcsvc/rex.x: Likewise.
21886 * sunrpc/rpcsvc/rstat.x: Likewise.
21887 * sunrpc/rpcsvc/rusers.x: Likewise.
21888 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21889 * sunrpc/rpcsvc/spray.x: Likewise.
21890 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21891 * sunrpc/rtime.c: Likewise.
21892 * sunrpc/svc.c: Likewise.
21893 * sunrpc/svc_auth.c: Likewise.
21894 * sunrpc/svc_authux.c: Likewise.
21895 * sunrpc/svc_raw.c: Likewise.
21896 * sunrpc/svc_run.c: Likewise.
21897 * sunrpc/svc_simple.c: Likewise.
21898 * sunrpc/svc_tcp.c: Likewise.
21899 * sunrpc/svc_udp.c: Likewise.
21900 * sunrpc/svc_unix.c: Likewise.
21901 * sunrpc/svcauth_des.c: Likewise.
21902 * sunrpc/xcrypt.c: Likewise.
21903 * sunrpc/xdr.c: Likewise.
21904 * sunrpc/xdr_array.c: Likewise.
21905 * sunrpc/xdr_float.c: Likewise.
21906 * sunrpc/xdr_mem.c: Likewise.
21907 * sunrpc/xdr_rec.c: Likewise.
21908 * sunrpc/xdr_ref.c: Likewise.
21909 * sunrpc/xdr_sizeof.c: Likewise.
21910 * sunrpc/xdr_stdio.c: Likewise.
21911
9da4bb31
UD
21912 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21913 handling.
21914
bdaa77bc
AS
219152010-08-19 Andreas Schwab <schwab@redhat.com>
21916
21917 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21918
fe2f79db
LM
219192010-08-19 Luis Machado <luisgpm@br.ibm.com>
21920
21921 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21924 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21926 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21928 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21931 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21932 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21933 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21934 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21935
b9b42ee0
AB
219362010-07-26 Anton Blanchard <anton@samba.org>
21937
21938 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21939 * malloc/arena.c (heap_trim): Likewise.
21940
1c06ba31
UD
219412010-08-16 Ulrich Drepper <drepper@redhat.com>
21942
21943 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21944 here. Not...
21945 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21946 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21947
f8392f40
L
219482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21949
21950 * sysdeps/i386/elf/Makefile: New file.
21951
3162f12e
AS
219522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21953
21954 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21955 from fanotify_init.
21956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21958
28c90b2c
UD
219592010-08-15 Ulrich Drepper <drepper@redhat.com>
21960
21961 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21962 of strncasecmp_l.
1feccb6c 21963 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21964
ca6bb004
UD
219652010-08-14 Ulrich Drepper <drepper@redhat.com>
21966
e9f82e0d
UD
21967 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21968 strncase_l-nonascii.
21969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21970 Add strncase_l-ssse3.
21971 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21972 * sysdeps/x86_64/strcmp.S: Likewise.
21973 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21974 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21975 * sysdeps/x86_64/strncase.S: New file.
21976 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21977 * sysdeps/x86_64/strncase_l.S: New file.
21978 * string/Makefile (strop-tests): Add strncasecmp.
21979 * string/test-strncasecmp.c: New file.
21980
21981 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21982 warning.
21983
ca6bb004
UD
21984 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21985 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21986
052fa7b3
AS
219872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21988
21989 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21990
962dba78
UD
219912010-08-12 Ulrich Drepper <drepper@redhat.com>
21992
21993 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21995 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21996
bebff237
AM
219972010-05-01 Alan Modra <amodra@gmail.com>
21998
21999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22000 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22001 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22002 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22003 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22004 tidying. Don't tail-call __sigjmp_save for static lib.
22005 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22006 save location.
22007 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22008 (CALL_MCOUNT): Add eh info, and nop after bl.
22009 (TAIL_CALL_SYSCALL_ERROR): New macro.
22010 (PSEUDO_RET): Use it.
22011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22012 Correct save location of integer regs and cr.
22013 (_dl_profile_resolve): Correct cr save location. Delete nops
22014 after bl when SHARED. Reduce cfi size a little by better
22015 placement of cfi directives.
22016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22017 make a stack frame. Instead use parm save area as a temp.
22018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22019 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22021 Don't make a stack frame for parent, use parm save area.
22022 Increase child stack frame to 112 bytes. Don't save unused reg,
22023 and adjust reg usage. Set up cfi on error recovery and
22024 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22026 (__makecontext): Add dummy nop after jump to exit.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22028 Use correct parm save area and cr save, reduce stack frame.
22029 Correct cfi for possible PSEUDO_RET frame setup.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22031 Branch to local label emitted by PSEUDO_RET rather than
22032 __syscall_error.
22033
02637374
AS
220342010-08-12 Andreas Schwab <schwab@redhat.com>
22035
22036 [BZ #11904]
22037 * locale/programs/locale.c (print_assignment): New function.
22038 (show_locale_vars): Use it.
22039
c3e2f19b
UD
220402010-08-11 Ulrich Drepper <drepper@redhat.com>
22041
3cdaa6ad
UD
22042 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22043 field.
22044 (struct statfs64): Likewise.
22045 (_STATFS_F_FLAGS): Define.
22046 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22047 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22048 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22049 (ST_VALID): Define locally.
22050 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22051 __statvfs_getflags, use the provided value.
22052 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22053 __ASSUME_STATFS_F_FLAGS.
22054
754f7da3
UD
22055 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22056
10b3bedc
UD
22057 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22058 Add sys/fanotify.h.
22059 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22060 fanotify_mask for GLIBC_2.13.
22061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22062 fanotify_init and fanotify_mark.
22063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22064 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22065
c08fb0d7
UD
22066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22067 Add prlimit.
22068 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22069 prlimit64 for GLIBC_2.13.
22070 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22071 prlimit64.
22072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22073 syscall.
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22077 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22079 add prlimit alias.
22080 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22081
15bac72b
UD
22082 [BZ #11903]
22083 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22084 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22085
c3e2f19b
UD
22086 * nss/Makefile: Add rules to build and run tst-nss-test1.
22087 * shlib-versions: Add entry for libnss_test1.
22088 * nss/nss_test1.c: New file.
22089 * nss/tst-nss-test1.c: New file.
22090
22091 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22092 (__nss_configure_lookup): Set appropriate entry in
22093 __nss_configure_lookup to true.
22094 * nss/nsswitch.h: Define enum with indeces of databases in
22095 databases and __nss_database_custom arrays. Declare
22096 __nss_database_custom.
22097 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22098 to avoid using nscd when custom rules are installed.
22099 * nss/getXXbyYY_r.c: Likewise.
22100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22101
22102 * nss/nss_files/files-parse.c: Whitespace fixes.
22103
f15ce4d8
UD
221042010-08-09 Ulrich Drepper <drepper@redhat.com>
22105
22106 [BZ #11883]
22107 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22108 * posix/fnmatch_loop.c: Likewise.
22109
d22e4cc9
AK
221102010-07-17 Andi Kleen <ak@linux.intel.com>
22111
22112 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22113 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22114 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22115 * Versions.def [GLIBC_2.13]: Add.
22116
805bc17d
UD
221172010-08-06 Ulrich Drepper <drepper@redhat.com>
22118
22119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22120 Also fail if tpwd after pwuid call is NULL.
22121
5a42321d
ST
221222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22123
22124 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22125 when converting to ms.
22126
fd3ebeda
ST
221272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22128
22129 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22130 EOPNOTSUPP errors with ENOTTY.
22131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22132 EOPNOTSUPP errors with ENOTTY.
22133
73507d3a
UD
221342010-07-31 Ulrich Drepper <drepper@redhat.com>
22135
22136 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22137 Add strcasecmp_l-ssse3.
22138 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22139 strcasecmp.
22140 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22141 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22142 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22143
fe36dd02
UD
221442010-07-30 Ulrich Drepper <drepper@redhat.com>
22145
66f6765a
UD
22146 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22147
42e08a54
UD
22148 * string/Makefile (strop-tests): Add strcasecmp.
22149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22150 strcasecmp_l-nonascii.
22151 (gen-as-const-headers): Add locale-defines.sym.
22152 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22153 * sysdeps/x86_64/strcasecmp.S: New file.
22154 * sysdeps/x86_64/strcasecmp_l.S: New file.
22155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22156 * sysdeps/x86_64/locale-defines.sym: New file.
22157 * string/test-strcasecmp.c: New file.
22158
fe36dd02
UD
22159 * string/test-strcasestr.c: Test both ends of the range of characters.
22160 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22161
48cbc0d6
RM
221622010-07-29 Roland McGrath <roland@redhat.com>
22163
76e6d6bc 22164 [BZ #11856]
48cbc0d6
RM
22165 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22166
880113d9
UD
221672010-07-27 Ulrich Drepper <drepper@redhat.com>
22168
22169 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22170 for ld.so.
22171
deb9cabb
AS
221722010-07-27 Andreas Schwab <schwab@redhat.com>
22173
22174 * manual/memory.texi (Malloc Tunable Parameters): Document
22175 M_PERTURB.
22176
1c7570ff
RM
221772010-07-26 Roland McGrath <roland@redhat.com>
22178
22179 [BZ #11840]
22180 * configure.in (-fgnu89-inline check): Set and substitute
22181 gnu89_inline, not libc_cv_gnu89_inline.
22182 * configure: Regenerated.
22183 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22184
24fb0f88
UD
221852010-07-26 Ulrich Drepper <drepper@redhat.com>
22186
22187 * string/test-strnlen.c: New file.
22188 * string/Makefile (strop-tests): Add strnlen.
22189 * string/tester.c (test_strnlen): Add a few more test cases.
22190 * string/tst-strlen.c: Better error reporting.
22191
22192 * sysdeps/x86_64/strnlen.S: New file.
22193
8e96b93a
UD
221942010-07-24 Ulrich Drepper <drepper@redhat.com>
22195
22196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22197 lower-latency instructions.
22198
dbc676d4
UD
221992010-07-23 Ulrich Drepper <drepper@redhat.com>
22200
22201 * string/test-strcasestr.c: New file.
22202 * string/test-strstr.c: New file.
22203 * string/Makefile (strop-tests): Add strstr and strcasestr.
22204 * string/str-two-way.h: Don't undefine MAX.
22205 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22206
f6a31e0e
AS
222072010-07-21 Andreas Schwab <schwab@redhat.com>
22208
22209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22210 strcasestr-nonascii.
22211 (CFLAGS-strcasestr-nonascii.c): Define.
22212 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22214 Remove unused attribute.
22215
5dbc3b6c
RM
222162010-07-20 Roland McGrath <roland@redhat.com>
22217
22218 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22219 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22220 ld.so.cache was broken. With it, there is no way to disable dsocaps
22221 like LD_HWCAP_MASK can disable hwcaps.
22222
23d101d8
EPM
222232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22224
22225 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22226
cc9f2e47
UD
222272010-07-16 Ulrich Drepper <drepper@redhat.com>
22228
22229 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22230 call in strcasestr.
22231 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22232 __strcasestr_sse42_nonascii.
22233 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22234 strcasestr-nonascii.c.
22235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22236
77c1b069
LM
222372010-06-15 Luis Machado <luisgpm@br.ibm.com>
22238
22239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22242 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22243
440566c3
UD
222442010-07-09 Ulrich Drepper <drepper@redhat.com>
22245
22246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22247 fcntl.
22248
5be9d05d
AS
222492010-07-06 Andreas Schwab <schwab@redhat.com>
22250
c30b7ee2 22251 [BZ #11577]
5be9d05d
AS
22252 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22253 dl_signal_cerror.
22254
8a492a67
UD
222552010-07-06 Ulrich Drepper <drepper@redhat.com>
22256
22257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22258 _PC_PIPE_BUF using F_GETPIPE_SZ.
22259
713df3d5
RM
222602010-07-05 Roland McGrath <roland@redhat.com>
22261
22262 * manual/arith.texi (Rounding Functions): Fix rint description
22263 implicit in round description.
22264
702e8f14
UD
222652010-07-02 Ulrich Drepper <drepper@redhat.com>
22266
22267 * elf/Makefile: Fix linking for a few tests to make recent linker
22268 happy.
22269
52ed8be9
AS
222702010-06-30 Andreas Schwab <schwab@redhat.com>
22271
22272 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22273 $(common-objpfx)libc_nonshared.a.
22274
f47c9a11
LM
222752010-06-21 Luis Machado <luisgpm@br.ibm.com>
22276
22277 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22278 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22279 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22281 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22284 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22299 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22300 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22301 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22302 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22303 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22304 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22305 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22306 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22307 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22308 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22309 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22310 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22325
6fb8cbcb
L
223262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22327
22328 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22329 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22330 * string/memmove.c (memmove): Renamed to ...
22331 (MEMMOVE): ...this. Default to memmove.
22332 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22333 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22334 (END_CHK): Define.
22335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22336 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22337 mempcpy-ssse3-back memmove-ssse3-back.
22338 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22341 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22342 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22343 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22344 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22345 * sysdeps/x86_64/multiarch/memmove.c: New file.
22346 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22347 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22348 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22349 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22352 Define.
22353 (index_Fast_Copy_Backward): Define.
22354 (HAS_ARCH_FEATURE): Define.
22355 (HAS_FAST_REP_STRING): Define.
22356 (HAS_FAST_COPY_BACKWARD): Define.
22357
4e733bac 223582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22359
22360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22361 Restore proper fallback handling.
22362
63c4ed22
UD
223632010-06-19 Ulrich Drepper <drepper@redhat.com>
22364
ac2b484c
UD
22365 [BZ #11701]
22366 * posix/group_member.c (__group_member): Correct checking loop.
22367
63c4ed22
UD
22368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22369 OOM in getpwuid_r correctly. Return error number when the caller
22370 should return, otherwise -1.
22371 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22372 call returning > 0 value.
22373 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22374
765ade4b
AS
223752010-06-07 Andreas Schwab <schwab@redhat.com>
22376
22377 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22378 libc_nonshared.a from targets in modules-names.
22379
80da2e09
KS
223802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22381
22382 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22383 requires it.
22384
158db122
LM
223852010-06-10 Luis Machado <luisgpm@br.ibm.com>
22386
22387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22391
caa78cf8
AS
223922010-06-02 Andreas Schwab <schwab@redhat.com>
22393
22394 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22395
b2ef2c01
UD
223962010-06-14 Ulrich Drepper <drepper@redhat.com>
22397
22398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22399 and F_GETPIPE_SZ.
22400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22406
fbd643b6
RM
224072010-06-14 Roland McGrath <roland@redhat.com>
22408
22409 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22410
f32f2869
JJ
224112010-06-07 Jakub Jelinek <jakub@redhat.com>
22412
22413 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22414 __REDIRECT followed by __THROW.
22415 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22416 * posix/getopt.h (getopt): Likewise.
22417
2a50c078
EPM
224182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22419
22420 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22421 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22422 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22423 in AT_FLAGS.
22424 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22425 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22426
eb5ad2eb
LM
224272010-05-28 Luis Machado <luisgpm@br.ibm.com>
22428
22429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22430
3c88fe1e
L
224312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22432
22433 [BZ #11640]
22434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22435 Properly check family and model.
22436
d2f73151
TY
224372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22438
22439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22440
ebd2e13d
LM
224412010-05-24 Luis Machado <luisgpm@br.ibm.com>
22442
22443 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22444
b32b8b45
UD
224452010-05-21 Ulrich Drepper <drepper@redhat.com>
22446
22447 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22448 symbol reference.
22449
9acbe24d
AS
224502010-05-19 Andreas Schwab <schwab@redhat.com>
22451
22452 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22453 symbol reference.
22454
f0ccf6ea
AS
224552010-05-21 Andreas Schwab <schwab@redhat.com>
22456
3d04ff3a
AS
22457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22458 and internal_recvmmsg.
22459 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22460 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22461 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22462 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22463
f0ccf6ea
AS
22464 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22467
5b08ac57
AS
224682010-05-20 Andreas Schwab <schwab@redhat.com>
22469
22470 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22471
4828935d
LM
224722010-05-17 Luis Machado <luisgpm@br.ibm.com>
22473
22474 POWER7 optimizations.
22475 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22476 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22477
373d545e
UD
224782010-05-19 Ulrich Drepper <drepper@redhat.com>
22479
22480 * version.h: Update for 2.13 development version.
22481
21a2b1ae
AS
224822010-05-12 Andrew Stubbs <ams@codesourcery.com>
22483
22484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22485 exceptions. Return 0.
22486
3f7dcb2b
RM
224872010-05-07 Roland McGrath <roland@redhat.com>
22488
22489 * elf/ldconfig.c (main): Add a const.
22490
5f24d53a 224912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22492
a160f8d8
UD
22493 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22494 (args_options): Add no-idn option.
22495 (ahosts_keys_int): Add idn_flags to ai_flags.
22496 (parse_option): Handle 'i' option to clear idn_flags.
22497
5f24d53a
UD
22498 * malloc/malloc.c (_int_free): Possible race in the most recently
22499 added check. Only act on the data if no current modification
22500 happened.
265bb1ce
UD
22501
22502See ChangeLog.17 for earlier changes.