]> sourceware.org Git - glibc.git/blame - ChangeLog
AArch64: Adding optimized maths functions.
[glibc.git] / ChangeLog
CommitLineData
cfde9b46
SP
12012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #14719]
4 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
7 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8 (_nss_dns_gethostbyname4_r): Likewise.
9 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11
f6da27e5
PH
122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13
14 [BZ #13763]
15 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16
6665d4a2
SM
172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18
1f51ee92
SM
19 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20 * elf/cache.c (print_entry): Print ",AArch64" for
21 FLAG_AARCH64_LIB64
22
6665d4a2
SM
23 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24 * elf/cache.c (print_entry): Print ",hard-float" for
25 FLAG_ARM_LIBHF.
26
05b227bd
DM
272012-11-18 David S. Miller <davem@davemloft.net>
28
29 With help from Joseph Myers.
30 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31 cutoff to 2**-13.
32 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33 cutoff to 2**-25.
34 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36 small.
37 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38 * math/libm-test.inc (y0_test): New tests.
39 (y1_test): New tests.
40 * sysdeps/i386/fpu/libm-test-ulps: Update.
41 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43
786b0b67
AS
442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
45
46 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47 64-bit targets.
48 * configure: Regenerated.
49
8e18b86d
DM
502012-11-17 David S. Miller <davem@davemloft.net>
51
52 [BZ #14811]
53 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54 nonzero exponents with absolute value below 0x1p-128 to +/-
55 0x1p-128.
56
531f1ae0
JM
572012-11-17 Joseph Myers <joseph@codesourcery.com>
58
12df29e2
JM
59 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60
150dc1a0
JM
61 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62
531f1ae0
JM
63 * posix/getconf-speclist.c: New file.
64 * posix/posix-envs.def: Likewise.
65 * posix/confstr.c (START_ENV_GROUP): New macro.
66 (END_ENV_GROUP): Likewise.
67 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68 (KNOWN_PRESENT_ENV_STRING): Likewise.
69 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70 (UNKNOWN_ENVIRONMENT): Likewise.
71 (confstr): Include posix-envs.def instead of handling
72 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
75 (END_ENV_GROUP): Likewise.
76 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
77 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
78 (UNKNOWN_ENVIRONMENT): Likewise.
79 (__sysconf): Include posix-envs.def instead of handling associated
80 cases directly here.
81 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
82 preprocessing getconf-speclist.c rather than running getconf or
83 generating empty file.
84
a93f9cbc
PT
852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
86
87 * scripts/check-local-headers.sh: Ignore 'mach' headers.
88
d64d9f87
AL
892012-11-16 Andrej Lajovic <natrij@gmail.com>
90
91 [BZ #14672]
92 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
93
447885eb
DM
942012-11-16 David S. Miller <davem@davemloft.net>
95
96 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
97 smaller than LDBL_EPSILON/2.0L, just return xm1.
98
bcbf9830
L
992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
100
101 * elf/tst-array1.c (init): Set constructor priority to 1000.
102 (fini): Set destructor priority to 1000.
103 * elf/tst-array2dep.c: Likewise.
104
2b766585
SP
1052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
106
107 [BZ #11741]
108 * libio/fileops.c (_IO_new_file_write): Correctly return error.
109 (_IO_new_file_xsputn): Also return EOF if none of the input
110 data was written when overflow failed.
111 * libio/iopadn.c (_IO_padn): Likewise.
112 * libio/iowpadn.c (_IO_wpadn): Likewise.
113 * stdio-common/tst-put-error.c: Add copyright notice.
114 (do_test): Add case for printing padded string.
115 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
116 _IO_padn returned error.
117 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
118 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
119 return EOF.
120
b1848fde
SP
1212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 * libio/libioP.h: Add comment note that the references to C++
124 bits are now obsolete.
125
2fd89785
MS
1262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
127
128 * math/libm-test.inc (check_complex): Use asprintf.
129
e3ea5409
JM
1302012-11-14 Joseph Myers <joseph@codesourcery.com>
131
132 * debug/pcprofiledump.c (print_version): Update copyright year.
133 * malloc/memusagestat.c (print_version): Likewise.
134
2e64d265
L
1352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
136
137 [BZ #14831]
138 * elf/Makefile (tests): Add tst-audit8.
139 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
140 ($(objpfx)tst-audit8.out): New target.
141 (tst-audit8-ENV): New variable.
142 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
143 audit if l_reloc_result is NULL.
144 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
145 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
146 * elf/tst-audit8.c: New file.
147
c485e4d2
MS
1482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
149
150 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
151 * misc/Makefile (CFLAGS-select.c): Define.
152 * posix/Makefile (CFLAGS-pause.c): Define.
153
3a0d900a
DM
1542012-11-13 David S. Miller <davem@davemloft.net>
155
156 * crypt/Makefile: Move test targets after toplevel Rules
157 inclusion. Grab any necessary sysdep routines when linking.
158 * crypt/md5.c (md5_process_block): Remove define, we will always
159 name it __md5_process_block.
160 (md5_finish_ctx): Update md5_process_block call.
161 (md5_stream): Likewise.
162 (md5_process_bytes): Likewise.
163 (md5_process_block): Rename to __md5_process_block and move to ...
164 * crypt/md5-block.c: ... here.
165 * crypt/sha256.c (sha256_process_block): Move to ...
166 * crypt/sha256-block.c: ... here.
167 * crypt/sha512.c (sha512_process_block): Move to ...
168 * crypt/sha512-block.c: ... here.
169 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
170 path.
171 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
172 * sysdeps/sparc/sparc64/multiarch/Makefile
173 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
174 crypt subdir.
175 (localedef-aux): Add md5 crypto assembler when in locale subdir.
176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
177 multiarch changes.
178 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
179 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
180 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
181 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
182 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
183 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
184 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
185 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
187 file.
188 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
190 file.
191 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
192
8ca89318
JM
1932012-11-13 Joseph Myers <joseph@codesourcery.com>
194
e27d476a
JM
195 * timezone/tzselect.ksh: Update from tzcode git revision
196 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
197 * timezone/zdump.c: Likewise.
198 * timezone/zic.c: Likewise.
199 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
200 in TZVERSION setting, not $(PKGVERSION).
201 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
202 REPORT_BUGS_TO settings.
203
8ca89318
JM
204 [BZ #14838]
205 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
206 macro.
207
47594329
MS
2082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
209
210 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
211 detection to immediately after _FP_ROUND().
212 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
213 bits are 0.
214
640ac3f1
DM
2152012-11-11 David S. Miller <davem@davemloft.net>
216
217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
218 inttypes.h
219 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
220 __close rather than their public counterparts.
221
3d2577bb
JM
2222012-11-10 Joseph Myers <joseph@codesourcery.com>
223
224 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
225 file.
226 [UNIX98] (sem_timedwait): Do not expect.
227 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
228 [XPG4 || UNIX98] (sockatmark): Do not expect.
229 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
230 (clock_getcpuclockid): Do not expect.
231 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
232 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
233 Do not expect.
234 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
235 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
236 [UNIX98] (vwscanf): Likewise.
237 [UNIX98] (vswscanf): Likewise.
238
fb1ae1ee
JM
2392012-11-09 Joseph Myers <joseph@codesourcery.com>
240
9ec6f8bd
JM
241 * timezone/version.h: Remove file.
242 * timezone/README: Do not refer to version.h.
243 * timezone/Makefile ($(objpfx)zic.o): New dependency on
244 $(objpfx)version.h.
245 ($(objpfx)zdump.o): Likewise.
c3f81911 246 ($(objpfx)version.h): New target.
9ec6f8bd 247
0aa8f8a1
JM
248 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
249 2012i.
250 * timezone/README: Don't mention modification to tzselect.ksh.
251 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
252 work on unmodified tzselect.ksh. Substitute version numbers in
253 tzselect.ksh.
254
4e87147f
JM
255 * Makefile (format-me): Remove.
256 (INSTALL): Adjust indentation. Use commands directly instead of
257 using $(format-me).
258
8b748aed
JM
259 * aclocal.m4 (ACX_PKGVERSION): New macro.
260 (ACX_BUGURL): Likewise.
261 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
262 (PKGVERSION): New AC_DEFINE_UNQUOTED.
263 (REPORT_BUGS_TO): Likewise.
264 * configure: Regenerated.
265 * config.h.in (PKGVERSION): New macro.
266 (REPORT_BUGS_TO): Likewise.
267 * config.make.in (PKGVERSION): New variable.
268 (PKGVERSION_TEXI): Likewise.
269 (REPORT_BUGS_TO): Likewise.
270 (REPORT_BUGS_TEXI): Likewise.
271 * Makefile (format-me): Use -I$(common-objpfx)manual.
272 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
273 ($(common-objpfx)manual/%): New target.
274 (manual/%): Remove target.
275 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
276 (print_version): Use PKGVERSION.
277 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
278 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
279 and REPORT_BUGS_TO.
280 ($(objpfx)xtrace): Likewise.
281 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
282 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
283 (print_version): Use PKGVERSION.
284 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
285 (do_version): Use PKGVERSION.
286 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
287 REPORT_BUGS_TO.
288 (common-ldd-rewrite): Likewise.
289 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
290 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
291 (print_version): Use PKGVERSION.
292 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
293 * elf/pldd.c (argp_program_bug_address): Remove variable.
294 (more_help): New function.
295 (argp): Use more_help.
296 (print_version): Use PKGVERSION.
297 * elf/sln.c (main): Use PKGVERSION.
298 (usage): Use REPORT_BUGS_TO.
299 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
300 (top level): Use PKGVERSION.
301 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
302 (print_version): Use PKGVERSION.
303 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
304 (print_version): Use PKGVERSION.
305 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
306 (print_version): Use PKGVERSION.
307 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
308 (print_version): Use PKGVERSION.
309 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
310 (print_version): Use PKGVERSION.
311 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
312 (print_version): Use PKGVERSION.
313 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
314 and BUGURL.
315 ($(objpfx)memusage): Likewise.
316 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
317 (do_version): Use PKGVERSION.
318 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
319 (print_version): Use PKGVERSION.
320 * malloc/mtrace.pl ($PACKAGE): Remove variable.
321 ($PKGVERSION): New variable.
322 ($REPORT_BUGS_TO): Likewise.
323 (usage): Use $REPORT_BUGS_TO.
324 (top level): Use $PKGVERSION.
325 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
326 ($(objpfx)pkgvers.texi): New rule.
327 ($(objpfx)stamp-pkgvers): Likewise.
328 * manual/install.texi: Include pkgvers.texi.
329 (--with-pkgversion): Document new configure option.
330 (--with-bugurl): Likewise.
331 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
332 than necessarily for this particular distribution. Use
333 REPORT_BUGS_TO for where to report bugs.
334 * INSTALL: Regenerated.
335 * manual/libc.texinfo: Include pkgvers.texi.
336 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
337 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
338 (print_version): Use PKGVERSION.
339 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
340 (print_version): Use PKGVERSION.
341 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
342 (print_version): Use PKGVERSION.
343 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
344 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
345 macro.
346 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
347 (print_version): Use PKGVERSION.
348 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
349 (print_version): Use PKGVERSION.
350 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
351 and PKGVERSION.
352
92e4b6a9
JM
353 * timezone/checktab.awk: Update from tzcode 2012i.
354 * timezone/ialloc.c: Likewise.
355 * timezone/private.h: Likewise.
356 * timezone/scheck.c: Likewise.
357 * timezone/tzfile.h: Likewise.
358 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
359 (TZVERSION): Hardcode tzcode version number.
360 * timezone/zdump.c: Update from tzcode 2012i.
361 * timezone/zic.c: Likewise.
362 * timezone/version.h: New file.
363 * timezone/README: Describe version.h. Update upstream location.
364
9bde902c
JM
365 [BZ #14824]
366 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
367 (mktemp): Enable declaration.
368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
372 Likewise.
373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
374 Likewise.
375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
376 Likewise.
377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
378 Likewise.
379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
380 Likewise.
381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
382 Likewise.
383
fb1ae1ee
JM
384 [BZ #14821]
385 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
386 offset in buffer as u_int32_t not u_long. Consistently use memcpy
387 for copies of such integer values.
388 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
389 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
390
2c1adbcb
AJ
3912012-11-09 Andreas Jaeger <aj@suse.de>
392
393 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
394 definitions and declarations that are provided by
395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
396
d0f8457e
AK
3972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
398
399 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
400 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
401 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
402 definition.
403
57241e26
MS
4042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
405
406 * elf/elf.h: Update comment before AArch64 relocations.
407
60e8270d
DM
4082012-11-07 David S. Miller <davem@davemloft.net>
409
410 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
412 (__start_context): Declare.
413 (__makecontext_ret): Delete.
414 (__makecontext): Hook up __start_context instead of
415 __makecontext_ret.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
417 (sysdep_routines): Add __start_context when in stdlib.
418
0fbb0fbc
JM
4192012-11-07 Joseph Myers <joseph@codesourcery.com>
420
421 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
422 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
423 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
424 hardcoded "nm".
425 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
426 (READELF): New variable. Use it instead of hardcoded "readelf".
427
eb48db7e
L
4282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
429
430 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
431 * sysdeps/x86/Makefile: Here.
432 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
433 * sysdeps/x86/tst-xmmymm.sh: This.
434
05bcf62a
JM
4352012-11-07 Joseph Myers <joseph@codesourcery.com>
436
c4b6cf53
JM
437 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
438 expectations.
439 [UNIX98] (pthread_barrier_t): Do not expect.
440 [UNIX98] (pthread_barrierattr_t): Likewise.
441 [UNIX98] (pthread_spinlock_t): Likewise.
442 [UNIX98] (pthread_barrier_destroy): Likewise.
443 [UNIX98] (pthread_barrier_init): Likewise.
444 [UNIX98] (pthread_barrier_wait): Likewise.
445 [UNIX98] (pthread_barrierattr_destroy): Likewise.
446 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
447 [UNIX98] (pthread_barrierattr_init): Likewise.
448 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
449 [UNIX98] (pthread_getcpuclockid): Likewise.
450 [UNIX98] (pthread_mutex_timedlock): Likewise.
451 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
452 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
453 [UNIX98] (pthread_sigmask): Likewise.
454 [UNIX98] (pthread_spin_destroy): Likewise.
455 [UNIX98] (pthread_spin_init): Likewise.
456 [UNIX98] (pthread_spin_lock): Likewise.
457 [UNIX98] (pthread_spin_trylock): Likewise.
458 [UNIX98] (pthread_spin_unlock): Likewise.
459 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
460 Do not expect.
461 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
462 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
463 [XPG3 || XPG4] (pthread_cond_t): Likewise.
464 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
465 [XPG3 || XPG4] (pthread_key_t): Likewise.
466 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
467 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
468 [XPG3 || XPG4] (pthread_once_t): Likewise.
469 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
470 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
471 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
472 [XPG3 || XPG4] (pthread_t): Likewise.
473
cbe6e120
JM
474 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
475 not expect.
476 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
477
1b126443
JM
478 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
479 Change function return type to int.
480
b961a573
JM
481 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
482 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
483 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
484 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
485 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
486 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
487 [!POSIX] (posix_madvise): Likewise.
488 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
489 && !UNIX98].
490 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
491 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
492 (mode_t): Likewise.
493 (posix_mem_offset): Likewise.
494 (posix_typed_mem_get_info): Likewise.
495 (posix_typed_mem_open): Likewise.
496
9e188909
JM
497 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
498 Change condition to [XOPEN2K8].
499
05bcf62a
JM
500 * conform/conformtest.pl: Preprocess allow-header data with -x c
501 instead of from stdin.
502 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
503 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
504 [C99-based standards] (cerfc): Likewise.
505 [C99-based standards] (cexp2): Likewise.
506 [C99-based standards] (cexpm1): Likewise.
507 [C99-based standards] (clog10): Likewise.
508 [C99-based standards] (clog1p): Likewise.
509 [C99-based standards] (clog2): Likewise.
510 [C99-based standards] (clgamma): Likewise.
511 [C99-based standards] (ctgamma): Likewise.
512 [C99-based standards] (cerff): Likewise.
513 [C99-based standards] (cerfcf): Likewise.
514 [C99-based standards] (cexp2f): Likewise.
515 [C99-based standards] (cexpm1f): Likewise.
516 [C99-based standards] (clog10f): Likewise.
517 [C99-based standards] (clog1pf): Likewise.
518 [C99-based standards] (clog2f): Likewise.
519 [C99-based standards] (clgammaf): Likewise.
520 [C99-based standards] (ctgammaf): Likewise.
521 [C99-based standards] (cerfl): Likewise.
522 [C99-based standards] (cerfcl): Likewise.
523 [C99-based standards] (cexp2l): Likewise.
524 [C99-based standards] (cexpm1l): Likewise.
525 [C99-based standards] (clog10l): Likewise.
526 [C99-based standards] (clog1pl): Likewise.
527 [C99-based standards] (clog2l): Likewise.
528 [C99-based standards] (clgammal): Likewise.
529 [C99-based standards] (ctgammal): Likewise.
530 * conform/data/inttypes.h-data [C99-based standards]: Include
531 stdint.h-data. Remove all expectations for stdint.h contents.
532 [C99-based standards] (PRI*): Do not allow.
533 [C99-based standards] (SCN*): Likewise.
534 [C99-based standards] (*_t): Likewise.
535 [C99-based-standards] (PRId8): Expect macro.
536 [C99-based-standards] (PRIi8): Likewise.
537 [C99-based-standards] (PRIo8): Likewise.
538 [C99-based-standards] (PRIu8): Likewise.
539 [C99-based-standards] (PRIx8): Likewise.
540 [C99-based-standards] (PRIX8): Likewise.
541 [C99-based-standards] (SCNd8): Likewise.
542 [C99-based-standards] (SCNi8): Likewise.
543 [C99-based-standards] (SCNo8): Likewise.
544 [C99-based-standards] (SCNu8): Likewise.
545 [C99-based-standards] (SCNx8): Likewise.
546 [C99-based-standards] (PRIdLEAST8): Likewise.
547 [C99-based-standards] (PRIiLEAST8): Likewise.
548 [C99-based-standards] (PRIoLEAST8): Likewise.
549 [C99-based-standards] (PRIuLEAST8): Likewise.
550 [C99-based-standards] (PRIxLEAST8): Likewise.
551 [C99-based-standards] (PRIXLEAST8): Likewise.
552 [C99-based-standards] (SCNdLEAST8): Likewise.
553 [C99-based-standards] (SCNiLEAST8): Likewise.
554 [C99-based-standards] (SCNoLEAST8): Likewise.
555 [C99-based-standards] (SCNuLEAST8): Likewise.
556 [C99-based-standards] (SCNxLEAST8): Likewise.
557 [C99-based-standards] (PRIdFAST8): Likewise.
558 [C99-based-standards] (PRIiFAST8): Likewise.
559 [C99-based-standards] (PRIoFAST8): Likewise.
560 [C99-based-standards] (PRIuFAST8): Likewise.
561 [C99-based-standards] (PRIxFAST8): Likewise.
562 [C99-based-standards] (PRIXFAST8): Likewise.
563 [C99-based-standards] (SCNdFAST8): Likewise.
564 [C99-based-standards] (SCNiFAST8): Likewise.
565 [C99-based-standards] (SCNoFAST8): Likewise.
566 [C99-based-standards] (SCNuFAST8): Likewise.
567 [C99-based-standards] (SCNxFAST8): Likewise.
568 [C99-based-standards] (PRId16): Likewise.
569 [C99-based-standards] (PRIi16): Likewise.
570 [C99-based-standards] (PRIo16): Likewise.
571 [C99-based-standards] (PRIu16): Likewise.
572 [C99-based-standards] (PRIx16): Likewise.
573 [C99-based-standards] (PRIX16): Likewise.
574 [C99-based-standards] (SCNd16): Likewise.
575 [C99-based-standards] (SCNi16): Likewise.
576 [C99-based-standards] (SCNo16): Likewise.
577 [C99-based-standards] (SCNu16): Likewise.
578 [C99-based-standards] (SCNx16): Likewise.
579 [C99-based-standards] (PRIdLEAST16): Likewise.
580 [C99-based-standards] (PRIiLEAST16): Likewise.
581 [C99-based-standards] (PRIoLEAST16): Likewise.
582 [C99-based-standards] (PRIuLEAST16): Likewise.
583 [C99-based-standards] (PRIxLEAST16): Likewise.
584 [C99-based-standards] (PRIXLEAST16): Likewise.
585 [C99-based-standards] (SCNdLEAST16): Likewise.
586 [C99-based-standards] (SCNiLEAST16): Likewise.
587 [C99-based-standards] (SCNoLEAST16): Likewise.
588 [C99-based-standards] (SCNuLEAST16): Likewise.
589 [C99-based-standards] (SCNxLEAST16): Likewise.
590 [C99-based-standards] (PRIdFAST16): Likewise.
591 [C99-based-standards] (PRIiFAST16): Likewise.
592 [C99-based-standards] (PRIoFAST16): Likewise.
593 [C99-based-standards] (PRIuFAST16): Likewise.
594 [C99-based-standards] (PRIxFAST16): Likewise.
595 [C99-based-standards] (PRIXFAST16): Likewise.
596 [C99-based-standards] (SCNdFAST16): Likewise.
597 [C99-based-standards] (SCNiFAST16): Likewise.
598 [C99-based-standards] (SCNoFAST16): Likewise.
599 [C99-based-standards] (SCNuFAST16): Likewise.
600 [C99-based-standards] (SCNxFAST16): Likewise.
601 [C99-based-standards] (PRId32): Likewise.
602 [C99-based-standards] (PRIi32): Likewise.
603 [C99-based-standards] (PRIo32): Likewise.
604 [C99-based-standards] (PRIu32): Likewise.
605 [C99-based-standards] (PRIx32): Likewise.
606 [C99-based-standards] (PRIX32): Likewise.
607 [C99-based-standards] (SCNd32): Likewise.
608 [C99-based-standards] (SCNi32): Likewise.
609 [C99-based-standards] (SCNo32): Likewise.
610 [C99-based-standards] (SCNu32): Likewise.
611 [C99-based-standards] (SCNx32): Likewise.
612 [C99-based-standards] (PRIdLEAST32): Likewise.
613 [C99-based-standards] (PRIiLEAST32): Likewise.
614 [C99-based-standards] (PRIoLEAST32): Likewise.
615 [C99-based-standards] (PRIuLEAST32): Likewise.
616 [C99-based-standards] (PRIxLEAST32): Likewise.
617 [C99-based-standards] (PRIXLEAST32): Likewise.
618 [C99-based-standards] (SCNdLEAST32): Likewise.
619 [C99-based-standards] (SCNiLEAST32): Likewise.
620 [C99-based-standards] (SCNoLEAST32): Likewise.
621 [C99-based-standards] (SCNuLEAST32): Likewise.
622 [C99-based-standards] (SCNxLEAST32): Likewise.
623 [C99-based-standards] (PRIdFAST32): Likewise.
624 [C99-based-standards] (PRIiFAST32): Likewise.
625 [C99-based-standards] (PRIoFAST32): Likewise.
626 [C99-based-standards] (PRIuFAST32): Likewise.
627 [C99-based-standards] (PRIxFAST32): Likewise.
628 [C99-based-standards] (PRIXFAST32): Likewise.
629 [C99-based-standards] (SCNdFAST32): Likewise.
630 [C99-based-standards] (SCNiFAST32): Likewise.
631 [C99-based-standards] (SCNoFAST32): Likewise.
632 [C99-based-standards] (SCNuFAST32): Likewise.
633 [C99-based-standards] (SCNxFAST32): Likewise.
634 [C99-based-standards] (PRId64): Likewise.
635 [C99-based-standards] (PRIi64): Likewise.
636 [C99-based-standards] (PRIo64): Likewise.
637 [C99-based-standards] (PRIu64): Likewise.
638 [C99-based-standards] (PRIx64): Likewise.
639 [C99-based-standards] (PRIX64): Likewise.
640 [C99-based-standards] (SCNd64): Likewise.
641 [C99-based-standards] (SCNi64): Likewise.
642 [C99-based-standards] (SCNo64): Likewise.
643 [C99-based-standards] (SCNu64): Likewise.
644 [C99-based-standards] (SCNx64): Likewise.
645 [C99-based-standards] (PRIdLEAST64): Likewise.
646 [C99-based-standards] (PRIiLEAST64): Likewise.
647 [C99-based-standards] (PRIoLEAST64): Likewise.
648 [C99-based-standards] (PRIuLEAST64): Likewise.
649 [C99-based-standards] (PRIxLEAST64): Likewise.
650 [C99-based-standards] (PRIXLEAST64): Likewise.
651 [C99-based-standards] (SCNdLEAST64): Likewise.
652 [C99-based-standards] (SCNiLEAST64): Likewise.
653 [C99-based-standards] (SCNoLEAST64): Likewise.
654 [C99-based-standards] (SCNuLEAST64): Likewise.
655 [C99-based-standards] (SCNxLEAST64): Likewise.
656 [C99-based-standards] (PRIdFAST64): Likewise.
657 [C99-based-standards] (PRIiFAST64): Likewise.
658 [C99-based-standards] (PRIoFAST64): Likewise.
659 [C99-based-standards] (PRIuFAST64): Likewise.
660 [C99-based-standards] (PRIxFAST64): Likewise.
661 [C99-based-standards] (PRIXFAST64): Likewise.
662 [C99-based-standards] (SCNdFAST64): Likewise.
663 [C99-based-standards] (SCNiFAST64): Likewise.
664 [C99-based-standards] (SCNoFAST64): Likewise.
665 [C99-based-standards] (SCNuFAST64): Likewise.
666 [C99-based-standards] (SCNxFAST64): Likewise.
667 [C99-based-standards] (PRIdMAX): Likewise.
668 [C99-based-standards] (PRIiMAX): Likewise.
669 [C99-based-standards] (PRIoMAX): Likewise.
670 [C99-based-standards] (PRIuMAX): Likewise.
671 [C99-based-standards] (PRIxMAX): Likewise.
672 [C99-based-standards] (PRIXMAX): Likewise.
673 [C99-based-standards] (SCNdMAX): Likewise.
674 [C99-based-standards] (SCNiMAX): Likewise.
675 [C99-based-standards] (SCNoMAX): Likewise.
676 [C99-based-standards] (SCNuMAX): Likewise.
677 [C99-based-standards] (SCNxMAX): Likewise.
678 [C99-based-standards] (PRIdPTR): Likewise.
679 [C99-based-standards] (PRIiPTR): Likewise.
680 [C99-based-standards] (PRIoPTR): Likewise.
681 [C99-based-standards] (PRIuPTR): Likewise.
682 [C99-based-standards] (PRIxPTR): Likewise.
683 [C99-based-standards] (PRIXPTR): Likewise.
684 [C99-based-standards] (SCNdPTR): Likewise.
685 [C99-based-standards] (SCNiPTR): Likewise.
686 [C99-based-standards] (SCNoPTR): Likewise.
687 [C99-based-standards] (SCNuPTR): Likewise.
688 [C99-based-standards] (SCNxPTR): Likewise.
689 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
690 allow.
691 * conform/data/stdint.h-data: Update comments to clarify
692 requirements.
693 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
694 type.
695 [C99-based standards] (INT8_MAX): Likewise.
696 [C99-based standards] (INT16_MIN): Likewise.
697 [C99-based standards] (INT16_MAX): Likewise.
698 [C99-based standards] (INT32_MIN): Likewise.
699 [C99-based standards] (INT32_MAX): Likewise.
700 [C99-based standards] (INT64_MIN): Likewise.
701 [C99-based standards] (INT64_MAX): Likewise.
702 [C99-based standards] (UINT8_MAX): Likewise.
703 [C99-based standards] (UINT16_MAX): Likewise.
704 [C99-based standards] (UINT32_MAX): Likewise.
705 [C99-based standards] (UINT64_MAX): Likewise.
706 [C99-based standards] (INT_LEAST8_MIN): Likewise.
707 [C99-based standards] (INT_LEAST8_MAX): Likewise.
708 [C99-based standards] (INT_LEAST16_MIN): Likewise.
709 [C99-based standards] (INT_LEAST16_MAX): Likewise.
710 [C99-based standards] (INT_LEAST32_MIN): Likewise.
711 [C99-based standards] (INT_LEAST32_MAX): Likewise.
712 [C99-based standards] (INT_LEAST64_MIN): Likewise.
713 [C99-based standards] (INT_LEAST64_MAX): Likewise.
714 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
715 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
716 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
717 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
718 [C99-based standards] (INT_FAST8_MIN): Likewise.
719 [C99-based standards] (INT_FAST8_MAX): Likewise.
720 [C99-based standards] (INT_FAST16_MIN): Likewise.
721 [C99-based standards] (INT_FAST16_MAX): Likewise.
722 [C99-based standards] (INT_FAST32_MIN): Likewise.
723 [C99-based standards] (INT_FAST32_MAX): Likewise.
724 [C99-based standards] (INT_FAST64_MIN): Likewise.
725 [C99-based standards] (INT_FAST64_MAX): Likewise.
726 [C99-based standards] (UINT_FAST8_MAX): Likewise.
727 [C99-based standards] (UINT_FAST16_MAX): Likewise.
728 [C99-based standards] (UINT_FAST32_MAX): Likewise.
729 [C99-based standards] (UINT_FAST64_MAX): Likewise.
730 [C99-based standards] (INTPTR_MIN): Likewise.
731 [C99-based standards] (INTPTR_MAX): Likewise.
732 [C99-based standards] (UINTPTR_MAX): Likewise.
733 [C99-based standards] (INTMAX_MIN): Likewise.
734 [C99-based standards] (INTMAX_MAX): Likewise.
735 [C99-based standards] (UINTMAX_MAX): Likewise.
736 [C99-based standards] (PTRDIFF_MIN): Likewise.
737 [C99-based standards] (PTRDIFF_MAX): Likewise.
738 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
739 [C99-based standards] (SIZE_MAX): Likewise.
740 [C99-based standards] (WCHAR_MAX): Likewise.
741 [C99-based standards] (WINT_MAX): Likewise.
742 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
743 constraint on value.
744 [C99-based standards] (WCHAR_MIN): Likewise.
745 [C99-based standards] (WINT_MIN): Likewise.
746 [C99-based standards] (*_t): Allow.
747 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
748 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
749 Include math.h-data and complex.h-data. Remove all expectations
750 of math.h and complex.h contents.
751 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
752 at end of line.
753 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
754 (struct tm): Expect tag.
755 [C99-based-standards] (wcstof): Expect function.
756 [C99-based-standards] (wcstold): Likewise.
757 [C99-based-standards] (wcstoll): Likewise.
758 [C99-based-standards] (wcstoull): Likewise.
759 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
760 macro-int-constant. Specify type.
761 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
762 constraint on value.
763 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
764 Specify type.
765 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
766 Specify value.
767 [ISO C standards]: Do not allow headers.
768 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
769 wcs[abcdefghijklmnopqrstuvwxyz]*.
770 [ISO C standards] (*_t): Do not allow.
771 * conform/data/wctype.h-data [C99-based standards] (iswblank):
772 Expect function.
773 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
774 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
775 Specify type.
776 [ISO C standards]: Do not allow headers.
777 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
778 is[abcdefghijklmnopqrstuvwxyz]*.
779 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
780 to[abcdefghijklmnopqrstuvwxyz]*.
781 [ISO C standards] (*_t): Do not allow.
782 * conform/data/stdalign.h-data: New file.
783 * conform/data/stdbool.h-data: Likewise.
784 * conform/data/stdnoreturn.h-data: Likewise.
785
01f34a3b
JL
7862012-11-07 Andreas Jaeger <aj@suse.de>
787
788 [BZ #14809]
789 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
790 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
791 guards are changed. Only define if not yet defined, #undef back
792 after including linux/sysctl.h if defined here.
793
7514feb8
RM
7942012-11-07 Roland McGrath <roland@hack.frob.com>
795
796 [BZ #14815]
797 * manual/filesys.texi (Directory Entries): Typo fix.
798 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
799
19b2ecfc
MS
8002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
801
802 * elf/elf.h (EM_AARCH64): New macro.
803 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
804 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
805 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
806 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
807 (R_AARCH64_TLSDESC): Likewise.
808 (NT_ARM_TLS): Likewise.
809 (NT_ARM_HW_BREAK): Likewise.
810 (NT_ARM_HW_WATCH): Likewise.
811
60e235ee
JM
8122012-11-07 Joseph Myers <joseph@codesourcery.com>
813
814 [BZ #14811]
815 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
816 (__ieee754_powl): Saturate nonzero exponents with absolute value
817 below 0x1p-79 to +/- 0x1p-79.
818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
819 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
820 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
821 nonzero exponents with absolute value below 0x1p-32 to +/-
822 0x1p-32.
823 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
824 (__ieee754_powl): Saturate nonzero exponents with absolute value
825 below 0x1p-79 to +/- 0x1p-79.
826 * math/libm-test.inc (pow_test): Add more tests.
827
0ab234b7
AK
8282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
829
830 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
831 _dl_s390_cap_flags with kernel. Increase string length.
832 (_dl_s390_platforms): Add z196 and zEC12.
833
45832f74
JM
8342012-11-07 Joseph Myers <joseph@codesourcery.com>
835
836 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
837 Change XOPEN21K to XOPEN2K.
838
19218757
MK
8392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
840
841 * string/memmove.c: Use memcpy when possible.
842
c5f45721
AJ
8432012-11-06 Andreas Jaeger <aj@suse.de>
844
845 * po/eo.po: Update from translation team.
846
82477c28
JM
8472012-11-06 Joseph Myers <joseph@codesourcery.com>
848
849 [BZ #14793]
850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
851 exponent and small x and y exponents, scale x or y up. Increase
852 by 2 the exponent used in scaling up.
853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
855 * math/libm-test.inc (fma_test): Add more tests.
856 (fma_test_towardzero): Likewise.
857 (fma_test_downward): Likewise.
858 (fma_test_upward): Likewise.
859
99252c8c
JM
8602012-11-05 Joseph Myers <joseph@codesourcery.com>
861
acfa885f
JM
862 [BZ #14805]
863 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
864 fenv_t *.
865
99252c8c
JM
866 [BZ #14801]
867 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
868 namespace for names of struct fields.
869 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
870 fenv_t fields.
871 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
872 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
873
d6d98dea
ST
8742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
875
876 [BZ #3665]
877 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
878
e10bb107
TS
8792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
880
881 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
882 PTR_DEMANGLE.
883
884 [BZ #5246]
885 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
886 PTR_DEMANGLE.
887
a0c2940d
JM
8882012-11-04 Joseph Myers <joseph@codesourcery.com>
889
890 [BZ #14797]
891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
892 definitely overflow as x * y not x * y + z.
893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
895 * math/libm-test.inc (fma_test): Add more tests.
896 (fma_test_towardzero): Likewise.
897 (fma_test_downward): Likewise.
898 (fma_test_upward): Likewise.
899
b830319d
TS
9002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
901
902 [BZ #157]
903
904 * include/stub-tag.h: Remove file.
905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
906 '#include' of it.
907 * manual/maint.texi (Porting): Don't reference it.
908 * Makerules ($(objpfx)stubs): Likewise.
909 * dirent/closedir.c: Don't include <stub-tag.h>.
910 * dirent/dirfd.c: Likewise.
911 * dirent/fdopendir.c: Likewise.
912 * dirent/getdents.c: Likewise.
913 * dirent/getdents64.c: Likewise.
914 * dirent/opendir.c: Likewise.
915 * dirent/readdir.c: Likewise.
916 * dirent/readdir64.c: Likewise.
917 * dirent/readdir64_r.c: Likewise.
918 * dirent/readdir_r.c: Likewise.
919 * dirent/rewinddir.c: Likewise.
920 * dirent/seekdir.c: Likewise.
921 * dirent/telldir.c: Likewise.
922 * gmon/profil.c: Likewise.
923 * grp/setgroups.c: Likewise.
924 * inet/if_index.c: Likewise.
925 * io/access.c: Likewise.
926 * io/chdir.c: Likewise.
927 * io/chmod.c: Likewise.
928 * io/chown.c: Likewise.
929 * io/close.c: Likewise.
930 * io/dup.c: Likewise.
931 * io/dup2.c: Likewise.
932 * io/dup3.c: Likewise.
933 * io/euidaccess.c: Likewise.
934 * io/faccessat.c: Likewise.
935 * io/fchdir.c: Likewise.
936 * io/fchmod.c: Likewise.
937 * io/fchmodat.c: Likewise.
938 * io/fchown.c: Likewise.
939 * io/fchownat.c: Likewise.
940 * io/fcntl.c: Likewise.
941 * io/flock.c: Likewise.
942 * io/fstatfs.c: Likewise.
943 * io/fstatfs64.c: Likewise.
944 * io/fstatvfs.c: Likewise.
945 * io/fstatvfs64.c: Likewise.
946 * io/futimens.c: Likewise.
947 * io/fxstat.c: Likewise.
948 * io/fxstat64.c: Likewise.
949 * io/fxstatat.c: Likewise.
950 * io/fxstatat64.c: Likewise.
951 * io/getcwd.c: Likewise.
952 * io/isatty.c: Likewise.
953 * io/lchmod.c: Likewise.
954 * io/lchown.c: Likewise.
955 * io/link.c: Likewise.
956 * io/linkat.c: Likewise.
957 * io/lseek.c: Likewise.
958 * io/lseek64.c: Likewise.
959 * io/lxstat64.c: Likewise.
960 * io/mkdir.c: Likewise.
961 * io/mkdirat.c: Likewise.
962 * io/mkfifo.c: Likewise.
963 * io/mkfifoat.c: Likewise.
964 * io/open.c: Likewise.
965 * io/open64.c: Likewise.
966 * io/openat.c: Likewise.
967 * io/openat64.c: Likewise.
968 * io/pipe.c: Likewise.
969 * io/pipe2.c: Likewise.
970 * io/poll.c: Likewise.
971 * io/posix_fadvise.c: Likewise.
972 * io/posix_fadvise64.c: Likewise.
973 * io/posix_fallocate.c: Likewise.
974 * io/posix_fallocate64.c: Likewise.
975 * io/read.c: Likewise.
976 * io/readlink.c: Likewise.
977 * io/readlinkat.c: Likewise.
978 * io/rmdir.c: Likewise.
979 * io/sendfile.c: Likewise.
980 * io/sendfile64.c: Likewise.
981 * io/statfs.c: Likewise.
982 * io/statfs64.c: Likewise.
983 * io/statvfs.c: Likewise.
984 * io/statvfs64.c: Likewise.
985 * io/symlink.c: Likewise.
986 * io/symlinkat.c: Likewise.
987 * io/ttyname.c: Likewise.
988 * io/ttyname_r.c: Likewise.
989 * io/umask.c: Likewise.
990 * io/unlink.c: Likewise.
991 * io/unlinkat.c: Likewise.
992 * io/utime.c: Likewise.
993 * io/utimensat.c: Likewise.
994 * io/write.c: Likewise.
995 * io/xmknod.c: Likewise.
996 * io/xmknodat.c: Likewise.
997 * io/xstat.c: Likewise.
998 * io/xstat64.c: Likewise.
999 * login/getpt.c: Likewise.
1000 * login/grantpt.c: Likewise.
1001 * login/unlockpt.c: Likewise.
1002 * math/e_acoshl.c: Likewise.
1003 * math/e_acosl.c: Likewise.
1004 * math/e_asinl.c: Likewise.
1005 * math/e_atan2l.c: Likewise.
1006 * math/e_atanhl.c: Likewise.
1007 * math/e_coshl.c: Likewise.
1008 * math/e_expl.c: Likewise.
1009 * math/e_fmodl.c: Likewise.
1010 * math/e_gammal_r.c: Likewise.
1011 * math/e_hypotl.c: Likewise.
1012 * math/e_j0l.c: Likewise.
1013 * math/e_j1l.c: Likewise.
1014 * math/e_jnl.c: Likewise.
1015 * math/e_lgammal_r.c: Likewise.
1016 * math/e_log10l.c: Likewise.
1017 * math/e_log2l.c: Likewise.
1018 * math/e_logl.c: Likewise.
1019 * math/e_powl.c: Likewise.
1020 * math/e_rem_pio2l.c: Likewise.
1021 * math/e_sinhl.c: Likewise.
1022 * math/e_sqrtl.c: Likewise.
1023 * math/fclrexcpt.c: Likewise.
1024 * math/fedisblxcpt.c: Likewise.
1025 * math/feenablxcpt.c: Likewise.
1026 * math/fegetenv.c: Likewise.
1027 * math/fegetexcept.c: Likewise.
1028 * math/fegetround.c: Likewise.
1029 * math/feholdexcpt.c: Likewise.
1030 * math/fesetenv.c: Likewise.
1031 * math/fesetround.c: Likewise.
1032 * math/feupdateenv.c: Likewise.
1033 * math/fgetexcptflg.c: Likewise.
1034 * math/fraiseexcpt.c: Likewise.
1035 * math/fsetexcptflg.c: Likewise.
1036 * math/ftestexcept.c: Likewise.
1037 * math/k_cosl.c: Likewise.
1038 * math/k_rem_pio2l.c: Likewise.
1039 * math/k_sinl.c: Likewise.
1040 * math/k_tanl.c: Likewise.
1041 * math/s_asinhl.c: Likewise.
1042 * math/s_atanl.c: Likewise.
1043 * math/s_cbrtl.c: Likewise.
1044 * math/s_erfl.c: Likewise.
1045 * math/s_expm1l.c: Likewise.
1046 * math/s_log1pl.c: Likewise.
1047 * math/s_tanhl.c: Likewise.
1048 * misc/acct.c: Likewise.
1049 * misc/brk.c: Likewise.
1050 * misc/chflags.c: Likewise.
1051 * misc/chroot.c: Likewise.
1052 * misc/fchflags.c: Likewise.
1053 * misc/fgetxattr.c: Likewise.
1054 * misc/flistxattr.c: Likewise.
1055 * misc/fremovexattr.c: Likewise.
1056 * misc/fsetxattr.c: Likewise.
1057 * misc/fsync.c: Likewise.
1058 * misc/ftruncate.c: Likewise.
1059 * misc/futimes.c: Likewise.
1060 * misc/futimesat.c: Likewise.
1061 * misc/getdomain.c: Likewise.
1062 * misc/getdtsz.c: Likewise.
1063 * misc/gethostid.c: Likewise.
1064 * misc/gethostname.c: Likewise.
1065 * misc/getloadavg.c: Likewise.
1066 * misc/getpagesize.c: Likewise.
1067 * misc/getsysstats.c: Likewise.
1068 * misc/getxattr.c: Likewise.
1069 * misc/gtty.c: Likewise.
1070 * misc/ioctl.c: Likewise.
1071 * misc/lgetxattr.c: Likewise.
1072 * misc/listxattr.c: Likewise.
1073 * misc/llistxattr.c: Likewise.
1074 * misc/lremovexattr.c: Likewise.
1075 * misc/lsetxattr.c: Likewise.
1076 * misc/lutimes.c: Likewise.
1077 * misc/madvise.c: Likewise.
1078 * misc/mincore.c: Likewise.
1079 * misc/mlock.c: Likewise.
1080 * misc/mlockall.c: Likewise.
1081 * misc/mmap.c: Likewise.
1082 * misc/mprotect.c: Likewise.
1083 * misc/msync.c: Likewise.
1084 * misc/munlock.c: Likewise.
1085 * misc/munlockall.c: Likewise.
1086 * misc/munmap.c: Likewise.
1087 * misc/preadv.c: Likewise.
1088 * misc/preadv64.c: Likewise.
1089 * misc/ptrace.c: Likewise.
1090 * misc/pwritev.c: Likewise.
1091 * misc/pwritev64.c: Likewise.
1092 * misc/readv.c: Likewise.
1093 * misc/reboot.c: Likewise.
1094 * misc/remap_file_pages.c: Likewise.
1095 * misc/removexattr.c: Likewise.
1096 * misc/revoke.c: Likewise.
1097 * misc/select.c: Likewise.
1098 * misc/setdomain.c: Likewise.
1099 * misc/setegid.c: Likewise.
1100 * misc/seteuid.c: Likewise.
1101 * misc/sethostid.c: Likewise.
1102 * misc/sethostname.c: Likewise.
1103 * misc/setregid.c: Likewise.
1104 * misc/setreuid.c: Likewise.
1105 * misc/setxattr.c: Likewise.
1106 * misc/sstk.c: Likewise.
1107 * misc/stty.c: Likewise.
1108 * misc/swapoff.c: Likewise.
1109 * misc/swapon.c: Likewise.
1110 * misc/sync.c: Likewise.
1111 * misc/syncfs.c: Likewise.
1112 * misc/syscall.c: Likewise.
1113 * misc/truncate.c: Likewise.
1114 * misc/ualarm.c: Likewise.
1115 * misc/usleep.c: Likewise.
1116 * misc/ustat.c: Likewise.
1117 * misc/utimes.c: Likewise.
1118 * misc/vhangup.c: Likewise.
1119 * misc/writev.c: Likewise.
1120 * posix/_exit.c: Likewise.
1121 * posix/alarm.c: Likewise.
1122 * posix/execve.c: Likewise.
1123 * posix/fexecve.c: Likewise.
1124 * posix/fork.c: Likewise.
1125 * posix/fpathconf.c: Likewise.
1126 * posix/getaddrinfo.c: Likewise.
1127 * posix/getegid.c: Likewise.
1128 * posix/geteuid.c: Likewise.
1129 * posix/getgid.c: Likewise.
1130 * posix/getgroups.c: Likewise.
1131 * posix/getlogin.c: Likewise.
1132 * posix/getlogin_r.c: Likewise.
1133 * posix/getpgid.c: Likewise.
1134 * posix/getpid.c: Likewise.
1135 * posix/getppid.c: Likewise.
1136 * posix/getresgid.c: Likewise.
1137 * posix/getresuid.c: Likewise.
1138 * posix/getsid.c: Likewise.
1139 * posix/getuid.c: Likewise.
1140 * posix/glob64.c: Likewise.
1141 * posix/nanosleep.c: Likewise.
1142 * posix/pathconf.c: Likewise.
1143 * posix/pause.c: Likewise.
1144 * posix/posix_madvise.c: Likewise.
1145 * posix/pread.c: Likewise.
1146 * posix/pread64.c: Likewise.
1147 * posix/pwrite.c: Likewise.
1148 * posix/pwrite64.c: Likewise.
1149 * posix/sched_getaffinity.c: Likewise.
1150 * posix/sched_getp.c: Likewise.
1151 * posix/sched_gets.c: Likewise.
1152 * posix/sched_primax.c: Likewise.
1153 * posix/sched_primin.c: Likewise.
1154 * posix/sched_rr_gi.c: Likewise.
1155 * posix/sched_setaffinity.c: Likewise.
1156 * posix/sched_setp.c: Likewise.
1157 * posix/sched_sets.c: Likewise.
1158 * posix/sched_yield.c: Likewise.
1159 * posix/setgid.c: Likewise.
1160 * posix/setlogin.c: Likewise.
1161 * posix/setpgid.c: Likewise.
1162 * posix/setresgid.c: Likewise.
1163 * posix/setresuid.c: Likewise.
1164 * posix/setsid.c: Likewise.
1165 * posix/setuid.c: Likewise.
1166 * posix/sleep.c: Likewise.
1167 * posix/spawni.c: Likewise.
1168 * posix/sysconf.c: Likewise.
1169 * posix/times.c: Likewise.
1170 * posix/wait.c: Likewise.
1171 * posix/wait3.c: Likewise.
1172 * posix/wait4.c: Likewise.
1173 * posix/waitpid.c: Likewise.
1174 * resolv/gai_sigqueue.c: Likewise.
1175 * resource/getpriority.c: Likewise.
1176 * resource/getrlimit.c: Likewise.
1177 * resource/getrusage.c: Likewise.
1178 * resource/nice.c: Likewise.
1179 * resource/setpriority.c: Likewise.
1180 * resource/setrlimit.c: Likewise.
1181 * resource/ulimit.c: Likewise.
1182 * rt/aio_cancel.c: Likewise.
1183 * rt/aio_fsync.c: Likewise.
1184 * rt/aio_read.c: Likewise.
1185 * rt/aio_sigqueue.c: Likewise.
1186 * rt/aio_suspend.c: Likewise.
1187 * rt/aio_write.c: Likewise.
1188 * rt/clock_getres.c: Likewise.
1189 * rt/clock_gettime.c: Likewise.
1190 * rt/clock_nanosleep.c: Likewise.
1191 * rt/clock_settime.c: Likewise.
1192 * rt/lio_listio.c: Likewise.
1193 * rt/mq_close.c: Likewise.
1194 * rt/mq_getattr.c: Likewise.
1195 * rt/mq_notify.c: Likewise.
1196 * rt/mq_open.c: Likewise.
1197 * rt/mq_receive.c: Likewise.
1198 * rt/mq_send.c: Likewise.
1199 * rt/mq_setattr.c: Likewise.
1200 * rt/mq_timedreceive.c: Likewise.
1201 * rt/mq_timedsend.c: Likewise.
1202 * rt/mq_unlink.c: Likewise.
1203 * rt/shm_open.c: Likewise.
1204 * rt/shm_unlink.c: Likewise.
1205 * rt/timer_create.c: Likewise.
1206 * rt/timer_delete.c: Likewise.
1207 * rt/timer_getoverr.c: Likewise.
1208 * rt/timer_gettime.c: Likewise.
1209 * rt/timer_settime.c: Likewise.
1210 * setjmp/__longjmp.c: Likewise.
1211 * setjmp/setjmp.c: Likewise.
1212 * signal/kill.c: Likewise.
1213 * signal/killpg.c: Likewise.
1214 * signal/raise.c: Likewise.
1215 * signal/sigaction.c: Likewise.
1216 * signal/sigaltstack.c: Likewise.
1217 * signal/sigblock.c: Likewise.
1218 * signal/sigignore.c: Likewise.
1219 * signal/sigintr.c: Likewise.
1220 * signal/signal.c: Likewise.
1221 * signal/sigpause.c: Likewise.
1222 * signal/sigpending.c: Likewise.
1223 * signal/sigqueue.c: Likewise.
1224 * signal/sigreturn.c: Likewise.
1225 * signal/sigset.c: Likewise.
1226 * signal/sigsetmask.c: Likewise.
1227 * signal/sigstack.c: Likewise.
1228 * signal/sigsuspend.c: Likewise.
1229 * signal/sigtimedwait.c: Likewise.
1230 * signal/sigvec.c: Likewise.
1231 * signal/sigwait.c: Likewise.
1232 * signal/sigwaitinfo.c: Likewise.
1233 * signal/sysv_signal.c: Likewise.
1234 * socket/accept.c: Likewise.
1235 * socket/accept4.c: Likewise.
1236 * socket/bind.c: Likewise.
1237 * socket/connect.c: Likewise.
1238 * socket/getpeername.c: Likewise.
1239 * socket/getsockname.c: Likewise.
1240 * socket/getsockopt.c: Likewise.
1241 * socket/isfdtype.c: Likewise.
1242 * socket/listen.c: Likewise.
1243 * socket/recv.c: Likewise.
1244 * socket/recvfrom.c: Likewise.
1245 * socket/recvmsg.c: Likewise.
1246 * socket/send.c: Likewise.
1247 * socket/sendmsg.c: Likewise.
1248 * socket/sendto.c: Likewise.
1249 * socket/setsockopt.c: Likewise.
1250 * socket/shutdown.c: Likewise.
1251 * socket/sockatmark.c: Likewise.
1252 * socket/socket.c: Likewise.
1253 * socket/socketpair.c: Likewise.
1254 * stdio-common/ctermid.c: Likewise.
1255 * stdio-common/cuserid.c: Likewise.
1256 * stdio-common/remove.c: Likewise.
1257 * stdio-common/rename.c: Likewise.
1258 * stdio-common/renameat.c: Likewise.
1259 * stdio-common/tempname.c: Likewise.
1260 * stdlib/getcontext.c: Likewise.
1261 * stdlib/makecontext.c: Likewise.
1262 * stdlib/setcontext.c: Likewise.
1263 * stdlib/swapcontext.c: Likewise.
1264 * stdlib/system.c: Likewise.
1265 * streams/fattach.c: Likewise.
1266 * streams/fdetach.c: Likewise.
1267 * streams/getmsg.c: Likewise.
1268 * streams/getpmsg.c: Likewise.
1269 * streams/putmsg.c: Likewise.
1270 * streams/putpmsg.c: Likewise.
1271 * sysdeps/unix/bsd/getpt.c: Likewise.
1272 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1273 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1274 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1276 Likewise.
1277 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1279 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1280 * sysvipc/msgctl.c: Likewise.
1281 * sysvipc/msgget.c: Likewise.
1282 * sysvipc/msgrcv.c: Likewise.
1283 * sysvipc/msgsnd.c: Likewise.
1284 * sysvipc/semctl.c: Likewise.
1285 * sysvipc/semget.c: Likewise.
1286 * sysvipc/semop.c: Likewise.
1287 * sysvipc/semtimedop.c: Likewise.
1288 * sysvipc/shmat.c: Likewise.
1289 * sysvipc/shmctl.c: Likewise.
1290 * sysvipc/shmdt.c: Likewise.
1291 * sysvipc/shmget.c: Likewise.
1292 * termios/tcdrain.c: Likewise.
1293 * termios/tcflow.c: Likewise.
1294 * termios/tcflush.c: Likewise.
1295 * termios/tcgetattr.c: Likewise.
1296 * termios/tcgetpgrp.c: Likewise.
1297 * termios/tcsendbrk.c: Likewise.
1298 * termios/tcsetattr.c: Likewise.
1299 * termios/tcsetpgrp.c: Likewise.
1300 * time/adjtime.c: Likewise.
1301 * time/clock.c: Likewise.
1302 * time/getitimer.c: Likewise.
1303 * time/gettimeofday.c: Likewise.
1304 * time/setitimer.c: Likewise.
1305 * time/settimeofday.c: Likewise.
1306 * time/stime.c: Likewise.
1307 * time/time.c: Likewise.
1308
13092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1310
a20492cf
PT
1311 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1312 /usr/old/bin.
1313
72e182e3
PT
1314 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1315 instead of spaces.
1316 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1317
fbeafede
JM
13182012-11-03 Joseph Myers <joseph@codesourcery.com>
1319
5b5b04d6
JM
1320 [BZ #14796]
1321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1322 FE_TONEAREST before applying Dekker multiplication and Knuth
1323 addition. Clear inexact exceptions and check for exact zero
1324 results afterwards.
1325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1328 * math/libm-test.inc (fma_test): Add more tests.
1329 (fma_test_towardzero): Likewise.
1330 (fma_test_downward): Likewise.
1331 (fma_test_upward): Likewise.
1332 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1333 function.
1334 (libc_fesetround): New macro.
1335 (libc_fesetroundf): Likewise.
1336 (libc_fesetroundl): Likewise.
1337 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1338 function.
1339 (libc_fesetround_387): Likewise.
1340 (libc_fesetroundf): New macro.
1341 (libc_fesetround): Likewise.
1342 (libc_fesetroundl): Likewise.
1343 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1344 function.
1345 (libc_fesetroundf): New macro.
1346 (libc_fesetround): Likewise.
1347 (libc_fesetroundl): Likewise.
1348 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1349 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1350 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1351 libm_hidden_ver.
1352 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1353 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1354 libm_hidden_def.
1355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1356 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1357 libm_hidden_ver.
1358 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1359 libm_hidden_def.
1360
fbeafede
JM
1361 [BZ #3439]
1362 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1363 integer constant usable in #if and use that to give value to enum
1364 constant.
1365 (FE_DIVBYZERO): Likewise.
1366 (FE_UNDERFLOW): Likewise.
1367 (FE_OVERFLOW): Likewise.
1368 (FE_INVALID): Likewise.
1369 (FE_INVALID_SNAN): Likewise.
1370 (FE_INVALID_ISI): Likewise.
1371 (FE_INVALID_IDI): Likewise.
1372 (FE_INVALID_ZDZ): Likewise.
1373 (FE_INVALID_IMZ): Likewise.
1374 (FE_INVALID_COMPARE): Likewise.
1375 (FE_INVALID_SOFTWARE): Likewise.
1376 (FE_INVALID_SQRT): Likewise.
1377 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1378 (FE_TONEAREST): Likewise.
1379 (FE_TOWARDZERO): Likewise.
1380 (FE_UPWARD): Likewise.
1381 (FE_DOWNWARD): Likewise.
1382 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1383 (FE_DIVBYZERO): Likewise.
1384 (FE_OVERFLOW): Likewise.
1385 (FE_UNDERFLOW): Likewise.
1386 (FE_INEXACT): Likewise.
1387 (FE_TONEAREST): Likewise.
1388 (FE_DOWNWARD): Likewise.
1389 (FE_UPWARD): Likewise.
1390 (FE_TOWARDZERO): Likewise.
1391 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1392 (FE_UNDERFLOW): Likewise.
1393 (FE_OVERFLOW): Likewise.
1394 (FE_DIVBYZERO): Likewise.
1395 (FE_INVALID): Likewise.
1396 (FE_TONEAREST): Likewise.
1397 (FE_TOWARDZERO): Likewise.
1398 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1399 (FE_OVERFLOW): Likewise.
1400 (FE_UNDERFLOW): Likewise.
1401 (FE_DIVBYZERO): Likewise.
1402 (FE_INEXACT): Likewise.
1403 (FE_TONEAREST): Likewise.
1404 (FE_TOWARDZERO): Likewise.
1405 (FE_UPWARD): Likewise.
1406 (FE_DOWNWARD): Likewise.
1407 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1408 (FE_DIVBYZERO): Likewise.
1409 (FE_OVERFLOW): Likewise.
1410 (FE_UNDERFLOW): Likewise.
1411 (FE_INEXACT): Likewise.
1412 (FE_TONEAREST): Likewise.
1413 (FE_DOWNWARD): Likewise.
1414 (FE_UPWARD): Likewise.
1415 (FE_TOWARDZERO): Likewise.
1416
105ca950
CM
14172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1418
1419 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1420
a542b389
AS
14212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1422
1423 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1424 commands. Quote $PWD.
1425 (blacklist_exports): Don't use remove_newlines. Replace "declare
1426 -x" by "export".
1427 (remove_newlines): Remove.
1428
f62c8abc
L
14292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1432 * stdlib/stdlib.h (atof): Moved to ...
1433 * include/bits/stdlib-float.h: Here. New file.
1434 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1435 * stdlib/bits/stdlib-float.h: New file.
1436 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1437 -mno-sse -mno-mmx.
1438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1439 <xmmintrin.h>.
1440
0155d5b2
JM
14412012-11-02 Joseph Myers <joseph@codesourcery.com>
1442
a68d0680
JM
1443 * conform/conformtest.pl (@headers): Add fenv.h.
1444 * conform/data/fenv.h-data: New file.
1445 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1446 include of <math/fenv.h>.
1447
caf7f573
JM
1448 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1449 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1450 && !UNIX98]. Enables tests for XOPEN2K8.
1451 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1452 POSIX2008]: Likewise.
1453
6c073ad6
JM
1454 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1455 (struct rusage): Do not expect type or its members.
1456
0155d5b2
JM
1457 [BZ #3439]
1458 * math/math.h (FP_NAN): Define macro to integer constant usable in
1459 #if and use that to give value to enum constant.
1460 (FP_INFINITE): Likewise.
1461 (FP_ZERO): Likewise.
1462 (FP_SUBNORMAL): Likewise.
1463 (FP_NORMAL): Likewise.
1464
b5dcacb4
AS
14652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1466
1467 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1468 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1469 arguments.
1470
f7934be8
RM
14712012-11-02 Roland McGrath <roland@hack.frob.com>
1472
1473 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1474 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1475 autoconf-time if not.
1476 * configure.in: Remove AC_PREREQ.
1477
d7d08bde
TMQMF
14782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1479
1480 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1481 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1482 of the internal implementation.
1483
dcdae19a
JM
14842012-11-02 Joseph Myers <joseph@codesourcery.com>
1485
1486 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1487 except include of <misc/sys/syslog.h>.
1488
d6cffd3e
AS
14892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1490
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1492 function returns with a NULL context exit with zero.
1493
b3563932
TMQMF
14942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1495
1496 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1497
b288a93d
L
14982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1501 (run_program_cmd): This.
1502 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1503 (tst_langinfo): New variable. Use it.
1504
a2421a68
SAS
15052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1506
1507 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1508 floating point opcodes.
1509
6f796e1b
TS
15102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1511
7402596b
TS
1512 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1513 variable.
1514
d0d4f868
TS
1515 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1516
6f796e1b
TS
1517 * sysdeps/mach/hurd/powerpc: Remove directory.
1518 * sysdeps/mach/powerpc: Likewise.
1519
4da224a2
AS
15202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1521
1522 * scripts/check-local-headers.sh: Ignore c++ headers.
1523
341dd673
TS
15242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1525
1526 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1527 __libc_cleanup_region_start argument.
1528
473611b2
JM
15292012-11-01 Joseph Myers <joseph@codesourcery.com>
1530
1531 [BZ #14784]
1532 [BZ #14785]
1533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1534 x * y using scaling, not as x * y + z.
1535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1537 * math/libm-test.inc (fma_test): Add more tests.
1538 (fma_test_towardzero): Likewise.
1539 (fma_test_downward): Likewise.
1540 (fma_test_upward): Likewise.
1541
4078da3d
TS
15422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1543
1544 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1545
903252aa
JM
15462012-10-31 Joseph Myers <joseph@codesourcery.com>
1547
1548 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1549 New variable.
1550
cbc818d0
TS
15512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1552
1553 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1554
5a03cb1e
AS
15552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1556
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1558 Fix sort order.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1560 Likewise.
1561
90aff2ff
TMQMF
15622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1563
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1565 Fix the order of the list for glibc 2.17.
1566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1567 Likewise.
1568
1818fcb7
AS
15692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1570
1571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1572
ef82f4da
JM
15732012-10-31 Joseph Myers <joseph@codesourcery.com>
1574
16a0e2ec
JM
1575 [BZ #14610]
1576 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1577 for low part of x being zero before using __atanl (y).
1578 * math/libm-test.inc (atan2_test): Add another test.
1579
0eb69512
JM
1580 * manual/install.texi (Configuring and compiling): Document
1581 general use of test-wrapper and test-wrapper-env.
1582 * INSTALL: Regenerated.
1583
ef82f4da
JM
1584 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1585 (__fma): Do not extract and scale down low bits on after-rounding
1586 systems when result rounded to normal precision would have normal
1587 exponent.
1588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1589 (__fmal): Do not extract and scale down low bits on after-rounding
1590 systems when result rounded to normal precision would have normal
1591 exponent.
1592 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1593 (__fmal): Do not extract and scale down low bits on after-rounding
1594 systems when result rounded to normal precision would have normal
1595 exponent.
1596 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1597 macro.
1598 (fma_test): Add more tests.
1599 (fma_test_towardzero): Likewise.
1600 (fma_test_downward): Likewise.
1601 (fma_test_upward): Likewise.
1602
954ef0d9
L
16032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * sysdeps/i386/tininess.h: Renamed to ...
1606 * sysdeps/x86/tininess.h: This.
1607 * sysdeps/x86_64/tininess.h: Removed.
1608
df61ffb2
JM
16092012-10-30 Joseph Myers <joseph@codesourcery.com>
1610
1611 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1612 input. Use $(build-program-cmd).
1613 ($(objpfx)tst-array1-static.out): Likewise.
1614 ($(objpfx)tst-array2.out): Likewise.
1615 ($(objpfx)tst-array3.out): Likewise.
1616 ($(objpfx)tst-array4.out): Likewise.
1617 ($(objpfx)tst-array5.out): Likewise.
1618 ($(objpfx)tst-array5-static.out): Likewise.
1619
01767843
CM
16202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1621
47cc1490
CM
1622 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1623 if defined.
1624
01767843
CM
1625 * nss/nsswitch.h (nss_interface_function): Provide new
1626 macro for use with NSS functions.
1627 * grp/initgroups.c: Use new macro.
1628 * nss/getXXbyYY.c: Likewise.
1629 * nss/getXXbyYY_r.c: Likewise.
1630 * nss/getXXent.c: Likewise.
1631 * nss/getXXent_r.c: Likewise.
1632 * sysdeps/posix/getaddrinfo.c: Likewise.
1633
8321aa97
AJ
16342012-10-30 Andreas Jaeger <aj@suse.de>
1635
1636 * po/ru.po: Update Russion translation from translation project.
1637
2a27fd6d
JM
16382012-10-30 Joseph Myers <joseph@codesourcery.com>
1639
8627a232
JM
1640 [BZ #14152]
1641 [BZ #14783]
1642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1643 result and shift together with sticky bit instead of replicating
1644 round-to-nearest rounding.
1645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1647 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1648 missing underflow exceptions.
1649 (fma_test_towardzero): Add more tests.
1650 (fma_test_downward): Likewise.
1651 (fma_test_upward): Likewise.
1652
2a27fd6d
JM
1653 [BZ #14047]
1654 * sysdeps/generic/tininess.h: New file.
1655 * sysdeps/i386/tininess.h: Likewise.
1656 * sysdeps/sh/tininess.h: Likewise.
1657 * sysdeps/x86_64/tininess.h: Likewise.
1658 * stdlib/tst-strtod-underflow.c: Likewise.
1659 * stdlib/tst-tininess.c: Likewise.
1660 * stdlib/strtod_l.c: Include <tininess.h>.
1661 (round_and_return): Do not set errno for exact underflow cases.
1662 Force an underflow exception when setting errno for underflow.
1663 Determine underflow based on rounding to normal precision if
1664 TININESS_AFTER_ROUNDING.
1665 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1666 ERANGE for exact underflow cases.
1667 * stdlib/Makefile (tests): Add tst-tininess and
1668 tst-strtod-underflow.
1669 ($(objpfx)tst-tininess): Use $(link-libm).
1670 ($(objpfx)tst-strtod-underflow): Likewise.
1671
e7170363
AJ
16722012-10-30 Andreas Jaeger <aj@suse.de>
1673
e5088dc6
AJ
1674 [BZ#14767]
1675 * elf/Makefile (tests): Remove conditional for have-initfini-array
1676 since this is now always required and the variable does not exist
1677 anymore.
1678 (tests-static): Likewise.
1679 (modules-names): Likewise.
1680
e7170363 1681 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1682
1683 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1684 merged with constructor/destructor.
1685 (init_array): Likewise.
1686 * elf/tst-array2dep.c (fini_array): Likewise.
1687 (init_array): Likewise.
1688
60457d8a
MF
16892012-10-29 Mike Frysinger <vapier@gentoo.org>
1690
1691 * manual/message.texi: Delete @cartouche tags.
1692
8bece752
PT
16932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1694
94ce799f
PT
1695 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1696 EOPNOTSUPP.
1697 * sysdeps/mach/hurd/fsync.c: Likewise.
1698
8bece752
PT
1699 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1700 [_POSIX_REALTIME_SIGNALS]: Change condition to
1701 [_POSIX_REALTIME_SIGNALS > 0].
1702
86ebe6b1
AJ
17032012-10-27 Andreas Jaeger <aj@suse.de>
1704
1705 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1706 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1708 [__WORDSIZE != 64]: Likewise.
1709
54399c08
L
17102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * iconvdata/tst-table.sh: Remove ${SHELL}.
1713 * iconvdata/tst-tables.sh: Likewise.
1714
e2211bed
DM
17152012-10-25 David S. Miller <davem@davemloft.net>
1716
1717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1718 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1719 of strtoull.
1720
f303f97c
DM
1721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1722 ifunc-impl-list.c
1723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1724 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1725 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1726 file.
1727
1e9d84cd
RM
17282012-10-25 Roland McGrath <roland@hack.frob.com>
1729
1730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1731 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1732 __getdirentries.
1733
df381762
JM
17342012-10-25 Joseph Myers <joseph@codesourcery.com>
1735 Jim Blandy <jimb@codesourcery.com>
1736
1737 * scripts/cross-test-ssh.sh: New file.
1738 * manual/install.texi (Configuring and compiling): Document use of
1739 cross-test-ssh.sh.
1740 * INSTALL: Regenerated.
1741
bff64913
PT
17422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1743
1744 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1745 EOPNOTSUPP.
1746
25fe8932
JM
17472012-10-25 Joseph Myers <joseph@codesourcery.com>
1748
1749 * Makeconfig (run-program-prefix): Fix comment.
1750
cc1290d0
JM
17512012-10-24 Joseph Myers <joseph@codesourcery.com>
1752 Jim Blandy <jimb@codesourcery.com>
1753
1754 * Makeconfig (test-wrapper): New variable,
1755 (test-wrapper-env): Likewise.
1756 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1757 (run-built-tests): Define to yes.
1758 (run-program-prefix): Use $(test-wrapper).
1759 (built-program-cmd): Likewise.
1760 * Rules (make-test-out): Use $(test-wrapper-env) and
1761 $(host-built-program-cmd).
1762 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1763 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1764 tst-pathopt.sh.
1765 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1766 $(test-wrapper-env) to tst-rtld-load-self.sh.
1767 ($(objpfx)order2.out): Use $(test-wrapper).
1768 ($(objpfx)tst-initorder.out): Likewise.
1769 ($(objpfx)tst-initorder2.out): Likewise.
1770 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1771 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1772 (test_wrapper_env): New variable. Use it to run ld.so.
1773 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1774 Use it to run ld.so.
1775 (test_wrapper_env): Likewise.
1776 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1777 $(test-wrapper) to run-iconv-test.sh.
1778 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1779 (ICONV): Use $test_wrapper.
1780 * posix/Makefile ($(objpfx)globtest.out): Pass
1781 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1782 globtest.sh, not $(run-program-prefix).
1783 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1784 (test_wrapper): Likewise.
1785 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1786 set together with run_via_rtld_prefix.
1787 (run_program_prefix): Define in terms of test_wrapper and
1788 run_via_rtld_prefix.
1789
6e6249d0
RM
17902012-10-24 Roland McGrath <roland@hack.frob.com>
1791
1792 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1793 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1794 Targets removed.
1795
1796 [BZ #14743]
1797 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1798 Declare __clock_getres, __clock_gettime, __clock_settime,
1799 __clock_nanosleep, and __clock_getcpuclockid.
1800 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1801 Remove librt_hidden_def (clock_gettime).
1802 * sysdeps/unix/clock_gettime.c: Likewise.
1803 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1805 * rt/clock_getres.c: Define __clock_getres as an alias.
1806 * sysdeps/posix/clock_getres.c: Likewise.
1807 * rt/clock_settime.c: Define __clock_settime as an alias.
1808 * sysdeps/unix/clock_settime.c: Likewise.
1809 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1810 * sysdeps/unix/clock_nanosleep.c: Likewise.
1811 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1812 * rt/clock-compat.c: New file.
1813 * rt/Makefile (librt-routines): Add clock-compat and move
1814 $(clock-routines) to ...
1815 (routines): ... here, new variable.
1816 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1817 Don't add get_clockfreq here.
1818 * rt/Versions (libc: GLIBC_2.17): New version set.
1819 Add clock_* symbols here.
1820 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1822 (GLIBC_2.17): Add clock_* symbols.
1823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1827 Likewise.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1829 Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1834 * NEWS: Mention the move.
1835
1836 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1837 Use __open, __read, __close rather than their public counterparts.
1838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1839 (__get_clockfreq_via_cpuinfo): Likewise.
1840 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1841 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1842
1843 * config.h.in (HAVE_IFUNC): New #undef.
1844 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1845 was successful.
1846 * configure: Regenerated.
1847
0cae3f4b
MF
18482012-10-24 Mike Frysinger <vapier@gentoo.org>
1849
1850 * configure.in: Move READELF check to start of file.
1851 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1852 libc_cv_asm_gnu_indirect_function in the process.
1853 * configure: Regenerated.
1854
8175a253
MF
18552012-10-24 Mike Frysinger <vapier@gentoo.org>
1856
1857 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1858 send the output to /dev/null.
1859 (libc_cv_cc_with_libunwind): Likewise.
1860 (libc_cv_as_noexecstack): Likewise.
1861 * configure: Regenerate.
1862
0708a7d1
JM
18632012-10-24 Joseph Myers <joseph@codesourcery.com>
1864
10b40d85
JM
1865 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1866
0708a7d1
JM
1867 * posix/globtest.sh (TMPDIR): Do not set.
1868 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1869 (testout): Likewise.
1870
9fddec1a
AJ
18712012-10-24 Andreas Jaeger <aj@suse.de>
1872
3a8db22f
AJ
1873 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1874 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1875 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1876 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1877 posix_fadvise64, posix_fallocate64.
1878
9fddec1a
AJ
1879 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1880 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1881 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1882 Likewise.
1883 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1884 Likewise.
1885 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1886
1887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1888 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1889 <bits/fcntl-linux.h>.
1890 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1891
1892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1893 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1894 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1895 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1896 [__WORDSIZE != 64]: Likewise.
1897
ebfd1bbd
JM
18982012-10-23 Joseph Myers <joseph@codesourcery.com>
1899
03ac099f
JM
1900 * Makeconfig (run-built-tests): New variable.
1901 * Rules [$(cross-compiling) = yes]: Change condition to
1902 [$(run-built-tests) = no].
1903 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1904 to [$(run-built-tests) = yes].
1905 * elf/Makefile [$(cross-compiling) = no]: Likewise
1906 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1907 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1908 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1909 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1910 * io/Makefile [$(cross-compiling) = no]: Likewise.
1911 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1912 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1913 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1914 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1915 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1916 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1917 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1918 * string/Makefile [$(cross-compiling) = no]: Likewise.
1919
ebfd1bbd
JM
1920 * posix/Makefile ($(objpfx)globtest.out): Pass
1921 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1922 $(rtld-installed-name).
1923 * posix/globtest.sh (elf_objpfx): Remove variable.
1924 (rtld_installed_name): Likewise.
1925 (library_path): Likewise.
1926 (run_program_prefix): New variable. Use for running globtest
1927 binary.
1928
166bca24
JB
19292012-10-23 Jim Blandy <jimb@codesourcery.com>
1930 Joseph Myers <joseph@codesourcery.com>
1931
1932 * Makeconfig (host-built-program-cmd): New variable.
1933 * elf/Makefile (tst-stackguard1-ARGS): Use
1934 $(host-built-program-cmd).
1935 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1936 (tst-spawn-ARGS): Likewise.
1937 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1938
88866099
JM
19392012-10-23 Joseph Myers <joseph@codesourcery.com>
1940 Jim Blandy <jimb@codesourcery.com>
1941
1942 * Makeconfig (run-via-rtld-prefix): New variable.
1943 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1944 (built-program-cmd): Likewise.
1945
b4b4c296
AJ
19462012-10-22 Andreas Jaeger <aj@suse.de>
1947
1948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1949 __O_RSYNC if it exists, otherwise to O_SYNC.
1950
6fb54a22
JB
19512012-10-22 Jim Blandy <jimb@codesourcery.com>
1952 Joseph Myers <joseph@codesourcery.com>
1953
1954 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1955 /dev/null.
1956 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1957 from /dev/null
1958 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1959 /dev/null.
1960
481b90b9
AJ
19612012-10-22 Andreas Jaeger <aj@suse.de>
1962
2a0e2669
AJ
1963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1964 Define always.
1965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1966
76e38f9a
AJ
1967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1968 bits/fcntl-linux.h.
1969
7cd37b43
AJ
1970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1971 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1972
481b90b9
AJ
1973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1974 to __O_LARGEFILE.
1975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1976 to __O_LARGEFILE.
1977
aba75984
JB
19782012-10-21 Jim Blandy <jimb@codesourcery.com>
1979 Joseph Myers <joseph@codesourcery.com>
1980
1981 * config.make.in (NM): New variable.
1982
88d4247f
AJ
19832012-10-21 Andreas Jaeger <aj@suse.de>
1984
1985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1986 definitions and declarations that are provided by
1987 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1988
f2eed205
L
19892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 [BZ #14683]
1992 * elf/Makefile (tests-static): Add tst-leaks1-static.
1993 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1994 ($(objpfx)tst-leaks1-static): New rule.
1995 ($(objpfx)tst-leaks1-static-mem): Likewise.
1996 (tst-leaks1-static-ENV): New macro.
1997 * elf/dl-open.c (dl_open_worker): Check the main application
1998 only if SHARED is defined.
1999 * elf/tst-leaks1-static.c: New file.
2000
335e6931
AJ
20012012-10-20 Andreas Jaeger <aj@suse.de>
2002
2003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2004 generic values for Linux.
2005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2006 and declarations that are provided by <bits/fcntl-linux.h> and
2007 include <bits/fcntl-linux.h>.
2008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2010
ac5c94d3
RM
20112012-10-20 Roland McGrath <roland@hack.frob.com>
2012
2013 * io/fcntl.h: Move include of <bits/types.h> to the top and
2014 include it unconditionally.
2015
de54b33a
L
20162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2017
228cfb01
L
2018 * wcsmbs/Makefile (tests-ifunc): New variable.
2019 (tests): Add $(tests-ifunc).
2020 * wcsmbs/test-wcschr-ifunc.c: New file.
2021 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2022 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2023 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2024 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2025 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2026
69f07e5f
L
2027 * string/Makefile (tests-ifunc): New variable.
2028 (tests): Add $(tests-ifunc).
2029 * string/test-memccpy.c (TEST_NAME): New macro.
2030 * string/test-memchr.c (TEST_NAME): Likewise.
2031 * string/test-memcmp.c (TEST_NAME): Likewise.
2032 * string/test-memcpy.c (TEST_NAME): Likewise.
2033 * string/test-memmem.c (TEST_NAME): Likewise.
2034 * string/test-memmove.c (TEST_NAME): Likewise.
2035 * string/test-memset.c (TEST_NAME): Likewise.
2036 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2037 * string/test-stpcpy.c (TEST_NAME): Likewise.
2038 * string/test-stpncpy.c (TEST_NAME): Likewise.
2039 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2040 * string/test-strcasestr.c (TEST_NAME): Likewise.
2041 * string/test-strcat.c (TEST_NAME): Likewise.
2042 * string/test-strchr.c (TEST_NAME): Likewise.
2043 * string/test-strcmp.c(TEST_NAME): Likewise.
2044 * string/test-strcpy.c (TEST_NAME): Likewise.
2045 * string/test-strcspn.c (TEST_NAME): Likewise.
2046 * string/test-strlen.c (TEST_NAME): Likewise.
2047 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2048 * string/test-strncmp.c (TEST_NAME): Likewise.
2049 * string/test-strncpy.c (TEST_NAME): Likewise.
2050 * string/test-strnlen.c (TEST_NAME): Likewise.
2051 * string/test-strpbrk.c (TEST_NAME): Likewise.
2052 * string/test-strrchr.c (TEST_NAME): Likewise.
2053 * string/test-strspn.c (TEST_NAME): Likewise.
2054 * string/test-strstr.c (TEST_NAME): Likewise.
2055 * string/test-bcopy-ifunc.c: New file.
2056 * string/test-bzero-ifunc.c: Likewise.
2057 * string/test-memccpy-ifunc.c: Likewise.
2058 * string/test-memchr-ifunc.c: Likewise.
2059 * string/test-memcmp-ifunc.c: Likewise.
2060 * string/test-memcpy-ifunc.c: Likewise.
2061 * string/test-memmem-ifunc.c: Likewise.
2062 * string/test-memmove-ifunc.c: Likewise.
2063 * string/test-mempcpy-ifunc.c: Likewise.
2064 * string/test-memset-ifunc.c: Likewise.
2065 * string/test-rawmemchr-ifunc.c: Likewise.
2066 * string/test-stpcpy-ifunc.c: Likewise.
2067 * string/test-stpncpy-ifunc.c: Likewise.
2068 * string/test-strcasecmp-ifunc.c: Likewise.
2069 * string/test-strcasestr-ifunc.c: Likewise.
2070 * string/test-strcat-ifunc.c: Likewise.
2071 * string/test-strchr-ifunc.c: Likewise.
2072 * string/test-strchrnul-ifunc.c: Likewise.
2073 * string/test-strcmp-ifunc.c: Likewise.
2074 * string/test-strcpy-ifunc.c: Likewise.
2075 * string/test-strcspn-ifunc.c: Likewise.
2076 * string/test-strlen-ifunc.c: Likewise.
2077 * string/test-strncasecmp-ifunc.c: Likewise.
2078 * string/test-strncat-ifunc.c: Likewise.
2079 * string/test-strncmp-ifunc.c: Likewise.
2080 * string/test-strncpy-ifunc.c: Likewise.
2081 * string/test-strnlen-ifunc.c: Likewise.
2082 * string/test-strpbrk-ifunc.c: Likewise.
2083 * string/test-strrchr-ifunc.c: Likewise.
2084 * string/test-strspn-ifunc.c: Likewise.
2085 * string/test-strstr-ifunc.c: Likewise.
2086
de54b33a
L
2087 * debug/Makefile (tests-ifunc): New variable.
2088 (tests): Add $(tests-ifunc).
2089 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2090 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2091 * debug/test-stpcpy_chk-ifunc.c: New file.
2092 * debug/test-strcpy_chk-ifunc.c: Likewise.
2093
88481c16
SP
20942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2095
2096 [BZ #13601]
2097 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2098 header is not read in.
2099
135948bd
JM
21002012-10-19 Joseph Myers <joseph@codesourcery.com>
2101
89f1c388
JM
2102 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2103 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2104 directly. Pass built executable to script as
2105 $(built-program-cmd).
2106 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2107 $testprogram without using LD_LIBRARY_PATH and $ldso.
2108
e40a0d21
JM
2109 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2110 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2111 $(rtld-installed-name).
2112 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2113 (rtld_installed_name): Likewise.
2114 (library_path): Likewise.
2115 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2116 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2117 $(run-program-prefix) to tst-tables.sh.
2118 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2119 it to run tst-table-from and tst-table-to.
2120 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2121 Pass it to tst-table.sh.
2122 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2123 $(run-program-prefix) to tst-gettext.sh.
2124 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2125 tst-translit.sh.
2126 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2127 tst-gettext2.sh.
2128 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2129 to run tst-gettext.
2130 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2131 to run tst-gettext2.
2132 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2133 to run tst-translit.
2134 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2135 $(run-program-prefix) to tst-mtrace.sh.
2136 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2137 to run tst-mtrace.
2138 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2139 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2140 $(rtld-installed-name).
2141 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2142 (rtld_installed_name): Likewise.
2143 (run_program_prefix): New variable. Use it to run wordexp-test.
2144
728e272a
JM
2145 * Makeconfig (ARCH): Remove all definitions.
2146 (machine): Likewise.
2147 [ARCH]: Remove conditional code.
2148 [!objdir]: Give error.
2149 [!objdir] (objpfx): Remove.
2150 [!objdir] (common-objpfx): Likewise.
2151 [!objdir] (common-objdir): Likewise.
2152 * configure.in (config_makefile): Remove. Hardcode Makefile in
2153 AC_CONFIG_FILES call.
2154 * configure: Regenerated.
2155
d528cdcf
JM
2156 [BZ #13888]
2157 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2158 or TMPDIR.
2159 (testout): Likewise.
2160
135948bd
JM
2161 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2162 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2163 $(rtld-installed-name).
2164 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2165 (rtld_installed_name): Likwise.
2166 (runit): Remove function.
2167 (run_getconf): New variable, Use it for running getconf binary.
2168
38c78296
L
21692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2170
2171 [BZ #14716]
2172 * string/test-memmem.c (check_result): New function.
2173 (do_one_test): Use it.
2174 (check1): New function.
2175 (test_main): Use it.
2176
d077f65f
MT
21772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2178
2179 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2180
ced52c71
JM
21812012-10-18 Joseph Myers <joseph@codesourcery.com>
2182
2183 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2184 (_G_LSEEK64): Likewise.
2185 (_G_MMAP64): Likewise.
2186 (_G_FSTAT64): Likewise.
2187 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2188 (_G_LSEEK64): Likewise.
2189 (_G_MMAP64): Likewise.
2190 (_G_FSTAT64): Likewise.
2191 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2192 unconditional. Call __mmap64 directly.
2193 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2194 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2195 __lseek64 directly.
2196 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2197 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2198 __mmap64 directly.
2199 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2200 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2201 __lseek64 directly.
2202 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2203 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2204 __lseek64 directly.
2205 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2206 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2207 __lseek64 directly.
2208 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2209 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2210 __fxstat64 directly.
2211 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2212 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2213 unconditional.
2214 (freopen64) [!_G_OPEN64]: Remove conditional code.
2215 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2216 unconditional.
2217 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2218 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2219 unconditional.
2220 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2221 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2222 unconditional.
2223 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2224 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2225 unconditional.
2226 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2227 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2228 unconditional.
2229 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2230 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2231 unconditional.
2232 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2233 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2234 unconditional.
2235 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2236
b741de23
SP
22372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2238
2239 [BZ #12140]
2240 * manual/memory.texi (Malloc Tunable Parameters): Add note
2241 about free list pointers overwriting some perturb bytes.
2242 Wording suggested by Roland McGrath.
2243
f9b9d9c9
JM
22442012-10-17 Joseph Myers <joseph@codesourcery.com>
2245
2246 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2247 (lgamma_test): Likewise.
2248 (tgamma_test): Likewise.
2249
172a631a
FW
22502012-10-16 Florian Weimer <fweimer@redhat.com>
2251
2252 [BZ #14700]
2253 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2254 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2255
e9f37252
MK
22562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2257
2258 * NEWS: Mention BZ #14716.
2259 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2260 when removing AVAILABLE1_USES_J macro.
2261
d394eb74
L
22622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2265 (__bswap_64): __uint64_t for unsigned 64-bit int.
2266
ca38dc17
AS
22672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2268
2269 * include/string.h (memmem): Declare libc hidden alias.
2270 * string/memmem.c (memmem): Define libc hidden alias.
2271 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2272 __read, __close instead of open, read, close.
2273
9a387d1f
L
22742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2275
ac49ecaf
L
2276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2277 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2278 global and hidden.
2279 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2280 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2281 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2282 Likewise.
2283 (__rawmemchr_sse2): Likewise.
2284 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2285 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2286 (__strchr_sse2): Likewise.
2287 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2288 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2289 (__strcasecmp_sse2): Likewise.
2290 (__strncasecmp_sse2): Likewise.
2291 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2292 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2293 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2294 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2295 (__strrchr_sse2): Likewise.
2296 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2297 ifunc-impl-list.c.
2298 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2300 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2302 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2303 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2306 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2307 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2308 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2309 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2310 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2311 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2312 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2313 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2314 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2315 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2316 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2317 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2318 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2319 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2320 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2321 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2322 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2323 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2324 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2325 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2326 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2327 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2328
b090e8ea
L
2329 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2330 global and hidden.
2331 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2332 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2333 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2334 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2335 Likewise.
2336 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2337 Likewise.
2338 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2339 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2340 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2341 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2342 ifunc-impl-list.c.
2343 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2344 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2345 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2356 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2359 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2360 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2362 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2368 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2369 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2370 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2371 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2373 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2376 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2377 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2378 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2379 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2380 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2382 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2383 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2384
11dd4af6
L
2385 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2386 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2387 * include/ifunc-impl-list.h: New file.
2388 * misc/ifunc-impl-list.c: Likewise.
2389 * misc/Makefile (routines): Add ifunc-impl-list.
2390 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2391 * string/test-string.h: Include <ifunc-impl-list.h>.
2392 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2393 impl_array): New variables.
2394 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2395 are defined.
2396 (test_init): Call __libc_ifunc_impl_list to initialize
2397 func_list if TEST_IFUNC and TEST_NAME are defined.
2398
9a387d1f
L
2399 * string/Makefile (strop-tests): Add bcopy and bzero.
2400 * string/test-bcopy.c: New file.
2401 * string/test-bzero.c: Likewise.
2402 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2403 defined.
2404 * string/test-memset.c: Support bzero test if TEST_BZERO is
2405 defined.
2406 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2407 __libc_memmove.
2408 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2409 __libc_memset.
2410 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2411 of memset.
2412
472371b9
JM
24132012-10-10 Joseph Myers <joseph@codesourcery.com>
2414
1e4a9536
JM
2415 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2416 * configure: Regenerated.
2417
d173d12e
JM
2418 * Makeconfig (+link-static-before-libc): Don't include
2419 $(link-static-libc).
2420
472371b9
JM
2421 * libio/libio.h (_IO_pos_t): Remove.
2422
89a3ad0b
AO
24232012-10-10 Alexandre Oliva <aoliva@redhat.com>
2424
2425 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2426 McGrath.
2427
e7451425
AO
24282012-10-10 Alexandre Oliva <aoliva@redhat.com>
2429
2430 * crypt/crypt-entry.c: Include fips-private.h.
2431 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2432 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2433 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2434 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2435
4ba74a35
AO
24362012-10-10 Alexandre Oliva <aoliva@redhat.com>
2437
2438 * crypt/crypt-private.h: Include stdbool.h.
2439 (_ufc_setup_salt_r): Return bool.
2440 * crypt/crypt-entry.c: Include errno.h.
2441 (__crypt_r): Return NULL with EINVAL for bad salt.
2442 * crypt/crypt_util.c (bad_for_salt): New.
2443 (_ufc_setup_salt_r): Check that salt is long enough and within
2444 the specified alphabet.
2445 * crypt/badsalttest.c: New file.
2446 * crypt/Makefile (tests): Add it.
2447 ($(objpfx)badsalttest): New.
2448
f96f1242
MK
24492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2450
2451 * NEWS: Add entry for BZ #14602.
2452
0e8e0c1c
JM
24532012-10-09 Joseph Myers <joseph@codesourcery.com>
2454
2455 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2456 type-generic.
2457 * math/libm-test.inc: Update comment listing what functions and
2458 macros are tested.
2459 (isgreater_test): New function.
2460 (isgreaterequal_test): Likewise.
2461 (isless_test): Likewise.
2462 (islessequal_test): Likewise.
2463 (islessgreater_test): Likewise.
2464 (isunordered_test): Likewise.
2465 (main): Call the new functions.
2466
273edc5e
RM
24672012-10-09 Roland McGrath <roland@hack.frob.com>
2468
b8493de0
RM
2469 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2470 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2471 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2472 * sysdeps/i386/configure: Regenerated.
2473 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2474 * sysdeps/mach/configure: Regenerated.
2475 * sysdeps/mach/hurd/configure: Regenerated.
2476 * sysdeps/powerpc/configure: Regenerated.
2477 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2478 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2479 * sysdeps/s390/s390-32/configure: Regenerated.
2480 * sysdeps/s390/s390-64/configure: Regenerated.
2481 * sysdeps/sh/configure: Regenerated.
2482 * sysdeps/sparc/configure: Regenerated.
2483 * sysdeps/unix/sysv/linux/configure: Regenerated.
2484 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2485 * sysdeps/x86_64/configure: Regenerated.
2486
273edc5e
RM
2487 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2488 defined. Don't check if MAP is NULL.
2489
c8450f70
JM
24902012-10-09 Joseph Myers <joseph@codesourcery.com>
2491
2492 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2493 (_G_stat64): Likewise.
2494 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2495 (_G_stat64): Likewise.
2496 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2497 instead of struct _G_stat64.
2498 * libio/fileops.c (mmap_remap_check): Likewise.
2499 (decide_maybe_mmap): Likewise.
2500 (_IO_new_file_seekoff): Likewise.
2501 (_IO_file_stat): Likewise.
2502 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2503 _G_off64_t.
2504 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2505 instead of struct _G_stat64.
2506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2507
57e605ba
MK
25082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2509
2510 [BZ #14602]
2511 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2512 Replace with ...
2513 (CHECK_EOL): New macro.
2514 (two_way_short_needle): Check beginning of haystack for EOL. Use
2515 CHECK_EOL.
2516 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2517 Replace with CHECK_EOL.
2518 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2519 Replace with CHECK_EOL.
2520
ef1bb361
JM
25212012-10-08 Joseph Myers <joseph@codesourcery.com>
2522
2523 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2524 type-generic.
2525 * math/libm-test.inc: Update comment listing what functions and
2526 macros are tested.
2527 (finite_test): New function.
2528 (isinf_test): Likewise.
2529 (isnan_test): Likewise.
2530 (fpclassify_test): Test subnormal input.
2531 (isfinite_test): Likewise.
2532 (isnormal_test): Likewise.
2533 (main): Call the new functions.
2534
55f11534
JN
25352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2536
2537 [BZ #14660]
2538 * Makerules (%.dynsym): Force C locale when running
2539 $(OBJDUMP) --dynamic-syms.
2540
1ab29350
AS
25412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2542
2543 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2544 <stdint.h>.
2545
f1ecb7ef
DM
25462012-10-06 David S. Miller <davem@davemloft.net>
2547
2548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2549 upper 32-bits of the length value in %o2 since we use branch-on-register
2550 tests which consider the entire 64-bit register.
2551
5d41d91a
L
25522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2553
2554 * string/test-strstr.c (check2): Add a test for page boundary.
2555
3baddb72
DM
25562012-10-05 David S. Miller <davem@davemloft.net>
2557
2558 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2560 file.
2561 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2562 sysdep_routines.
2563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2564 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2565 and bzero when HWCAP_SPARC_CRYPTO is present.
2566
9cee5585
L
25672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2568
d7e0dab9
L
2569 [BZ #14602]
2570 * string/test-strstr.c (check2): New function.
2571 (test_main): Call check2.
2572
03759f47
L
2573 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2574 and bug-strchr1.
2575 * string/bug-strcasestr1.c (do_test): Moved to ...
2576 * string/test-strcasestr.c (check1): Here. New function.
2577 (do_one_test): Break out result checking code into ...
2578 (check_result): This. New function.
2579 (do_one_test): Call check_result.
2580 (test_main): Call check1.
2581 * string/bug-strchr1.c (do_test): Moved to ...
2582 * string/test-strchr.c (check1): Here. New function.
2583 (do_one_test): Break out result checking code into ...
2584 (check_result): This. New function.
2585 (do_one_test): Call check_result.
2586 (test_main): Call check1.
2587 * string/bug-strstr1.c (main): Moved to ...
2588 * string/test-strchr.c (check1): Here. New function.
2589 (do_one_test): Break out result checking code into ...
2590 (check_result): This. New function.
2591 (do_one_test): Call check_result.
2592 (test_main): Call check1.
2593 * string/bug-strcasestr1.c: Removed.
2594 * string/bug-strchr1.c: Likewise.
2595 * string/bug-strstr1.c: Likewise.
2596
53cea63e
L
2597 * elf/Makefile (dl-routines): Add hwcaps.
2598 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2599 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2600 (_dl_important_hwcaps): Moved to ...
2601 * elf/dl-hwcaps.c: Here. New file.
2602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2603
9cee5585 2604 [BZ #14557]
bb859b06
L
2605 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2606 if IS_IN_rtld isn't defined.
2607
9cee5585
L
2608 * elf/dl-support.c (_dl_sysinfo_map): New.
2609 Include "get-dynamic-info.h" and "setup-vdso.h".
2610 (_dl_non_dynamic_init): Call setup_vdso.
2611 * elf/dynamic-link.h: Don't include <assert.h>.
2612 (elf_get_dynamic_info): Moved to ...
2613 * elf/get-dynamic-info.h: Here. New file.
2614 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2615 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2616 * elf/setup-vdso.h: Here. New file.
2617 * elf/rtld.c: Include "setup-vdso.h".
2618 (dl_main): Call setup_vdso.
2619
23c31b76
JM
26202012-10-05 Joseph Myers <joseph@codesourcery.com>
2621
28234b07
JM
2622 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2623 creal in comment listing functions tested. List finite, isinf,
2624 isnan, isless, islessequal, isgreater, isgreaterequal,
2625 islessgreater, isunordered, lgamma_r and pow10 as functions and
2626 macros not tested. Mention which functions not tested are aliases
2627 for other functions. Fix typo. Note that signs of NaNs are not
2628 tested.
2629
23c31b76
JM
2630 * scripts/config.guess: Update from config.git.
2631 * scripts/config.sub: Likewise.
2632
9043e228
RM
26332012-10-04 Roland McGrath <roland@hack.frob.com>
2634
2635 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2636 * misc/madvise.c (madvise): Renamed to __madvise.
2637 Make madvise a weak alias.
2638 * include/sys/mman.h: Declare __madvise.
2639 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2640 * sysdeps/unix/syscalls.list
2641 (madvise): Make __madvise the strong name, and madvise a weak alias.
2642 * sysdeps/unix/sysv/linux/syscalls.list
2643 (madvise, mmap): Remove redundant entries.
2644 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2645 * malloc/malloc.c (mtrim): Likewise.
2646 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2647
f57f8055
RM
26482012-10-03 Roland McGrath <roland@hack.frob.com>
2649
2650 * sysdeps/mach/hurd/dl-cache.c: File removed.
2651 * config.h.in (USE_LDCONFIG): New #undef.
2652 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2653 * configure: Regenerated.
2654 * elf/Makefile (dl-routines): Add dl-cache only under
2655 [$(use-ldconfig) = yes].
2656 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2657 cache on [USE_LDCONFIG].
2658 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2659 [USE_LDCONFIG].
2660 * elf/rtld.c (dl_main): Likewise.
2661
5bb0c10a
PT
26622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2663
2664 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2665 _SC_LEVEL4_CACHE_LINESIZE.
2666
010188c6
RM
26672012-10-03 Roland McGrath <roland@hack.frob.com>
2668
2669 * sysdeps/unix/bsd/confstr.h: File removed.
2670
b6c5ec07
AO
26712012-10-02 Alexandre Oliva <aoliva@redhat.com>
2672
2673 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2674 sys/sdt-config.h.
2675
408223d4
RM
26762012-10-02 Roland McGrath <roland@hack.frob.com>
2677
2678 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2679 Make 'mapoff' field ElfW(Off) rather than off_t.
2680
bb9510dc
DL
26812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2682
fc997c6e
DL
2683 * nscd/Makefile: Remove nscd-cflags and all its users.
2684 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2685 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2686
bb9510dc
DL
2687 [BZ #10631]
2688 * malloc.c (malloc_printerr): Clarify error message.
2689
05699367
L
26902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2691
2692 [BZ #14648]
2693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2694 Set bit_FMA_Usable if FMA is supported.
2695 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2696 macro.
2697 (bit_FMA4_Usable): Updated.
2698 (index_FMA_Usable): New macro.
2699 (CPUID_FMA): Likewise
2700 (HAS_FMA): Defined with bit_FMA_Usable.
2701
51367701
RM
27022012-10-01 Roland McGrath <roland@hack.frob.com>
2703
2704 * bits/types.h (__swblk_t): Type removed.
2705 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2706 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2708 (__SWBLK_T_TYPE): Likewise.
2709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2710 (__SWBLK_T_TYPE): Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2712 (__SWBLK_T_TYPE): Likewise.
2713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2714 (__SWBLK_T_TYPE): Likewise.
2715
4d57bf63 27162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2717 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2718
2719 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2720 (xdr_mapname): Use YPMAXMAP as maxsize.
2721 (xdr_peername): Use YPMAXPEER as maxsize.
2722 (xdr_keydat): Use YPAXRECORD as maxsize.
2723 (xdr_valdat): Use YPMAXRECORD as maxsize.
2724
93c65d43
RM
27252012-10-01 Roland McGrath <roland@hack.frob.com>
2726
497a03d6
RM
2727 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2728
93c65d43
RM
2729 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2730 * csu/init-first.c: ... here.
2731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2732 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2734 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2735 * sysdeps/i386/init-first.c: File removed.
2736 * sysdeps/sh/init-first.c: File removed.
2737
bec749fd
JM
27382012-10-01 Joseph Myers <joseph@codesourcery.com>
2739
2740 [BZ #14645]
2741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2742 if x * y might underflow to zero and z is zero.
2743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2745 * math/libm-test.inc (min_subnorm_value): New variable.
2746 (fma_test): Add more tests.
2747 (fma_test_towardzero): Likewise.
2748 (fma_test_downward): Likewise
2749 (fma_test_upward): Likewise.
2750 (initialize): Set min_subnorm_value.
2751
8ec5b013
JM
27522012-09-29 Joseph Myers <joseph@codesourcery.com>
2753
2754 [BZ #14638]
2755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2756 0 + 0.
2757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2758 mode for addition resulting in exact zero.
2759 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2761 exact 0 + 0.
2762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2764 * math/libm-test.inc (fma_test): Add more tests.
2765 (fma_test_towardzero): New function.
2766 (fma_test_downward): Likewise.
2767 (fma_test_upward): Likewise.
2768 (main): Call the new functions.
2769
b1fa802e
DM
27702012-09-28 David S. Miller <davem@davemloft.net>
2771
2772 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2773
d3b9fd9e
RM
27742012-09-28 Roland McGrath <roland@hack.frob.com>
2775
ea4d37b3
RM
2776 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2777 instead of SIGALRM.
2778
ac51c949
RM
2779 * sysdeps/gnu/_G_config.h: Moved to ...
2780 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2781 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2782 * sysdeps/generic/_G_config.h: ... here.
2783
28c195f7
RM
2784 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2785
848917f9
RM
2786 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2787
6bacf05b
RM
2788 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2789 Conditionalize target on [libnss_test1.so-version].
2790
91363dbb
RM
2791 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2792
cc87f7d8
RM
2793 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2794 (elfobjdir): Move out of conditionals.
2795
b1c608fe
RM
2796 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2797 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2798 (__nss_lookup_function): Conditionalize label remove_from_tree on
2799 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2800
1d9a6d96
DM
28012012-09-28 David S. Miller <davem@davemloft.net>
2802
2803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2804 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2805 file.
2806 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2807 sysdep_routines.
2808 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2810 when HWCAP_SPARC_CRYPTO is present.
2811
72581615
PT
28122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2813
2814 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2815
715a900c
JL
28162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2817
2818 [BZ #6530]
2819 * stdio-common/vfprintf.c (process_string_arg): Revert
2820 2000-07-22 change.
2821
28222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2823
2824 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2825 for testcase.
2826 * stdio-common/tst-sprintf.c: Include <locale.h>
2827 (main): Test sprintf's handling of incomplete multibyte
2828 characters.
2829
9bac1d86
L
28302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * elf/dl-runtime.c (VERSYMIDX): Removed.
2833 * elf/dl-version.c (VERSYMIDX): Likewise.
2834 * elf/do-rel.h (VERSYMIDX): Likewise.
2835 (VALIDX): Likewise.
2836 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2837 * elf/rtld.c (VALIDX): Likewise.
2838 (ADDRIDX): Likewise.
9bac1d86
L
2839 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2840 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2841 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2842 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2843 (VALIDX): Likewise.
2844 (ADDRIDX): Likewise.
9bac1d86 2845
b31606c0
PT
28462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2847
2848 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2849
11541177
JL
28502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2851
2852 [BZ #11438]
2853 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2854 to global scope.
2855 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2856 addresses are in the same scope as 192.0.2/24.
2857 * posix/gai.conf: Document new scope table defaults.
2858
adb26fae
SP
28592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2860
2861 [BZ #5298]
2862 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2863 for ftell. Compute offsets from write pointers instead.
2864 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2865
4573c6b0
SP
28662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2867
2868 [BZ #14543]
2869 * libio/Makefile (tests): New test case tst-fseek.
2870 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2871 combination works in wide mode.
2872 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2873 state when the external buffer state changes.
2874
aa9bbfe6
DM
28752012-09-27 David S. Miller <davem@davemloft.net>
2876
2877 [BZ #14376]
2878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2879 pass reloc->r_addend in as the 'high' argument to
2880 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2881
784421e7
DM
2882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2883
c39bc8b8
PT
28842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2885
2886 * rt/tst-aio2.c: Include <pthread.h>.
2887 * rt/tst-aio3.c: Likewise.
2888
1ccc2399
SE
28892012-09-27 Steve Ellcey <sellcey@mips.com>
2890
2891 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2892
31ed4153
L
28932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2894
25f5f885
L
2895 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2896 contents on [SHARED].
31ed4153 2897
b7bfe116
MP
28982012-09-26 Marek Polacek <polacek@redhat.com>
2899
2900 [BZ #14530]
2901 [BZ #13741]
2902 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2903 for C++ and GCC <4.3 as well as for non GCC compilers.
2904
43c4edba
MT
29052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2906
2907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2908
6a1bf82f
RM
29092012-09-25 Roland McGrath <roland@hack.frob.com>
2910
2911 * Makefile.in (all, install): Declare with .PHONY.
2912 Reported by Michael Hope <michael.hope@linaro.org>.
2913
8ad11b9a
TMQMF
29142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2915
2916 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2917 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2918 system header.
2919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2920 Likewise.
2921 (sydep_routines): Add the new and the internal functions.
2922 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2923 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2925 (GLIBC_2.17): Add the new function.
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2927 (GLIBC_2.17): Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2929 (GLIBC_2.17): Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2931 (GLIBC_2.17): Likewise.
2932 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2933
7e2fca8d
AM
29342012-09-25 Alan Modra <amodra@gmail.com>
2935
2936 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2937 Add release barrier before setting once_control to say
2938 initialisation is done. Add hints on lwarx. Use macro in
2939 place of isync.
2940 (clear_once_control): Add release barrier.
2941
b87c4b24
JM
29422012-09-25 Joseph Myers <joseph@codesourcery.com>
2943
d032e0d2
JM
2944 [BZ #13629]
2945 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2946 specially.
2947 * math/s_clog10.c (__clog10): Likewise.
2948 * math/s_clog10f.c (__clog10f): Likewise.
2949 * math/s_clog10l.c (__clog10l): Likewise.
2950 * math/s_clogf.c (__clogf): Likewise.
2951 * math/s_clogl.c (__clogl): Likewise.
2952 * math/Makefile (libm-calls): Add x2y2m1.
2953 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2954 (__x2y2m1): Likewise.
2955 (__x2y2m1l): Likewise.
2956 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2957 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2958 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2960 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2961 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2962 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2963 * sysdeps/i386/fpu/libm-test-ulps: Update.
2964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2965
b87c4b24
JM
2966 [BZ #14621]
2967 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2968 int as type of variable DEPTH.
2969 (glob): Use size_t instead of int as type of variables NEWCOUNT
2970 and OLD_PATHC.
2971
6d3bf199
LD
29722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2973
22bf5c17
LD
2974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2975 Add s_sincosf-sse2.
2976 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2977 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2978 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2979 macros for using routine as __sincosf_ia32.
2980 Use macro for function declaration and weak_alias.
2981 * sysdeps/i386/fpu/libm-test-ulps: Update.
2982
2983 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2985
2986 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2987 subnormal argument.
2988 * math/s_cexpf.c (__cexpf): Likewise.
2989 * math/s_csinf.c (__csinf): Likewise.
2990 * math/s_csinhf.c (__csinhf): Likewise.
2991 * math/s_ctanf.c (__ctanf): Likewise.
2992 * math/s_ctanhf.c (__ctanhf): Likewise.
2993 * math/s_ccosh.c (__ccoshf): Likewise.
2994 * math/s_cexp.c (__cexpl): Likewise.
2995 * math/s_csin.c (__csin): Likewise.
2996 * math/s_csinh.c (__csinh): Likewise.
2997 * math/s_ctan.c (__ctan): Likewise.
2998 * math/s_ctanh.c (ctanh): Likewise.
2999 * math/s_ccoshl.c (__ccoshl): Likewise.
3000 * math/s_cexpl.c (__cexpl): Likewise.
3001 * math/s_csinl.c (__csinl): Likewise.
3002 * math/s_csinhl.c (__csinhl): Likewise.
3003 * math/s_ctanl.c (__ctanl): Likewise.
3004 * math/s_ctanhl.c (__ctanhl): Likewise.
3005
203e5603
JM
30062012-09-25 Joseph Myers <joseph@codesourcery.com>
3007
3008 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3009 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3010 (_IO_off_t): Define to __off_t, not _G_off_t.
3011 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3012 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3013 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3014 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3015 type of __dummy and __dummy2 fields.
3016 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3017 (_G_ssize_t): Likewise.
3018 (_G_off_t): Likewise.
3019 (_G_pid_t): Likewise.
3020 (_G_uid_t): Likewise.
3021 (_G_wchar_t): Likewise.
3022 (_G_wint_t): Likewise.
3023 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3024 (_G_ssize_t): Likewise.
3025 (_G_off_t): Likewise.
3026 (_G_pid_t): Likewise.
3027 (_G_uid_t): Likewise.
3028 (_G_wchar_t): Likewise.
3029 (_G_wint_t): Likewise.
3030 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3031 (_G_ssize_t): Likewise.
3032 (_G_off_t): Likewise.
3033 (_G_pid_t): Likewise.
3034 (_G_uid_t): Likewise.
3035 (_G_wchar_t): Likewise.
3036 (_G_wint_t): Likewise.
3037
9fab36eb
SP
30382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3039
3040 * malloc/arena.c: Include malloc-sysdep.h.
3041 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3042 is sufficient to shrink the heap or an unmap is needed.
3043 * sysdeps/generic/malloc-sysdep.h: New file. Define
3044 new function check_may_shrink_heap.
3045 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3046 new function check_may_shrink_heap.
3047
2b4f00d1
SP
30482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3049
3050 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3051 comments.
3052
9a9028b1
DL
30532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3054
57c69bef
DL
3055 * catgets/test-gencat.sh: Add "set -e".
3056 * elf/tst-pathopt.sh: Likewise.
3057 * grp/tst_fgetgrent.sh: Likewise.
3058 * iconvdata/run-iconv-test.sh: Likewise.
3059 * intl/tst-gettext.sh: Likewise.
3060 * intl/tst-gettext2.sh: Likewise.
3061 * intl/tst-gettext4.sh: Likewise.
3062 * intl/tst-gettext6.sh: Likewise.
3063 * intl/tst-translit.sh: Likewise.
3064 * io/ftwtest-sh: Likewise.
3065 * libio/test-freopen.sh: Likewise.
3066 * malloc/tst-mtrace.sh: Likewise.
3067 * posix/globtest.sh: Likewise.
3068 * posix/tst-getconf.sh: Likewise.
3069 * posix/wordexp-tst.sh: Likewise.
3070 * stdio-common/tst-printf.sh: Likewise.
3071 * stdio-common/tst-unbputc.sh: Likewise.
3072 * stdlib/tst-fmtmsg.sh: Likewise.
3073 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3074 * catgets/Makefile: Do not specify -e option when running
3075 testsuite shell scripts.
3076 * elf/Makefile: Likewise.
3077 * grp/Makefile: Likewise.
3078 * iconvdata/Makefile: Likewise.
3079 * intl/Makefile: Likewise.
3080 * io/Makefile: Likewise.
3081 * libio/Makefile: Likewise.
3082 * malloc/Makefile: Likewise.
3083 * posix/Makefile: Likewise.
3084 * stdio-common/Makefile: Likewise.
3085 * stdlib/Makefile: Likewise.
3086 * sysdeps/x86_64/Makefile: Likewise.
3087
9a9028b1
DL
3088 * io/ftwtest-sh: Add copyright header.
3089 * posix/globtest.sh: Likewise.
3090 * posix/tst-getconf.sh: Likewise.
3091 * posix/wordexp-tst.sh: Likewise.
3092 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3093
ced6f16e
L
30942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3095
94b32c39
L
3096 [BZ #13679]
3097 * Makeconfig (+link): Defined as $(+link-static) if
3098 $(build-shared) isn't yes.
3099 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3100 isn't yes.
3101 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3102
189e935b
L
3103 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3104
ced6f16e
L
3105 [BZ #14562]
3106 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3107 new chunk size with MALLOC_ALIGN_MASK.
3108
a9f8e53a
JM
31092012-09-24 Joseph Myers <joseph@codesourcery.com>
3110
3111 [BZ #5044]
3112 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3113 <rounding-mode.h>.
3114 (__printf_fphex): Determine rounding using get_rounding_mode and
3115 round_away.
3116 * stdio-common/tst-printf-round.c (struct hex_test): New
3117 structure.
3118 (hex_tests): New variable.
3119 (test_hex_in_one_mode): New function.
3120 (do_test): Also run tests for hex float output.
3121
43153109
JM
31222012-09-21 Joseph Myers <joseph@codesourcery.com>
3123
3124 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3125 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3126 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3127 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3128 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3129 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3130 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3131 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3132
8a26625d
JM
31332012-09-20 Joseph Myers <joseph@codesourcery.com>
3134
3135 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3136 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3137 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3138 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3139
f3fd569c
DL
31402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3141
3142 [BZ #14579]
3143 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3144 mode only.
3145 * elf/tst-rtld-load-self.sh: New test.
3146 * elf/Makefile: Run it.
3147
63bbedd4
JM
31482012-09-18 Joseph Myers <joseph@codesourcery.com>
3149
3150 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3151 (tst-writev-ENV): Remove.
3152 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3153
626f8b6a
CM
31542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3155
3156 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3157
b7aaa4d6
JM
31582012-09-17 Joseph Myers <joseph@codesourcery.com>
3159
3160 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3161 unconditional.
3162 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3163 Likewise.
3164 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3165 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3167 Likewise.
3168
65513990
L
31692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3170
3171 [BZ #14587]
3172 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3173 * config.make.in (have-cpp-asm-debuginfo): Removed.
3174 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3175 * configure: Regenerated.
3176
784761be
JM
31772012-09-14 Joseph Myers <joseph@codesourcery.com>
3178
3179 [BZ #5044]
3180 * stdio-common/printf_fp.c: Include <stdbool.h> and
3181 <rounding-mode.h>.
3182 (___printf_fp): Determine rounding using get_rounding_mode and
3183 round_away.
3184 * stdio-common/tst-printf-round.c: New file.
3185 * stdio-common/Makefile (tests): Add tst-printf-round.
3186 (link-libm): New variable.
3187 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3188
9503345f
L
31892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 [BZ #14576]
3192 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3193 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3194 Likewise.
3195 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3196 Likewise.
3197
ad35fc00
JM
31982012-09-13 Joseph Myers <joseph@codesourcery.com>
3199
3200 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3201 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3202 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3204
6c9b0f68
JM
32052012-09-12 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #14518]
3208 * include/rounding-mode.h: New file.
3209 * sysdeps/generic/get-rounding-mode.h: Likewise.
3210 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3211 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3212 (MAX_VALUE): New macro.
3213 (MIN_VALUE): Likewise.
3214 (overflow_value): New function.
3215 (underflow_value): Likewise.
3216 (round_and_return): Use overflow_value and underflow_value to
3217 determine return values in overflow and underflow cases. Use
3218 round_away to determine rounding depending on rounding mode.
3219 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3220 determine return values in overflow and underflow cases.
3221 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3222 (struct test_results): New structure.
3223 (struct test): Use struct test_results to store expected results
3224 for all rounding modes.
3225 (TEST): Include expected results for all rounding modes.
3226 (test_in_one_mode): New function.
3227 (do_test): Use test_in_one_mode to compute and check results.
3228 Check results for all rounding modes.
3229 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3230 $(link-libm).
3231
19fcedd5
AM
32322012-12-09 Allan McRae <allan@archlinux.org>
3233
1e9d84cd 3234 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3235
8bbfd2f1
JM
32362012-09-11 Joseph Myers <joseph@codesourcery.com>
3237
3238 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3239 (_G_int32_t): Likewise.
3240 (_G_uint16_t): Likewise.
3241 (_G_uint32_t): Likewise.
3242 (_G_HAVE_BOOL): Likewise.
3243 (_G_HAVE_ATEXIT): Likewise.
3244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3245 (_G_HAVE_IO_FILE_OPEN): Likewise.
3246 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3247 (_G_int32_t): Likewise.
3248 (_G_uint16_t): Likewise.
3249 (_G_uint32_t): Likewise.
3250 (_G_HAVE_BOOL): Likewise.
3251 (_G_HAVE_ATEXIT): Likewise.
3252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3253 (_G_HAVE_IO_FILE_OPEN): Likewise.
3254 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3255 (_G_int32_t): Likewise.
3256 (_G_uint16_t): Likewise.
3257 (_G_uint32_t): Likewise.
3258 (_G_HAVE_BOOL): Likewise.
3259 (_G_HAVE_ATEXIT): Likewise.
3260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3261 (_G_HAVE_IO_FILE_OPEN): Likewise.
3262
b1dc5912
L
32632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 * csu/libc-tls.c: Update copyright years.
3266
0e886ef9
JM
32672012-09-10 Joseph Myers <joseph@codesourcery.com>
3268
28361c5e
JM
3269 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3270 [!_G_USING_THUNKS]: Remove conditional code.
3271 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3272 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3273
0e886ef9
JM
3274 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3275 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3276 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3277 (_G_VTABLE_LABEL_PREFIX): Likewise.
3278 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3279 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3281 (_G_VTABLE_LABEL_PREFIX): Likewise.
3282 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3283 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3285 (_G_VTABLE_LABEL_PREFIX): Likewise.
3286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3287
bcba7aa2
L
32882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3289
3290 * libio/Makefile: Include ../Makeconfig before tests.
3291 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3292 only if $(build-shared) is yes.
3293
06585ee8
L
3294 * iconv/gconv_db.c: Update copyright years.
3295
80ccd52c
LD
32962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3297
3298 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3299 unwind info if defined PIC. Fix special cases description.
3300 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3301
3302 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3303 DP_HI_MASK entry.
3304 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3305
691bc9c1
L
33062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3307
3d9b46b3
L
3308 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3309
de2139a9
L
3310 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3311 is NULL.
3312
5ca78dd0
L
3313 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3314 (LDLIBS-tst-chk4): This.
3315 (LDFLAGS-tst-chk5): Renamed to ...
3316 (LDLIBS-tst-chk5): This.
3317 (LDFLAGS-tst-chk6): Renamed to ...
3318 (LDLIBS-tst-chk6): This.
3319 (LDFLAGS-tst-lfschk4): Renamed to ...
3320 (LDLIBS-tst-lfschk4): This.
3321 (LDFLAGS-tst-lfschk5): Renamed to ...
3322 (LDLIBS-tst-lfschk5): This.
3323 (LDFLAGS-tst-lfschk6): Renamed to ...
3324 (LDLIBS-tst-lfschk6): This.
3325
691bc9c1
L
3326 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3327 on $(common-objpfx)soversions.mk.
3328
65cafb1c
JM
33292012-09-07 Joseph Myers <joseph@codesourcery.com>
3330
3331 [BZ #10014]
3332 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3333 example host name.
3334
c78ab094
SP
33352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3336
3337 * malloc/arena.c (arena_get_retry): New function that gets
3338 another arena for the caller to try its request on.
3339 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3340 current arena cannot fulfill the request.
3341 (__libc_memalign): Likewise.
3342 (__libc_memalign): Likewise.
3343 (__libc_pvalloc): Likewise.
3344 (__libc_calloc): Likewise.
3345
01f49f59
JT
33462012-09-05 John Tobey <john.tobey@gmail.com>
3347
3348 [BZ #13542]
3349 * manual/arith.texi (Operations on Complex): Fix description
3350 of carg branch cut.
3351
4c23fed5
JM
33522012-09-06 Joseph Myers <joseph@codesourcery.com>
3353
1d3c8572
JM
3354 [BZ #10014]
3355 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3356 host name.
3357
4c23fed5
JM
3358 [BZ #10038]
3359 * manual/memory.texi (Memory): Make order of menu items match
3360 order of sections.
3361
04570aaa
L
33622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3363
3364 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3365 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3366 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3367
b80af2f4
L
33682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3369
3370 * csu/libc-tls.c (static_dtv): Renamed to ...
3371 (_dl_static_dtv): This. Make it global.
3372 (_dl_initial_dtv): Removed.
3373 (__libc_setup_tls): Updated.
3374 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3375 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3376 DL_INITIAL_DTV.
3377
2abe9f15
PM
33782012-09-06 Petr Machata <pmachata@redhat.com>
3379
3380 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3381 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3382 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3383 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3384
0948c3af
L
33852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 [BZ #14545]
3388 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3389 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3390 freeing dtv[-1].
3391
a5055ad1
L
33922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3393
3394 [BZ #14544]
3395 * Makeconfig (link-static-before-libc): Replace $(+prector)
3396 with $(+prectorT).
3397 (link-static-after-libc): Replace $(+postctor) with
3398 $(+postctorT).
3399 (link-bounded): Replace $(+prector)/$(+postctor) with
3400 $(+prectorT)/$(+postctorT).
3401 (+prectorT): New macro.
3402 (+postctorT): Likewise.
3403
ed8c2ecd
JM
34042012-09-06 Joseph Myers <joseph@codesourcery.com>
3405
3406 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3407 (round_str): Handle values above the maximum for IBM long double
3408 as inexact.
3409 * stdlib/tst-strtod-round.c (tests): Regenerated.
3410
14c996c8
AK
34112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3412
3413 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3414 assembler flag.
3415 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3416 zarch_nohighgprs around the zarch optimized routines.
3417 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3418 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3419 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3420 for zarch.
3421
430d6ce6
DM
34222012-09-05 David S. Miller <davem@davemloft.net>
3423
3424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3425
ff04dda4
DM
3426 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3427 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3428 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3429 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3430 entries.
3431
24d4e01b
AO
34322012-09-05 Alexandre Oliva <aoliva@redhat.com>
3433
3434 * malloc/arena.c: Fold copyright years.
3435 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3436
61d58174
AO
34372012-09-05 Alexandre Oliva <aoliva@redhat.com>
3438
3439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3440
20196a5e
AO
34412012-09-05 Alexandre Oliva <aoliva@redhat.com>
3442
3443 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3444
5c447383
AO
34452012-09-05 Alexandre Oliva <aoliva@redhat.com>
3446
3447 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3448 change internal state upon failure.
3449
fad64255
AO
34502012-09-05 Alexandre Oliva <aoliva@redhat.com>
3451
3452 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3453 * malloc/memusage.c (mmap): Likewise.
3454 (mmap64, mremap): Likewise. Adjust name in comment.
3455
1ffb8c90
SP
34562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3457
3458 * libio/fileops.c: Fix typos in comments.
3459 * libio/oldfileops.c: Likewise.
3460 * libio/wfileops.c: Likewise.
3461
6ef9cc37
SP
34622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3463
3464 [BZ #1349]
3465 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3466 (tst-malloc-usable-ENV): Set environment for test case.
3467 * malloc/hooks.c (malloc_check_get_size): New function to get
3468 requested size.
3469 * malloc/malloc.c (musable): Use malloc_check_get_size.
3470 * malloc/tst-malloc-usable.c: New test case.
3471
4d038ae3
AS
34722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3473
3474 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3475
c4e85184
AM
34762012-09-05 Allan McRae <allan@archlinux.org>
3477
b9dafc56 3478 [BZ #13966]
c4e85184
AM
3479 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3480 determine header location.
3481 * configure: Regenerated.
3482
e1343020
AS
34832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3486 float format.
3487 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3488 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3489 format.
e1343020
AS
3490 (test): Regenerate.
3491
0a9f1987
DM
34922012-09-04 David S. Miller <davem@davemloft.net>
3493
3494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3496 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3497
29237804
FW
34982012-09-04 Florian Weimer <fweimer@redhat.com>
3499
3500 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3501 failures.
3502
edb3cb88
FW
3503 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3504
60160d83
JM
35052012-09-04 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #9914]
3508 * libio/iogetdelim.c: Include <limits.h>.
3509 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3510 + len + 1 would overflow.
3511
bcd6c8dc
AJ
35122012-09-03 Andreas Jaeger <aj@suse.de>
3513
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516
4ffffbd2
LD
35172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3518
3519 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3520 Add s_sinf-sse2, s_conf-sse2.
3521
3522 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3523 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3524 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3525 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3526
3527 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3528 for using routine as __sinf_ia32.
3529 Use macro for function declaration and weak_alias.
3530 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3531 for using routine as __cosf_ia32.
3532 Use macro for function declaration and weak_alias.
3533
3534 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3535 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3536
3537 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3538 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3540
3541 * math/libm-test.inc (cos_test): Add more test cases.
3542 (sin_test): Likewise.
3543 (sincos_test): Likewise.
3544
511fa286
AK
35452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3546
3547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3548 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3549 hidden.
3550 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3551
5f30cfec
L
35522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 [BZ #14538]
3555 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3556 first element of the GOT.
3557 (elf_machine_load_address): Return the difference between
3558 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3559
0786794f
AM
35602012-09-01 Allan McRae <allan@archlinux.org>
3561
5f30cfec
L
3562 [BZ #13412]
3563 * configure.in (AWK): Require gawk version 3.0 or later.
3564 * configure: Regenerated.
0786794f 3565
26889eac
JM
35662012-09-01 Joseph Myers <joseph@codesourcery.com>
3567
3568 * sysdeps/unix/sysv/linux/kernel-features.h
3569 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3571 [__NR_clock_getres]: Make code unconditional.
3572 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3573 (clock_getcpuclockid): Remove code left unreachable by removal of
3574 conditionals.
3575 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3576 code unconditional.
3577 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3578 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3579 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3580 Make code unconditional.
3581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3583 * sysdeps/unix/sysv/linux/clock_settime.c
3584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3585 conditional code.
3586 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3587 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3588
d22e28b0
L
35892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3590
3591 [BZ #14476]
3592 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3593 scripts/test-installation.pl.
3594
3595 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3596 and $ld_so_version if it is set.
3597
050af9c4
SP
35982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3599
3600 [BZ #14516]
3601 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3602 failure if reading from procfs failed.
3603 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3604
ad845c0b
JM
36052012-08-27 Joseph Myers <joseph@codesourcery.com>
3606
3607 * sysdeps/unix/sysv/linux/kernel-features.h
3608 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3609 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3610 Remove conditional code.
3611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3612 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3613 Remove conditional code.
3614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3615 * sysdeps/unix/sysv/linux/i386/fxstat.c
3616 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3618 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3619 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3621 * sysdeps/unix/sysv/linux/i386/lxstat.c
3622 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3624 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3625 Remove conditional code.
3626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3627 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3628 Remove conditional code.
3629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3630 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3631 <kernel-features.h>.
3632 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3633 Remove.
3634 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3635 Remove conditional code.
3636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3637 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3638 Remove conditional.
3639
5dbf56af
MF
36402012-08-27 Mike Frysinger <vapier@gentoo.org>
3641
3642 [BZ #5400]
3643 * NEWS: Add fixed bug number.
3644
d6e70f43
JM
36452012-08-27 Joseph Myers <joseph@codesourcery.com>
3646
7efb4737
JM
3647 [BZ #14519]
3648 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3649 underflowing exponent in case of negative sign.
3650 * stdlib/tst-strtod-round-data: Add more tests.
3651 * stdlib/tst-strtod-round.c (tests): Regenerated.
3652
af92131a
JM
3653 [BZ #3479]
3654 * stdlib/strtod_l.c (NDIG): Remove.
3655 (HEXNDIG): Likewise.
3656 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3657 smallest representable value.
3658 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3659 lie within an exact representation of 1/2 ulp of the result.
3660 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3661 unconditionally.
3662 (TENS_P9_IDX): Define unconditionally.
3663 (TENS_P9_SIZE): Likewise.
3664 (TENS_P10_IDX): Likewise.
3665 (TENS_P10_SIZE): Likewise.
3666 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3667 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3668 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3669 entries for 10^2^13 and 10^2^14.
3670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3671 (TENS_P13_IDX): Define.
3672 (TENS_P13_SIZE): Likewise.
3673 (TENS_P14_IDX): Likewise.
3674 (TENS_P14_SIZE): Likewise.
3675 (_fpioconst_pow10): Change array size to
3676 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3677 unconditional.
3678 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3679 1024]: Add entries for 10^2^13 and 10^2^14.
3680 [LAST_POW10 > _LAST_POW10]: Remove #error.
3681 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3682 (_fpioconst_pow10): Change array size to
3683 FPIOCONST_POW10_ARRAY_SIZE.
3684 * stdlib/gen-fpioconst.c: New file.
3685 * stdlib/gen-tst-strtod-round.c: Likewise.
3686 * stdlib/tst-strtod-round-data: Likewise.
3687 * stdlib/tst-strtod-round.c: Likewise.
3688 * stdlib/Makefile (tests): Add tst-strtod-round.
3689
d6e70f43
JM
3690 [BZ #14459]
3691 * stdlib/strtod_l.c: Include <stdint.h>.
3692 (NDEBUG): Do not define.
3693 (round_and_return): Change EXPONENT parameter to type intmax_t.
3694 Rearrange calculations to avoid internal overflow possibilities.
3695 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3696 Rearrange calculations to avoid internal overflow possibilities.
3697 Assert that number fits inside MPNSIZE limbs.
3698 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3699 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3700 calculations and add assertions to avoid internal overflow
3701 possibilities. Add casts to avoid signed/unsigned operations.
3702 * stdlib/tst-strtod-overflow.c: New file.
3703 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3704
1f529f7d
MP
37052012-08-25 Marek Polacek <polacek@redhat.com>
3706
3707 * time/time.h: Fix some typos in comments.
3708
59a629f1
RM
37092012-08-23 Roland McGrath <roland@hack.frob.com>
3710
3711 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3712 * posix/tst-rfc3484-2.c: Likewise.
3713 * posix/tst-rfc3484-3.c: Likewise.
3714
d3bafbc9
SM
37152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3716
3717 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3718 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3719
4efcc022
JM
37202012-08-23 Joseph Myers <joseph@codesourcery.com>
3721
3722 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3723 #include of fxstatat64.c.
3724
3cc3ef96
RM
37252012-08-22 Roland McGrath <roland@hack.frob.com>
3726
f04e2132
RM
3727 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3728 * shadow/getspent_r.c: Likewise.
3729 * shadow/getspnam.c: Likewise.
3730 * shadow/getspnam_r.c: Likewise.
3731 * gshadow/getsgent.c: Likewise.
3732 * gshadow/getsgent_r.c: Likewise.
3733 * gshadow/getsgnam.c: Likewise.
3734 * gshadow/getsgnam_r.c: Likewise.
3735 * inet/getnetbyad.c: Likewise.
3736 * inet/getnetbyad_r.c: Likewise.
3737 * inet/getnetbynm.c: Likewise.
3738 * inet/getnetbynm_r.c: Likewise.
3739 * inet/getnetent.c: Likewise.
3740 * inet/getnetent_r.c: Likewise.
3741 * inet/getproto.c: Likewise.
3742 * inet/getproto_r.c: Likewise.
3743 * inet/getprtent.c: Likewise.
3744 * inet/getprtent_r.c: Likewise.
3745 * inet/getprtname.c: Likewise.
3746 * inet/getprtname_r.c: Likewise.
3747 * inet/getrpcbyname.c: Likewise.
3748 * inet/getrpcbyname_r.c: Likewise.
3749 * inet/getrpcbynumber.c: Likewise.
3750 * inet/getrpcbynumber_r.c: Likewise.
3751 * inet/getrpcent.c: Likewise.
3752 * inet/getrpcent_r.c: Likewise.
3753 * inet/getaliasent.c: Likewise.
3754 * inet/getaliasent_r.c: Likewise.
3755 * inet/getaliasname.c: Likewise.
3756 * inet/getaliasname_r.c: Likewise.
3757 * nscd/getgrgid_r.c: Likewise.
3758 * nscd/getgrnam_r.c: Likewise.
3759 * nscd/gethstbyad_r.c: Likewise.
3760 * nscd/gethstbynm3_r.c: Likewise.
3761 * nscd/getpwnam_r.c: Likewise.
3762 * nscd/getpwuid_r.c: Likewise.
3763 * nscd/getsrvbynm_r.c: Likewise.
3764 * nscd/getsrvbypt_r.c: Likewise.
3765 * nscd/gai.c: Likewise.
3766
c53d909c
RM
3767 * configure.in (build_nscd): New substituted variable, set
3768 by --disable-build-nscd and defaults to $use_nscd.
3769 * configure: Regenerated.
3770 * config.make.in (build-nscd): New substituted variable.
3771 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3772 Change conditional to require [$(build-nscd) = yes] as well.
3773 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3774
3cc3ef96
RM
3775 [BZ# 13696]
3776 * configure.in (use_nscd): New substituted variable, set by
3777 --disable-nscd. If enabled, define USE_NSCD.
3778 * configure: Regenerated.
3779 * config.h.in: Add USE_NSCD.
3780 * config.make.in (use-nscd): New substituted variable.
3781 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3782 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3783 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3784 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3785 (CFLAGS-getgrnam_r.c): Likewise.
3786 (CFLAGS-initgroups.c): Likewise.
3787 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3788 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3789 Variables removed.
3790 * inet/getnetgrent_r.c
3791 (nscd_setnetgrent): New function, broken out of ...
3792 (setnetgrent): ... here. Call it.
3793 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3794 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3795 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3796 * nscd/Makefile (routines, aux): Move definitions after include of
3797 Makeconfig. Conditionalize on [$(use-nscd) != no].
3798 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3799 Conditionalize on [USE_NSCD].
3800 (is_nscd, nscd_init_cb): Likewise.
3801 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3802 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3803 * nss/nss_db/db-init.c: Likewise.
3804 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3805 [USE_NSCD].
3806 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3807 (make_request): Use it.
3808 (cache_valid_p): New function.
3809 (__check_pf): Use it.
3810 * NEWS: Add item for --disable-nscd.
3811
07e51550
DL
38122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3813
3814 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3815 to support sed >= 4.2.1-20-ga9bf076.
3816 * configure: Regenerated.
3817
35a5b08b
RM
38182012-08-22 Roland McGrath <roland@hack.frob.com>
3819
3820 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3821 Conditionalize whole body on [IREL].
3822
8479f23a
JL
38232012-08-22 Jeff Law <law@redhat.com>
3824
3825 [BZ #14505]
3826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3827 if the family is PF_UNSPEC.
3828
48da0b21
MF
38292012-08-22 Mike Frysinger <vapier@gentoo.org>
3830
3831 * Makerules (lib-version): Rename from V.
3832 (install-lib-nosubdir): Change V to lib-version.
3833
15d0da8c
WS
38342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3835
3836 [BZ #14252]
3837 * powerpc32/power6/wcschr.c: New file.
3838 * powerpc32/power6/wcscpy.c: New file.
3839 * powerpc32/power6/wcsrchr.c: New file.
3840 * powerpc64/power6/wcschr.c: New file.
3841 * powerpc64/power6/wcscpy.c: New file.
3842 * powerpc64/power6/wcsrchr.c: New file.
3843
bcca0895
MK
38442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3845
3846 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3847 (two_way_short_needle): Use it.
5a4aaa33
RM
3848 * string/strstr.c (AVAILABLE1_USES_J): Define.
3849 * string/strcasestr.c: Likewise.
99677e57
MK
3850
3851 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3852 array references.
3853 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3854
400726de
MK
3855 [BZ #11607]
3856 * NEWS: Add an entry.
3857 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3858 define their defaults.
3859 (two_way_short_needle): Detect end-of-string on-the-fly.
3860 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3861 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3862 * string/bug-strcasestr1.c: New test.
3863 * string/Makefile: Run it.
3864
20a71f2c
MK
38652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3866
3867 [BZ #11607]
3868 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3869 the first character.
3870
21ad0558
RM
38712012-08-21 Roland McGrath <roland@hack.frob.com>
3872
3873 * csu/elf-init.c (__libc_csu_irel): Function removed.
3874 * csu/libc-start.c (apply_irel): New function.
3875 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3876
0e1d9911
JM
38772012-08-21 Joseph Myers <joseph@codesourcery.com>
3878
3879 * sysdeps/unix/sysv/linux/kernel-features.h
3880 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3881 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3882 <kernel-features.h>.
3883 [__NR_fadvise64_64]: Make code unconditional.
3884 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3885 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3886 !__NR_fadvise64_64)]: Likewise.
3887 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3888 !__NR_fadvise64_64))]: Likewise.
3889 [__NR_fadvise64]: Make code unconditional.
3890 [!__NR_fadvise64]: Remove conditional code.
3891 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3892 <kernel-features.h>.
3893 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3894 unconditional.
3895 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3896 conditional code.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3898 not include <kernel-features.h>.
3899 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3900 unconditional.
3901 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3902 conditional code.
3903 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3904 include <kernel-features.h>.
3905 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3906 unconditional.
3907 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3908 conditional code.
3909
14a50c9d
WS
39102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3911
3912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3913 slight instruction rearrangements per scrollpipe analysis.
3914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3915
c0f4faf0
RM
39162012-08-20 Roland McGrath <roland@hack.frob.com>
3917
696da859
RM
3918 * manual/syslog.texi (syslog; vsyslog, closelog):
3919 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3920 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3921
c0f4faf0
RM
3922 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3923 DSOCAPS to match condition on defining it.
3924
348363b2
JM
39252012-08-20 Joseph Myers <joseph@codesourcery.com>
3926
a35cbf28
JM
3927 * sysdeps/unix/sysv/linux/kernel-features.h
3928 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3930 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3931 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3933 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3934 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3936 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3937 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3938
445f7ecd
JM
3939 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3940 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3941
348363b2
JM
3942 * sysdeps/unix/sysv/linux/kernel-features.h
3943 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3944 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3945 unconditional.
3946 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3947 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3948 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3949 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3950 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3951 Make code unconditional.
3952 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3953 (__mmap64) [!__NR_mmap2]: Likewise.
3954 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3958 [__NR_mmap2]: Make code unconditional.
3959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3960 (__mmap64) [!__NR_mmap2]: Likewise.
3961
bc5bc0e5
AK
39622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3963
3964 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3965
88d506de
AJ
39662012-08-18 Andreas Jaeger <aj@suse.de>
3967
3968 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3969
493387d2
MF
39702012-08-18 Mike Frysinger <vapier@gentoo.org>
3971
3972 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3973 * include/unistd.h (__have_sock_cloexec): Likewise.
3974 (__have_pipe2): Likewise.
3975 (__have_dup3): Likewise.
3976
a277af22
MF
39772012-08-18 Mike Frysinger <vapier@gentoo.org>
3978
3979 [BZ #9685]
3980 * include/unistd.h (__have_pipe2): Change define into an extern int.
3981 (__have_dup3): Likewise.
3982 * socket/have_sock_cloexec.c: Include fcntl.h.
3983 (__have_pipe2): New variable.
3984 (__have_dup3): Likewise.
3985
fdab8fd3
MF
39862012-08-17 Mike Frysinger <vapier@gentoo.org>
3987
3988 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3989
31035e80
MP
39902012-08-17 Marek Polacek <polacek@redhat.com>
3991
3992 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3993 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3994
3bd9e993
RM
39952012-08-17 Roland McGrath <roland@hack.frob.com>
3996
c91c505f
RM
3997 * configure.in: Add AC_SUBST for sysheaders.
3998 * configure: Regenerated.
3999 * config.make.in (sysheaders): New substituted variable.
4000
7c6f9d53
RM
4001 * sysdeps/unix/mkfifo.c: Moved ...
4002 * sysdeps/posix/mkfifo.c: ... here.
4003 * sysdeps/unix/mkfifoat.c: Moved ...
4004 * sysdeps/posix/mkfifoat.c: ... here.
4005
4006 * sysdeps/unix/utime.c: Moved ...
4007 * sysdeps/posix/utime.c: ... here.
4008
4009 * sysdeps/unix/time.c: Moved ...
4010 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4011 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4012 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4013
4014 * sysdeps/unix/nice.c: Moved ...
4015 * sysdeps/posix/nice.c: ... here.
4016
4017 * sysdeps/unix/alarm.c: Moved ...
4018 * sysdeps/posix/alarm.c: ... here.
4019
3bd9e993
RM
4020 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4021
d1f09384
JL
40222012-08-17 Jeff Law <law@redhat.com>
4023
4024 * intl/Makefile (codeset_mo): New variable.
4025 ($(codeset_mo)): New target.
4026 (tst-codeset.out): Depend on that. Remove explicit rule.
4027 (tst-gettext3.out, tst-gettext5.out): Likewise.
4028 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4029 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4030 * intl/tst-codeset.sh: Remove.
4031 * intl/tst-gettext3.sh: Likewise.
4032 * intl/tst-gettext5.sh: Likewise.
4033
2ae1ae5c
RM
40342012-08-17 Roland McGrath <roland@hack.frob.com>
4035
c31fdb83
RM
4036 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4037 * sysdeps/unix/syscalls.list: ... here.
4038
a0844057
RM
4039 * sysdeps/posix/getaddrinfo.c
4040 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4041 (gaiconf_init, gaiconf_reload): Use them.
4042 [!_STATBUF_ST_NSEC]
4043 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4044 Define using time_t rather than struct timespec.
4045
750c1f2a
RM
4046 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4047 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4048 Macros removed.
4049 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4050 [!NO_THREADS].
4051 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4052 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4053 Likewise.
4054
2ae1ae5c
RM
4055 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4056 __libc_cleanup_push argument.
4057
e66a42f5
RM
4058 * bits/param.h: New file.
4059 * misc/sys/param.h: New file.
4060 * include/sys/param.h: New file.
4061 * misc/Makefile (headers): Add bits/param.h.
4062 * sysdeps/generic/sys/param.h: File removed.
4063 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4064 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4065 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4066 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4067
b7c08a66
RM
4068 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4069 last change.
4070
b2e1c562
RM
4071 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4072 [_IO_MTSAFE_IO].
4073 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4074 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4075 New macros.
4076
c75ccd4c
RM
4077 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4078 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4079 rather than -D_IO_MTSAFE_IO conditionally.
4080 * stdio-common/Makefile (CPPFLAGS): Likewise.
4081 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4082 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4083 Use $(libio-mtsafe).
4084 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4085 of -D_IO_MTSAFE_IO.
4086 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4087 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4088 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4089 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4090 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4091 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4092 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4093 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4094 (CFLAGS-fread_u_chk.c): Likewise.
4095 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4096 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4097 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4098 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4099 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4100 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4101 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4102 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4103 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4104
4105 * libio/Makefile: Test [$(libc-reentrant) = yes]
4106 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4107
4108 * Makeconfig
4109 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4110 * sysdeps/pthread/configure: File removed.
4111 * sysdeps/pthread/Makeconfig: New file.
4112 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4113 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4114
d9195db8
GB
41152012-08-16 Gary Benson <gbenson@redhat.com>
4116
4117 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4118 unmapping the first object in a namespace.
4119
86466cd9
RM
41202012-08-16 Roland McGrath <roland@hack.frob.com>
4121
4122 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4123 (__internal_setnetgrent): ... this. Add internal_function to
4124 definition. Add libc_hidden_def.
4125 (setnetgrent): Update caller.
4126 (internal_endnetgrent): Renamed to ...
4127 (__internal_endnetgrent): ... this. Add internal_function to
4128 definition. Add libc_hidden_def.
4129 (endnetgrent): Update caller.
4130 (internal_getnetgrent_r): Renamed to ...
4131 (__internal_getnetgrent_r): ... this. Add internal_function to
4132 definition. Add libc_hidden_def.
4133 (__getnetgrent_r): Update caller.
4134 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4135
c3c8283c
JM
41362012-08-16 Joseph Myers <joseph@codesourcery.com>
4137
4138 * stdlib/longlong.h: Update from GCC.
4139
db1ee0a8
RM
41402012-08-16 Roland McGrath <roland@hack.frob.com>
4141
4142 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4143 on _QL, which is set by umul_ppmm but never used.
4144 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4145 variables, which are set by GMP macros but never used.
4146 * stdio-common/_itowa.c (_itowa): Likewise.
4147 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4148 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4149
30f69637
CD
41502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4151
4152 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4153 struct La_sh_regs is not constant.
4154 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4155 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4156 and struct La_sparc64_regs are not constant.
4157
93a78ac4
JM
41582012-08-16 Joseph Myers <joseph@codesourcery.com>
4159
4160 * sysdeps/unix/sysv/linux/kernel-features.h
4161 (__ASSUME_POSIX_TIMERS): Remove.
4162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4163 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4164 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4165 Make code unconditional.
4166 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4167 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4168 Make code unconditional.
4169 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4170 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4171 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4172 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4173 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4174 Make code unconditional.
4175 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4176 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4177 (__libc_missing_posix_timers): Remove.
4178
dd924cd7
RM
41792012-08-15 Roland McGrath <roland@hack.frob.com>
4180
4b4f2771
RM
4181 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4182 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4183
601c888b
RM
4184 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4185
176790a7
RM
4186 * elf/dl-sym.c: Include <stdlib.h>.
4187
329bc018
RM
4188 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4189 constants, which avoids warnings in 32-bit builds.
4190
e04e272d
RM
4191 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4192 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4193
952bf94a
RM
4194 * misc/lseek.c: File moved to ...
4195 * io/lseek.c: ... here.
4196
7c99b50a
RM
4197 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4198
dd924cd7
RM
4199 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4200 shifting LEN more than 31 bits at once.
4201
b3f479a8
LD
42022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4203
4204 [BZ #14195]
8c4ae0d4
RM
4205 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4206 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4207 * string/test-strncasecmp.c (check1): Renamed to...
4208 (bz12205): ...this.
4209 (bz14195): Add new testcase for two empty input strings and N > 0.
4210 (test_main): Call new testcase, adapt for renamed function.
4211
9c55864e
AJ
42122012-08-15 Andreas Jaeger <aj@suse.de>
4213
4214 [BZ #14090]
4215 * crypt/md5test2.c: New test, based on test supplied by Serge
4216 Belyshev <belyshev@depni.sinp.msu.ru>.
4217 * crypt/Makefile (xtests): Add md5test-giant..
4218 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4219
02dcb6c5
PE
42202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4221
4222 [BZ #14090]
4223 * crypt/md5.c (md5_process_block): Don't assume the buffer
4224 length is less than 2**32.
4225 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4226 length is less than 2**64.
4227
a3f95dcc
RM
42282012-08-15 Roland McGrath <roland@hack.frob.com>
4229
be75d758
RM
4230 * string/str-two-way.h: Include <sys/param.h>.
4231 (MAX): Macro removed.
4232
7312ca90
RM
4233 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4234 Move #define and #undef of memmove to just before and after
4235 including <string.h>.
4236
9a0a5486
RM
4237 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4238 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4239 and after including <string.h>. Move declarations of
4240 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4241 to before #include "string/memmove.c".
4242
67cc348d
RM
4243 * include/dirent.h: Declare __getdirentries.
4244
a3f95dcc
RM
4245 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4246 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4247
ca98e171
MF
42482012-08-14 Mike Frysinger <vapier@gentoo.org>
4249
4250 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4251 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4252 * sysdeps/i386/configure: Regenerated.
4253 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4254 STABS_CURRENT_FILE, and STABS_FUN.
4255 (END): Remove call to STABS_FUN_END.
4256 (STABS_CURRENT_FILE1): Delete.
4257 (STABS_CURRENT_FILE): Likewise.
4258 (STABS_FUN): Likewise.
4259 (STABS_FUN_END): Likewise.
4260 (STABS_FUN2): Likewise.
4261 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4262 * sysdeps/x86_64/configure: Regenerated.
4263
5908bf46
RM
42642012-08-14 Roland McGrath <roland@hack.frob.com>
4265
4266 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4267 * elf/dl-lookup.c: Likewise.
5908bf46 4268
f2c05b9e
JM
42692012-08-14 Joseph Myers <joseph@codesourcery.com>
4270
4271 * sysdeps/unix/sysv/linux/kernel-features.h
4272 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4273 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4274 unconditionally.
4275 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4276 unconditionally.
4277 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4278 condition on __ASSUME_CLONE_THREAD_FLAGS.
4279
e11f5155
AJ
42802012-08-14 Andreas Jaeger <aj@suse.de>
4281
4282 * sysdeps/i386/fpu/libm-test-ulps: Update.
4283
51a9ba86
MK
42842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4285
2fdd4f78
AJ
4286 * include/atomic.h (atomic_exchange_and_add): Split into ...
4287 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4288 New atomic macros.
51a9ba86 4289
ba6cba9e
MT
42902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4291
4292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4293
42443a47
JL
42942012-08-13 Jeff Law <law@redhat.com>
4295
4296 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4297 null byte in the output string.
4298
121dce05
JM
42992012-08-10 Joseph Myers <joseph@codesourcery.com>
4300
4301 * sysdeps/unix/sysv/linux/kernel-features.h
4302 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4303 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4304 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4306 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4307 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4308 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4309
bf51f568
JL
43102012-08-09 Jeff Law <law@redhat.com>
4311
4312 [BZ #13939]
4313 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4314 When avoid_arena is set, don't retry in the that arena. Pick the
4315 next one, whatever it might be.
4316 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4317 (arena_lock): Pass in new parameter to arena_get2.
4318 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4319 arena_get2.
4320 (__libc_malloc): Unify retrying after main arena failure with
4321 __libc_memalign version.
4322 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4323
f85fa270
L
43242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4325
4326 [BZ #14166]
4327 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4328 to __redirect_strstr.
4329 (__strstr_sse42): Use typeof __redirect_strstr.
4330 (__strstr_ia32): Likewise.
4331 (__libc_strstr): New prototype.
4332 (strstr): Renamed to ...
4333 (__libc_strstr): This.
4334 (strstr): New strong alias of __libc_strstr.
4335 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4336 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4337 __redirect_time.
4338 Include <time.h>.
4339 (__libc_time): New prototype.
4340 (time_ifunc): Replace time with __libc_time.
4341 (time): New strong alias and hidden definition of __libc_time.
4342 (__GI_time): Remove strong alias.
4343 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4344 Include <stddef.h>.
4345 (memmove): Redefined to __redirect_memmove.
4346 (__memmove_sse2): Use typeof __redirect_memmove.
4347 (__memmove_ssse3): Likewise.
4348 (__memmove_ssse3_back): Likewise.
4349 (__libc_memmove): New prototype.
4350 (memmove): Renamed to ...
4351 (__libc_memmove): This.
4352 (memmove): New strong alias of __libc_memmove.
4353
33b4a91e
MS
43542012-08-08 Mark Salter <msalter@redhat.com>
4355
4356 * elf/elf.h
4357 (R_MN10300_TLS_GD): Define.
4358 (R_MN10300_TLS_LD): Likewise.
4359 (R_MN10300_TLS_LDO): Likewise.
4360 (R_MN10300_TLS_GOTIE): Likewise.
4361 (R_MN10300_TLS_IE): Likewise.
4362 (R_MN10300_TLS_LE): Likewise.
4363 (R_MN10300_TLS_DTPMOD): Likewise.
4364 (R_MN10300_TLS_DTPOFF): Likewise.
4365 (R_MN10300_TLS_TPOFF): Likewise.
4366 (R_MN10300_SYM_DIFF): Likewise.
4367 (R_MN10300_ALIGN): Likewise.
4368 (R_MN10300_NUM): Update.
4369
b36137f1
JM
43702012-08-08 Joseph Myers <joseph@codesourcery.com>
4371
4372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4373 Remove.
4374
cdd915fd
RM
43752012-08-08 Roland McGrath <roland@hack.frob.com>
4376
a2433aac
RM
4377 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4378
cdd915fd
RM
4379 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4380 sysdeps/unix -> sysdeps/posix move.
4381 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4382
bf9b740a
AM
43832012-08-07 Allan McRae <allan@archlinux.org>
4384
4385 [BZ #14303]
4386 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4387 (SUNOS_CPP): Likewise.
4388 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4389 not found.
4390 (open_input): Call CPP using execvp.
4391
93df14ee
JM
43922012-08-07 Joseph Myers <joseph@codesourcery.com>
4393
4394 * sysdeps/unix/sysv/linux/kernel-features.h
4395 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4396 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4397 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4398 (__ASSUME_WAITID_SYSCALL): Likewise.
4399 * sysdeps/unix/sysv/linux/dl-execstack.c
4400 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4401 code unconditional.
4402 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4403 conditional code.
4404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4405 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4406 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4407 code.
4408 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4409 unconditional.
4410 [__ASSUME_WAITID_SYSCALL]: Likewise.
4411 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4412
d34689de
RM
44132012-08-07 Roland McGrath <roland@hack.frob.com>
4414
a281decc
RM
4415 * sysdeps/unix/closedir.c: Renamed to ...
4416 * sysdeps/posix/closedir.c: ... here.
4417 * sysdeps/unix/dirfd.c: Renamed to ...
4418 * sysdeps/posix/dirfd.c: ... here.
4419 * sysdeps/unix/dirstream.h: Renamed to ...
4420 * sysdeps/posix/dirstream.h: ... here.
4421 * sysdeps/unix/fdopendir.c: Renamed to ...
4422 * sysdeps/posix/fdopendir.c: ... here.
4423 * sysdeps/unix/opendir.c: Renamed to ...
4424 * sysdeps/posix/opendir.c: ... here.
4425 * sysdeps/unix/readdir.c: Renamed to ...
4426 * sysdeps/posix/readdir.c: ... here.
4427 * sysdeps/unix/readdir_r.c: Renamed to ...
4428 * sysdeps/posix/readdir_r.c: ... here.
4429 * sysdeps/unix/rewinddir.c: Renamed to ...
4430 * sysdeps/posix/rewinddir.c: ... here.
4431 * sysdeps/unix/seekdir.c: Renamed to ...
4432 * sysdeps/posix/seekdir.c: ... here.
4433 * sysdeps/unix/telldir.c: Renamed to ...
4434 * sysdeps/posix/telldir.c: ... here.
4435 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4436 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4437 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4438 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4439
22895b47
RM
4440 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4441 * bits/fcntl.h: ... here.
4442
707a53b6
RM
4443 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4444 not 0.
4445 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4446 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4447 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4448 (struct flock): Move l_start, l_len to the beginning.
4449 Use __pid_t for l_pid.
4450 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4451 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4452 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4453 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4454 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4455 [__USE_LARGEFILE64] (struct flock64): New type.
4456 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4457
f0bd3e25
RM
4458 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4459 * bits/dirent.h: ... here.
4460
d34689de
RM
4461 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4462 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4463
6dad2c06
JM
44642012-08-07 Joseph Myers <joseph@codesourcery.com>
4465
4466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4467 Change from 2.6.0 to 2.6.16.
4468 * sysdeps/unix/sysv/linux/configure: Regenerated.
4469 * sysdeps/unix/sysv/linux/kernel-features.h
4470 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4471 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4472 version.
4473 (__ASSUME_UTIMES): Likewise.
4474 (__ASSUME_CLONE_STOPPED): Remove.
4475 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4476 architectures, not kernel version.
4477 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4478 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4479 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4480 (__ASSUME_WAITID_SYSCALL): Likewise.
4481 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4482 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4483 * README: State 2.6.16 as minimum Linux kernel version. Do not
4484 refer to older versions.
4485
03af9520
RM
44862012-08-06 Roland McGrath <roland@hack.frob.com>
4487
8e49df1d
RM
4488 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4489 Define alphasort64 as an alias.
4490 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4491 Define versionsort64 as an alias.
4492 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4493 Define scandir64 as an alias.
4494 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4495 Define scandirat64 as an alias.
4496 * dirent/alphasort64.c (alphasort64):
4497 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4498 * dirent/versionsort64.c: Likewise.
4499 * dirent/scandir64.c: Likewise.
4500 * dirent/scandirat64.c: Likewise.
4501 * sysdeps/wordsize-64/alphasort.c: File removed.
4502 * sysdeps/wordsize-64/alphasort64.c: File removed.
4503 * sysdeps/wordsize-64/scandir.c: File removed.
4504 * sysdeps/wordsize-64/scandir64.c: File removed.
4505 * sysdeps/wordsize-64/scandirat.c: File removed.
4506 * sysdeps/wordsize-64/scandirat64.c: File removed.
4507 * sysdeps/wordsize-64/versionsort.c: File removed.
4508 * sysdeps/wordsize-64/versionsort64.c: File removed.
4509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4511 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4512 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4513 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4514 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4517
4518 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4520 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4522 [defined __arch64__ || defined __sparcv9]
4523 (__INO_T_MATCHES_INO64_T): New macro.
4524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4525 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4526 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4527 * sysdeps/unix/sysv/linux/bits/dirent.h
4528 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4529 (_DIRENT_MATCHES_DIRENT64): New macro.
4530
03af9520
RM
4531 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4532 Define lockf64 as an alias.
4533 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4534 Define fseeko64 as an alias.
4535 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4536 Define ftello64 as an alias.
4537 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4538 Define _IO_fgetpos64 and fgetpos64 as aliases.
4539 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4540 Define _IO_fsetpos64 and fsetpos64 as aliases.
4541 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4542 Conditionalize body on this.
4543 * libio/fseeko64.c: Likewise.
4544 * libio/ftello64.c: Likewise.
4545 * libio/iofgetpos64.c: Likewise.
4546 * libio/iofsetpos64.c: Likewise.
4547 * sysdeps/wordsize-64/lockf.c: File removed.
4548 * sysdeps/wordsize-64/lockf64.c: File removed.
4549 * sysdeps/wordsize-64/fseeko.c: File removed.
4550 * sysdeps/wordsize-64/fseeko64.c: File removed.
4551 * sysdeps/wordsize-64/ftello.c: File removed.
4552 * sysdeps/wordsize-64/ftello64.c: File removed.
4553 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4554 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4555 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4556 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4557 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4559 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4561 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4567
4568 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4570 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4572 [defined __arch64__ || defined __sparcv9]
4573 (__OFF_T_MATCHES_OFF64_T): New macro.
4574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4575 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4577 (__OFF_T_MATCHES_OFF64_T): New macro.
4578
c5757acd
L
45792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4580
4581 * stdlib/secure-getenv.c (__secure_getenv): Replace
4582 GLIBC_2_16 with GLIBC_2_17.
4583
3a31811e
L
45842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4585
4586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4588
faa2bccb
DM
45892012-08-03 David S. Miller <davem@davemloft.net>
4590
4591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4592
85fe1997
JM
45932012-08-03 Joseph Myers <joseph@codesourcery.com>
4594
4595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4596 Remove.
4597 (__ASSUME_CORRECT_SI_PID): Likewise.
4598 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4599 (__ASSUME_TMPFS_NAME): Likewise.
4600 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4601 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4602 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4603 (HAVE_AUX_SECURE): Make definition unconditional.
4604 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4605 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4606
4f75b7a0
RM
46072012-08-03 Roland McGrath <roland@hack.frob.com>
4608
4609 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4610 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4611 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4612 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4613 __eloop_threshold instead of SYMLOOP_MAX.
4614
4615 * sysdeps/generic/eloop-threshold.h: New file.
4616 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4617 of MAXSYMLINKS.
4618 * elf/chroot_canon.c (chroot_canon): Likewise.
4619
7aab07e4
JM
46202012-08-03 Joseph Myers <joseph@codesourcery.com>
4621
4622 [BZ #13717]
4623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4624 Change to 2.6.0 everywhere.
4625 * sysdeps/unix/sysv/linux/configure: Regenerated.
4626 * sysdeps/unix/sysv/linux/kernel-features.h
4627 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4628 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4629 kernel versions.
4630 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4631 (__ASSUME_FUTEX_REQUEUE): Remove.
4632 (__ASSUME_STATFS64): Define unconditionally.
4633 (__ASSUME_AT_SECURE): Likewise.
4634 (__ASSUME_CORRECT_SI_PID): Likewise.
4635 (__ASSUME_TGKILL): Define without depending on kernel version for
4636 i386.
4637 (__ASSUME_UTIMES): Likewise.
4638 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4639 kernel version.
4640 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4641 (__ASSUME_TMPFS_NAME): Likewise.
4642 * README: Update reference to Linux kernel versions.
4643
b67e9372
MP
46442012-08-02 Marek Polacek <polacek@redhat.com>
4645
1f529f7d 4646 [BZ# 14150]
b67e9372
MP
4647 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4648 libc_cv_asm_type_prefix with %.
4649 * configure: Regenerated.
d2441631
RM
4650 * include/libc-symbols.h: Remove comment about
4651 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4652 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4653 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4654 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4655 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4656 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4657 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4658 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4659 * elf/tst-unique2mod1.c: Likewise.
4660 * elf/tst-unique1mod2.c: Likewise.
4661 * elf/tst-unique1mod1.c: Likewise.
4662 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4663 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4664 Replace ASM_TYPE_DIRECTIVE with .type.
4665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4666 * sysdeps/i386/sysdep.h: Likewise.
4667 * sysdeps/x86_64/sysdep.h: Likewise.
4668 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4670 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4671 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4672 * sysdeps/powerpc/powerpc32/sysdep.h:
4673 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4675 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4676 * sysdeps/i386/fpu/e_powf.S: Likewise.
4677 * sysdeps/i386/fpu/e_expl.S: Likewise.
4678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4679 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4680 * sysdeps/i386/fpu/e_pow.S: Likewise.
4681 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4683 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4684 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4685 * sysdeps/i386/fpu/e_log2.S: Likewise.
4686 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4688 * sysdeps/i386/fpu/e_powl.S: Likewise.
4689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4690 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4691 * sysdeps/i386/fpu/e_logl.S: Likewise.
4692 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4697 * sysdeps/i386/fpu/e_log.S: Likewise.
4698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4699 * sysdeps/i386/fpu/e_logf.S: Likewise.
4700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4701 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4702 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4703 * sysdeps/i386/fpu/e_log10.S: Likewise.
4704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4710 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4711 * sysdeps/i386/i686/strtok.S: Likewise.
4712 * sysdeps/i386/i386-mcount.S: Likewise.
4713 * sysdeps/i386/strtok.S: Likewise.
4714 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4719 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4720 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4721 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4723 * sysdeps/x86_64/_mcount.S: Likewise.
4724 * sysdeps/x86_64/strtok.S: Likewise.
4725 * sysdeps/sh/_mcount.S: Likewise.
4726
2747bf9a
RM
47272012-08-01 Roland McGrath <roland@hack.frob.com>
4728
4729 * libio/iofopen.c: Include <fcntl.h>.
4730 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4731 (_IO_fopen64, fopen64): Define as aliases.
4732 * libio/iofopen64.c: Include <fcntl.h>.
4733 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4734 Conditionalize body on this.
4735 * sysdeps/wordsize-64/iofopen.c: File removed.
4736 * sysdeps/wordsize-64/iofopen64.c: File removed.
4737
3fb791b8
MP
47382012-08-01 Marek Polacek <polacek@redhat.com>
4739
4740 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4741 Use dlfcn directly instead of a variable.
4742 (binfmt-subdir): Do not define.
4743 (dlfcn): Likewise.
4744
a9f1039f
JM
47452012-08-01 Joseph Myers <joseph@codesourcery.com>
4746
23bddc06
JM
4747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4748 Remove all definitions.
4749 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4750 <kernel-features.h>.
4751 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4752 (miss_F_GETOWN_EX): Remove all definitions.
4753 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4754 macro definition.
4755 [!__ASSUME_FCNTL64]: Remove conditional code.
4756 [__ASSUME_FCNTL64]: Make code unconditional.
4757 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4758 <kernel-features.h>.
4759 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4760 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4761 (lockf64) [__NR_fcntl64]: Make code unconditional.
4762 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4763
a9f1039f
JM
4764 * sysdeps/unix/sysv/linux/kernel-features.h
4765 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4766 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4767 Make code unconditional.
4768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4771 [__NR_vfork]: Make code unconditional.
4772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4775 [__NR_vfork]: Make code unconditional.
4776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4778
09c0ee5f
RM
47792012-08-01 Roland McGrath <roland@hack.frob.com>
4780
48aec5b9
RM
4781 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4782 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4783
cd97c966
RM
4784 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4785 Define mkstemp64 as an alias.
3f55550c
RM
4786 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4787 Define mkstemps64 as an alias.
cd97c966
RM
4788 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4789 Define mkostemp64 as an alias.
b8625cfc
RM
4790 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4791 Define mkostemps64 as an alias.
cd97c966
RM
4792 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4793 Conditionalize body on this.
4794 * misc/mkostemp64.c: Likewise.
b8625cfc 4795 * misc/mkostemps64.c: Likewise.
3f55550c 4796 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4797 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4798 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4799 * sysdeps/wordsize-64/mkostemp.c: File removed.
4800 * sysdeps/wordsize-64/mkstemp.c: File removed.
4801 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4802 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4804 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4805
09c0ee5f
RM
4806 [BZ #14138]
4807 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4809 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4810 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4811
4812 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4813 compat_symbol macros from <shlib-compat.h> rather than the underlying
4814 default_symbol_version and symbol_version macros, so that DEFAULT
4815 lines in shlib-versions are respected.
4816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4817
7e66ee51
FW
48182012-08-01 Florian Weimer <fweimer@redhat.com>
4819
4820 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4821 Declare with warn_unused_result.
4822 (setgid, setregid, setegid, setresgid): Likewise.
4823 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4824 Likewise.
4825 * WUR-REPORT: Remove set*id functions.
4826
d2a54255
PT
48272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4828
4829 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4830
7ecdb005
RM
48312012-07-31 Roland McGrath <roland@hack.frob.com>
4832
789bd351
RM
4833 * include/sys/socket.h (__libc_accept, __libc_accept4):
4834 Add attribute_hidden.
4835 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4836
40ce302d
RM
4837 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4838 use of PTR_MANGLE.
4839 * inet/getnetgrent_r.c (setup): Likewise.
4840
7ecdb005
RM
4841 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4842
e2eabb2c
DM
48432012-07-31 David S. Miller <davem@davemloft.net>
4844
4845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4846
d0419dbf
JM
48472012-07-31 Joseph Myers <joseph@codesourcery.com>
4848
4849 [BZ #13629]
4850 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4851 value between 1.0 and 2.0 and smaller part has absolute value less
4852 than 1.0.
4853 * math/s_clog10.c (__clog10): Likewise.
4854 * math/s_clog10f.c (__clog10f): Likewise.
4855 * math/s_clog10l.c (__clog10l): Likewise.
4856 * math/s_clogf.c (__clogf): Likewise.
4857 * math/s_clogl.c (__clogl): Likewise.
4858 * math/libm-test.inc (clog_test): Add more tests.
4859 (clog10_test): Likewise.
4860 * sysdeps/i386/fpu/libm-test-ulps: Update.
4861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862
2bc13872
FW
48632012-07-31 Florian Weimer <fweimer@redhat.com>
4864
4865 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4866 Exit with zero in case no suitable GID is found, and write a
4867 message to standard error.
4868
bea9b193
RM
48692012-07-30 Roland McGrath <roland@hack.frob.com>
4870
4871 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4872 rather than to 1.
4873 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4874 (MAXPATHLEN): Removed.
4875 (NOGROUP, NODEV): New macros.
4876 (setbit, clrbit, isset, isclr): New macros.
4877 (howmany, roundup, powerof2): New macros.
4878 (DEV_BSIZE): New macro.
4879
4880 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4881 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4882
4883 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4884 definition on [!__NO_LONG_DOUBLE_MATH].
4885
4886 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4887 PTR_MANGLE and PTR_DEMANGLE.
4888
4889 * socket/accept4.c (accept4): Rename to __libc_accept4.
4890 Define accept4 as a weak alias.
4891
4892 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4893 on [_DIRENT_HAVE_D_TYPE].
4894 * io/ftw.c (ftw_dir): Likewise.
4895
4896 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4897
4898 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4899
4900 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4901 Use the BSD numbers rather than the arbitrary ones we had.
4902 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4903 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4904 (SIGXCPU, SIGXFSZ): New macros.
4905 (_NSIG): Now 32.
4906
4907 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4908 initializer on [_LIBC_REENTRANT].
4909
4910 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4911 definitions inside [_POSIX_MAPPED_FILES].
4912
4913 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4914
4915 * dirent/opendir.c: Include <fcntl.h>.
4916
4917 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4918 (__libc_getspecific): Likewise.
4919 (__libc_key_create): Likewise.
4920
4921 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4922 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4923 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4924 (tmpfile64): Define as alias.
4925 * sysdeps/wordsize-64/tmpfile.c: File removed.
4926 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4929
4930 * stdio-common/vfscanf.c: Include <stdbool.h>.
4931 * nss/makedb.c: Likewise.
4932 * stdio-common/_i18n_number.h: Likewise.
4933 * argp/argp-help.c: Likewise.
4934 * posix/wordexp.c: Likewise.
4935 * sysdeps/posix/spawni.c: Likewise.
4936 * nss/nss_files/files-initgroups.c: Likewise.
4937 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4938 * nss/nss_files/files-initgroups.c: Likewise.
4939 * nss/nss_db/db-netgrp.c: Likewise.
4940 * nss/nss_db/db-initgroups.c: Likewise.
4941 * io/fchmodat.c: Include <sys/stat.h>.
4942
4943 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4944 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4945
4946 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4947 [HAVE_MMAP].
4948
4949 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4950 Add multiple inclusion protection.
4951
e5abc686
DM
49522012-07-27 David S. Miller <davem@davemloft.net>
4953
4954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4955
815e6fa3
GB
49562012-07-27 Gary Benson <gbenson@redhat.com>
4957
4958 [BZ #14298]
4959 * elf/rtld.c: Include <stap-probe.h>.
4960 (dl_main): Added static probes "init_start" and "init_complete".
4961 * elf/dl-load.c: Include <stap-probe.h>.
4962 (lose): Take new parameter "nsid".
4963 Added static probe "map_failed".
4964 (_dl_map_object_from_fd): Pass namespace id to lose.
4965 Added static probe "map_start".
4966 (open_verify): Pass namespace id to lose.
4967 * elf/dl-open.c: Include <stap-probe.h>.
4968 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4969 and "reloc_complete".
4970 * elf/dl-close.c: Include <stap-probe.h>.
4971 (_dl_close_worker): Added static probes "unmap_start" and
4972 "unmap_complete".
4973 * elf/rtld-debugger-interface.txt: New file documenting the above.
4974
9f98c16c
RM
49752012-07-26 Roland McGrath <roland@hack.frob.com>
4976
4977 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4978 rather than a string variable.
4979 * sunrpc/rpc_main.c (h_output): Likewise.
4980 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4981
f3c22df3
PT
49822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4983
4984 * inet/check_native.c: New file.
4985
3129cfc6
JM
49862012-07-26 Joseph Myers <joseph@codesourcery.com>
4987
da865e95
JM
4988 [BZ #13629]
4989 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4990 if larger part has absolute value 1.0.
4991 * math/s_clog10.c (__clog10): Likewise.
4992 * math/s_clog10f.c (__clog10f): Likewise.
4993 * math/s_clog10l.c (__clog10l): Likewise.
4994 * math/s_clogf.c (__clogf): Likewise.
4995 * math/s_clogl.c (__clogl): Likewise.
4996 * math/libm-test.inc (clog_test): Add more tests.
4997 (clog10_test): Likewise.
4998 * sysdeps/i386/fpu/libm-test-ulps: Update.
4999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5000
3129cfc6
JM
5001 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5002 (pltexit): Likewise.
5003 (La_regs): Likewise.
5004 (La_retval): Likewise.
5005 (int_retval): Likewise.
5006 Update #error for removed macros to refer only to definitions in
5007 tst-audit.h.
5008 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5009 macro.
5010 (pltexit): Likewise.
5011 (La_regs): Likewise.
5012 (La_retval): Likewise.
5013 (int_retval): Likewise.
5014 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5015 macro.
5016 (pltexit): Likewise.
5017 (La_regs): Likewise.
5018 (La_retval): Likewise.
5019 (int_retval): Likewise.
5020 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5021 macro.
5022 (pltexit): Likewise.
5023 (La_regs): Likewise.
5024 (La_retval): Likewise.
5025 (int_retval): Likewise.
5026 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5027 macro.
5028 (pltexit): Likewise.
5029 (La_regs): Likewise.
5030 (La_retval): Likewise.
5031 (int_retval): Likewise.
5032 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5033 macro.
5034 (pltexit): Likewise.
5035 (La_regs): Likewise.
5036 (La_retval): Likewise.
5037 (int_retval): Likewise.
5038 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5039 macro.
5040 (pltexit): Likewise.
5041 (La_regs): Likewise.
5042 (La_retval): Likewise.
5043 (int_retval): Likewise.
5044 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5045 macro definitions in tst-audit.h.
5046 * sysdeps/i386/tst-audit.h: New file.
5047 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5048 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5049 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5050 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5051 * sysdeps/sh/tst-audit.h: Likewise.
5052 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5053 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5054 * sysdeps/x86_64/tst-audit.h: Likewise.
5055
bfc07087
AJ
50562012-07-26 Andreas Jaeger <aj@suse.de>
5057
b1b2aaf8
AJ
5058 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5059 ptrace.
5060
5061 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5062 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5063 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5064 PTRACE_O_MASK.
5065 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5066 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5068
bfc07087
AJ
5069 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5070 value.
5071
5072 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5073 _sigsys.
5074 (si_call_addr, si_syscall, si_arch): Define new macro.
5075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5076 _sigsys.
5077 (si_call_addr, si_syscall, si_arch): Define new marcro.
5078 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5079 _sigsys.
5080 (si_call_addr, si_syscall, si_arch): Define new macro.
5081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5082 _sigsys.
5083 (si_call_addr, si_syscall, si_arch): Define new macro.
5084
89b4b02f
JM
50852012-07-25 Joseph Myers <joseph@codesourcery.com>
5086
5087 [BZ #13717]
5088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5089 Change to 2.4.21 where previously 2.4.1.
5090 * sysdeps/unix/sysv/linux/configure: Regenerated.
5091 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5092 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5093 Linux kernel version.
5094 (__ASSUME_STD_AUXV): Remove.
5095 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5096 kernel version.
5097 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5098 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5099 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5100 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5101 (__ASSUME_NETLINK_SUPPORT): Likewise.
5102 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5103 (__no_netlink_support): Remove conditional definition.
5104 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5105 Remove.
5106 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5107 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5108 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5109 (if_nameindex_ioctl): Remove.
5110 (if_nameindex_netlink): Do not handle __no_netlink_support.
5111 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5112 code.
5113 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5114 Remove conditional code.
5115 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5116 code.
5117 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5118 unconditional.
5119 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5120 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5121 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5122 Remove.
5123 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5124 [!__ASSUME_STD_AUXV]: Remove conditional code.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5126 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5127 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5129 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5130 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5131 code.
5132 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5135 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5136 conditional code.
5137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5139 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5140 code.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5142 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5143 conditional code.
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5145 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5146 code unconditional.
5147 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5148 conditional code.
5149 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5150 unconditional.
5151 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5152 conditional code.
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5154 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5155 unconditional.
5156 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5157 conditional code.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5159 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5160 code unconditional.
5161 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5162 conditional code.
5163 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5164 unconditional.
5165 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5166 conditional code.
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5168 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5169 code unconditional.
5170 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5171 conditional code.
5172 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5173 unconditional.
5174 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5175 conditional code.
5176
842a39cd
AS
51772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5178
5179 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5180 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5181 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5182 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5183 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5184 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5185 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5186 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5187 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5188 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5189 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5190 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5191 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5192 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5193 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5195 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5196 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5199 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5200 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5201 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5202
84b3fd84
FW
52032012-07-25 Florian Weimer <fweimer@redhat.com>
5204
5205 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5206 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5207 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5208 Introduce __libc_secure_getenv.
0c7936d5
FW
5209 * stdlib/Versions (2.17): Add secure_getenv
5210 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5211 * stdlib/secure-getenv.c: Rename __secure_getenv to
5212 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5213 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5214 * stdlib/tst-secure-getenv.c: New.
5215 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5216 * manual/startup.texi (Environment Access): Document
5217 secure_getenv.
84b3fd84
FW
5218 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5219 __libc_secure_getenv.
5220 * inet/ruserpass.c (ruserpass): Likewise.
5221 * malloc/mtrace.c (mtrace): Likewise.
5222 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5223 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5224 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5225 * sysdeps/posix/tempname.c: Likewise. Evaluate
5226 HAVE_SECURE_GETENV.
5227 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5228 __secure_getenv to __libc_secure_getenv.
84b3fd84 5229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5231 Likewise.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5233 Likewise.
5234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5241
56e49b71
JM
52422012-07-25 Joseph Myers <joseph@codesourcery.com>
5243
5244 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5245 (struct La_i86_retval): Likewise.
5246 (struct La_x86_64_regs): Likewise.
5247 (struct La_x86_64_retval): Likewise.
5248 (struct La_x32_regs): Likewise.
5249 (struct La_x32_retval): Likewise.
5250 (struct La_ppc32_regs): Likewise.
5251 (struct La_ppc32_retval): Likewise.
5252 (struct La_ppc64_regs): Likewise.
5253 (struct La_ppc64_retval): Likewise.
5254 (struct La_sh_regs): Likewise.
5255 (struct La_sh_retval): Likewise.
5256 (struct La_s390_32_regs): Likewise.
5257 (struct La_s390_32_retval): Likewise.
5258 (struct La_s390_64_regs): Likewise.
5259 (struct La_s390_64_retval): Likewise.
5260 (struct La_sparc32_regs): Likewise.
5261 (struct La_sparc32_retval): Likewise.
5262 (struct La_sparc64_regs): Likewise.
5263 (struct La_sparc64_retval): Likewise.
5264 (struct audit_ifaces): Remove architecture-specific pltenter and
5265 pltexit members.
5266 * sysdeps/i386/ldsodefs.h: New file.
5267 * sysdeps/powerpc/ldsodefs.h: Likewise.
5268 * sysdeps/s390/ldsodefs.h: Likewise.
5269 * sysdeps/sh/ldsodefs.h: Likewise.
5270 * sysdeps/sparc/ldsodefs.h: Likewise.
5271 * sysdeps/x86_64/ldsodefs.h: Likewise.
5272
354691b7
MP
52732012-07-25 Marek Polacek <polacek@redhat.com>
5274
5275 [BZ #6808]
5276 * math/libm-test.inc (yn_test): Add another test.
5277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5278 to ERANGE when the result is +-Inf.
5279 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5280 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5281 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5282 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5283
bf9e2071
JM
52842012-07-24 Joseph Myers <joseph@codesourcery.com>
5285
5286 * conform/data/time.h-data (NULL): Use macro-constant. Require
5287 equal to 0.
5288 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5289 clock_t.
5290 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5291
57633811
TS
52922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5293
5294 * configure.in <sysdeps resolving>: Correct printing
5295 Implies_before.
5296 * configure: Regenerate.
5297
c23c33b0
TS
52982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5299
5300 * math/w_ilogb.c: Include <limits.h>.
5301 * math/w_ilogbl.c: Likewise.
5302
b5982523
JM
53032012-07-20 Joseph Myers <joseph@codesourcery.com>
5304
5305 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5306 va_copy. Document allowing for unavailable va_copy only as
5307 pre-C99 compatibility.
5308 * manual/string.texi (Copying and Concatenation): Use va_copy
5309 instead of __va_copy in concat example.
5310
ac4ea442
PT
53112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5312
5313 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5314 (__sendto): Use create_address_port. Initialize APORT and deallocate
5315 it if not null.
5316
f98eafbd
PT
5317 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5318 with O_NOLINK passed to __file_name_lookup.
5319
898c7aab
PT
5320 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5321 with O_NOLINK passed to __file_name_lookup.
5322
0ced335a
PT
5323 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5324 negative N or less than NGIDS.
5325
b3404dbd
PT
5326 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5327 type to string_t. Set ERANGE as errno and return it if NAME is not big
5328 enough. Use memcpy instead of strncpy.
5329
0f48659e
JM
53302012-07-20 Joseph Myers <joseph@codesourcery.com>
5331
5332 * elf/Makefile (check-data): Remove.
5333 (localplt.data): New vpath directive.
5334 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5335 instead of $(check-data).
5336 * scripts/data/localplt-generic.data: Move to ...
5337 * sysdeps/generic/localplt.data: ... here.
5338 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5339 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5340 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5342 ... here.
5343 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5345 ... here.
5346 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5348 ... here.
5349 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5351 ... here.
5352 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5354 ... here.
5355 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5357 ... here.
5358
d37cbdaa
AZ
53592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360
5361 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5362 PPC32 and PPC64 files.
5363 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5364 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5365
46f85fc2
AK
53662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5367
5368 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5369 __makecontext_ret to ...
5370 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5371 ... here and call exit if uc_link is NULL. New file.
5372 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5373 __makecontext_ret.S.
5374 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5375 __makecontext_ret to ...
5376 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5377 ... here and call exit if uc_link is NULL. New file.
5378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5379 __makecontext_ret.S.
5380
08f43f9b
AK
53812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5382
5383 * elf/elf.h (R_390_IRELATIVE): New definition.
5384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5385 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5386 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5388 (elf_machine_lazy_rel): Likewise.
5389 * sysdeps/s390/dl-irel.h: New file.
5390 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5391 * sysdeps/s390/s390-64/memset.S: New asm code.
5392 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5393 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5394 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5395 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5396 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5397 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5398 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5399 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5400 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5401 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5402 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5403 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5404 * sysdeps/s390/s390-32/memset.S: New asm code.
5405 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5406
3b05db33
MP
54072012-07-17 Marek Polacek <polacek@redhat.com>
5408
5409 [BZ #14349]
5410 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5411 * sysdeps/s390/s390-64/configure.in: Likewise.
5412 * sysdeps/sparc/configure.in: Likewise.
5413 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5414 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5415 * sysdeps/i386/configure.in: Likewise.
5416 * sysdeps/x86_64/configure.in: Likewise.
5417 * sysdeps/sh/configure.in: Likewise.
5418 * sysdeps/s390/s390-32/configure: Regenerated.
5419 * sysdeps/s390/s390-64/configure: Likewise.
5420 * sysdeps/x86_64/configure: Likewise.
5421 * sysdeps/sh/configure: Likewise.
5422 * sysdeps/powerpc/powerpc64/configure: Likewise.
5423 * sysdeps/powerpc/powerpc32/configure: Likewise.
5424 * sysdeps/sparc/configure: Likwise.
5425 * sysdeps/i386/configure: Likewise.
5426
a66877c6
MP
5427 * elf/dl-open.c: Comment fixes.
5428
cfc82fd8
JM
54292012-07-17 Joseph Myers <joseph@codesourcery.com>
5430
bd29910a
JM
5431 * Makefile [CXX] (check-data): Remove.
5432 [CXX] (c++-types.data): New vpath directive.
5433 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5434 vpath. Do not allow for C++ type data being missing.
5435 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5436 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5437 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5438 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5439 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5440 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5441 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5443 ... here.
5444 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5446 ... here.
5447 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5449 ... here.
5450 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5452 ... here.
5453 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5455 ... here.
5456 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5458 ... here.
5459 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5461 ... here.
5462 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5464
cfc82fd8
JM
5465 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5466 definitions to architecture-specific files.
5467 (TLS_IE): Likewise.
5468 (TLS_LD): Likewise.
5469 (TLS_GD): Likewise.
5470 * sysdeps/i386/tls-macros.h: New file.
5471 * sysdeps/powerpc/tls-macros.h: Likewise.
5472 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5473 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5474 * sysdeps/sh/tls-macros.h: Likewise.
5475 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5476 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5477 * sysdeps/x86_64/tls-macros.h: Likewise.
5478
f7db3170
TS
54792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5480
07cbfc23
TS
5481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5482 zero value for regular exit case.
5483
f7db3170
TS
5484 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5485 (__start_context): Preserve zero value for regular exit case.
5486
dc97c227
TS
54872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5488 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5489
5490 * manual/setjmp.texi (setcontext): Clarify normal process
5491 termination when uc_link is the null pointer.
5492 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5493 exit call.
5494
d0cd7d02
AS
54952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5496
5497 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5498 preprocessor. Test for each exception mask separately.
5499
dd318934
AJ
55002012-07-16 Andreas Jaeger <aj@suse.de>
5501
5502 * po/ru.po: Update from translation team.
5503
8048311a
JM
55042012-07-15 Joseph Myers <joseph@codesourcery.com>
5505
5506 * conform/data/string.h-data (NULL): Use macro-constant. Require
5507 equal to 0.
5508 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5509 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5510 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5511 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5513
b637d46e
AJ
55142012-07-13 Andreas Jaeger <aj@suse.de>
5515
5516 * po/fr.po: Update from translation team.
5517
541428fe
MP
55182012-07-12 Marek Polacek <polacek@redhat.com>
5519
5520 [BZ #14173]
5521 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5522 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5523 loop condition.
5524
ec332e94
JM
55252012-07-12 Joseph Myers <joseph@codesourcery.com>
5526
5527 [BZ #13717]
5528 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5529 Change to 2.4.1 where previously 2.4.0.
5530 * sysdeps/unix/sysv/linux/configure: Regenerated.
5531 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5532 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5533 version.
5534 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5535 (__ASSUME_AT_CLKTCK): Remove.
5536 (__ASSUME_AT_PAGESIZE): Likewise.
5537 (__ASSUME_AT_XID): Likewise.
5538 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5539 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5540 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5541 unconditionally.
5542 (HAVE_AUX_PAGESIZE): Likewise.
5543 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5544 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5545 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5546
7b6e99be
JB
55472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5548
5549 [BZ #14307]
5550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5551 the temporary buffer used to invoke __gethostbyname2_r,
5552 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5553 host_data / struct gaih_addrtuple.
5554 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5555 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5556 header file nss/nsswitch.h.
5557 * nss/nsswitch.h (global scope): Add definition of implementation
5558 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5559 resolv/nss_dns/dns-host.c).
5560
608404eb
AJ
55612012-07-11 Andreas Jaeger <aj@suse.de>
5562
5563 * po/fr.po: Update from translation team.
5564
71220aca
AJ
5565 * po/sv.po: Update from translation team
5566 * po/fr.po: Another update from translation team.
5567
28cfe843
AZ
55682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569
5570 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5571 for subnormals or multiply small sinh result by itself.
5572 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5574
6b90f981
DM
55752012-07-11 David S. Miller <davem@davemloft.net>
5576
5577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5578
c6825772
AS
55792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5580
5581 [BZ #14347]
5582 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5583 (INTERNAL_MARK): Shift it here.
5584
7b8e0d49
MP
55852012-07-10 Marek Polacek <polacek@redhat.com>
5586
5587 [BZ #14151]
5588 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5589 libc_cv_asm_global_directive with .globl.
5590 * configure: Regenerated.
5591 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5592 with .globl.
5593 * sysdeps/i386/configure: Regenerated.
5594 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5595 with .globl.
5596 * sysdeps/x86_64/configure: Regenerated.
5597 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5598 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5599 * elf/tst-unique2mod2.c: Likewise.
5600 * elf/tst-unique2mod1.c: Likewise.
5601 * elf/tst-unique1mod2.c: Likewise.
5602 * elf/tst-unique1mod1.c: Likewise.
5603 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5604 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5606 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5607 * sysdeps/mach/sysdep.h: Likewise.
5608 * sysdeps/i386/sysdep.h: Likewise.
5609 * sysdeps/i386/i386-mcount.S: Likewise.
5610 * sysdeps/x86_64/_mcount.S: Likewise.
5611 * sysdeps/x86_64/sysdep.h: Likewise.
5612 * sysdeps/sh/_mcount.S: Likewise.
5613 * sysdeps/sh/sysdep.h: Likewise.
5614 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5615 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5616 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5617 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5618 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5619 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5620 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5621 * locale/localeinfo.h: Likewise.
5622 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5623 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5624
6c55cda3
RM
56252012-07-09 Roland McGrath <roland@hack.frob.com>
5626
5627 [BZ #14336]
5628 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5629 system".
5630 * manual/message.texi (The Uniforum approach): Likewise.
5631 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5632 (glibc iconv Implementation): Likewise.
5633
638a572e
JM
56342012-07-09 Joseph Myers <joseph@codesourcery.com>
5635
5636 [BZ #14337]
5637 * math/s_clog.c (__clog): Avoid scaling a value down where that
5638 could result in underflow.
5639 * math/s_clog10.c (__clog10): Likewise.
5640 * math/s_clog10f.c (__clog10f): Likewise.
5641 * math/s_clog10l.c (__clog10l): Likewise.
5642 * math/s_clogf.c (__clogf): Likewise.
5643 * math/s_clogl.c (__clogl): Likewise.
5644 * math/libm-test.inc (clog_test): Add more tests.
5645 (clog10_test): Likewise.
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5648
261f4859
AS
56492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5650
0abaf3e4
AS
5651 [BZ #14283]
5652 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5653 by 7 not 8 to examine high bit of fractional part.
5654
261f4859
AS
5655 [BZ #14042]
5656 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5657 for call to __mcount_internal.
5658 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5659 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5660 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5661
f17ac40d
JM
56622012-07-06 Joseph Myers <joseph@codesourcery.com>
5663
9ad63c23
JM
5664 [BZ #14154]
5665 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5666 approximation for values within 0x1p-13f of an odd multiple of
5667 pi/4.
5668 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5669 exception. Add more tests.
5670 * sysdeps/i386/fpu/libm-test-ulps: Update.
5671
f17ac40d
JM
5672 [BZ #6778]
5673 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5674 inputs and return -1 for them. Do not check for +Inf in case not
5675 reachable for +Inf.
5676 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5677 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5679 and return -1 for them. Do not check for +Inf in case not
5680 reachable for +Inf.
5681 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5682 define.
5683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5684 and return -1 for them. Do not check for +Inf in case not
5685 reachable for +Inf.
5686 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5687 spurious underflow.
5688 * sysdeps/i386/fpu/libm-test-ulps: Update.
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5690
fb21f89b
MF
56912012-07-06 Mike Frysinger <vapier@gentoo.org>
5692
5693 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5694
cdfe2c5e
JM
56952012-07-05 Joseph Myers <joseph@codesourcery.com>
5696
5697 [BZ #14157]
5698 [BZ #14331]
5699 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5700 could result in spurious underflow. Scale down values above
5701 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5702 * math/s_csqrtf.c (__csqrtf): Likewise.
5703 * math/s_csqrtl.c (__csqrtl): Likewise.
5704 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5705 spurious underflow.
5706 * sysdeps/i386/fpu/libm-test-ulps: Update.
5707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5708
70d35b67
AS
57092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5710
704bc459
AS
5711 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5712 xopen-msg.sed.
5713 * catgets/xopen-msg.awk: New file.
5714 * catgets/xopen-msg.sed: Removed.
5715
70d35b67
AS
5716 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5717 po2text.sed.
5718 * intl/po2test.awk: New file.
5719 * intl/po2test.sed: Removed.
5720
ca61cf32
JM
57212012-07-04 Joseph Myers <joseph@codesourcery.com>
5722
5723 [BZ #14328]
5724 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5725 or multiply small sinh result by itself.
5726 * math/s_ctanf.c (__ctanf): Likewise.
5727 * math/s_ctanh.c (__ctanh): Likewise.
5728 * math/s_ctanhf.c (__ctanhf): Likewise.
5729 * math/s_ctanhl.c (__ctanhl): Likewise.
5730 * math/s_ctanl.c (__ctanl): Likewise.
5731 * math/libm-test.inc (ctan_test_tonearest): New function.
5732 (ctan_test_towardzero): Likewise.
5733 (ctan_test_downward): Likewise.
5734 (ctan_test_upward): Likewise.
5735 (ctanh_test_tonearest): Likewise.
5736 (ctanh_test_towardzero): Likewise.
5737 (ctanh_test_downward): Likewise.
5738 (ctanh_test_upward): Likewise.
5739 (main): Call these new functions.
5740 * sysdeps/i386/fpu/libm-test-ulps: Update.
5741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742
ca48a46a
MF
57432012-07-03 Mike Frysinger <vapier@gentoo.org>
5744
5745 * .gitignore: Delete /ports entry.
5746
9d63d37d
AJ
57472012-07-03 Andreas Jaeger <aj@suse.de>
5748
5749 * po/bg.po: Update from translation team.
5750 * po/cs.po: Likewise.
5751 * po/de.po: Likewise.
5752 * po/hr.po: Likewise.
5753 * po/nl.pl: Likewise.
5754 * po/pl.po: Likewise.
5755 * po/vi.po: Likewise.
5756
370ca3d2
JM
57572012-07-03 Joseph Myers <joseph@codesourcery.com>
5758
95f5a9a8
JM
5759 * Makeconfig [!+link] (+link-before-libc): New variable.
5760 [!+link] (+link-after-libc): Likewise.
5761 [!+link] (+link-tests): Likewise.
5762 [!+link] (+link): Define in terms of $(+link-before-libc) and
5763 $(+link-after-libc).
5764 [!+link-static] (+link-static-before-libc): New variable.
5765 [!+link-static] (+link-static-after-libc): Likewise.
5766 [!+link-static] (+link-static-tests): Likewise.
5767 [!+link-static] (+link-static): Define in terms of
5768 $(+link-static-before-libc) and $(+link-static-after-libc).
5769 [build-shared] (link-libc-before-gnulib): New variable.
5770 [build-shared] (link-libc-tests): Likewise.
5771 [build-shared] (link-libc): Define in terms of
5772 $(link-libc-before-gnulib).
5773 [!build-shared] (link-libc-tests): New variable.
5774 (link-libc-static-tests): New variable.
5775 [!gnulib] (gnulib-arch): New variable.
5776 [!gnulib] (gnulib-tests): Likewise.
5777 [!gnulib] (static-gnulib-arch): Likewise.
5778 [!gnulib] (static-gnulib-tests): Likewise.
5779 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5780 Define with "=" instead of ":=".
5781 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5782 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5783 * Rules (binaries-all-notests): New variable.
5784 (binaries-all-tests): Likewise.
5785 (binaries-static-notests): Likewise.
5786 (binaries-static-tests): Likewise.
5787 (binaries-all): Define using $(binaries-all-notests) and
5788 $(binaries-all-tests).
5789 (binaries-static): Define using $(binaries-static-notests) and
5790 $(binaries-static-tests).
5791 (binaries-shared-tests): New variable.
5792 (binaries-shared-notests): Likewise.
5793 (binaries-shared): Remove variable.
5794 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5795 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5796 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5797 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5798 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5799 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5800 * elf/Makefile (sln-modules): New variable.
5801 (extra-objs): Add $(sln-modules:=.o).
5802 (ldconfig-modules): Add static-stubs.
5803 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5804 * elf/static-stubs.c: New file.
5805
7a845b2c
JM
5806 [BZ #14283]
5807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5808 by 7 not 8 to examine high bit of fractional part. Use volatile
5809 variables when splitting into final array of floats if
5810 __FLT_EVAL_METHOD__ != 0.
5811 * math/libm-test.inc (cos_test): Add another test.
5812 (sin_test): Likewise.
5813 * sysdeps/i386/fpu/libm-test-ulps: Update.
5814
e2283f38
JM
5815 [BZ #14273]
5816 * math/libm-test.inc (cosh_test): Add more tests.
5817
370ca3d2
JM
5818 * version.h (RELEASE): Set to "development".
5819 (VERSION): Set to "2.16.90".
5820
ee9247c3
CD
58212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5822
5823 * NEWS: Update copyright. Remove last-updated date.
5824 Mention math library bug fixes and timezone data changes.
5825 * README: Mention GNU/Hurd, x32, and HPPA support status.
5826
4648c381
TS
58272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5828
5829 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5830
aac78a43
AJ
58312012-06-27 Andreas Jaeger <aj@suse.de>
5832
5833 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5834
ed3dbfad
AJ
58352012-06-25 Andreas Jaeger <aj@suse.de>
5836
5837 * sysdeps/s390/fpu/libm-test-ulps: Update.
5838
4d0ee855
AS
58392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5840 Thomas Schwinge <thomas@codesourcery.com>
5841
5842 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5843 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5845 fanotify_mark.
5846
af1bce34
TS
58472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5848
a9fa33ba
TS
5849 * sysdeps/mach/start.c: Remove file.
5850 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5851 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5852 * sysdeps/sh/init-first.c: Likewise.
5853
58f902b8
TS
5854 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5855 registers for frame unwinding purposes, add CFI directives.
5856 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5857 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5858 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5859 Likewise.
5860
1518f58b
TS
5861 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5862 __fortify_fail returning.
5863 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5864
db9b5059
TS
5865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5866 sysdeps/sh/____longjmp_chk.S.
5867 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5868 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5869 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5870 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5871
967705fe
TS
5872 * sysdeps/sh/abort-instr.h: New file.
5873 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5874 process in case exit returns.
5875
a9def8c4
TS
5876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5877 initialize the GOT register before use.
5878
2a649725
TS
5879 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5880 calculation of ARGC > 4.
5881
af1bce34
TS
5882 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5883 meaningful names to some local labels.
5884
d230f50a
KK
58852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5886 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5887
5888 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5889 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5890 (__arch_compare_and_exchange_val_16_acq): Likewise.
5891 (__arch_compare_and_exchange_val_32_acq): Likewise.
5892 (atomic_exchange_and_add): Fix gUSA sequence.
5893 (atomic_add): Likewise.
5894 (atomic_add_negative): Likewise.
5895 (atomic_add_zero): Likewise.
5896 (atomic_bit_test_set): Likewise.
5897
0479b305
AS
58982012-06-22 Andreas Schwab <schwab@redhat.com>
5899
5900 [BZ #13579]
5901 * include/link.h (struct link_map): Add l_free_initfini.
5902 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5903 l_initfini.
5904 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5905 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5906 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5907 set.
5908
0e3933b9
CD
59092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5910
5911 * configure.in: Use AC_LANG_SOURCE.
5912 * configure: Regenerate.
5913
4248b1b1
RM
59142012-06-22 Roland McGrath <roland@hack.frob.com>
5915
5916 * configure.in (libc_cv_localstatedir): New substituted variable.
5917 * configure: Regenerated.
5918 * config.make.in (localstatedir): New variable, substituted from
5919 libc_cv_localstatedir.
5920 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5921 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5922 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5923 * sysdeps/gnu/configure: Regenerated.
5924
006dd861
JL
59252012-06-21 Jeff Law <law@redhat.com>
5926
5927 [BZ #14277]
5928 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5929 free. Simplify list management for _LIBC case.
5930
79662d42
JM
59312012-06-21 Joseph Myers <joseph@codesourcery.com>
5932
b7abb4bf
JM
5933 [BZ #14273]
5934 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5935 Clear sign bit of 64-bit integer value before comparing against
5936 overflow value.
5937
79662d42
JM
5938 * sysdeps/mach/configure: Regenerated.
5939
1f150908
L
59402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 [BZ #14278]
5943 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5944
28363bbf
JL
59452012-06-21 Jeff Law <law@redhat.com>
5946
5947 [BZ #13882]
5948 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5949 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5951 * elf/dl-open.c (dl_open_worker): Likewise.
5952
09615db4
CD
59532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5954
5955 * scripts/list-sources.sh: Scan PORTS for translations.
5956 * po/libc.pot: Regenerated.
5957
2174c6dd
AJ
59582012-06-21 Andreas Jaeger <aj@suse.de>
5959
5960 [BZ #12194]
5961 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5962 warning.
5963 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5964 * bits/byteswap-16.h (__bswap_16): Likewise.
5965 * bits/byteswap.h (__bswap_constant_16): Likewise.
5966
3ee947b1
L
59672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5968
5969 [BZ #14117]
a2f34833
L
5970 * sysdeps/i386/fpu_control.h: Removed.
5971 * sysdeps/x86_64/fpu_control.h: Moved to ...
5972 * sysdeps/x86/fpu_control.h: Here.
5973
3ee947b1
L
5974 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5975 (_FPU_SETCW): Likewise.
5976
ed1825f8
L
59772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5978
25f1282a
L
5979 [BZ #14117]
5980 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5981 * sysdeps/x86/fpu/bits/mathinline.h: This.
5982 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5983
ed1825f8
L
5984 [BZ #14050]
5985 [BZ #14117]
5986 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5987 functions if __x86_64__ is defined.
5988
36d54b74
CLT
59892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5990
5991 * string/endian.h: Add !__ASSEMBLER__ condition for including
5992 conversion interfaces.
5993
10285c21
JM
59942012-06-15 Joseph Myers <joseph@codesourcery.com>
5995
5996 [BZ #14241]
5997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5998 of ABS(x) in calculating zero to negative powers other than odd
5999 integers.
6000 * math/libm-test.inc (pow_test): Add more tests.
6001
06c5abbd
AJ
60022012-06-15 Andreas Jaeger <aj@suse.de>
6003
6004 * manual/contrib.texi (Contributors): Update entry of Liubov
6005 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6006 Machado Filho.
6007
a3aeac40
CH
60082012-06-15 Cyril Hrubis <metan@ucw.cz>
6009
6010 * string/string.h: Add __wur to GNU version of strerror_r.
6011
49bdf4c1
L
60122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6013
6014 [BZ #14229]
6015 * string/Makefile (tests): Add tst-strtok_r.
6016 * string/tst-strtok_r.c: New file.
6017 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6018 RAX_LP/RDX_LP on SAVE_PTR.
6019
834f9b8d
RM
60202012-06-14 Roland McGrath <roland@hack.frob.com>
6021
6022 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6023
75fa1921
JM
60242012-06-14 Joseph Myers <joseph@codesourcery.com>
6025
6026 * libm_test.inc (csqrt_test): Allow more spurious underflow
6027 exceptions.
6028 (j0_test): Likewise.
6029 (j1_test): Likewise.
6030 (y0_test): Likewise.
6031 (y1_test): Likewise.
6032
771766df
CD
60332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6034
6035 * po/Makefile (libc.pot): Use UTF-8 charset.
6036
ceb9e56b
PP
60372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6038
6039 [BZ #14210]
6040 Suppress sign-conversion warning from FD_SET.
6041 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6042 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6043 not unsigned long int.
6044 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6045
ddb28975
L
60462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6047
6048 [BZ #14050]
6049 [BZ #14117]
6050 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6051 __extern_always_inline instead of __extern_inline.
6052 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6053 (__signbit): Likewise.
6054 (__signbitl): Support C++ namespace.
6055 (lrintf): New inline function.
6056 (lrint): Likewise.
6057 (llrintf): Likewise.
6058 (llrint): Likewise.
6059 (fmaxf): Likewise.
6060 (fmax): Likewise.
6061 (fminf): Likewise.
6062 (fmin): Likewise.
6063 (rint): Likewise.
6064 (rintf): Likewise.
6065 (ceil): Likewise.
6066 (ceilf): Likewise.
6067 (floor): Likewise.
6068 (floorf): Likewise.
6069 (nearbyint): Likewise.
6070 (nearbyintf): Likewise.
6071
d7b4fb26
TS
60722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6073
6074 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6075 non-default versions.
6076
eb55f5c2
RM
60772012-06-11 Roland McGrath <roland@hack.frob.com>
6078
6079 [BZ #14218]
6080 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6081
366af02c
TS
60822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6083
99ff6e5c
TS
6084 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6085 (FE_UPWARD, FE_DOWNWARD): Don't define.
6086 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6087 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6088
366af02c
TS
6089 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6090 reading it.
6091 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6092 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6093
793ea851
KK
60942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6095
6096 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6097 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6098 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6100
a728a38f
L
61012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6102
6103 [BZ #14117]
c08010c7
L
6104 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6105 * sysdeps/i386/fpu/Implies: New file.
6106 * sysdeps/x86_64/fpu/Implies: Likewise.
6107 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6108 * sysdeps/x86/fpu/bits/fenv.h: This.
6109
a728a38f
L
6110 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6111 __SSE_MATH__.
6112
6e230d11
SP
61132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6114
6115 [BZ #14134]
6116 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6117 character 0xffff that matches the last element of the
6118 conversion table.
6119
1b671feb
AZ
61202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121
6122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6123 fmodl commit.
6124
6043738b
AZ
61252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126
6127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6128 values higher than 25.6283.
6129
34ae0b32
AZ
61302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131
6132 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6133 subnormal exponent extraction and add some __builtin_expect.
6134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6135 Fix for subnormal mantissa calculation.
6136
1214ec8f
MF
61372012-06-04 Mike Frysinger <vapier@gentoo.org>
6138
6139 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6140 cpu2 is -1 and errno is not ENOSYS.
6141
f3d1f93c
L
61422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6143
6144 [BZ #14117]
0e4a3cd7
L
6145 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6146 * sysdeps/x86/bits/string.h: This.
6147 * sysdeps/x86_64/bits/string.h: Removed.
6148
6704c645
L
6149 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6150 if not compiling for x86-64, but compiling for >= i486.
6151
48495318
L
6152 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6153 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6154
14adcbfc
L
6155 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6156 New macro from Linux kernel 3.4.0.
6157 (FP_XSTATE_MAGIC2): Likewise.
6158 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6159 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6160 (struct _fpx_sw_bytes): New struct.
6161 (struct _xsave_hdr): Likewise.
6162 (struct _ymmh_state): Likewise.
6163 (struct _xstate): Likewise.
6164
68e408ab
L
6165 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6166 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6168 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6169 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6170 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6171
f3d1f93c
L
6172 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6173 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6174 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6175 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6176 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6177 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6178
d9dc34cd
TMQMF
61792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6180
6181 [BZ #13743]
6182 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6183 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6184 (sysdep_headers): Include sys/platform/ppc.h.
6185 * sysdeps/powerpc/test-gettimebase.c: Test for
6186 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6187 * manual/Makefile (appendices): Include platform.texi.
6188 * manual/contrib.texi (Contributors): Update @node pointers.
6189 * manual/maint.texi (Maintenance): Likewise.
6190 (Platform): New node.
6191 * manual/platform.texi: New file. Document the new features.
6192
4af3879c
SP
61932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6194 Jakub Jelinek <jakub@redhat.com>
6195
6196 [BZ #14188]
6197 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6198 where __builtin_expect is unavailable.
6199
2fd6ff13
DM
62002012-06-03 David S. Miller <davem@davemloft.net>
6201
6202 * stdlib/longlong.h: Updated from GCC.
6203
173f7220
AS
62042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6205
6206 [BZ #14042]
6207 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6208 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6209 __mcount_internal.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6211 (GLIBC_2.16): Likewise.
6212
f34a1c6f
L
62132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6214
6215 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6216
88a4576f
JM
62172012-06-01 Joseph Myers <joseph@codesourcery.com>
6218
ea32bcdd
JM
6219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6220 (default-abi): New variable.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6222 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6223 variable.
6224 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6225 Likewise.
6226 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6227 Likewise.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6229 Likewise.
6230
88a4576f
JM
6231 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6232 definition. Document in comment.
6233
402fe938
DM
62342012-06-01 David S. Miller <davem@davemloft.net>
6235
6236 * stdlib/longlong.h: Updated from GCC.
6237
3553723f
L
62382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 [BZ #14117]
3bd872c4
L
6241 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6242 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6243 sys/debugreg.h sys/io.h here.
6244 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6245 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6246 sys/io.h.
6247 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6248 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6250 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6252 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6253
3553723f
L
6254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6255 Define only if __x86_64__ is defined.
6256
4842e4fe
JM
62572012-06-01 Joseph Myers <joseph@codesourcery.com>
6258
c5bfe3d5
JM
6259 [BZ #14048]
6260 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6261 Use int64_t for variable i.
6262 * math/libm-test.inc (fmod_test): Add more tests.
6263
4842e4fe
JM
6264 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6265 z computation is not scheduled after fetestexcept.
6266 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6267 Use math_force_eval instead of asm to ensure calculation scheduled
6268 before exception test.
6269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6270 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6271
efb73488
AJ
62722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6273
6274 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6275 computation is not scheduled after fetestexcept.
6276
29bcce7c
L
62772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 [BZ #14117]
6280 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6281 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6282
73a68f94
AZ
62832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6284
6285 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6286 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6287
67b6df78
L
62882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6289
edf2933a 6290 [BZ #14117]
ebc64a18
L
6291 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6292 <bits/wordsize.h>.
6293 (__WCHAR_MIN): Support __WORDSIZE == 64.
6294 (__WCHAR_MAX): Likewise.
6295
edf2933a
L
6296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6297 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6298
57c6cf40
L
6299 [BZ #14183]
6300 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6301 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6302
67b6df78 6303 [BZ #14117]
8eb6281e
L
6304 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6306
aac639f4
L
6307 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6308 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6309
67b6df78
L
6310 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6311 Defined to 1 if __x86_64__ isn't defined.
6312 (_STAT_VER_LINUX_OLD): New.
6313 (st_atime): Remove duplicate.
6314 (st_mtime): Likewise.
6315 (st_ctime): Likewise.
6316
1c2cfe81
DM
63172012-05-31 David S. Miller <davem@davemloft.net>
6318
6319 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6320 entries.
6321
5be8418c
AS
63222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6323
e7725326
AS
6324 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6325 gen-libm-test.pl.
6326
5be8418c
AS
6327 [BZ #14132]
6328 * elf/dl-reloc.c: Include <_itoa.h>.
6329 (_dl_reloc_bad_type): Remove use of INTUSE.
6330 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6331 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6332 * stdio-common/psiginfo.c (psiginfo): Likewise.
6333 * stdio-common/psignal.c (psignal): Likewise.
6334 * string/strsignal.c (strsignal): Likewise.
6335 * include/signal.h (_sys_siglist): Declare hidden proto.
6336 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6337 INTVARDEF with libc_hidden_data_def.
6338 * stdio-common/itoa-udigits.c: Likewise.
6339 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6340 (_itoa_lower_digits_internal): Remove declaration.
6341 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6342 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6343 (_sys_sigabbrev_internal): Remove aliases.
6344 (_sys_siglist): Define hidden alias.
6345
507352f1
MT
63462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6347
6348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6349 bits/sysctl.h.
6350
42bbb1c3
L
63512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 [BZ #14117]
6bd784b6
L
6354 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6355 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6356
8bca20f0
L
6357 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6358 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6359 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6360 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6362 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6363
f9e890a9
L
6364 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6365 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6366 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6367
471101a1
L
6368 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6369 with __addr.
6370 (insw): Likewise.
6371 (insl): Likewise.
6372 (outsb): Likewise.
6373 (outsw): Likewise.
6374 (outsl): Likewise.
6375
6451c862
L
6376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6377 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6379
a254b8c9
L
6380 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6381 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6382 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6383 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6384 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6385 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6386
b8dfdd92
L
6387 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6388 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6389
578cd270
L
6390 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6391 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6392
de662f5f
L
6393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6394 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6396
25653439
L
6397 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6398 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6399 to ...
6400 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6401
6bad24a0
L
6402 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6403 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6404 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6405
42bbb1c3
L
6406 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6407 for x86-64.
6408 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6409
2d10d547
JM
64102012-05-31 Joseph Myers <joseph@codesourcery.com>
6411
6412 * math/math.h (M_El): Use two more decimal places.
6413 (M_LOG2El): Likewise.
6414 (M_LOG10El): Likewise.
6415 (M_LN2l): Likewise.
6416 (M_LN10l): Likewise.
6417 (M_PIl): Likewise.
6418 (M_PI_2l): Likewise.
6419 (M_PI_4l): Likewise.
6420 (M_1_PIl): Likewise.
6421 (M_2_PIl): Likewise.
6422 (M_2_SQRTPIl): Likewise.
6423 (M_SQRT2l): Likewise.
6424 (M_SQRT1_2l): Likewise.
6425
f230c29b
DM
64262012-05-31 David S. Miller <davem@davemloft.net>
6427
6428 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6429 values between float registers.
6430 * sysdeps/sparc/sparc64/memset.S: Likewise.
6431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6432
fed806c3
MF
64332012-05-31 Mike Frysinger <vapier@gentoo.org>
6434
6435 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6436 -D_FORTIFY_SOURCE=1.
6437 (CPPFLAGS-tst-longjmp_chk.c): Define.
6438 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6439 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6440 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6441 CFLAGS-tst-wchar-h.c.
6442
30917259
MP
64432012-05-31 Marek Polacek <polacek@redhat.com>
6444
6445 [BZ #14132]
6446 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6447 __endmntent_internal): Remove declaration.
6448 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6449 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6450 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6451
1c58d5dc
DM
64522012-05-30 David S. Miller <davem@davemloft.net>
6453
6454 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6455 (___Q_simulate_exceptions): Use real FP ops rather than writing
6456 into the %fsr.
6457 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6458 Likewise.
6459
7dc00e0d
L
64602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6461
6462 [BZ #14117]
0bd53985
L
6463 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6464 * sysdeps/x86/bits/xtitypes.h: This.
6465
3a257e66
L
6466 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6467 * sysdeps/x86/bits/wordsize.h: This.
6468
62f62904
L
6469 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6470 * sysdeps/x86/bits/huge_vall.h: This.
6471
404fe9d9
L
6472 * sysdeps/i386/bits/select.h: Removed.
6473 * sysdeps/x86_64/bits/select.h: Renamed to ...
6474 * sysdeps/x86/bits/select.h: This.
6475
d48d0446
L
6476 * sysdeps/i386/bits/setjmp.h: Removed.
6477 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6478 * sysdeps/x86/bits/setjmp.h: This.
6479
7dc00e0d
L
6480 * sysdeps/i386/bits/mathdef.h: Removed.
6481 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6482 * sysdeps/x86/bits/mathdef.h: This.
6483
03277f8f
AS
64842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6485
6486 [BZ #14132]
6487 * include/sys/socket.h (__connect_internal)
6488 (__libc_sa_len_internal): Remove declaration.
6489 (__connect, __libc_sa_len): Declare hidden_proto.
6490 (SA_LEN): Remove use of INTUSE.
6491 * socket/connect.c: Add libc_hidden_def.
6492 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6493 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6494 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6495 alias.
6496 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6498 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6499 of adding _internal alias.
6500
13764867
L
65012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6502
6503 [BZ #14117]
6bd97696
L
6504 * sysdeps/i386/bits/link.h: Removed.
6505 * sysdeps/i386/bits/linkmap.h: Likewise.
6506 * sysdeps/x86_64/bits/link.h: Renamed to ...
6507 * sysdeps/x86/bits/link.h: This.
6508 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6509 * sysdeps/x86/bits/linkmap.h: This.
6510
f726f0bb
L
6511 * sysdeps/i386/bits/endian.h: Removed.
6512 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6513 * sysdeps/x86/bits/endian.h: This.
6514
13764867
L
6515 * sysdeps/i386/bits/byteswap.h: Removed.
6516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6517 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6518 * sysdeps/x86/bits/byteswap.h: This.
6519 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6520 * sysdeps/x86/bits/byteswap-16.h: This.
6521 * sysdeps/i386/Implies: Add x86.
6522 * sysdeps/x86_64/Implies: Likewise.
6523
ae251b0b
DM
65242012-05-30 David S. Miller <davem@davemloft.net>
6525
6526 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6527 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6528 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6529 (FP_TRAPPING_EXCEPTIONS): Define.
6530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6531 (FP_TRAPPING_EXCEPTIONS): Define.
6532 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6533 subnormals only when inexact has been signalled or underflow
6534 exceptions are enabled.
6535 (_FP_PACK_CANONICAL): Likewise.
6536
d5c90867
L
65372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6538
6539 [BZ #14183]
6540 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6541 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6542
63f1549e
RH
65432012-05-30 Richard Henderson <rth@twiddle.net>
6544
8d8f2279
RH
6545 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6546 with #ifndef NOT_IN_libc.
6547
63f1549e
RH
6548 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6549 marked to avoid plt entry.
6550
0ab0291b
L
65512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6552
6553 [BZ #14112]
6554 * Makeconfig (default-abi): New macro.
6555 (abi-includes): Likewise.
6556 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6557 $(abi-$(default-abi)-lib-soname) for soname if defined.
6558 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6559 abi-variants.
6560 * Makefile (installed-stubs): Likewise.
6561 * include/stubs-biarch.h: Removed.
6562 * scripts/lib-names.awk: Only handle one library at a time.
6563 * scripts/soversions.awk: Remove WORDSIZE support.
6564 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6565 entries.
6566 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6567 Removed.
6568 (syscall-list-default-condition): Likewise.
6569 (syscall-list-default-condition): Likewise.
6570 (syscall-list-includes): Likewise.
6571 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6572 syscall-list-* with abi-*. Handle undefined abi-variants.
6573 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6574 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6575 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6576 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6577 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6578 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6579 Removed.
6580 (syscall-list-32-options): Likewise.
6581 (syscall-list-32-condition): Likewise.
6582 (syscall-list-64-options): Likewise.
6583 (syscall-list-64-condition): Likewise.
6584 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6585 macro.
6586 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6587 Renamed to ...
6588 (abi-*): This.
6589 (abi-64-ld-soname): New macro.
6590 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6591 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6592 Renamed to ...
6593 (abi-*): This.
6594 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6595 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6596
4da0431d
JM
65972012-05-30 Joseph Myers <joseph@codesourcery.com>
6598
3a85279c
JM
6599 * sysdeps/unix/sysv/linux/kernel-features.h
6600 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6601 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6602 include <kernel-features.h>.
6603 [!__NR_ftruncate64]: Remove conditional code.
6604 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6605 [__NR_ftruncate64]: Make code unconditional.
6606 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6607 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6608 include <kernel-features.h>.
6609 [!__NR_ftruncate64]: Remove conditional code.
6610 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6611 [__NR_ftruncate64]: Make code unconditional.
6612 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6614 include <kernel-features.h>.
6615 [!__NR_ftruncate64]: Remove conditional code.
6616 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6617 [__NR_ftruncate64]: Make code unconditional.
6618 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6620 include <kernel-features.h>.
6621 [!__NR_ftruncate64]: Remove conditional code.
6622 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6623 [__NR_ftruncate64]: Make code unconditional.
6624 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6625
4da0431d
JM
6626 * configure.in (libc_cv_fpie): Weaken to a compile test using
6627 LIBC_TRY_CC_OPTION.
6628 * configure: Regenerated.
6629
11ef492c
AK
66302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6631
6632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6636 Refreshed.
6637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6643 Refreshed.
6644
d66ef399
DM
66452012-05-27 David S. Miller <davem@davemloft.net>
6646
6647 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6648 (___Q_zero): New.
6649 (__Q_simulate_exceptions): Return void. Change to simulate
6650 exceptions by writing into the %fsr.
6651 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6652 (__Qp_handle_exceptions): Likewise.
6653 (numbers): Delete.
6654 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6655 __Qp_handle_exceptions.
6656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6657 __Qp_handle_exceptions.
6658 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6659 as unused and give dummy FP_RND_NEAREST initializer.
6660 (FP_INHIBIT_RESULTS): Define.
6661 (___Q_simulate_exceptions): Update declaration.
6662 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6663 formatting.
6664 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6665 as unused and give dummy FP_RND_NEAREST initializer.
6666 (__Qp_handle_exceptions): Update declaration.
6667 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6668 formatting.
6669
04fb54b5
TS
66702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6671
6672 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6673 the temporary FPU control word.
6674 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6675 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6676 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6677 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6678 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6679 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6680 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6681 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6682 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6683 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6685
3f99608f
KK
66862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6687
6688 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6689 fields.
6690
65a4de4e
CLT
66912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6692
6693 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6694 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6695 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6696 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6697 Likewise.
6698 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6699 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6700 Likewise.
6701
15749d40
UD
67022012-05-27 Ulrich Drepper <drepper@gmail.com>
6703
6704 * po/h.po: Update from translation team.
6705
25dbcb27
AS
67062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6707
3d3f8e55
AS
6708 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6709
25dbcb27
AS
6710 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6711 handling of denormals.
6712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6713 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6719 Likewise.
6720
7ad47a80 67212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6722
6723 [BZ #14152]
6724 * math/libm-test.inc (fma_test): Don't always expect underflow
6725 exception.
6726
9c6ea9fa
SP
67272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6728
6729 [BZ #12416]
6730 * elf/tst-execstack.c: Include stackinfo.h.
6731 (do_test): Adjust test case to ensure that pthread_getattr_np
6732 behaviour remains the same after marking stack executable.
6733
a8239222
JM
67342012-05-25 Joseph Myers <joseph@codesourcery.com>
6735
6736 * sysdeps/unix/sysv/linux/kernel-features.h
6737 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6738 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6739 kernel-features.h.
6740 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6741 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6742 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6743 kernel-features.h.
6744 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6745 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6746
918b5606
L
67472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * configure.in: Define the default includes to being none.
6750 * configure: Regenerated.
6751
3a097cc7
RM
67522012-05-25 Roland McGrath <roland@hack.frob.com>
6753
8422c9a5
RM
6754 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6755 * sysdeps/x86_64/setjmp.S: Likewise.
6756 * sysdeps/i386/bsd-setjmp.S: Likewise.
6757 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6758 * sysdeps/i386/setjmp.S: Likewise.
6759 * sysdeps/i386/__longjmp.S: Likewise.
6760 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6761 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6762
3a097cc7
RM
6763 * include/stap-probe.h: New file.
6764 * configure.in: Handle --enable-systemtap.
6765 * configure: Regenerated.
6766 * config.h.in (USE_STAP_PROBE): New #undef.
6767 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6768 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6769 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6770
21708942
JM
67712012-05-25 Joseph Myers <joseph@codesourcery.com>
6772
6773 [BZ #13717]
6774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6775 to 2.4.0 where earlier.
6776 * sysdeps/unix/sysv/linux/configure: Regenerated.
6777 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6778 <kernel-features.h>.
6779 [__ASSUME_32BITUIDS]: Make code unconditional.
6780 [!__ASSUME_32BITUIDS]: Remove conditional code.
6781 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6782 <kernel-features.h>.
6783 [__ASSUME_32BITUIDS]: Make code unconditional.
6784 [!__ASSUME_32BITUIDS]: Remove conditional code.
6785 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6786 [__ASSUME_32BITUIDS]: Make code unconditional.
6787 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6788 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6789 <kernel-features.h>.
6790 [__ASSUME_32BITUIDS]: Make code unconditional.
6791 [!__ASSUME_32BITUIDS]: Remove conditional code.
6792 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6793 <kernel-features.h>.
6794 [__ASSUME_32BITUIDS]: Make code unconditional.
6795 [!__ASSUME_32BITUIDS]: Remove conditional code.
6796 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6797 <kernel-features.h>.
6798 [__ASSUME_32BITUIDS]: Make code unconditional.
6799 [!__ASSUME_32BITUIDS]: Remove conditional code.
6800 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6801 <kernel-features.h>.
6802 [__ASSUME_32BITUIDS]: Make code unconditional.
6803 [!__ASSUME_32BITUIDS]: Remove conditional code.
6804 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6805 <kernel-features.h>.
6806 [__ASSUME_32BITUIDS]: Make code unconditional.
6807 [!__ASSUME_32BITUIDS]: Remove conditional code.
6808 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6809 <kernel-features.h>.
6810 [__ASSUME_32BITUIDS]: Make code unconditional.
6811 [!__ASSUME_32BITUIDS]: Remove conditional code.
6812 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
6829 <kernel-features.h>.
6830 [__NR_setresgid] (__setresgid): Do not declare.
6831 [__ASSUME_32BITUIDS]: Make code unconditional.
6832 [!__ASSUME_32BITUIDS]: Remove conditional code.
6833 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6834 <kernel-features.h>.
6835 [__NR_setresuid] (__setresuid): Do not declare.
6836 [__ASSUME_32BITUIDS]: Make code unconditional.
6837 [!__ASSUME_32BITUIDS]: Remove conditional code.
6838 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6839 <kernel-features.h>.
6840 [__ASSUME_32BITUIDS]: Make code unconditional.
6841 [!__ASSUME_32BITUIDS]: Remove conditional code.
6842 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6843 <kernel-features.h>.
6844 [__ASSUME_32BITUIDS]: Make code unconditional.
6845 [!__ASSUME_32BITUIDS]: Remove conditional code.
6846 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6847 <kernel-features.h>.
6848 [__ASSUME_32BITUIDS]: Make code unconditional.
6849 [!__ASSUME_32BITUIDS]: Remove conditional code.
6850 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6851 <kernel-features.h>.
6852 [__ASSUME_32BITUIDS]: Make code unconditional.
6853 [!__ASSUME_32BITUIDS]: Remove conditional code.
6854 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6855 <kernel-features.h>.
6856 [__ASSUME_32BITUIDS]: Make code unconditional.
6857 [!__ASSUME_32BITUIDS]: Remove conditional code.
6858 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6859 <kernel-features.h>.
6860 [__ASSUME_32BITUIDS]: Make code unconditional.
6861 [!__ASSUME_32BITUIDS]: Remove conditional code.
6862 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6863 <kernel-features.h>.
6864 [__ASSUME_32BITUIDS]: Make code unconditional.
6865 [!__ASSUME_32BITUIDS]: Remove conditional code.
6866 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6867 <kernel-features.h>.
6868 [__ASSUME_32BITUIDS]: Make code unconditional.
6869 [!__ASSUME_32BITUIDS]: Remove conditional code.
6870 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6871 <kernel-features.h>.
6872 [__ASSUME_32BITUIDS]: Make code unconditional.
6873 [!__ASSUME_32BITUIDS]: Remove conditional code.
6874 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
6879 (__ASSUME_SETRESUID_SYSCALL): Remove.
6880 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6881 (__ASSUME_32BITUIDS): Likewise.
6882 (__ASSUME_LDT_WORKS): Likewise.
6883 (__ASSUME_O_DIRECTORY): Likewise.
6884 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6885 architecture but not kernel version.
6886 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6887 (__ASSUME_MMAP2_SYSCALL): Likewise.
6888 (__ASSUME_STAT64_SYSCALL): Likewise.
6889 (__ASSUME_IPC64): Likewise.
6890 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6891 <kernel-features.h>.
6892 [__ASSUME_32BITUIDS]: Make code unconditional.
6893 [!__ASSUME_32BITUIDS]: Remove conditional code.
6894 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6895 <kernel-features.h>.
6896 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6897 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6898 132096]: Remove conditional code.
6899 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6900 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6901 <kernel-features.h>.
6902 [__ASSUME_32BITUIDS]: Make code unconditional.
6903 [!__ASSUME_32BITUIDS]: Remove conditional code.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6905 <kernel-features.h>.
6906 [__ASSUME_32BITUIDS]: Make code unconditional.
6907 [!__ASSUME_32BITUIDS]: Remove conditional code.
6908 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6909 <kernel-features.h>.
6910 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6911 unconditional.
6912 (__setresgid): Do not declare.
6913 [__ASSUME_32BITUIDS]: Make code unconditional.
6914 [!__ASSUME_32BITUIDS]: Remove conditional code.
6915 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6916 <kernel-features.h>.
6917 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6918 unconditional.
6919 (__setresuid): Do not declare.
6920 [__ASSUME_32BITUIDS]: Make code unconditional.
6921 [!__ASSUME_32BITUIDS]: Remove conditional code.
6922 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6923 <kernel-features.h>.
6924 [__ASSUME_32BITUIDS]: Make code unconditional.
6925 [!__ASSUME_32BITUIDS]: Remove conditional code.
6926 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6927 <kernel-features.h>.
6928 [__ASSUME_32BITUIDS]: Make code unconditional.
6929 [!__ASSUME_32BITUIDS]: Remove conditional code.
6930
a386f1cc
RH
69312012-05-25 Richard Henderson <rth@twiddle.net>
6932
6933 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6934 dl_hwcap to ifunc resolver.
6935 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6936 elf_ifunc_invoke.
6937 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6938 dl_hwcap to ifunc resolver.
6939 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6940
b6550497
JM
69412012-05-24 Joseph Myers <joseph@codesourcery.com>
6942
6943 [BZ #14153]
6944 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6945 for |x| <= 2**-26, not 2**-57.
6946 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6947 exception.
6948
b0bc23a1
JL
69492012-05-24 Jeff Law <law@redhat.com>
6950
6951 * stdio-common/Makefile (tests): Add bug25.
6952 * stdio-common/bug25.c: New test.
6953
347c92e9
L
69542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 [BZ #13576]
6957 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6958 multiple of MALLOC_ALIGNMENT in size.
6959 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6960
6bcc8b3f
JM
69612012-05-24 Joseph Myers <joseph@codesourcery.com>
6962
6963 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6964 Require >= 256.
6965 (FILENAME_MAX): Use macro-int-constant.
6966 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6967 (_IOFBF): Use macro-int-constant.
6968 (_IOLBF): Likewise.
6969 (_IONBF): Likewise.
6970 (SEEK_CUR): Likewise.
6971 (SEEK_END): Likewise.
6972 (SEEK_SET): Likewise.
6973 (TMP_MAX): Likewise.
6974 (EOF): Use macro-int-constant. Require < 0.
6975 (NULL): Use macro-constant. Require == 0.
6976 (stdin): Require type to be FILE *.
6977 (stdout): Likewise.
6978 (stderr): Likewise.
6979 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6980 macro-int-constant.
6981 (EXIT_SUCCESS): Likewise.
6982 (NULL): Use macro-constant. Require == 0.
6983 (RAND_MAX): Use macro-int-constant.
6984 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6985 [C99-based standards] (strtof): Require function.
6986 [C99-based standards] (strtold): Likewise.
6987 [C99-based standards] (strtoll): Likewise.
6988 [C99-based standards] (strtoull): Likewise.
6989 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6990 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6991 [ISO || ISO99 || ISO11] (math.h): Likewise.
6992 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6993 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6995
d18ea0c5
AS
69962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6997
6998 [BZ #14132]
56d25bb8
AS
6999 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7000 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7001 * intl/dgettext.c (DCGETTEXT): Likewise.
7002 * intl/gettext.c (DCGETTEXT): Likewise.
7003 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7004 * posix/regex_internal.h (gettext): Likewise.
7005 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7006 Remove declaration.
7007 * include/argz.h (__argz_count_internal)
7008 (__argz_stringify_internal): Remove declaration.
7009 (__argz_count, __argz_stringify): Declare hidden proto.
7010 * intl/dcgettext.c: Remove use of INTDEF.
7011 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7012 * string/argz-stringify.c: Likewise.
7013 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7014 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7015 Declare hidden proto.
d18ea0c5
AS
7016 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7017 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7018 Declare hidden proto.
7019 * include/stdio.h (__asprintf_internal): Don't declare.
7020 (__asprintf): Don't define as macro. Declare hidden proto.
7021 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7022 (__fsetlocking): Declare hidden proto.
7023 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7024 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7025 hidden proto.
7026 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7027 (_IO_setlinebuf): Remove use of INTUSE.
7028 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7029 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7030 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7031 Remove declaration.
7032 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7033 (_IO_do_flush): Remove use of INTUSE.
7034 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7035 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7036 (_IO_adjust_column, _IO_least_wmarker)
7037 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7038 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7039 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7040 (_IO_default_doallocate, _IO_wdefault_doallocate)
7041 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7042 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7043 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7044 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7045 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7046 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7047 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7048 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7049 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7050 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7051 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7052 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7053 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7054 proto.
7055 (_IO_flush_all_internal, _IO_adjust_column_internal)
7056 (_IO_default_uflow_internal, _IO_default_finish_internal)
7057 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7058 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7059 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7060 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7061 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7062 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7063 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7064 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7065 (_IO_file_close_internal, _IO_file_close_it_internal)
7066 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7067 (_IO_file_init_internal, _IO_file_attach_internal)
7068 (_IO_file_fopen_internal, _IO_file_read_internal)
7069 (_IO_file_sync_internal, _IO_file_seek_internal)
7070 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7071 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7072 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7073 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7074 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7075 (_IO_list_all_internal, _IO_link_in_internal)
7076 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7077 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7078 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7079 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7080 (_IO_do_write_internal, _IO_padn_internal)
7081 (_IO_getline_info_internal, _IO_getline_internal)
7082 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7083 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7084 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7085 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7086 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7087 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7088 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7089 with libc_hidden_ver, remove use of INTUSE.
7090 * libio/genops.c: Likewise.
7091 * libio/freopen.c: Likewise.
7092 * libio/freopen64.c: Likewise.
7093 * libio/iofclose.c: Likewise.
7094 * libio/iofdopen.c: Likewise.
7095 * libio/iofflush.c: Likewise.
7096 * libio/iofflush_u.c: Likewise.
7097 * libio/iofgets.c: Likewise.
7098 * libio/iofgets_u.c: Likewise.
7099 * libio/iofopen.c: Likewise.
7100 * libio/iofopncook.c: Likewise.
7101 * libio/iofread.c: Likewise.
7102 * libio/iofread_u.c: Likewise.
7103 * libio/ioftell.c: Likewise.
7104 * libio/iofwrite.c: Likewise.
7105 * libio/iogetline.c: Likewise.
7106 * libio/iogets.c: Likewise.
7107 * libio/iogetwline.c: Likewise.
7108 * libio/iopadn.c: Likewise.
7109 * libio/iopopen.c: Likewise.
7110 * libio/ioseekoff.c: Likewise.
7111 * libio/ioseekpos.c: Likewise.
7112 * libio/iosetbuffer.c: Likewise.
7113 * libio/iosetvbuf.c: Likewise.
7114 * libio/ioungetc.c: Likewise.
7115 * libio/ioungetwc.c: Likewise.
7116 * libio/iovdprintf.c: Likewise.
7117 * libio/iovsprintf.c: Likewise.
7118 * libio/iovsscanf.c: Likewise.
7119 * libio/memstream.c: Likewise.
7120 * libio/obprintf.c: Likewise.
7121 * libio/oldfileops.c: Likewise.
7122 * libio/oldiofclose.c: Likewise.
7123 * libio/oldiofdopen.c: Likewise.
7124 * libio/oldiofopen.c: Likewise.
7125 * libio/oldiopopen.c: Likewise.
7126 * libio/oldstdfiles.c: Likewise.
7127 * libio/putc.c: Likewise.
7128 * libio/setbuf.c: Likewise.
7129 * libio/setlinebuf.c: Likewise.
7130 * libio/stdfiles.c: Likewise.
7131 * libio/strops.c: Likewise.
7132 * libio/vasprintf.c: Likewise.
7133 * libio/vscanf.c: Likewise.
7134 * libio/vsnprintf.c: Likewise.
7135 * libio/vswprintf.c: Likewise.
7136 * libio/wfiledoalloc.c: Likewise.
7137 * libio/wfileops.c: Likewise.
7138 * libio/wgenops.c: Likewise.
7139 * libio/wmemstream.c: Likewise.
7140 * libio/wstrops.c: Likewise.
7141 * libio/__fpurge.c: Likewise.
7142 * libio/__fsetlocking.c: Likewise.
7143 * assert/assert.c: Likewise.
7144 * debug/fgets_chk.c: Likewise.
7145 * debug/fgets_u_chk.c: Likewise.
7146 * debug/fread_chk.c: Likewise.
7147 * debug/fread_u_chk.c: Likewise.
7148 * debug/gets_chk.c: Likewise.
7149 * debug/obprintf_chk.c: Likewise.
7150 * debug/vasprintf_chk.c: Likewise.
7151 * debug/vdprintf_chk.c: Likewise.
7152 * debug/vsnprintf_chk.c: Likewise.
7153 * debug/vsprintf_chk.c: Likewise.
7154 * malloc/mtrace.c: Likewise.
7155 * misc/error.c: Likewise.
7156 * misc/syslog.c: Likewise.
7157 * stdio-common/asprintf.c: Likewise.
7158 * stdio-common/fxprintf.c: Likewise.
7159 * stdio-common/getw.c: Likewise.
7160 * stdio-common/isoc99_fscanf.c: Likewise.
7161 * stdio-common/isoc99_scanf.c: Likewise.
7162 * stdio-common/isoc99_vfscanf.c: Likewise.
7163 * stdio-common/isoc99_vscanf.c: Likewise.
7164 * stdio-common/isoc99_vsscanf.c: Likewise.
7165 * stdio-common/printf-prs.c: Likewise.
7166 * stdio-common/printf_fp.c: Likewise.
7167 * stdio-common/printf_fphex.c: Likewise.
7168 * stdio-common/printf_size.c: Likewise.
7169 * stdio-common/putw.c: Likewise.
7170 * stdio-common/scanf.c: Likewise.
7171 * stdio-common/sprintf.c: Likewise.
7172 * stdio-common/tmpfile.c: Likewise.
7173 * stdio-common/vfprintf.c: Likewise.
7174 * stdio-common/vfscanf.c: Likewise.
7175 * stdlib/strfmon_l.c: Likewise.
7176 * sunrpc/openchild.c: Likewise.
7177 * sunrpc/xdr_stdio.c: Likewise.
7178 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7179 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7180
d6c33fda
RM
71812012-05-24 Roland McGrath <roland@hack.frob.com>
7182
c1487492
RM
7183 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7184
7185 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7186 in the third column, to generate for the shared library an IFUNC
7187 that uses _dl_vdso_vsym.
7188 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7189 * Makeconfig (object-suffixes-noshared): New variable.
7190
7191 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7192 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7193 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7194 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7195
d6c33fda
RM
7196 [BZ #14132]
7197 * include/sys/time.h (__gettimeofday): Remove macro.
7198 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7199 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7200 Remove INTDEF.
7201 (__gettimeofday): Add libc_hidden_def.
7202 (gettimeofday): Add libc_hidden_weak.
7203 * sysdeps/mach/gettimeofday.c: Likewise.
7204 * sysdeps/posix/gettimeofday.c: Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7206 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7208 (__gettimeofday_internal): Remove strong_alias.
7209 (__gettimeofday): Add libc_hidden_def.
7210 (gettimeofday): Add libc_hidden_weak.
7211 * sysdeps/unix/syscalls.list (gettimeofday):
7212 Remove __gettimeofday_internal alias.
7213
b5a2bbe6
L
72142012-05-24 Daniel Jacobowitz <drow@false.org>
7215 H.J. Lu <hongjiu.lu@intel.com>
7216
7217 [BZ #12495]
7218 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7219 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7220 (largebin_index_32_big): New.
7221 (largebin_index): Use it for 16-byte alignment.
7222 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7223 correction with front_misalign.
7224
cfba4fda
L
72252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7226
7f907421
L
7227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7229 Likewise.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7231 Likewise.
7232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7233 Likewise.
7234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7235 Likewise.
7236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7237 Likewise.
7238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7239 Likewise.
7240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7241 Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7243 Likewise.
7244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7245 Likewise.
7246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7247 Likewise.
7248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7249 Likewise.
7250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7251 Likewise.
7252
cfba4fda
L
7253 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7254 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7255
80bad0cc
JM
72562012-05-24 Joseph Myers <joseph@codesourcery.com>
7257
7a25eb06
JM
7258 [BZ #10846]
7259 [BZ #14036]
7260 * math/libm-test.inc (exp_test): Add test from bug 14036.
7261 (pow_test): Add test from bug 10846.
7262
795405f9
JM
7263 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7264 and other flags.
7265 (special_function): Do not include flags in test name.
7266 (parse_args): Likewise.
7267 * sysdeps/i386/fpu/libm-test-ulps: Update.
7268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7270 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7272
80bad0cc
JM
7273 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7274 exceptions.
7275 * math/libm-test.inc ("Philosophy"): Update comment about
7276 exception testing.
7277 (UNDERFLOW_EXCEPTION): New macro.
7278 (UNDERFLOW_EXCEPTION_OK): Likewise.
7279 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7280 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7281 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7282 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7283 (INVALID_EXCEPTION_OK): Update value.
7284 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7285 (OVERFLOW_EXCEPTION_OK): Likewise.
7286 (IGNORE_ZERO_INF_SIGN): Likewise.
7287 (test_exceptions): Handle underflow exceptions.
7288 (acos_test): Update for underflow exception expectations.
7289 (cexp_test): Likewise.
7290 (clog_test): Likewise.
7291 (clog10_test): Likewise.
7292 (csqrt_test): Likewise.
7293 (ctan_test): Likewise.
7294 (ctanh_test): Likewise.
7295 (exp_test): Likewise.
7296 (exp10_test): Likewise.
7297 (exp2_test): Likewise.
7298 (expm1_test): Likewise.
7299 (fma_test): Likewise.
7300 (j0_test): Likewise.
7301 (jn_test): Likewise.
7302 (nexttoward_test): Likewise.
7303 (pow_test): Likewise.
7304 (scalbn_test): Likewise.
7305 (scalbln_test): Likewise.
7306 (tan_test): Likewise.
7307 (y1_test): Likewise.
7308 * sysdeps/i386/fpu/libm-test-ulps: Update.
7309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7310
9e0e3d0b
DM
73112012-05-23 David S. Miller <davem@davemloft.net>
7312
7313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7314 (__libc_sigaction): Remove unused local variables.
7315
ccd0a08f
L
73162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7317
7318 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7319
62bdf9a6
PE
73202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7321
f8591f80
PE
7322 mktime: avoid signed integer overflow
7323 * time/mktime.c (__mktime_internal): Do not mishandle the case
7324 where diff == INT_MIN.
7325
94c7d826
PE
7326 mktime: simplify computation of average
7327 * time/mktime.c (ranged_convert): Use new time_t_avg function
7328 instead of rolling our own (probably-slower) code.
7329
ce73d683
PE
7330 mktime: do not assume signed right shift propagates sign bit
7331 * time/mktime.c (isdst_differ): New static function.
7332 (__mktime_internal): No need to normalize tm_isdst now.
7333 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7334 tm_isdst values.
7335
72a22e59
PE
7336 mktime: merge another wrapv change from gnulib
7337 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7338 from some compilers.
7339
68605433
PE
7340 mktime: remove incorrect attempt at unusual arithmetics
7341 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7342 The code didn't really work on such machines anyway.
7343 (TYPE_MINIMUM): Assume two's complement.
7344 (twos_complement_arithmetic): Verify that long_int and time_t
7345 are two's complement (or unsigned, in the latter case).
7346
03cf7fe3
PE
7347 mktime: check signed shifts on long_int and time_t, too
7348 * time/mktime.c (SHR): Check that shifts work as desired
7349 on the types long_int and time_t too, as SHR is used on
7350 such types.
7351
f04dfbc2
PE
7352 mktime: do not assume 'long' is wide enough
7353 * time/mktime.c (verify): Move decl up.
7354 (long_int): New type.
7355 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7356 to remove assumption in the code that 'long' is wide enough to
7357 store year values. This assumption is not true on x32 and on
7358 some non-glibc platforms.
7359
62bdf9a6
PE
7360 mktime: merge wrapv change from gnulib
7361 * time/mktime.c (WRAPV): New macro.
7362 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7363 (guess_time_tm, __mktime_internal): Do not assume that signed
7364 integer overflow wraps around; modern compilers generate code
7365 where this assumption is no longer valid.
7366
5e292e4f
L
73672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7368
7369 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7370 Replace "jmp L(pseudo_end)" with "ret".
7371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7372 Likewise.
7373
8caf8c87
AJ
73742012-05-23 Andreas Jaeger <aj@suse.de>
7375
7376 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7377 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7378
1a09dc56
AJ
73792012-05-23 Andreas Jaeger <aj@suse.de>
7380 Maximilian Attems <max@stro.at>
7381
7382 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7383 New macros.
7384
1c87aba0
L
73852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7386
7387 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7388 code so that pseudo_end is just ret and the stack pointer is
7389 correct also for static library in error case.
7390
40e45bd5
JM
73912012-05-23 Joseph Myers <joseph@codesourcery.com>
7392
c2670533
JM
7393 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7394 move to syscalls.list.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7399
40e45bd5
JM
7400 * manual/install.texi (Running make install): Do not mention Linux
7401 kernel version for which pt_chown is not needed.
7402 (Linux): Do not mention problems with nscd with 2.0 kernels.
7403 * INSTALL: Regenerated.
7404
be08eda5
AJ
74052012-05-23 Andreas Jaeger <aj@suse.de>
7406
7407 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7408 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7409 macro.
7410 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7411 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7412 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7414 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7416 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7418 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7420 * sysdeps/unix/sysv/linux/bits/in.h
7421 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7422
a6a056bb
RM
74232012-05-22 Roland McGrath <roland@hack.frob.com>
7424
7425 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7426 (PREPARE_VERSION): Just use assert instead, it will be elided
7427 under [NDEBUG] anyway.
7428
c9009328
L
74292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7430
7431 * sysdeps/unix/sysv/linux/Makefile: Include
7432 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7433 (sysdep_routines): Remove sysctl.
c9009328
L
7434 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7435 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7436 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7437 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7438 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7439
73338355
AJ
74402012-05-22 Andreas Jaeger <aj@suse.de>
7441
7442 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7443 that pseudo_end is just ret and the stack pointer is correct also
7444 for static library in error case.
7445
d44638b0
PP
74462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7447
7448 [BZ #14122]
7449 * nss/nsswitch.c (defconfig_entries): New variable.
7450 (__nss_database_lookup): Don't leak defconfig entries.
7451 (nss_parse_service_list): Don't leak on error paths.
7452 (free_database_entries): New function.
7453 (free_defconfig): New function.
7454 (free_mem): Move common code to free_database_entries.
7455
31a39bd8
L
74562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7457
da0331a8
L
7458 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7459 Add arch_prctl.
7460 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7461
31a39bd8
L
7462 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7463 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7465 New macro.
7466 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7467 (INTERNAL_SYSCALL_TYPES): Likewise.
7468 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7469 (LOAD_REGS_TYPES_[1-6]): Likewise.
7470 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7471 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7472
45470df3
AZ
74732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7474
7475 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7476 copysignl for GLIBC_2_0.
7477 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7478 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7480 logbl for GLIBC_2_0.
7481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7482 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7483
98a61bcb
L
74842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7485
a4f6e481
L
7486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7487 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7488
f63d5db6
L
7489 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7490 Use "neg %eax".
7491
98a61bcb
L
7492 * time/mktime.c: Update copyright years.
7493
95770f14
PE
74942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7495
6226efbd
PE
7496 mktime: merge comment-quoting-style change from gnulib
7497 * time/mktime.c: Quote 'like this' in comments.
7498 The GNU coding standards suggest that we no longer quote `like this',
7499 as "`" and "'" are typically rendered asymmetrically nowadays.
7500 The typical gnulib style is to quote 'like this' when quoting
7501 code, and "like this" when quoting English.
7502
b99e4f78
PE
7503 * time/mktime.c (compile-command): Add "-I.".
7504
643e01e6
PE
7505 mktime: merge mktime-internal.h change from gnulib
7506 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7507
2554247d
PE
7508 mktime: merge time_r change from gnulib
7509 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7510
826dd0ab
PE
7511 mktime: merge DEBUG change from gnulib
7512 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7513 case system <time.h> has a #define.
7514
bd83aabe
PE
7515 mktime: merge <sys/types.h> change from gnulib
7516 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7517 since <time.t> is now guaranteed to define time_t.
7518
95770f14
PE
7519 mktime: merge HAVE_CONFIG_H change from gnulib
7520 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7521
5e1a27a9
L
75222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7523
0e44a77e
L
7524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7525 Use "neg %eax".
7526
5e1a27a9
L
7527 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7528 __rlim_t cast.
7529 (struct rusage): Use anonymous union to pad each field to
7530 __syscall_slong_t.
7531
46259bec
DM
75322012-05-21 David S. Miller <davem@davemloft.net>
7533
7534 * Makefules (o-iterator): Remove .s cases.
7535 (compile-command.s): Delete.
7536 (COMPILE.s): Delete.
7537 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7538
59f0c22e
JM
75392012-05-21 Joseph Myers <joseph@codesourcery.com>
7540
7541 * configure.in (libc_cv_predef_stack_protector): Only consider
7542 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7543 * configure: Regenerated.
7544
20c07380
L
75452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7546
bbb3154b
L
7547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7548 New macro. Use R*LP on int and pointer.
7549 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7550 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7551 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7552 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7553
20c07380
L
7554 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7555 [__WORDSIZE_TIME64_COMPAT32] instead of
7556 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7557 (struct utmp): Likewise.
7558 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7559 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7560 Renamed to ...
7561 (__WORDSIZE_TIME64_COMPAT32): This.
7562 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7563 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7564 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7565 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7566 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7567 (__WORDSIZE_TIME64_COMPAT32): New macro.
7568
d8d1017e
AJ
75692012-05-21 Andreas Jaeger <aj@suse.de>
7570
7571 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7572 only if [SHARED]. Add prototype for __wcschr_ia32.
7573
6c7fb145
RM
75742012-05-21 Roland McGrath <roland@hack.frob.com>
7575
7576 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7577 of %rbp unmolested in the jmp_buf while mangling the low bits.
7578 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7579 unmolested high bits of %rbp while demangling the low bits.
7580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7581
66274218
AJ
75822012-05-21 Andreas Jaeger <aj@suse.de>
7583
07c58f8f
AJ
7584 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7585 * sunrpc/svc_simple.c: Use it for registerrpc.
7586 * sunrpc/xcrypt.c: Use it for passwd2des.
7587
66274218
AJ
7588 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7589
61f65140
L
75902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7593 Don't define if [__SYSCALL_WORDSIZE != 32].
7594 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7595 New macro.
7596
5fefb436
AJ
75972012-05-21 Bruno Haible <bruno@clisp.org>
7598 Andreas Jaeger <aj@suse.de>
7599
7600 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7601 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7602 inptr and inend for must_buffer_ch.
7603 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7604 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7605 * stdio-common/Makefile (tests): Remove bug15.
7606 (bug15-ENV): Remove macro.
7607 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7608 anymore.
7609
d8e272ab
AJ
76102012-05-19 Andreas Jaeger <aj@suse.de>
7611 Roland McGrath <roland@hack.frob.com>
7612
7613 * manual/contrib.texi: Completely rewritten. It contains now an
7614 alphabetical list of contributors and their contributions.
7615
4a56a162
RH
76162012-05-21 Richard Henderson <rth@twiddle.net>
7617
7618 * misc/getauxval.c (__getauxval): Use unsigned long int.
7619 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7620 (getauxval): Use unsigned long int.
7621
d024d23c
L
76222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7623
7624 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7625
cbc00a03
RM
76262012-05-21 Roland McGrath <roland@hack.frob.com>
7627
7628 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7629 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7630 __alignof__ (long double).
7631
478143fa
AZ
76322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7633
7634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7635
c7683a6d
RH
76362012-05-20 Richard Henderson <rth@twiddle.net>
7637
7638 * misc/getauxval.c: New file.
7639 * misc/sys/auxv.h: New file.
7640 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7641 (routines): Add getauxval.
7642 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7643 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7644 * elf/dl-sysdep.c (_dl_auxv): Remove.
7645 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7646 * elf/dl-support.c (_dl_auxv): New variable.
7647 (_dl_aux_init): Initialize it.
7648 * manual/startup.texi (Auxiliary Vector): New node.
7649 * sysdeps/generic/bits/hwcap.h: New file.
7650 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7651 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7652 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7653 * sysdeps/sparc/sysdep.h: ... here. Include it.
7654 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7657 Update.
c7683a6d
RH
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7661 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7666
a6f1845d
AZ
76672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668
7669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7670
cbcbe830
DM
76712012-05-19 David S. Miller <davem@davemloft.net>
7672
7673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7674
e0b16cc2
JM
76752012-05-19 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #14123]
7678 * math/s_ccosh.c: Include <float.h>
7679 (__ccosh): Avoid internal overflow calculating sinh and cosh
7680 values before multiplying by sin and cos values.
7681 * math/s_ccoshf.c: Likewise.
7682 * math/s_ccoshl.c: Likewise.
7683 * math/s_csin.c: Likewise.
7684 * math/s_csinf.c: Likewise.
7685 * math/s_csinl.c: Likewise.
7686 * math/s_csinh.c: Likewise.
7687 * math/s_csinhf.c: Likewise.
7688 * math/s_csinhl.c: Likewise.
7689 * math/libm-test.inc (ccos_test): Add more tests.
7690 (ccosh_test): Likewise.
7691 (csin_test): Likewise.
7692 (csinh_test): Likewise.
7693 * sysdeps/i386/fpu/libm-test-ulps: Update.
7694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7695
6ad13e08
L
76962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7697
f66f0ce8
L
7698 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7699 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7700
6ad13e08
L
7701 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7702
b1d072a7
JM
77032012-05-19 Joseph Myers <joseph@codesourcery.com>
7704
7705 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7706 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7707 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7708 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7709 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7710 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7711 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7712 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7713 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7714 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7715 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7716 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7717 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7718 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7719 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7720 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7721 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7722 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7723 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7724 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7725 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7726 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7727 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7728 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7729 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7730 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7731 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7732 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7733 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7734 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7735 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7736
9eae47cb
AJ
77372012-05-18 Andreas Jaeger <aj@suse.de>
7738
7739 * csu/.gitignore: Delete.
7740
bb07f69f
L
77412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7744 (timex): Use __syscall_slong_t.
7745
e6bdb741
AJ
77462012-05-18 Andreas Jaeger <aj@suse.de>
7747 Carlos O'Donell <carlos_odonell@mentor.com>
7748
7749 * manual/install.texi (Configuring and compiling): Update
7750 description about files modified in the source directory.
d6c33fda 7751 * INSTALL: Regenerated.
e6bdb741 7752
1b74487e
L
77532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7754
7755 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7756 value. Use "or" to set return value to -1.
7757 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7758 negate return value.
7759
a88b64b9
TMQMF
77602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7761
7762 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7763 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7764 failure if the compiler has Graphite support disabled.
7765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7766 Likewise.
7767 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7768 CFLAGS-memmove.c): Likewise.
7769 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7770 Likewise.
7771
3707636e
L
77722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7773
610b8622
L
7774 * sysdeps/x86_64/x32/_itoa.h: New file.
7775
7cd195df
L
7776 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7777 getdents system call only if kernel and user dirents have the
7778 same d_ino and d_off.
7779
94b07d20
L
7780 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7781 LLONG_MAX != LONG_MAX.
7782 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7783 (_fitoa_word): Likewise.
7784
18298070
L
7785 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7786 years.
7787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7788 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7789 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7790
553c7ea4
L
7791 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7792 include <bits/wordsize.h>. Check __x86_64__ instead of
7793 __WORDSIZE.
7794 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7795 if __x86_64__ is defined. Use anonymous union on fpstate.
7796
3707636e
L
7797 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7798 anonymous union.
7799
b53ef01a
AS
78002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7801
37fb1dc0
AS
7802 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7803 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7804 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7805 Refer to _rtld_local_ro instead of _rtld_global_ro.
7806 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7807 Likewise.
7808 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7809 Likewise.
7810 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7811 Likewise.
7812 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7813 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7814 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7815
b53ef01a
AS
7816 * sysdeps/powerpc/powerpc32/dl-machine.c
7817 (__elf_machine_runtime_setup) [PROF]: Don't reference
7818 _dl_prof_resolve.
7819
7a185db2
AJ
78202012-05-18 Andreas Jaeger <aj@suse.de>
7821
7822 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7823 function only available for GCCs before 3.4 since GCC 3.4
7824 introduced a builtin.
7825 (lrint): Likewise.
7826 (llrintf): Likewise.
7827 (llrint): Likewise.
7828 (fmaxf): Likewise.
7829 (fmax): Likewise.
7830 (fminf): Likewise.
7831 (fmin): Likewise.
7832 (rint): Likewise.
7833 (rintf): Likewise.
7834 (nearbyint): Likewise.
7835 (nearbyintf): Likewise.
7836 (ceil): Likewise.
7837 (ceilf): Likewise.
7838 (floor): Likewise.
7839 (floorf): Likewise.
7840
3e5aef87
L
78412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7842
428bd707
L
7843 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7844 on both fields and cast pointer to __syscall_ulong_t.
7845
3e5aef87
L
7846 * bits/types.h (__fsword_t): New type.
7847 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7848 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7850 (__FSWORD_T_TYPE): Likewise.
7851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7852 (__FSWORD_T_TYPE): Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7854 (__FSWORD_T_TYPE): Likewise.
7855 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7856 (__FSWORD_T_TYPE): Likewise.
7857 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7858 __SWORD_TYPE with __fsword_t.
7859 (statfs64): Likewise.
7860
1ba7c3dc
DM
78612012-05-17 David S. Miller <davem@davemloft.net>
7862
7863 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7864
59910343
AJ
78652012-05-17 Andreas Jaeger <aj@suse.de>
7866
7867 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7868 warning.
7869
2e4c1e9e
L
78702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7871
7872 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7873
de7f5ce7
AJ
78742012-05-17 Andreas Jaeger <aj@suse.de>
7875
7876 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7877 when it is used.
7878
286abc3d
CM
78792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7880
7881 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7882
477cc68e
L
78832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7884
7885 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7886 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7887
1a0994f5
CD
78882012-05-17 Andreas Jaeger <aj@suse.de>
7889 Carlos O'Donell <carlos_odonell@mentor.com>
7890
7891 [BZ #14059]
7892 * sysdeps/x86_64/multiarch/init-arch.h
7893 (bit_YMM_Usable): Rename to...
7894 (bit_AVX_Usable): ... this.
7895 (bit_FMA4_Usable): New macro.
7896 (bit_XMM_state): New macro.
7897 (bit_YMM_state): New macro.
7898 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7899 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7900 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7901 (CPUID_OSXSAVE): New macro.
7902 (CPUID_AVX): New macro.
7903 (CPUID_FMA4): New macro.
7904 (index_YMM_Usable): Rename to...
7905 (index_AVX_Usable): ... this.
7906 (HAS_AVX): Use HAS_ARCH_FEATURE.
7907 (HAS_FMA4): Likewise.
7908 (HAS_YMM_USABLE): Remove.
7909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7910 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7911 are present.
7912 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7913 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7914 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7915 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7916 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7917
0af797de
CM
79182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7919
7920 * math/libm-test.c: Support platforms without multiple rounding modes.
7921 * math/bug-nextafter.c: Support platforms without FP exceptions.
7922 * math/bug-nexttoward.c: Likewise.
7923 * math/test-fenv.c: Likewise.
7924 * math/test-misc.c: Likewise.
7925 * stdlib/bug-getcontext.c: Likewise.
7926
e39745ff
AJ
79272012-05-17 Andreas Jaeger <aj@suse.de>
7928
7929 * manual/examples/search.c (critter_cmp): Change signature to
7930 avoid warnings.
7931 * manual/string.texi (Collation Functions): Likewise.
7932
48970aba
L
79332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7934
7935 * bits/types.h: Fold copyright years.
7936 * bits/typesizes.h: Likewise.
7937 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7941 * time/time.h: Likewise.
7942
bedee953
PP
79432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7944
7945 [BZ #208]
7946 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7947 in instead of returning them. Return void.
7948 (__libc_mallinfo): Accumulate over all arenas.
7949 (__malloc_stats): Adjust for change in int_mallinfo interface.
7950
61653dfb
RM
79512012-05-16 Roland McGrath <roland@hack.frob.com>
7952
30b99d79
RM
7953 [BZ #10375]
7954 * configure.in (NM): Add AC_CHECK_TOOL for it.
7955 (libc_extra_cflags): New substituted variable.
7956 Check for -fstack-protector being used implicitly.
7957 * configure: Regenerated.
7958 * config.make.in (config-extra-cflags): New variable,
7959 gets @libc_extra_cflags@.
7960 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7961
61653dfb
RM
7962 [BZ #10375]
7963 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7964 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7965 * configure: Regenerated.
7966 * config.make.in (CPPUNDEFS): New substituted variable.
7967 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7968 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7969 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7970
661768bb
L
79712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7974 (mq_attr): Use __syscall_slong_t.
7975
d4261567
L
79762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7979 Check __x86_64__ instead of __WORDSIZE.
7980 (_STAT_VER_LINUX): Likewise.
7981 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7982 __syscall_ulong_t and __syscall_slong_t.
7983 (stat64): Likewise.
7984
cf3ff365
L
79852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7988
76cf3e4d
L
79892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7992
a637753a
L
79932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7994
7995 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7996 __syscall_ulong_t.
7997
d5e05119
L
7998 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7999 include <bits/wordsize.h>. Check __x86_64__ instead of
8000 __WORDSIZE.
8001 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8002 defined.
8003 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8004
f62ee380
L
8005 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8006 include <bits/wordsize.h>. Check __x86_64__ instead of
8007 __WORDSIZE.
8008 (user_regs_struct): Use "__extension__ unsigned long long"
8009 instead of "unsigned long" if __x86_64__ is defined.
8010 (user): Likewise. Pad after pointer field if __ILP32__ is
8011 defined.
8012
4e124ced
JM
80132012-05-16 Joseph Myers <joseph@codesourcery.com>
8014
6a3951a0
JM
8015 * configure.in (makeinfo): Require version 4.5 or later. Allow
8016 versions 5 to 9.
8017 * configure: Regenerated.
8018 * manual/install.texi (texinfo): Increase version requirement to
8019 4.5 or later.
8020 * INSTALL: Regenerated.
8021
4e124ced
JM
8022 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8023
953ca31a
L
80242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8025
8026 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8027
617aca05
L
8028 * sysdeps/x86_64/x32/ffs.c: New file.
8029
5762f7ae
L
8030 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8031 __syscall_ulong_t.
8032 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8033 defined. Use __syscall_ulong_t.
8034 (shminfo): Use __syscall_ulong_t.
8035 (shm_info): Likewise.
8036
a26b6856
L
8037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8038 __syscall_ulong_t.
8039
cb2b9ef7
L
8040 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8041 <bits/wordsize.h>.
8042 (msgqnum_t): Use __syscall_ulong_t.
8043 (msglen_t): Likewise.
8044 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8045 __syscall_ulong_t.
8046
34683bb0
L
8047 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8048 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8049
84a68786
L
8050 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8051
48baa5f1
L
8052 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8053 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8054
180be88b
L
8055 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8056 __syscall_slong_t.
8057
5e90c8ad
L
8058 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8059 include <bits/wordsize.h>. Check __x86_64__ instead of
8060 __WORDSIZE.
8061
23dfb58b
L
8062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8063 "unsigned long long int" if __x86_64__ is defined.
8064 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8065
ce5d54b0
L
8066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8068 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8069
13dc9eac
L
8070 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8071 <stdint.h>.
8072 (GET_PC): Cast to uintptr_t first.
8073 (GET_FRAME): Likewise.
8074 (GET_STACK): Likewise.
8075
a7895d15
L
8076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8079 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8082 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8083 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8084 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8086 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8090 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8104 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8105
656416c9
AS
81062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8107
5bd66283
AS
8108 * Makerules (+depfiles): Also collect depfiles from .oS in
8109 $(extra-objs).
8110 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8111 .oS, $(libnldbl-routines)).
8112
656416c9
AS
8113 * Makerules (native-compile-mkdep-flags): Define.
8114 * sunrpc/Makefile (extra-objs): Add $(addprefix
8115 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8116 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8117 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8118 calling $(make-target-directory).
8119
a46f2169
L
81202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8121
8122 * bits/types.h (__snseconds_t): Removed.
8123 * time/time.h (struct timespec): Replace __snseconds_t with
8124 __syscall_slong_t.
8125 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8126 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8127 Likewise.
8128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8129 (__SNSECONDS_T_TYPE): Likewise.
8130 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8131 (__SNSECONDS_T_TYPE): Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8133 (__SNSECONDS_T_TYPE): Likewise.
8134
6af6528b
L
81352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8136
8137 * sysdeps/mach/hurd/bits/typesizes.h
8138 (__SYSCALL_SLONG_TYPE): New macro.
8139 (__SYSCALL_ULONG_TYPE): Likewise.
8140
de986b56
L
81412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8142
8143 * bits/types.h (__syscall_slong_t): New type.
8144 (__syscall_ulong_t): Likewise.
8145
8146 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8147 (__SYSCALL_ULONG_TYPE): Likewise.
8148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8149 (__SYSCALL_SLONG_TYPE): Likewise.
8150 (__SYSCALL_ULONG_TYPE): Likewise.
8151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8152 (__SYSCALL_SLONG_TYPE): Likewise.
8153 (__SYSCALL_ULONG_TYPE): Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8155 (__SYSCALL_SLONG_TYPE): Likewise.
8156 (__SYSCALL_ULONG_TYPE): Likewise.
8157
85736dc7
L
81582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8159
8160 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8161 Add sigaltstack-offsets.sym.
8162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8163 <sigaltstack-offsets.h>.
8164 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8165 longjmp_msg pointer.
8166 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8167 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8168 signal stack.
8169 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8170
cc03b296
JM
81712012-05-15 Joseph Myers <joseph@codesourcery.com>
8172
a9538892
JM
8173 * elf/stackguard-macros.h: Remove file.
8174 * sysdeps/generic/stackguard-macros.h: New file.
8175 * sysdeps/i386/stackguard-macros.h: Likewise.
8176 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8177 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8178 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8179 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8180 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8181 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8182 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8183 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8184 <elf/stackguard-macros.h>.
8185
cc03b296
JM
8186 [BZ #14109]
8187 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8188 __aligned__ in attribute.
8189 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8190 (gregset_t): Likewise.
8191
93171016
L
81922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8195 * sysdeps/x86_64/64/Implies-after: Here. New file.
8196 * sysdeps/x86_64/x32/Implies-after: New file.
8197
d86813a0
L
81982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8201 and access return value for _dl_profile_fixup. Use R10_LP to
8202 load frame size.
8203
2953ec75
L
82042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8207
3b550e9e
L
82082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8209
8210 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8211 * sysdeps/x86_64/x32/sysdep.h: New file.
8212
eda41706
L
82132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8214
8215 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8216 * sysdeps/x86_64/setjmp.S: Likewise.
8217
9ea01d93
AZ
82182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8219
8220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8222 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8223 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8224 remove unused global constant.
8225
02a91938
CM
82262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8227
8228 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8229 include of <not-cancel.h>.
8230
6540185f
RM
82312012-05-15 Roland McGrath <roland@hack.frob.com>
8232
8233 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8234
509072a0
AJ
82352012-05-15 Jeff Law <law@redhat.com>
8236 Andreas Jaeger <aj@suse.de>
8237
8238 [BZ #13594]
8239 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8240 out from...
8241 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8242 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8243 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8244 code changing __hst_map_handle.map.
8245
ba75122d
RM
82462012-05-15 Roland McGrath <roland@hack.frob.com>
8247
8248 * configure.in (sysnames): Look for Implies-before and Implies-after
8249 files.
8250 * configure: Regenerated.
8251
890d8bd8
L
82522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8255 8-byte data alignment with LP_SIZE alignment.
8256
f6ee6623
L
82572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8260 into R10_LP.
8261
ea2626f6
L
82622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8263
8264 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8265
085f715e
L
82662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8269 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8271 Likewise.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8273
be8498fc
L
82742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8277 (stackinfo_sub_sp): Likewise.
8278
70bc83b9
L
82792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8282 RAX_LP.
8283
9bc0b730
L
82842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8285
8286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8287 into R*_LP.
8288
6d2850e7
L
82892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8292 sizes into R*_LP.
8293
3cb84561
L
82942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8295
8296 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8297
54e2ed81
L
82982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8299
8300 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8301 into R11_LP and load __x86_64_shared_cache_size_half into
8302 R8_LP.
8303
8a17f349
L
83042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8305
8306 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8307 R8_LP.
8308
777b1eea
AZ
83092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8310
8311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8312 logb for POWER7.
8313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8314 logbf for POWER7.
8315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8316 logbl for POWER7.
8317 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8318 powerpc32/power7/fpu/s_logb.c via #include.
8319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8320 powerpc32/power7/fpu/s_logbf.c via #include.
8321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8322 powerpc32/power7/fpu/s_logbl.c via #include.
8323
d20d4ac2
JM
83242012-05-15 Joseph Myers <joseph@codesourcery.com>
8325
8326 * README.libm: Remove file.
8327
6cdef1ab
L
83282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8331 count for x32. Use R*_LP and omit operand-size suffix.
8332
0b254d8f
L
83332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8336 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8337 * sysdeps/x86_64/x32/shlib-versions: New file.
8338
ceb809dc
RM
83392012-05-14 Roland McGrath <roland@hack.frob.com>
8340
8341 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8342 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8343 Use _dl_fatal_printf instead.
8344
37f1abd4
JM
83452012-05-14 Joseph Myers <joseph@codesourcery.com>
8346
8347 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8348 set if not set by the user. Do not allow for being unset.
8349 * sysdeps/unix/sysv/linux/configure: Regenerated.
8350
11de3a33
L
83512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8352
8353 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8354 the `q' suffix from lea and replace .quad with ASM_ADDR.
8355
e02f153a
L
83562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8357
8358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8359 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8360 instead of $17.
8361 (PTR_DEMANGLE): Likewise.
8362
520ae0fd
L
83632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8366 (LP_OP): Likewise.
8367 (ASM_ADDR): Likewise.
8368 (RAX_LP): Likewise.
8369 (RBP_LP): Likewise.
8370 (RBX_LP): Likewise.
8371 (RCX_LP): Likewise.
8372 (RDI_LP): Likewise.
8373 (RSI_LP): Likewise.
8374 (RSP_LP): Likewise.
8375 (R8_LP): Likewise.
8376 (R9_LP): Likewise.
8377 (R10_LP): Likewise.
8378 (R10_LP): Likewise.
8379 (R11_LP): Likewise.
8380 (R12_LP): Likewise.
8381 (R13_LP): Likewise.
8382 (R14_LP): Likewise.
8383 (R15_LP): Likewise.
8384
b985be81
L
83852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8386
8387 * sysdeps/x86_64/x32/dl-machine.h: New file.
8388
6a4888ff
AJ
83892012-05-14 Andreas Jaeger <aj@suse.de>
8390
8391 * manual/Makefile (subdir): Remove export of subdir.
8392 (all): Remove target.
8393 (.PHONY): Remove all from list.
8394 (mkinstalldirs): Remove.
8395 (.PHONY): Remove installdirs from list.
8396 ($(inst_infodir)/libc.info): Use make-target-directory.
8397 (installdirs): Remove.
8398 (subdir_%): Remove.
8399 (glibc-targets): Remove.
8400 (lib): Remove.
8401 (stubs): Remove.
8402 ($(objpfx)stubs ../po/manual.pot): Remove.
8403 ($(objpfx)stamp%): Remove.
8404 (make-target-directory): Remove.
8405 (subdir_install): Remove.
8406 (routines): Remove.
8407 (aux): Remove.
8408 (sources): Remove.
8409 (objects): Remove.
8410 (headers): Remove.
8411
8412 [BZ #13750]
8413 * manual/.gitignore: Remove, it's not needed anymore.
8414 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8415 all files in it.
8416 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8417 directory.
8418 (texis): Renamed to $(objpfx)texis.
8419 (texis-path): New, contains path to generated files.
8420 (chapters.%): Use texis-path for complete path, add extra argument
8421 libc-texinfo.sh.
8422 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8423 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8424 (summary,texi, stamp-summary): Use complete path of
8425 files. Generate files in build dir.
8426 (dir-add.texi): Build in build dir.
8427 (libm-err.texi,stamp-libm-err): Likewise.
8428 (version.texi, stamp-version): Likewise.
8429 (.%c.texi): Likewise.
8430 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8431 (mostlyclean): Remove target.
8432 (realclean): Remove target.
8433 (generated): Add new variable with contents from mostlyclean and
8434 realclean, remove entries duplicated in common-mostlyclean, add
8435 stamp-libm-err and stamp-version.
8436 (generated-dirs): Add libc directory.
8437 ($(inst_infodir)/libc.info): Install files from build dir.
8438
8439 * manual/install.texi (Configuring and compiling): Adjust since
8440 the info files are not part of the tar ball anymore.
8441
7ac77294
AJ
84422012-05-14 Andreas Jaeger <aj@suse.de>
8443
8444 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8445 variable.
8446
ffb7875d
JM
84472012-05-14 Joseph Myers <joseph@codesourcery.com>
8448
8449 [BZ #13717]
8450 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8451 to 2.2.0 where earlier.
8452 * sysdeps/unix/sysv/linux/configure: Regenerated.
8453 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8454 Remove conditional code.
8455 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8456 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8457 Remove conditional code.
8458 [!__NR_lchown]: Likewise.
8459 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8460 [__NR_lchown]: Likewise.
8461 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8462 comment referencing __ASSUME_LCHOWN_SYSCALL.
8463 * sysdeps/unix/sysv/linux/i386/sigaction.c
8464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8466 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8467 Remove conditional code.
8468 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8469 (__protocol_available): Remove #if 0 code.
8470 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8471 conditional code.
8472 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8473 * sysdeps/unix/sysv/linux/kernel-features.h
8474 (__ASSUME_GETCWD_SYSCALL): Don't define.
8475 (__ASSUME_REALTIME_SIGNALS): Likewise.
8476 (__ASSUME_PREAD_SYSCALL): Likewise.
8477 (__ASSUME_PWRITE_SYSCALL): Likewise.
8478 (__ASSUME_POLL_SYSCALL): Likewise.
8479 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8480 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8481 non-SPARC.
8482 (__ASSUME_SIOCGIFNAME): Don't define.
8483 (__ASSUME_MSG_NOSIGNAL): Likewise.
8484 (__ASSUME_SENDFILE): Define unconditionally.
8485 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8486 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8487 conditional code.
8488 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8489 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8490 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8491 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8492 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8493 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8494 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8496 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8499 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8502 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8508 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8511 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8514 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8519 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8520 Remove conditional code.
8521 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8522 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8523 Remove conditional code.
8524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8526 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8527 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8528 Remove conditional code.
8529 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8530 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8531 Remove conditional code.
8532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8533 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8534 Remove conditional code.
8535 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8536 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8537 Remove conditional code.
8538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8539 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8540 Remove conditional code.
8541 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8542 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8543 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8544 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8545 * sysdeps/unix/sysv/linux/sigaction.c
8546 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8547 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8548 * sysdeps/unix/sysv/linux/sigpending.c
8549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8551 * sysdeps/unix/sysv/linux/sigprocmask.c
8552 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8553 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8554 * sysdeps/unix/sysv/linux/sigsuspend.c
8555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8558 (__libc_missing_rt_sigs): Remove.
8559 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8560 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8561 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8562 Remove conditional code.
8563 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8564 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8565 return 1.
8566 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8567 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8568 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8570
1bfb7291
AJ
85712012-05-14 Andreas Jaeger <aj@suse.de>
8572
caae5a81
AJ
8573 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8574 it's not used in glibc.
8575 (__coshm1): Likewise.
8576 (__acosh1p): Likewise.
8577 (__sgn): Likewise.
8578
1bfb7291
AJ
8579 * manual/string.texi (Copying and Concatenation): Add missing
8580 variable in concat example.
8581 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8582
c044d724
L
85832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8584
144c5467 8585 [BZ #14103]
c044d724
L
8586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8587 __builtin_clzl with __builtin_clzll.
8588
2523c62b
L
85892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8590
8591 [BZ #14104]
8592 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8593 libc_freeres_ptr.
8594
d7bb4c42
LD
85952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8596
8597 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8598 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8599 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8601
9dc4e1fb
MF
86022012-05-14 Mike Frysinger <vapier@gentoo.org>
8603
8604 * NEWS: Update ia64 info.
8605
c7df0112
AS
86062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8607
8608 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8609 used as bcopy.
8610
dc70356c
TS
86112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8612
8613 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8614 * sysdeps/unix/syscalls.list (dup3): Likewise.
8615 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8616 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8617
9fb1a21f
L
86182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8621 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8622
4822a2a5
L
86232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8626 thread pointer.
8627 (TLS_IE): Use mov/add instead of movq/addq to load thread
8628 pointer.
8629 (TLS_GD_PREFIX): New.
8630 (TLS_GD): Use it.
8631
842b81d6
DM
86322012-05-11 David S. Miller <davem@davemloft.net>
8633
8634 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8635 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8636 (_FPU_SETCW): Likewise.
8637
1cf463cd
L
86382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8641 is 32-byte aligned.
8642
60cc4a18
AS
86432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8644
8645 [BZ #11837]
8646 * iconvdata/gb18030.c: Update tables.
8647 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8648 characters specially.
8649 (BODY for TO_LOOP): Add encoding of missing ranges.
8650
febb44a4
TS
86512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8652
8653 [BZ #13673]
8654 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8655 * sysdeps/mach/hurd/dup3.c: Likewise.
8656 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8657 * sysdeps/powerpc/memmove.c:: Likewise.
8658
0a10fb9e
L
86592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8660
8661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8662 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8663
df8a552f
L
86642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8665
8666 * elf/elf.h (R_X86_64_RELATIVE64): New.
8667 (R_X86_64_NUM): Updated.
8668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8669 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8670 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8671 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8672 tst-quad1pie tst-quad2pie
8673 (modules-names): Add tst-quadmod1 tst-quadmod2.
8674 ($(objpfx)tst-quad1): New dependency.
8675 ($(objpfx)tst-quad2): Likewise.
8676 ($(objpfx)tst-quad1pie): Likewise.
8677 ($(objpfx)tst-quad2pie): Likewise.
8678 * sysdeps/x86_64/tst-quad1.c: New file.
8679 * sysdeps/x86_64/tst-quad1pie.c: New file.
8680 * sysdeps/x86_64/tst-quad2.c: Likewise.
8681 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8682 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8683 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8684 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8685 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8686
f34d6f84
ST
86872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8688
f42d41d1
ST
8689 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8690 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8691 * streams/stropts.h (t_scalar_t): Define type.
8692
3c3571fc
ST
8693 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8694 (_PATH_PRESERVE): Set to "/var/lib".
8695 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8696
61f06bd3
ST
8697 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8698 instead of int.
8699
918d4d71
ST
8700 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8701 if __dir_mkfile succeeded.
8702
f34d6f84
ST
8703 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8704 checking for _hurd_dtablesize. Unlock it right after having
8705 finished _hurd_dtable allocation.
8706
10589b4a
TS
87072012-05-10 Thomas Schwinge <thomas@schwinge.name>
8708
674cdbc7
TS
8709 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8710 * sysdeps/mach/hurd/configure: Regenerated.
8711 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8712 special-casing to...
8713 * sysdeps/gnu/configure.in: ... this new file.
8714 * sysdeps/unix/sysv/linux/configure: Regenerated.
8715 * sysdeps/gnu/configure: New generated file.
8716
8e41b99f
TS
8717 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8718 for Linux: use nsec instead of usec, as well as:
8719 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8720 members of type struct timespec.
8721 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8722 New macros.
8723 (struct stat64): Likewise.
8724 (_STATBUF_ST_NSEC): New macro.
8725 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8726
10589b4a
TS
8727 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8728 __strtoul_internal rather than strtoul.
8729
63643c85
PT
87302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8731
8732 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8733 and reject them.
8734
3faebe6a
ST
87352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8736
8737 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8738 which preserves existing values.
8739 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8740
c6474b07
PT
87412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8742
8743 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8744 TIMEOUT values. Return EINVAL for NFDS values either negative or
8745 greater than FD_SETSIZE.
8746
1043890b
ST
87472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8748
8749 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8750 allocated, call __vm_protect to finish enabling the existing space, and
8751 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8752 allocate the remainder.
8753
37ed8b9b
PT
87542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8755
8756 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8757 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8758
db653660
ST
87592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8760
37ed8b9b
PT
8761 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8762 sysdeps/mach/hurd/readlink.c.
b29d4053 8763
db653660
ST
8764 * posix/tst-sysconf.c (posix_options): Only use
8765 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8766 _POSIX_SYNCHRONIZED_IO when they are defined
8767 * sysdeps/mach/hurd/bits/posix_opt.h:
8768 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8769 (_XOPEN_REALTIME): Undefine macro.
8770 (_XOPEN_REALTIME_THREADS): Undefine macro.
8771 (_XOPEN_SHM): Undefine macro.
8772 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8773 macro to -1.
8774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8775 macro to -1.
8776 (_POSIX_ASYNC_IO): Undefine macro.
8777 (_POSIX_PRIORITIZED_IO): Undefine macro.
8778 (_POSIX_SPIN_LOCKS): Define macro to -1.
8779
ee16e894
ST
8780 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8781 SA_NODEFER, SA_RESETHAND.
8782 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8783 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8784 F_DUPFD_CLOEXEC.
8785
6103ae3b
TS
87862012-05-10 Thomas Schwinge <thomas@schwinge.name>
8787
8788 * elf/Makefile (pldd-modules): Define unconditionally.
8789
80b4e5f3
TS
87902012-05-10 Thomas Schwinge <thomas@schwinge.name>
8791
8792 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8793
edadcbd6
ST
87942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8795
8796 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8797 Return ENOENT when name is empty.
8798 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8799
80694780
TS
88002012-05-10 Thomas Schwinge <thomas@schwinge.name>
8801
1792c087
TS
8802 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8803
80694780
TS
8804 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8805
6b645f0d
ST
88062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8807
80694780
TS
8808 Fix mlock in all cases except non-readable pages.
8809 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8810 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8811
6b645f0d
ST
8812 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8813 (__mkdir): When path is `/', just fail with EEXIST.
8814 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8815
e468f8a3
TS
88162012-05-10 Thomas Schwinge <thomas@schwinge.name>
8817
8818 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8819 <sys/uio.h> (for writev).
8820 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8821 and <sys/param.h> (for MIN).
8822
a4186cff
PT
88232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8824
8825 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8826 REQUESTED_TIME. Properly set the remaining time and return EINTR
8827 if interrupted.
8828
510bbf14
TS
88292012-05-10 Thomas Schwinge <thomas@schwinge.name>
8830
8831 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8832 Depend on against $(link-rpcuserlibs).
8833
5d5722e8
ST
88342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8835
a4186cff
PT
8836 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8837 (__libc_stack_end): Do not use attribute_relro.
8838 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8839 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8840 to libthread-provided value.
a4186cff
PT
8841 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8842 attribute_relro.
5d5722e8 8843
37233df9
TS
88442012-05-10 Thomas Schwinge <thomas@schwinge.name>
8845
be971a2b
TS
8846 [BZ #3748]
8847 * bits/libc-lock.h (__libc_once_get): New macro.
8848 * sysdeps/mach/bits/libc-lock.h: Likewise.
8849 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8850 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8851 instead of using implementation details.
8852
37233df9
TS
8853 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8854 * libio/freopen.c: Likewise.
8855 * libio/freopen64.c: Likewise.
8856 * misc/syslog.c: Likewise.
8857 * nscd/connections.c: Likewise.
8858 * nscd/netgroupcache.c: Likewise.
8859 * sysdeps/posix/getcwd.c: Likewise.
8860
38de94a5
RM
88612012-05-10 Roland McGrath <roland@hack.frob.com>
8862
8863 * math/w_ilogbf.c: Add #include <limits.h>.
8864
67530489
ST
88652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8866
a4186cff 8867 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8868 path instead of returning without unlocking.
8869
67530489
ST
8870 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8871 immediate-write ioctls.
8872 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8873
5aa3a74a
TS
88742012-05-10 Thomas Schwinge <thomas@schwinge.name>
8875
18bad2ae
TS
8876 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8877 __builtin_frame_address instead of making assumptions about the
8878 location of the return address relative to DATA. Force early load of
8879 the return address.
8880 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8881 __builtin_frame_address.
8882
5aa3a74a
TS
8883 dup3 for GNU Hurd.
8884 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8885 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8886 implement dup3 and do some further code clean-ups.
8887 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8888 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8889
ecd0de9a
ST
88902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8891
cd9fa985
ST
8892 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8893
a4186cff
PT
8894 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8895 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8896 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8897 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8898 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8899 d->port.lock.
802ca5a5 8900
a4186cff
PT
8901 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8902 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8903 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8904
bcf55240
TS
89052012-05-10 Thomas Schwinge <thomas@schwinge.name>
8906
6960eb42
TS
8907 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8908 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8909 definitions.
8910
eb43375f
TS
8911 accept4 for GNU Hurd.
8912 * include/sys/socket.h (__libc_accept4): New prototype.
8913 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8914 to implement __libc_accept4.
8915 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8916 __libc_accept4.
8917 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8918
bcf55240
TS
8919 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8920 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8921 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8922 signal-defines.sym.
8923
6178c55b
ST
89242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8925
a4186cff 8926 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8927
6f080c2f
TS
89282012-05-10 Thomas Schwinge <thomas@schwinge.name>
8929
8930 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8931 assertion on O_CLOEXEC flag.
8932 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8933 * hurd/intern-fd.c: Likewise.
8934 * hurd/port2fd.c: Likewise.
8935
bcfe3a54
ST
89362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8937
8938 [BZ #3906]
8939 * bits/in.h (IPV6_PKTINFO): Define new macro.
8940 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8941
89c9aa49
AZ
89422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8943
8944 [BZ #13954]
8945 [BZ #13955]
8946 [BZ #13956]
8947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8949 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8950 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8952 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8953 * math/libm-test.inc (logb_test) : Additional logb tests.
8954
021db4be
AJ
89552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8956 Andreas Jaeger <aj@suse.de>
8957
8958 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8959 * configure: Regenerated.
8960 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8961 * config.make.in (link-obsolete-rpc): New substituted variable.
8962 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8963 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8964 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8965 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8966 so that libc.a contains the symbols.
8967 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8968 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8969 * sunrpc/auth_none.c: Likewise.
8970 * sunrpc/auth_unix.c: Likewise.
8971 * sunrpc/authdes_prot.c: Likewise.
8972 * sunrpc/authuxprot.c: Likewise.
8973 * sunrpc/clnt_gen.c: Likewise.
8974 * sunrpc/clnt_perr.c: Likewise.
8975 * sunrpc/clnt_raw.c: Likewise.
8976 * sunrpc/clnt_simp.c: Likewise.
8977 * sunrpc/clnt_tcp.c: Likewise.
8978 * sunrpc/clnt_udp.c: Likewise.
8979 * sunrpc/clnt_unix.c: Likewise.
8980 * sunrpc/des_crypt.c: Likewise.
8981 * sunrpc/des_soft.c: Likewise.
8982 * sunrpc/get_myaddr.c: Likewise.
8983 * sunrpc/key_call.c: Likewise.
8984 * sunrpc/key_prot.c: Likewise.
8985 * sunrpc/netname.c: Likewise.
8986 * sunrpc/pm_getmaps.c: Likewise.
8987 * sunrpc/pm_getport.c: Likewise.
8988 * sunrpc/pmap_clnt.c: Likewise.
8989 * sunrpc/pmap_prot.c: Likewise.
8990 * sunrpc/pmap_prot2.c: Likewise.
8991 * sunrpc/pmap_rmt.c: Likewise.
8992 * sunrpc/publickey.c: Likewise.
8993 * sunrpc/rpc_cmsg.c: Likewise.
8994 * sunrpc/rpc_common.c: Likewise.
8995 * sunrpc/rpc_dtable.c: Likewise.
8996 * sunrpc/rpc_prot.c: Likewise.
8997 * sunrpc/rpc_thread.c: Likewise.
8998 * sunrpc/rtime.c: Likewise.
8999 * sunrpc/svc.c: Likewise.
9000 * sunrpc/svc_auth.c: Likewise.
9001 * sunrpc/svc_raw.c: Likewise.
9002 * sunrpc/svc_run.c: Likewise.
9003 * sunrpc/svc_tcp.c: Likewise.
9004 * sunrpc/svc_udp.c: Likewise.
9005 * sunrpc/svc_unix.c: Likewise.
9006 * sunrpc/svcauth_des.c: Likewise.
9007 * sunrpc/xcrypt.c: Likewise.
9008 * sunrpc/xdr.c: Likewise.
9009 * sunrpc/xdr_array.c: Likewise.
9010 * sunrpc/xdr_float.c: Likewise.
9011 * sunrpc/xdr_intXX_t.c: Likewise.
9012 * sunrpc/xdr_mem.c: Likewise.
9013 * sunrpc/xdr_rec.c: Likewise.
9014 * sunrpc/xdr_ref.c: Likewise.
9015 * sunrpc/xdr_sizeof.c: Likewise.
9016 * sunrpc/xdr_stdio.c: Likewise.
9017
b5c086a2
RM
90182012-05-10 Roland McGrath <roland@hack.frob.com>
9019
9020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9021 change. Update copyright years.
9022
6d74dd09
JM
90232012-05-10 Joseph Myers <joseph@codesourcery.com>
9024
9025 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9026
28e72501
MK
90272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9028 Joseph Myers <joseph@codesourcery.com>
9029 Paul Pluzhnikov <ppluzhnikov@google.com>
9030
9031 [BZ #14012]
9032 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9033 requiring rpcgen.
9034 [cross-compiling] (extra-libs): Likewise.
9035 [cross-compiling] (extra-libs-others): Likewise.
9036 [cross-compiling] (librpcsvc-routines): Likewise.
9037 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9038 [cross-compiling] (omit-deps): Likewise.
9039 (sunrpc-CPPFLAGS): New variable.
9040 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9041 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9042 (cross-rpcgen-objs): New variable.
9043 (extra-objs): Append $(cross-rpcgen-objs).
9044 ($(cross-rpcgen-objs)): New rule.
9045 ($(objpfx)cross-rpcgen): Likewise.
9046 (rpcgen-cmd): Define to use $(built-program-file). Expand
9047 comment.
9048 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9049 ($(objpfx)x%.stmp): Likewise.
9050 * sunrpc/proto.h [IS_IN_build] (_): Define.
9051 [IS_IN_build] (_libc_intl_domainname): Likewise.
9052
c8c59454
L
90532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9056 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9057 and R_X86_64_TPOFF64.
9058
6f27cd16
JM
90592012-05-10 Joseph Myers <joseph@codesourcery.com>
9060
9061 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9062 sysdeps/unix/sysv/syscalls.list.
9063 (stime): Likewise.
9064 (utime): Likewise.
9065 * sysdeps/unix/sysv/syscalls.list: Remove file.
9066
02467e1c
PE
90672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9068
9069 [BZ #3440]
9070 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9071 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9072 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9073 (__LC_IDENTIFICATION): Make these macros useful in #if
9074 expressions, as required by C99.
9075
da392631
AS
90762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9077
9078 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9079 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9080 after this.
9081
8115f29b
L
90822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * stdlib/longlong.h: Updated from GCC.
9085
bdd74070
AJ
90862012-05-09 Andreas Jaeger <aj@suse.de>
9087
edfe0dbe
AJ
9088 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9089 default is first entry.
9090 (run_mode): Set type.
9091 (main): Remove informal message about syslog.
9092 (options): Fix typo.
9093
bcfe3a54
ST
9094 [BZ #14053]
9095 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9096 to asm.
bcfe3a54
ST
9097 (lrint): Likewise.
9098 (llrintf): Likewise.
9099 (llrint): Likewise.
9100 (rint): Likewise.
9101 (rintf): Likewise.
9102 (nearbyint): Likewise.
9103 (nearbyintf): Likewise.
bdd74070 9104
91d8d69e
AJ
91052012-05-09 Andreas Jaeger <aj@suse.de>
9106 Pedro Alves <palves@redhat.com>
9107
9108 * nscd/nscd.c (run_mode): Use enum.
9109 (main): Cleanup coding style issue.
9110
bb90b80b
AJ
91112012-05-09 Alexandre Oliva <aoliva@redhat.com>
9112 Andreas Jaeger <aj@suse.de>
9113
bcfe3a54
ST
9114 * nscd/nscd.c (go_background): Replaced with...
9115 (run_mode): ... this.
bb90b80b 9116 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9117 (options): Add -F --foreground.
9118 (main): Implement it.
9119 (parse_opt): Parse it.
bb90b80b 9120
1a4b75a1
AJ
91212012-05-09 Andreas Jaeger <aj@suse.de>
9122
9123 [BZ #14083]
9124 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9125 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9126 -Wconversion warning.
9127 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9128 Likewise.
9129
b1cc2472
JM
91302012-05-09 Joseph Myers <joseph@codesourcery.com>
9131
9132 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9133 == 0.
9134 (LC_ALL): Use macro-int-constant.
9135 (LC_COLLATE): Likewise.
9136 (LC_CTYPE): Likewise.
9137 (LC_MESSAGES): Likewise.
9138 (LC_MONETARY): Likewise.
9139 (LC_NUMERIC): Likewise.
9140 (LC_TIME): Likewise.
9141 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9142 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9143 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9144 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9145 Specify type.
9146 [C99-based standards] (float_t): Expect type.
9147 [C99-based standards] (double_t): Expect type.
9148 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9149 type.
9150 [C99-based standards] (HUGE_VALL): Likewise.
9151 [C99-based standards] (INFINITY): Likewise.
9152 [C99-based standards] (NAN): Likewise.
9153 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9154 [C99-based standards] (FP_NAN): Likewise.
9155 [C99-based standards] (FP_NORMAL): Likewise.
9156 [C99-based standards] (FP_SUBNORMAL): Likewise.
9157 [C99-based standards] (FP_ZERO): Likewise.
9158 [C99-based standards] (FP_FAST_FMA): Use
9159 optional-macro-int-constant. Specify type. Require == 1.
9160 [C99-based standards] (FP_FAST_FMAF): Likewise.
9161 [C99-based standards] (FP_FAST_FMAL): Likewise.
9162 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9163 [C99-based standards] (FP_ILOGBNAN): Likewise.
9164 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9165 Specify type.
9166 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9167 [C99-based standards] (math_errhandling): Specify type.
9168 [ISO99 || ISO11] (signgam): Do not allow.
9169 [non-C99-based standards] (copysignf): Do not allow.
9170 [non-C99-based standards] (exp2f): Likewise.
9171 [non-C99-based standards] (log2f): Likewise.
9172 [non-C99-based standards] (modff): Allow.
9173 [non-C99-based standards] (erff): Do not allow.
9174 [non-C99-based standards] (erfcf): Likewise.
9175 [non-C99-based standards] (gammaf): Likewise.
9176 [non-C99-based standards] (hypotf): Likewise.
9177 [non-C99-based standards] (j0f): Likewise.
9178 [non-C99-based standards] (j1f): Likewise.
9179 [non-C99-based standards] (jnf): Likewise.
9180 [non-C99-based standards] (lgammaf): Likewise.
9181 [non-C99-based standards] (tgammaf): Likewise.
9182 [non-C99-based standards] (y0f): Likewise.
9183 [non-C99-based standards] (y1f): Likewise.
9184 [non-C99-based standards] (ynf): Likewise.
9185 [non-C99-based standards] (isnanf): Likewise.
9186 [non-C99-based standards] (acoshf): Likewise.
9187 [non-C99-based standards] (asinhf): Likewise.
9188 [non-C99-based standards] (atanhf): Likewise.
9189 [non-C99-based standards] (cbrtf): Likewise.
9190 [non-C99-based standards] (expm1f): Likewise.
9191 [non-C99-based standards] (ilogbf): Likewise.
9192 [non-C99-based standards] (log1pf): Likewise.
9193 [non-C99-based standards] (logbf): Likewise.
9194 [non-C99-based standards] (nextafterf): Likewise.
9195 [non-C99-based standards] (remainderf): Likewise.
9196 [non-C99-based standards] (rintf): Likewise.
9197 [non-C99-based standards] (scalbf): Likewise.
9198 [non-C99-based standards] (copysignl): Likewise.
9199 [non-C99-based standards] (exp2l): Likewise.
9200 [non-C99-based standards] (log2l): Likewise.
9201 [non-C99-based standards] (modfl): Allow.
9202 [non-C99-based standards] (erfl): Do not allow.
9203 [non-C99-based standards] (erfcl): Likewise.
9204 [non-C99-based standards] (gammal): Likewise.
9205 [non-C99-based standards] (hypotl): Likewise.
9206 [non-C99-based standards] (j0l): Likewise.
9207 [non-C99-based standards] (j1l): Likewise.
9208 [non-C99-based standards] (jnl): Likewise.
9209 [non-C99-based standards] (lgammal): Likewise.
9210 [non-C99-based standards] (tgammal): Likewise.
9211 [non-C99-based standards] (y0l): Likewise.
9212 [non-C99-based standards] (y1l): Likewise.
9213 [non-C99-based standards] (ynl): Likewise.
9214 [non-C99-based standards] (isnanl): Likewise.
9215 [non-C99-based standards] (acoshl): Likewise.
9216 [non-C99-based standards] (asinhl): Likewise.
9217 [non-C99-based standards] (atanhl): Likewise.
9218 [non-C99-based standards] (cbrtl): Likewise.
9219 [non-C99-based standards] (expm1l): Likewise.
9220 [non-C99-based standards] (ilogbl): Likewise.
9221 [non-C99-based standards] (log1pl): Likewise.
9222 [non-C99-based standards] (logbl): Likewise.
9223 [non-C99-based standards] (nextafterl): Likewise.
9224 [non-C99-based standards] (remainderl): Likewise.
9225 [non-C99-based standards] (rintl): Likewise.
9226 [non-C99-based standards] (scalbl): Likewise.
9227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9228 [non-C99-based standards] (FP_*): Do not allow.
9229 [C99-based standards] (FP_*): Change to
9230 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9231 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9232 allow.
9233 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9234 (SIG_ERR): Likewise.
9235 [X/Open-based standards] (SIG_HOLD): Likewise.
9236 (SIG_IGN): Likewise.
9237 (SIGABRT): Use macro-int-constant. Specify type. Require
9238 positive value.
9239 (SIGFPE): Likewise.
9240 (SIGILL): Likewise.
9241 (SIGINT): Likewise.
9242 (SIGSEGV): Likewise.
9243 (SIGTER): Likewise.
9244 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9245 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9246 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9247 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9248 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9249 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9250 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9251 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9252 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9253 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9254 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9255 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9256 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9257 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9258 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9259 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9260 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9261 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9262 [X/Open-based standards] (SIGTRAP): Likewise.
9263 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9264 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9265 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9266 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9267 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9268 allow.
9269
b9f1922d
IW
92702012-05-08 Ian Wienand <ianw@vmware.com>
9271
9272 [BZ #14080]
9273 * time/tzset.c (__tzset_parse_tz): Update default rules for
9274 daylight time changes in the Energy Policy Act of 2005.
9275
1db86e88
AJ
92762012-05-09 Andreas Jaeger <aj@suse.de>
9277
9278 [BZ #13983]
9279 * elf/ldconfig.c (parse_conf): Change string to make clear that
9280 ldconfig only issued a warning if ld.so.conf does not exist.
9281
dee4a4e3
DM
92822012-05-08 David S. Miller <davem@davemloft.net>
9283
ee0db190
DM
9284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9285 movxtod instead of popping the value on the stack.
9286
dee4a4e3
DM
9287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9288
6a43ec98
CD
92892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9290
9291 * config.h.in: Add HAVE_ARM_PCS_VFP.
9292
05c2c961
RMG
92932012-05-08 Roland Mc Grath <roland@hack.frob.com>
9294
bcfe3a54
ST
9295 [BZ #13979]
9296 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9297 checking but the checks are disabled for any reason.
05c2c961 9298
4b30f61a
L
92992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9300
9301 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9302 and ELF64_R_TYPE with ELFW(R_TYPE).
9303
eee2bc67
JM
93042012-05-08 Joseph Myers <joseph@codesourcery.com>
9305
7ea5391a
JM
9306 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9307 (ulimit): Likewise.
9308
eee2bc67
JM
9309 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9310 (settimeofday): Likewise.
9311
abb66a67
MF
93122012-05-08 Mike Frysinger <vapier@gentoo.org>
9313
9314 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9315 a struct th_u2 inside the union, and move tu_block/tu_code into
9316 a new th_u3 union of tu_block/tu_code inside of that. Move
9317 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9318 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9319 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9320 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9321 (th_stuff): Change to th_u1.tu_stuff.
9322 (th_data): Define.
9323 (th_msg): Change to th_u1.th_u2.tu_data.
9324
7f18b530
DM
93252012-05-07 David S. Miller <davem@davemloft.net>
9326
05760585
DM
9327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9328
7f18b530
DM
9329 [BZ #14074]
9330 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9331 (SETUP_PIC_REG): Use it.
9332 (SETUP_PIC_REG_LEAF): Use it.
9333
495fd99f
JM
93342012-05-07 Joseph Myers <joseph@codesourcery.com>
9335
9336 [BZ #13885]
9337 [BZ #13923]
9338 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9339 USE_AS_EXPM1L.
9340 (EXPL_FINITE): Likewise.
9341 (FLDLOG): Likewise.
9342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9343 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9344 e_expl.S.
9345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9346 USE_AS_EXPM1L.
9347 (EXPL_FINITE): Likewise.
9348 (FLDLOG): Likewise.
9349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9350 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9351 e_expl.S.
9352 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9353 test of -max_value argument for long double.
9354 * sysdeps/i386/fpu/libm-test-ulps: Update.
9355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9356
6693d694
DM
93572012-05-06 David S. Miller <davem@davemloft.net>
9358
9359 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9360 quad soft-float symbols whose references which are compiler
9361 generated.
9362 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9363
6c23e11c
JM
93642012-05-06 Joseph Myers <joseph@codesourcery.com>
9365
d8b82cad
JM
9366 [BZ #13884]
9367 [BZ #13914]
9368 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9369 USE_AS_EXP10L.
9370 (EXPL_FINITE): Likewise.
9371 (FLDLOG): Likewise.
9372 (c0): Likewise.
9373 (c1): Likewise.
9374 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9375 Adjust comments for base varying.
9376 (__expl_finite): Change alias to EXPL_FINITE.
9377 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9378 e_expl.S.
9379 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9380 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9381 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9382 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9384 USE_AS_EXP10L.
9385 (EXPL_FINITE): Likewise.
9386 (FLDLOG): Likewise.
9387 (c0): Likewise.
9388 (c1): Likewise.
9389 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9390 Adjust comments for base varying.
9391 (__expl_finite): Change alias to EXPL_FINITE.
9392 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9393 tests for bugs.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9395
6c23e11c
JM
9396 [BZ #14064]
9397 * math/libm-test.inc (check_float_internal): Correct ulp
9398 calculation for subnormal expected results.
9399
29ba805c
AJ
94002012-05-06 Andreas Jaeger <aj@suse.de>
9401
9402 * Makeconfig (+math-flags): New, set to -frounding-math.
9403 (+cflags): Add +math-flags so that all of glibc gets compiled with
9404 it.
9405
9406 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9407
7b17aeda
JM
94082012-05-05 Joseph Myers <joseph@codesourcery.com>
9409
5779f134
JM
9410 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9411 Disable one test.
9412
41498f4d
JM
9413 [BZ #13787]
9414 [BZ #13922]
9415 [BZ #14036]
9416 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9417 (__ieee754_expl): Allow for and saturate large arguments.
9418 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9419 (u_threshold): Likewise.
9420 (__exp): Call __ieee754_exp before checking for overflow and
9421 underflow.
9422 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9423 (u_threshold): Likewise.
9424 (__expf): Call __ieee754_expf before checking for overflow and
9425 underflow.
9426 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9427 (u_threshold): Likewise.
9428 (__expl): Call __ieee754_expl before checking for overflow and
9429 underflow.
9430 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9431 (__ieee754_expl): Allow for and saturate large arguments.
9432 * math/libm-test.inc (exp_test): Add another test. Do not allow
9433 missing overflow exception on overflow.
9434 (expm1_test): Do not allow missing overflow exception on overflow.
9435
6698b8bf
JM
9436 * sysdeps/i386/fpu/e_expl.c: Move to ...
9437 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9438 rather than using inline asm.
9439 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9440 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9441 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9442
7b17aeda
JM
9443 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9444 (nice): Likewise.
9445 (poll): Likewise.
9446 (signal): Likewise.
9447 (time): Likewise.
9448 (times): Likewise.
9449
f7c85819
JM
94502012-05-04 Joseph Myers <joseph@codesourcery.com>
9451
9452 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9453 sysdeps/unix/common/syscalls.list.
9454 (fchmod): Likewise.
9455 (fchown): Likewise.
9456 (ftruncate): Likewise.
9457 (getrusage): Likewise.
9458 (gettimeofday): Likewise.
9459 (setpgid): Likewise.
9460 (setregid): Likewise.
9461 (setreuid): Likewise.
9462 (sigaction): Likewise.
9463 (truncate): Likewise.
9464 (vhangup): Likewise.
9465 * sysdeps/unix/common/syscalls.list: Remove file.
9466 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9467 * sysdeps/unix/sysv/linux/Implies: Likewise.
9468
336270d0
L
94692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9473 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9474 Moved to ...
9475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9476 Here.
9477 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9478 to ...
9479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9480 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9481 to ...
9482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9483 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9484 to ...
9485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9486 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9487 to ...
9488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9489 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9490 to ...
9491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9492 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9493 to ...
9494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9495 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9496 to ...
9497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9498 Here.
9499 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9500 to ...
9501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9502 Here.
9503 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9504 to ...
9505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9507 Moved to ...
9508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9509 Here.
9510 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9511 to ...
9512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9513
d128e450
JM
95142012-05-04 Joseph Myers <joseph@codesourcery.com>
9515
fa8ee516
JM
9516 * sysdeps/unix/common/bits/dirent.h: Remove file.
9517 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9518
d128e450
JM
9519 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9520 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9521 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9522 * sysdeps/unix/bsd/isatty.c: Likewise.
9523 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9524 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9525 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9526
ff8faaf0 95272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9528
62881be4 9529 [BZ #13563]
31dc8730
AZ
9530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9531 long double comparison inaccuracies.
9532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9534
6fef930c
AS
95352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9536
9537 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9538 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9539
8f203e6c
JM
95402012-05-04 Joseph Myers <joseph@codesourcery.com>
9541
9542 [BZ #14049]
9543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9544 nonzero digits before rounding a hex value.
9545 * stdlib/tst-strtod.c (tests): Add another test.
9546
5197d9c2
AK
95472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9548
9549 * sysdeps/s390/fpu/libm-test-ulps: Update.
9550
f0c1dedf
AJ
95512012-05-03 Andreas Jaeger <aj@suse.de>
9552
9553 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9554 does not get optimized out.
9555 (malloc_opt_barrier): New.
9556
a65ef2ae 95572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9558 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9559
2b942cb7 9560 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9561 intermediate file deletion.
2b942cb7 9562 (generated): Add .symlist files.
a65ef2ae 9563
54b71e02
JM
95642012-05-03 Joseph Myers <joseph@codesourcery.com>
9565
9566 [BZ #13775]
9567 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9568 Redirect under this condition.
9569 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9570 [__USE_GNU] (__dprintf_chk): Not under this condition.
9571 [__USE_GNU] (__vdprintf_chk): Likewise.
9572 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9573 under this condition.
9574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9575 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9576 [__USE_XOPEN2K8] (vdprintf): Likewise.
9577 [__USE_GNU] (__dprintf_chk): Not under this condition.
9578 [__USE_GNU] (__vdprintf_chk): Likewise.
9579 [__USE_GNU] (dprintf): Likewise.
9580 [__USE_GNU] (vdprintf): Likewise.
9581
d3dfcc41
RM
95822012-05-03 Roland McGrath <roland@hack.frob.com>
9583
9584 * elf/Makefile (common-generated): Set this instead of generated for
9585 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9586 $(all-built-dso)-derived lists.
9587
7ac30cc5
AJ
95882012-05-03 Andreas Jaeger <aj@suse.de>
9589
0c51e550
AJ
9590 * sysdeps/i386/fpu/libm-test-ulps: Update.
9591
7ac30cc5
AJ
9592 * FAQ: Removed.
9593 * FAQ.in: Likewise.
9594 * scripts/gen-FAQ.pl: Likewise.
9595 * manual/install.texi (Installation): Point to online location of
9596 FAQ.
9597 * Makefile (files-for-dist): Remove FAQ.
9598 (FAQ): Remove.
9599
d4c2917f
AM
96002012-05-02 Allan McRae <allan@archlinux.org>
9601
9602 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9603 (LDFLAGS-reldepmod5.so): Likewise.
9604 (LDFLAGS-reldep6mod1.so): Likewise.
9605 (LDFLAGS-reldep6mod4.so): Likewise.
9606 (LDFLAGS-reldep8mod3.so): Likewise.
9607 (LDFLAGS-unload4mod1.so): Likewise.
9608 (LDFLAGS-unload4mod2.so): Likewise.
9609 (LDFLAGS-tst-initorder): Likewise.
9610 (LDFLAGS-tst-initordera2.so): Likewise.
9611 (LDFLAGS-tst-initordera3.so): Likewise.
9612 (LDFLAGS-tst-initordera4.so): Likewise.
9613 (LDFLAGS-tst-initorderb2.so): Likewise.
9614 (LDFLAGS-noload): Likewise.
9615 (LDFLAGS-next): Likewise.
9616 (LDFLAGS-order2mod1.so): Likewise.
9617 (LDFLAGS-order2mod2.so): Likewise.
9618 (LDFLAGS-tst-initorder2): Likewise.
9619 (LDFLAGS-tst-initorder2a.so): Likewise.
9620 (LDFLAGS-tst-initorder2b.so): Likewise.
9621 (LDFLAGS-tst-initorder2c.so): Likewise.
9622 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9623
d77f993f
DM
96242012-05-02 David S. Miller <davem@davemloft.net>
9625
9626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9627
171a70b4
PP
96282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9629
9630 [BZ #14055]
9631 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9632
0be196ad
AJ
96332012-05-02 Andreas Jaeger <aj@suse.de>
9634
9635 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9636 since we manipulate rounding mode.
9637 (CPPFLAGS-test-idouble.c): Likewise.
9638 (CPPFLAGS-test-ifloat.c): Likewise.
9639 (CFLAGS-test-ldouble.c): Likewise.
9640 (CFLAGS-test-double.c): Likewise.
9641 (CFLAGS-test-float.c): Likewise.
9642 (CFLAGS-test-misc.c): Likewise.
9643 (CFLAGS-test-test-fenv.c): Likewise.
9644
4f9d04aa
AZ
96452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9646
2b942cb7
RM
9647 [BZ #2550]
9648 [BZ #2570]
9649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9650 comparisons to determine direction to adjust input.
4f9d04aa 9651
82a79e7d
RM
96522012-05-01 Roland McGrath <roland@hack.frob.com>
9653
f5a01ca9
RM
9654 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9655 output to the target.
9656
90fe4186
RM
9657 * scripts/localplt.awk: New file.
9658 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9659 (check-localplt-CFLAGS): Variable removed.
9660 ($(all-built-dso:=.jmprel)): New static pattern rule.
9661 (generated): Add those targets.
9662 (localplt-built-dso): New variable.
9663 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9664
9665 * elf/check-localplt.c: File removed.
9666
82397ed6
RM
9667 * scripts/check-execstack.awk: New file.
9668 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9669 (check-execstack-CFLAGS): Variable removed.
9670 ($(objpfx)check-execstack.h): Target removed.
9671 ($(objpfx)execstack-default): New target.
9672 (generated): Add that instead of check-execstack.h.
9673 ($(all-built-dso:=.phdr)): New static pattern rule.
9674 (generated): Add those targets.
9675 * elf/check-execstack.c: File removed.
9676
82a79e7d
RM
9677 * scripts/check-textrel.awk: New file.
9678 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9679 (check-textrel-CFLAGS): Variable removed.
9680 (all-built-dso): Use := to define.o
9681 ($(all-built-dso:=.dyn)): New static pattern rule.
9682 (generated): Add those targets.
9683 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9684 * config.make.in (READELF): New substituted variable.
9685 * elf/check-textrel.c: File removed.
9686
62fde54f 96872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9688
615605c9
JM
9689 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9690 allow.
9691 * conform/data/ctype.h-data [C99-based standards] (isblank):
9692 Expect function.
9693 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9694 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9695 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9696 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9697 Specify type. Require positive value.
9698 (EILSEQ): Likewise.
9699 (ERANGE): Likewise.
9700 [ISO || POSIX] (EILSEQ): Do not expect.
9701 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9702 Specify type. Require positive value.
9703 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9704 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9705 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9706 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9707 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9708 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9709 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9710 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9711 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9712 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9713 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9714 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9745 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9750 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9751 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9752 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9753 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9754 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9755 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9756 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9757 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9758 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9759 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9760 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9761 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9762 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9763 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9764 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9765 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9766 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9767 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9768 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9769 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9770 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9771 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9777 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9778 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9779 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9780 Require >= 2.
9781 (FLT_ROUNDS): Expect as macro, not constant.
9782 (FLT_MANT_DIG): Use macro-int-constant.
9783 (DBL_MANT_DIG): Likewise.
9784 (LDBL_MANT_DIG): Likewise.
9785 (FLT_DIG): Likewise.
9786 (DBL_DIG): Likewise.
9787 (LDBL_DIG): Likewise.
9788 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9789 (DBL_MIN_EXP): Likewise.
9790 (LDBL_MIN_EXP): Likewise.
9791 (FLT_MAX_EXP): Use macro-int-constant.
9792 (DBL_MAX_EXP): Likewise.
9793 (LDBL_MAX_EXP): Likewise.
9794 (FLT_MAX_10_EXP): Likewise.
9795 (DBL_MAX_10_EXP): Likewise.
9796 (LDBL_MAX_10_EXP): Likewise.
9797 (FLT_MAX): Use macro-constant.
9798 (DBL_MAX): Likewise.
9799 (LDBL_MAX): Likewise.
9800 (FLT_EPSILON): Use macro-constant. Give upper bound.
9801 (DBL_EPSILON): Likewise.
9802 (LDBL_EPSILON): Likewise.
9803 (FLT_MIN): Likewise.
9804 (DBL_MIN): Likewise.
9805 (LDBL_MIN): Likewise.
9806 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9807 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9808 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9809 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9810 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9811 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9812 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9813 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9814 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9815 [ISO11] (FLT_TRUE_MIN): Likewise.
9816 [ISO11] (LDBL_TRUE_MIN): Likewise.
9817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9818 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9819 (SCHAR_MIN): Use macro-int-constant. Specify type.
9820 (SCHAR_MAX): Likewise.
9821 (UCHAR_MAX): Likewise.
9822 (CHAR_MIN): Likewise.
9823 (CHAR_MAX): Likewise.
9824 (MB_LEN_MAX): Use macro-int-constant.
9825 (SHRT_MIN): Use macro-int-constant. Specify type.
9826 (SHRT_MAX): Likewise.
9827 (USHRT_MAX): Likewise.
9828 (INT_MAX): Likewise.
9829 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9830 bound negative.
9831 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9832 bound with "U".
9833 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9834 bound with "L".
9835 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9836 bound negative. Suffix upper bound with "L".
9837 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9838 bound with "UL".
9839 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9840 Specify type.
9841 [C99-based standards] (LLONG_MAX): Likewise.
9842 [C99-based standards] (ULLONG_MAX): Likewise.
9843 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9844 == 0.
9845 [ISO11] (max_align_t): Require type.
9846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9847
c9140a62
JM
9848 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9849 from $CFLAGS, without defining away __attribute__ calls.
9850 (checknamespace): Use $CFLAGS_namespace.
9851
9af0bf29
JM
9852 * conform/conformtest.pl (@keywords): Only include C99 keywords
9853 for standards based on C99 or C11.
9854
343222a2
JM
9855 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9856 Disable tests.
9857 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9858 UNIX98]: Likewise.
9859
661f8cf0
JM
9860 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9861 usability of symbols in #if.
9862
ee74b9cb
JM
9863 * conform/conformtest.pl: If macro or constant types start
9864 "promoted:", expect the symbol to be of the following type
9865 promoted by the integer promotions.
62fde54f 9866
aafc49b3
JM
9867 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9868 in one place. Also handle "macro-constant".
9869
fefdf574
JM
9870 * conform/conformtest.pl: Only accept expected macro values with
9871 "==". Parse all "macro" lines in one place.
9872 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9873
f2d922fe
JM
9874 * conform/conformtest.pl: Handle braced types on "constant" lines
9875 instead of handling "typed-constant".
9876 * conform/data/signal.h-data: Use "constant" instead of
9877 "typed-constant".
9878
d22956c9
JM
9879 * conform/conformtest.pl: Handle "optional-" at start of lines in
9880 one place rather than duplicating several cases. Handle each
9881 format of "macro" line with initial "optional-".
9882
028e2e38
JM
9883 * conform/conformtest.pl: Only accept expected constant or
9884 optional-constant values with "==". Parse all "constant" lines in
9885 one place. Parse all "optional-constant" lines in one place.
9886 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9887 * conform/data/fmtmsg.h-data: Likewise.
9888 * conform/data/netinet/in.h-data: Likewise.
9889 * conform/data/tar.h-data: Likewise.
9890 * conform/data/limits.h-data: Use "==" form on "constant" and
9891 "optional-constant" lines.
9892
1b8f2850
JM
9893 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9894 Use -std=c99 for XOPEN2K.
9895 (@knownproblems): Remove.
9896 (newtoken): Don't check %isknown.
9897
a05a144b
JM
9898 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9899 Do not expect macro.
9900 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9907 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9908 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9909 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9912 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9913 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9930 [XPG3] (acosh): Likewise.
9931 [XPG3] (asinh): Likewise.
9932 [XPG3] (atanh): Likewise.
9933 [XPG3] (cbrt): Likewise.
9934 [XPG3] (expm1): Likewise.
9935 [XPG3] (ilogb): Likewise.
9936 [XPG3] (log1p): Likewise.
9937 [XPG3] (logb): Likewise.
9938 [XPG3] (nextafter): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9941 [XPG3] (remainder): Likewise.
9942 [XPG3] (rint): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9950 [UNIX98 || XOPEN2K] (scalb): Expect.
9951 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9952 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9960 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9961 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9962 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9963 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9964 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9965 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9966 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9967 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9969 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9970 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9971 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9972 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9973 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9974 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9975 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9976 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9977 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9978 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9979 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9980 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9981 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9982 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9983 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9984 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9985 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9986 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9987 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9988 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9989 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9990 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9991 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9992 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9993 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9994 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9995 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9996 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9997 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9998 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9999 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10000 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10001 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10002 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10003 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10004 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10005 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10006 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10007 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10008 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10009 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10010 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10011 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10012 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10013 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10014 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10015 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10016 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10017 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10018 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10019 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10020 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10021 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10022 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10023 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10024 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10025 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10026 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10027 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10028 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10029 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10030 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10031 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10032 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10033 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10034 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10035 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10036 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10037 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10038 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10039 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10040 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10041 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10042 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10043 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10044 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10045 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10046 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10047 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10048 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10049 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10050 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10051 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10052 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10053 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10054 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10055 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10056 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10057 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10058 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10059 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10060 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10061 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10062 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10063 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10064 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10065 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10066 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10067 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10068 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10069 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10070 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10071 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10072 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10073 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10074 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10075 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10076 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10077 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10078 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10079 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10080 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10081 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10082 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10083 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10084 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10085 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10086 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10087 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10088
73c5ebe3
JM
10089 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10090 _XOPEN_SOURCE_EXTENDED for XPG4.
10091
39c33b6c
JM
10092 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10093
62fde54f
JM
10094 * Makeconfig (localtime): Remove variable.
10095 (inst_localtime-file): Likewise.
10096
0741d64c
AS
100972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10098
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10100 Update.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10102 Update.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10104 Update.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10106 Update.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10108 Update.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10110 Update.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10112 Update.
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10114 Update.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10116 Update.
10117
7cb029ee
JM
101182012-05-01 Joseph Myers <joseph@codesourcery.com>
10119
10120 [BZ #2550]
10121 [BZ #2570]
10122 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10123 comparisons to determine direction to adjust input.
10124 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10125 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10126 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10127 Likewise.
10128 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10129 Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10131 Likewise.
10132 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10134 Likewise.
10135 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10136 Likewise.
10137 * math/libm-test.inc (nexttoward_test): Add more tests.
10138
412bd966
AS
101392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10140
10141 [BZ #14040]
10142 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10143 in version GLIBC_2.1, not GLIBC_2.0.
10144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10145 Likewise.
10146
9568c0c2
JM
101472012-04-30 Joseph Myers <joseph@codesourcery.com>
10148
adfbc8ac
JM
10149 [BZ #13942]
10150 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10151 (1 - x) * (1 + x).
10152 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10153 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10154 * math/libm-test.inc (acos_test): Add more tests.
10155 (asin_test): Likewise.
10156 * sysdeps/i386/fpu/libm-test-ulps: Update.
10157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10158
5ba3cc69
JM
10159 [BZ #14034]
10160 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10161 of square root.
10162 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10163 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10164 * math/libm-test.inc (acos_test_tonearest): New function.
10165 (acos_test_towardzero): Likewise.
10166 (acos_test_downward): Likewise.
10167 (acos_test_upward): Likewise.
10168 (asin_test_tonearest): Likewise.
10169 (asin_test_towardzero): Likewise.
10170 (asin_test_downward): Likewise.
10171 (asin_test_upward): Likewise.
10172 (main): Call the new functions.
10173 * sysdeps/i386/fpu/libm-test-ulps: Update.
10174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10175
9568c0c2
JM
10176 [BZ #13884]
10177 [BZ #13924]
10178 * math/e_exp10.c: Include <float.h>.
10179 (__ieee754_exp10): Handle underflow here rather than multiplying
10180 large negative argument by M_LN10.
10181 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10182 of __ieee754_expf.
10183 * math/e_exp10l.c: Include <float.h>.
10184 (__ieee754_exp10l): Handle underflow here rather than multiplying
10185 large negative argument by M_LN10l.
10186 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10187 spurious overflow exception on underflow.
10188
5ac3ea17
MP
101892012-04-29 Marek Polacek <polacek@redhat.com>
10190
10191 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10192 (__fortify_function): New macro.
10193 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10194 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10195 __extern_always_inline.
10196 * libio/bits/stdio2.h: Likewise.
10197 * libio/bits/stdio.h: Likewise.
10198 * string/string.h: Likewise.
10199 * string/bits/string3.h: Likewise.
10200 * include/stdio.h: Likewise.
10201 * stdlib/bits/stdlib.h: Likewise.
10202 * stdlib/stdlib.h: Likewise.
10203 * rt/bits/mqueue2.h: Likewise.
10204 * rt/mqueue.h: Likewise.
10205 * posix/bits/unistd.h: Likewise.
10206 * posix/unistd.h: Likewise.
10207 * io/bits/poll2.h: Likewise.
10208 * io/bits/fcntl2.h: Likewise.
10209 * io/fcntl.h: Likewise.
10210 * io/sys/poll.h: Likewise.
10211 * misc/bits/syslog.h: Likewise.
10212 * misc/bits/syslog-ldbl.h: Likewise.
10213 * misc/sys/syslog.h: Likewise.
10214 * socket/bits/socket2.h: Likewise.
10215 * socket/sys/socket.h: Likewise.
10216 * debug/tst-chk1.c: Likewise.
10217 * wcsmbs/bits/wchar2.h: Likewise.
10218 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10219 * wcsmbs/wchar.h: Likewise.
10220
ecf0ebfb
AJ
102212012-04-29 Andreas Jaeger <aj@suse.de>
10222
10223 * Makerules (tests): Remove enable-check-abi protection.
10224 (check-abi-warn): Remove.
10225 (check-abi-%): Remove check-abi-warn usage.
10226
10227 * configure.in: Remove check-abi configure option.
10228 * configure: Regenerated.
10229 * config.make.in (enable-check-abi): Remove.
10230
6d5c57fa
AS
102312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10232
24c5d07e 10233 [BZ #14033]
ded5180a
AS
10234 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10235 double functions to double *_finite functions.
10236
7e0d315d
AS
10237 [BZ #13941]
10238 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10239 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10240 LDBL_MIN_EXP.
10241 * stdio-common/Makefile (tests): Add tst-sprintf3.
10242 * stdio-common/tst-sprintf3.c: New file.
10243
6d5c57fa
AS
10244 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10245 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10246
0749ff8b
JM
102472012-04-28 Joseph Myers <joseph@codesourcery.com>
10248
10249 * conform/conformtest.pl: Remove duplicate typed-constant
10250 handling.
10251
8dbd5d7b
DM
102522012-04-28 David S. Miller <davem@davemloft.net>
10253
10254 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10255 (check-abi-%): Remove AWK script prerequisite and explicit
10256 abilist directory.
10257 (check-abi): Rewrite to just diff the symlist with the abilist.
10258 (config-tls, config-abi-config): Delete, no longer used.
10259 (update-abi-%): Remove AWK script and explicit abilist directory.
10260 (update-abi): Rewrite to simply compare and conditionally copy the
10261 symlist and the sysdep abilist file. Remove update-abi-config
10262 checks.
10263 * abilist/ld.abilist: Remove.
10264 * abilist/libBrokenLocale.abilist: Remove.
10265 * abilist/libanl.abilist: Remove.
10266 * abilist/libcrypt.abilist: Remove.
10267 * abilist/libdl.abilist: Remove.
10268 * abilist/librt.abilist: Remove.
10269 * abilist/libthread_db.abilist: Remove.
10270 * abilist/libutil.abilist: Remove.
10271 * scripts/extract-abilist.awk: Remove.
10272 * scripts/merge-abilist.awk: Remove.
10273 * sysdeps/generic/libcidn.abilist: New file.
10274 * sysdeps/generic/libnss_compat.abilist: New file.
10275 * sysdeps/generic/libnss_db.abilist: New file.
10276 * sysdeps/generic/libnss_dns.abilist: New file.
10277 * sysdeps/generic/libnss_files.abilist: New file.
10278 * sysdeps/generic/libnss_hesiod.abilist: New file.
10279 * sysdeps/generic/libnss_nis.abilist: New file.
10280 * sysdeps/generic/libnss_nisplus.abilist: New file.
10281 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10282 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10283 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10284 file.
10285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10286 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10287 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10288 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10289 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10290 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10291 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10292 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10293 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10294 file.
10295 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10296 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10297 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10298 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10299 file.
10300 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10301 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10302 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10303 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10304 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10305 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10306 file.
10307 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10308 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10309 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10310 file.
10311 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10313 New file.
10314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10315 New file.
10316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10317 New file.
10318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10319 New file.
10320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10321 New file.
10322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10323 New file.
10324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10325 New file.
10326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10327 New file.
10328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10329 New file.
10330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10331 New file.
10332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10333 New file.
10334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10335 New file.
10336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10337 New file.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10339 file.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10341 New file.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10343 New file.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10345 file.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10347 New file.
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10349 New file.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10351 file.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10353 New file.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10355 New file.
10356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10357 New file.
10358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10359 New file.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10361 New file.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10363 New file.
10364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10366 file.
10367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10368 New file.
10369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10370 file.
10371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10372 file.
10373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10374 file.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10376 file.
10377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10378 file.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10380 New file.
10381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10382 file.
10383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10384 file.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10386 New file.
10387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10388 file.
10389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10391 file.
10392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10393 New file.
10394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10395 file.
10396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10397 file.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10399 file.
10400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10401 file.
10402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10403 file.
10404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10405 New file.
10406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10407 file.
10408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10409 file.
10410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10411 New file.
10412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10413 file.
10414 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10415 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10416 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10417 file.
10418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10419 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10420 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10421 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10422 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10423 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10424 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10425 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10426 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10427 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10430 file.
10431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10432 New file.
10433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10434 file.
10435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10436 file.
10437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10438 file.
10439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10440 file.
10441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10442 file.
10443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10444 New file.
10445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10446 New file.
10447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10448 file.
10449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10450 New file.
10451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10452 file.
10453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10455 file.
10456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10457 New file.
10458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10459 file.
10460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10461 file.
10462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10463 file.
10464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10465 file.
10466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10467 file.
10468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10469 New file.
10470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10471 New file.
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10473 file.
10474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10475 New file.
10476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10477 file.
10478
41d73a1b
JM
104792012-04-28 Joseph Myers <joseph@codesourcery.com>
10480
10481 * conform/conformtest.pl: Fix typo in handling typed-constant from
10482 allow-header.
10483
28aeeda4
JM
104842012-04-27 Joseph Myers <joseph@codesourcery.com>
10485
adae8f5e
JM
10486 * README: Cut down references to pre-2.6 Linux kernels and
10487 Linuxthreads. Update lists of configurations in libc and ports
10488 and sort alphabetically. Say "or newer" with Linux kernel version
10489 requirements.
10490
28aeeda4
JM
10491 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10492
a462cb63
RA
104932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10494
10495 [BZ #887]
10496 * math/libm-test.inc (logb_test_downward): New test to expose
10497 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10498 rounding mode.
10499
6ad3493e
JM
105002012-04-27 Joseph Myers <joseph@codesourcery.com>
10501
10502 [BZ #14027]
10503 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10504 to be done.
10505 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10506 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10507
2ce4f015
JM
105082012-04-26 Joseph Myers <joseph@codesourcery.com>
10509
5aeb141a
JM
10510 * sysdeps/unix/i386/brk.S: Remove file.
10511 * sysdeps/unix/i386/dl-brk.S: Likewise.
10512 * sysdeps/unix/i386/pipe.S: Likewise.
10513 * sysdeps/unix/i386/sigreturn.S: Likewise.
10514 * sysdeps/unix/i386/syscall.S: Likewise.
10515 * sysdeps/unix/i386/vfork.S: Likewise.
10516 * sysdeps/unix/i386/wait.S: Likewise.
10517
7143acae
JM
10518 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10519 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10520
2ce4f015
JM
10521 * configure.in (arm*-none*): Do not allow without
10522 --enable-hacker-mode.
10523 (netbsd*): Remove case setting base_os.
10524 (386bsd*): Likewise.
10525 (freebsd*): Likewise.
10526 (bsdi*): Likewise.
10527 (osf*): Likewise.
10528 (sunos*): Likewise.
10529 (ultrix*): Likewise.
10530 (newsos*): Likewise.
10531 (dynix*): Likewise.
10532 (*bsd*): Likewise.
10533 (sysv*): Likewise.
10534 (isc*): Likewise.
10535 (esix*): Likewise.
10536 (sco*): Likewise.
10537 (minix*): Likewise.
10538 (irix4*): Likewise.
10539 (irix6*): Likewise.
10540 (solaris[2-9]*): Likewise.
10541 (none): Likewise.
10542 * configure: Regenerated.
10543
0ac229c8
AZ
105442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10545
10546 [BZ #11521]
10547 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10548 overflow or cancellation in calculating denominator.
10549 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10551 down expression to avoid unexpected rounding in newer GCCs.
10552 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10553
33f244f4
DM
105542012-04-26 David S. Miller <davem@davemloft.net>
10555
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10557 long-double compat symbols.
10558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10571
cfa1f3e8
DM
105722012-04-25 David S. Miller <davem@davemloft.net>
10573
10574 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10575 HWCAP_* values only after the memory barriers have been defined.
10576 (atomic_full_barrier): Define.
10577 (atomic_read_barrier): Define.
10578 (atomic_write_barrier): Define.
10579
6e236b92
SP
105802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10581
10582 * shlib-versions: Add libgcc_s version information.
10583 * sysdeps/generic/libgcc_s.h: Remove.
10584 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10585 libgcc_s.h.
10586 * sysdeps/gnu/unwind-resume.c: Likewise.
10587 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10588
aab39a09
DM
105892012-04-25 David S. Miller <davem@davemloft.net>
10590
10591 * sysdeps/unix/sparc/brk.S: Delete.
10592 * sysdeps/unix/sparc/dl-brk.S: Delete.
10593 * sysdeps/unix/sparc/pipe.S: Delete.
10594 * sysdeps/unix/sparc/sysdep.S: Delete.
10595 * sysdeps/unix/sparc/sysdep.h: Delete.
10596 * sysdeps/unix/sparc/vfork.S: Delete.
10597 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10598 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10600 ret_ERRVAL, r0, r1, MOVE): Define.
10601 (JUMPTARGET): Remove.
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10603 sysdeps/unix/sparc/sysdep.h
10604 (ENTRY, END): Remove.
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10606
a3cc4f48
JM
106072012-04-25 Joseph Myers <joseph@codesourcery.com>
10608
2ed8cda2
JM
10609 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10610 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10611 -DIS_IN_build.
10612
35d76d59
JM
10613 * timezone/README: Update upstream location and email address for
10614 tzcode and tzdata.
10615 * timezone/zdump.c: Update from tzcode 2012b.
10616 * timezone/zic.c: Likewise.
10617
a3cc4f48
JM
10618 * configure.in (libc_cv_as_needed): Remove test.
10619 * configure: Regenerated.
10620 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10621 conditional definition.
10622 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10623 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10624 * config.make.in (have-as-needed): Remove variable.
10625
ceab42c3
SP
106262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10627 Paul Pluzhnikov <ppluzhnikov@google.com>
10628
10629 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10630 strings correctly.
10631
3ce2865f
CLT
106322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10633
10634 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10635 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10636 * sysdeps/sh/strlen.S: Likewise.
10637
f37e0d68
JM
106382012-04-24 Joseph Myers <joseph@codesourcery.com>
10639
ae186e9a
JM
10640 * sysdeps/unix/fork.S: Remove file.
10641 * sysdeps/unix/i386/fork.S: Likewise.
10642 * sysdeps/unix/sparc/fork.S: Likewise.
10643
b96914af
JM
10644 * sysdeps/unix/system.c: Remove file.
10645 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10646
f37e0d68
JM
10647 * sysdeps/unix/getegid.S: Remove file.
10648 * sysdeps/unix/geteuid.S: Likewise.
10649
87ef29ca
RM
106502012-04-24 Roland McGrath <roland@hack.frob.com>
10651
83bcd236
RM
10652 * scripts/check-localplt.awk: New file.
10653 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10654 of diff.
10655 * scripts/data/localplt-generic.data: Add a comment.
10656
87ef29ca
RM
10657 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10658 NODE when __dir_mkfile failed.
10659 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10660 Reported by Ludovic Courtès <ludo@gnu.org>.
10661
e5a6e567
AJ
106622012-04-24 Andreas Jaeger <aj@suse.de>
10663
10664 * Makerules (common-clean): Also remove gen-as-const-headers
10665 files.
10666
c1820385
JM
106672012-04-24 Joseph Myers <joseph@codesourcery.com>
10668
10669 * Makerules (native-compile): Do not change working directory for
10670 build. Use $(OUTPUT_OPTION) in command.
10671 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10672
94e02fc4
AZ
106732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10674
10675 [BZ #13886]
10676 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10677 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10678 * math/libm-test.inc (floor_test): Add more tests.
10679 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10680
3a533ca3
JM
106812012-04-24 Joseph Myers <joseph@codesourcery.com>
10682
940ab4b3
JM
10683 * sysdeps/unix/getdents.c: Remove file.
10684 * sysdeps/unix/sysv/getdents.c: Likewise.
10685 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10686
90e037bd
JM
10687 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10688 sysdeps/unix/mman/syscalls.list.
10689 (mmap): Likewise.
10690 (mprotect): Likewise.
10691 (msync): Likewise.
10692 (munmap): Likewise.
10693 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10694 * sysdeps/unix/mman/syscalls.list: Remove.
10695 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10696
3a533ca3
JM
10697 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10698 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10699 * configure: Regenerated.
10700 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10701 $(libgcc_s_suffix).
10702 * config.make.in (libgcc_s_suffix): Remove variable.
10703
1ad743de
JM
107042012-04-23 Joseph Myers <joseph@codesourcery.com>
10705
4ad451e2
JM
10706 * sysdeps/unix/sysv/gethostname.c: Move to ...
10707 * sysdeps/posix/gethostname.c: ... here.
10708
5e37ce39
JM
10709 * sysdeps/unix/execve.S: Remove file.
10710
1ad743de
JM
10711 * sysdeps/unix/_exit.S: Remove file.
10712
4e681b5b
AJ
107132012-04-23 Andreas Jaeger <aj@suse.de>
10714
10715 [BZ #13739]
10716 * manual/Makefile: Remove make dist support, there's no
10717 need for a stand-alone documentation tar ball.
10718 (TEXI2DVI): Define always, it's not in Makeconfig.
10719 (dist): Removed.
10720 (tar-it): Removed.
10721 (edition): Removed.
10722 (glibc-doc-$(edition).tar): Removed
10723 (%.Z): Removed.
10724 (%.gz): Removed.
10725 (%.uu): Removed.
10726 (ETAGS): Remove, it's in Makeconfig.
10727 (move-if-change): Remove, it's in Makeconfig.
10728
c0baea34
PE
107292013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10730
10731 [BZ #13970]
10732 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10733 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10734 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10735 (strtod_l, strtof_l, strtold_l): Remove __wur.
10736 It is not necessarily an error to ignore strtol's return value.
10737 One can reliably look at the stored endptr to decide whether
10738 the number had valid syntax.
10739
7c0616fa
AJ
107402012-04-21 Andreas Jaeger <aj@suse.de>
10741
803cb6b7 10742 [BZ #13739]
7c0616fa
AJ
10743 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10744
b0fe253f
JM
107452012-04-21 Joseph Myers <joseph@codesourcery.com>
10746
10747 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10748 * sysdeps/unix/sysv/Versions: Remove file.
10749
8280f22d
MT
107502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10751
10752 [BZ #13927]
10753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10754
75ce411f 107552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10756
10757 [BZ #7064]
10758 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10759 version from __vm86.
10760
097d59fa
JM
107612012-04-20 Joseph Myers <joseph@codesourcery.com>
10762
a90f3bcb
JM
10763 * sysdeps/unix/common/lxstat.c: Remove file.
10764 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10765
edc7ea78
JM
10766 * sysdeps/unix/sysv/Makefile: Remove file.
10767
cb78c221
JM
10768 * sysdeps/unix/sysv/direct.h: Remove file.
10769
efa6a45f
JM
10770 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10771 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10772 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10773 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10774 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10775 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10776 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10777
9c9f2d0c
JM
10778 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10779
4541c83b
JM
10780 * sysdeps/unix/xmknod.c: Remove file.
10781 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10782
f5d153a0
JM
10783 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10784
aa746595
JM
10785 * sysdeps/unix/sysv/i386/time.S: Remove file.
10786
cce5905e
JM
10787 * sysdeps/unix/fxstat.c: Remove file.
10788 * sysdeps/unix/xstat.c: Likewise.
10789 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10790
37fa3841
JM
10791 * sysdeps/unix/sysv/sigaction.c: Remove file.
10792
ff1962a3
JM
10793 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10794 (sysdep_headers): Remove variable.
10795 [termio.h not in sysdep_headers] (generated): Likewise.
10796 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10797 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10798 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10799 * sysdeps/unix/sysv/tcflow.c: Likewise.
10800 * sysdeps/unix/sysv/tcflush.c: Likewise.
10801 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10802 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10803 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10804 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10805 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10806
e7740d31
JM
10807 * sysdeps/unix/siglist.c: Remove file.
10808
ee06f18b
JM
10809 * sysdeps/unix/getppid.S: Remove file.
10810
097d59fa
JM
10811 * sysdeps/unix/mkdir.c: Remove file.
10812 * sysdeps/unix/rmdir.c: Likewise.
10813
ff3d51ec
AS
108142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10815
10816 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10817 ERR_MAX value.
10818 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10819 errlist-compat value.
10820
50f81fd7
DM
108212012-04-18 David S. Miller <davem@davemloft.net>
10822
10823 * sysdeps/generic/memcopy.h (reg_char): Delete.
10824 * debug/strcat_chk.c: Use char, not reg_char.
10825 * debug/strcpy_chk.c: Likewise.
10826 * debug/strncat_chk.c: Likewise.
10827 * debug/strncpy_chk.c: Likewise.
10828 * string/memchr.c: Likewise.
10829 * string/memrchr.c: Likewise.
10830 * string/rawmemchr.c: Likewise.
10831 * string/strcat.c: Likewise.
10832 * string/strchr.c: Likewise.
10833 * string/strchrnul.c: Likewise.
10834 * string/strcmp.c: Likewise.
10835 * string/strcpy.c: Likewise.
10836 * string/strncat.c: Likewise.
10837 * string/strncmp.c: Likewise.
10838 * string/strncpy.c: Likewise.
10839
8ff41c46
WS
108402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10841
10842 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10843 __builtin_memcopy is called when src and dest ranges are known to not
10844 overlap.
10845
6b652f46
WS
108462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10847
10848 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10849 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10850 fwd_align_merge macro call.
10851 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10852 bwd_align_merge macro call.
10853 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10854
b282631e
WS
108552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10856
10857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10858 bwd_align_merge macros.
10859 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10860 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10861 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10862
95aa737c
DM
108632012-04-18 David S. Miller <davem@davemloft.net>
10864
10865 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10866
7a99a614
AJ
108672012-04-18 Andreas Jaeger <aj@suse.de>
10868
10869 [BZ# 6794]
10870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10871 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10872 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10873
10874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10875 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10876 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10877
10878 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10879 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10880 Adjust for changed ldbl-128 files.
10881
10882 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10883 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10884 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10885
e5270c23
DM
108862012-04-17 David S. Miller <davem@davemloft.net>
10887
10888 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10889
fb5e92c9
AS
108902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10893 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10894 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10895 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10896 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10897 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10898
76da7265
AZ
108992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900
10901 [BZ #6794]
10902 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10903 * math/libm-test.inc: Add ilogb errno and exception tests.
10904 * math/w_ilogb.c: New file: ilogb wrapper.
10905 * math/w_ilogbf.c: New file: ilogbf wrapper.
10906 * math/w_ilogbl.c: New file: ilogbl wrapper.
10907 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10908 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10909 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10910 exception being thrown with 0.0 as argument.
10911 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10912 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10913 exception being thrown with 0.0 as argument.
10914 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10915 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10916 exception being thrown with 0.0 as argument.
10917 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10918 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10919 exception being thrown with 0.0 as argument.
10920 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10921 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10922 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10923 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10924 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10925 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10926 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10927 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10928 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10929
0396e69d
PB
109302012-04-17 Petr Baudis <pasky@ucw.cz>
10931
10932 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10933 with altivec.
10934
750b5926
MP
109352012-04-16 Marek Polacek <polacek@redhat.com>
10936
10937 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10938
751728a1
MP
109392012-04-16 Marek Polacek <polacek@redhat.com>
10940
10941 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10942 operands of fdivp instruction.
10943
34a27407
L
109442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10947 * elf/tst-auditmod3b.c: Likewise.
10948 * elf/tst-auditmod4b.c: Likewise.
10949 * elf/tst-auditmod5b.c: Likewise.
10950 * elf/tst-auditmod6b.c: Likewise.
10951 * elf/tst-auditmod6c.c: Likewise.
10952 * elf/tst-auditmod7b.c: Likewise.
10953 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10954 * sysdeps/x86_64/preconfigure.in: Likewise.
10955 * sysdeps/x86_64/preconfigure: Regenerated.
10956
7e73e17d
L
109572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10958
10959 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10960 __ILP32__.
10961
c7a6ab72
AB
109622012-04-13 Antoine Balestrat <merkil33@gmail.com>
10963
10964 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10965 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10966
a9e8e0e0
CL
109672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10968
10969 [BZ #13973]
10970 * locale/iso-639.def: Fix gl language name. Spotted by
10971 Yaron Shahrabani.
10972
ec98af7d
RM
109732012-04-12 Roland McGrath <roland@hack.frob.com>
10974
10975 [BZ #2074]
10976 * libio/libio.h (__io_write_fn): Update comment.
10977
247c3ede
PB
109782012-04-12 Petr Baudis <pasky@ucw.cz>
10979
10980 [BZ #2074]
10981 * stdio.texi (Hook Functions): The user provided writer function
10982 is not allowed to return -1.
10983
55939d6d
DM
109842012-04-11 David S. Miller <davem@davemloft.net>
10985
10986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10987
90020f5a
MF
109882012-04-11 Mike Frysinger <vapier@gentoo.org>
10989
10990 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10991 Add a leading slash to rtkaio.
10992
288f9098
JM
109932012-04-11 Jim Meyering <meyering@redhat.com>
10994
90020f5a
MF
10995 [BZ #11959]
10996 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10997 It is not necessarily an error to ignore fwrite's return
10998 value. One can reliably use ferror to test for errors after
10999 the fact.
288f9098 11000
4be2b570
L
110012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11002
11003 * bits/types.h (__snseconds_t): New type.
11004 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11005
11006 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11008 (__SNSECONDS_T_TYPE): Likewise.
11009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11010 (__SNSECONDS_T_TYPE): Likewise.
11011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11012 (__SNSECONDS_T_TYPE): Likewise.
11013
288f9098 110142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11015
11016 [BZ #2636]
11017 * manual/time.texi (Processor Time): Return type of times is
11018 elapsed real time since an arbitrary point in the past.
11019 (CPU Time): Move CLK_TCK from here...
11020 (Processor Time): ...to here. Correct description.
11021 * manual/conf.texi (Constants for Sysconf): Correct description of
11022 _SC_CLK_TCK.
11023
d7dd4413
DM
110242012-04-10 David S. Miller <davem@davemloft.net>
11025
11026 [BZ #13967]
11027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11028 where the is a gap between DT_REL(A) and DT_JMPREL.
11029
b46068fc
L
110302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11033 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11034 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11035
73d65cc3
SP
110362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11037
11038 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11039 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11040 (dl_main): Handle --inhibit-cache.
11041 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11042 _dl_inhibit_cache.
11043 * elf/dl-load.c (_dl_map_object): Use it.
11044 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11045
bcc8d661
JM
110462012-04-09 Joseph Myers <joseph@codesourcery.com>
11047
8f9a2fae
JM
11048 [BZ #13872]
11049 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11050 (__ieee754_powl): Saturate large exponents rather than testing for
11051 overflow of y*log2(x).
11052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11053 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11054 exceptions.
11055
bcc8d661
JM
11056 [BZ #11521]
11057 * math/s_ctan.c: Include <float.h>.
11058 (__ctan): Avoid internal overflow or cancellation in calculating
11059 denominator.
11060 * math/s_ctanf.c: Likewise.
11061 * math/s_ctanl.c: Likewise.
11062 * math/s_ctanh.c: Likewise.
11063 * math/s_ctanhf.c: Likewise.
11064 * math/s_ctanhl.c: Likewise.
11065 * math/libm-test.inc (ctan_test): Add more tests.
11066 (ctanh_test): Likewise.
11067 * sysdeps/i386/fpu/libm-test-ulps: Update.
11068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11069
823fbbb4
AJ
110702012-04-09 Andreas Jaeger <aj@suse.de>
11071
03879793
AJ
11072 [BZ #6894]
11073 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11074 is an optional BSD extension.
11075
823fbbb4
AJ
11076 [BZ #10254]
11077 * manual/stdio.texi (Opening Streams): Document additional fopen
11078 parameters.
11079
8de131cb
RM
110802012-04-09 Roland McGrath <roland@hack.frob.com>
11081
11082 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11083 %eax without telling the compiler.
11084
c0ed9d7d
CD
110852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11086
11087 [BZ # 13963]
11088 * manual/install.texi: Use sourceware.org.
11089
c483f6b4
JM
110902012-04-09 Joseph Myers <joseph@codesourcery.com>
11091
d7dd9453
JM
11092 [BZ #13873]
11093 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11094 (__ieee754_pow): Generate overflow and underflow using huge*huge
11095 and tiny*tiny rather than just returning constant infinity or zero
11096 for large exponents.
11097 * math/libm-test.inc (pow_test): Require overflow exceptions for
11098 applicable cases of large exponents.
11099
c483f6b4
JM
11100 [BZ #706]
11101 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11102 (__ieee754_pow): Use iterative multiplication algorithm only for
11103 integer exponents with absolute value below 1024. Check for odd
11104 integer exponents when using algorithm for real exponents.
11105 * math/libm-test.inc (pow_test): Add more tests.
11106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11107
d2de7579
JM
111082012-04-08 Joseph Myers <joseph@codesourcery.com>
11109
11110 [BZ #13705]
11111 * math/libm-test.inc (exp_test): Do not allow overflow exception
11112 on underflow test.
11113
f77f1232
AJ
111142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11115
11116 [BZ #13705]
11117 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11118 instead of __kernel_standard_f.
11119
3884932b
MF
111202012-04-08 Mike Frysinger <vapier@gentoo.org>
11121
11122 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11123 * sysdeps/x86_64/memset_chk.S: Likewise.
11124
54472e9c
AJ
111252012-04-08 Andreas Jaeger <aj@suse.de>
11126
6ab0fbfc
AJ
11127 [BZ #10153]
11128 * manual/startup.texi (Environment Access): Describe return value
11129 for putenv and setenv.
11130
61efba8c
AJ
11131 [BZ #6895]
11132 * manual/filesys.texi (Directory Entries): Add description for
11133 DT_LNK.
11134
95c3f29a
AJ
11135 [BZ #6890]
11136 * manual/filesys.texi (Directory Entries): Clarify that it's file
11137 system not operating system in the description of DT_UNKNOWN.
11138
54472e9c
AJ
11139 [BZ #6578]
11140 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11141
624254b1
SC
111422012-04-08 Stephen Compall <s11@member.fsf.org>
11143
11144 [BZ #6649]
11145 * manual/llio.texi (Opening and Closing Files): Add cross
11146 reference to explain mode argument.
11147
1e4920e0
MF
111482012-04-07 Mike Frysinger <vapier@gentoo.org>
11149
11150 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11151 * sysdeps/x86_64/memset_chk.S: Likewise.
11152
5ed848f3
DM
111532012-04-07 David S. Miller <davem@davemloft.net>
11154
11155 * elf/elf.h (R_SPARC_WDISP10): Define.
11156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11157 R_SPARC_SIZE32.
11158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11159 R_SPARC_SIZE64 and R_SPARC_H34.
11160
96154cd8
CD
111612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11162
11163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11164 conditions and remove no longer applicable assertion.
11165
9904dc47
L
111662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11167
11168 * bits/byteswap.h: Include <features.h>.
11169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11171
f8887d0a
L
111722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * bits/byteswap.h (__bswap_16): Removed.
11175 Include <bits/byteswap-16.h> to get __bswap_16.
11176 * sysdeps/i386/bits/byteswap.h: Likewise.
11177 * sysdeps/s390/bits/byteswap.h: Likewise.
11178 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11179 * bits/byteswap-16.h: New file.
11180 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11181 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11182 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11183 * string/Makefile (headers): Add bits/byteswap-16.h.
11184
62470f60
PP
111852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11186
11187 [BZ #13895]
11188 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11189 extra indirection.
11190 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11191 * nss/tst-nss-static.c: New.
11192
4dad7bab
RM
111932012-04-06 Robert Millan <rmh@gnu.org>
11194
11195 [BZ #6486]
11196 * manual/llio.texi (File Position Primitive): lseek
11197 refers to WHENCE when it really means OFFSET.
11198
e9142a17
AJ
111992012-04-06 Andreas Jaeger <aj@suse.de>
11200
2c040eff
AJ
11201 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11202 strncmp declarations.
11203
e9142a17
AJ
11204 * abilist/libc.abilist: Add __poll and __ppoll.
11205
ff9f1c5f
DM
112062012-04-05 David S. Miller <davem@davemloft.net>
11207
dcd2ae90
DM
11208 * scripts/check-local-headers.sh: Accept a host triplet in the
11209 path matched by the exclude regexp.
11210
993eb054
DM
11211 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11212 definition.
11213 * sysdeps/powerpc/powerpc32/dl-machine.h
11214 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11215 * sysdeps/s390/s390-32/dl-machine.h
11216 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11217 * sysdeps/sparc/sparc32/dl-machine.h
11218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11219 * sysdeps/sparc/sparc64/dl-machine.h
11220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11221
ff9f1c5f
DM
11222 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11223 lazy binding.
48e2e132 11224 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11225 undefined symbol errors.
11226
48e2e132 11227 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11228 DT_NEEDED entries.
11229
e80d6f94
MM
112302012-04-05 Michael Matz <matz@suse.de>
11231
11232 [BZ #13592]
11233 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11234
349fa79f
AJ
112352012-04-05 Andreas Jaeger <aj@suse.de>
11236
11237 [BZ #13908]
11238 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11239 comment.
11240
f402708f
KK
112412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11242
11243 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11244 which ROUND is no valid rounding mode.
11245
2ecccfc9
KK
112462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11247
11248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11249 read again.
11250 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11251
8a53f50f
KK
112522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11253
11254 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11255 an exception using FPU order intentionally.
11256
112572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11258
11259 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11260 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11261 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11262 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11263
d653abb7
SJ
112642012-04-05 Simon Josefsson <simon@josefsson.org>
11265
11266 [BZ #12340]
11267 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11268 EINVAL when BUFLEN is too smal.
11269
c3b1bf7d
TS
112702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11271
11272 [BZ #13553]
11273 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11274 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11275
b1aa60f3
AJ
112762012-04-03 Andreas Jaeger <aj@suse.de>
11277
c3b1bf7d 11278 [BZ #13938]
67f60a26
AJ
11279 * manual/setjmp.texi (System V contexts): Fix sentence.
11280
b1aa60f3
AJ
11281 [BZ #13926]
11282 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11283 New macro for this case.
11284 [!__GNUC__] (__bswap_64): New inline function for this case.
11285 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11286 * bits/byteswap.h: Likewise.
11287 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11288 ull, guard with __GLIBC_HAVE_LONG_LONG.
11289
11290 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11291 __GLIBC_HAVE_LONG_LONG.
11292
11293 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11294 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11295
39c59c35
TMQMF
112962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11297
11298 [BZ #13691]
11299 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11300 inptr and inend, rather than using last_ch.
11301
135ffda8
DM
113022012-04-02 David S. Miller <davem@davemloft.net>
11303
11304 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11305 * stdio-common/printf-parse.h (read_int): Change return type to
11306 'int', return -1 on INT_MAX overflow.
11307 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11308 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11309 overflows INT_MAX. Check for overflow of in-format-string precision
11310 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11311 SIZE_MAX not INT_MAX for integer overflow test.
11312 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11313 skip the construct in the format string but do not record anything.
11314 * stdio-common/bug22.c: Adjust to test both width/prevision
11315 INT_MAX overflow as well as total length INT_MAX overflow. Check
11316 explicitly for proper errno values.
11317
228c019e
TS
113182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11319
302cadd3
TS
11320 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11321 CHAR_MAX.
11322 * string/test-strcmp.c [! WIDE]: Likewise.
11323 * time/tst-mktime2.c: Likewise for INT_MAX.
11324 * string/test-string.h: #include <sys/param.h> for MIN.
11325
228c019e
TS
11326 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11327 * sysdeps/i386/init-first.c (init): Likewise.
11328 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11329 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11330 * sysdeps/sh/init-first.c (init): Likewise.
11331
cfa633f5
UD
113322012-04-01 Ulrich Drepper <drepper@gmail.com>
11333
11334 * po/ru.po: Update from translation team.
d1635ef8 11335 * po/vi.po: Likewise.
cfa633f5 11336
6cd0a5ea
SP
113372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11338
11339 * resolv/nss_dns/dns-host.c: Merge copyright years.
11340
4b43400f
LD
113412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11342
11343 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11344 Optimize memcpy with prefetch if
11345 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11346 src, dst pointers have unequal 16 byte alignments.
11347
48c41d04
SP
113482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11349
11350 [BZ #13928]
11351 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11352 from a CNAME entry and return the minimum ttl for the query.
11353 (gaih_getanswer_slice): Likewise.
11354
b8dc394d
JL
113552012-03-30 Jeff Law <law@redhat.com>
11356
11357 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11358 due to long keys.
11359 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11360 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11361
2f5a5ed0
JL
11362 * resolv/nss_dns/dns-host.c: Update copyright year.
11363
1d39e359
UD
113642012-03-30 Ulrich Drepper <drepper@gmail.com>
11365
c030f70c 11366 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11367 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11368
1d39e359
UD
11369 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11370 comments for sendmmsg.
11371
113722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11373
11374 [BZ #13691]
11375 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11376 with only 1 character between 0x0041 and 0x01b0.
11377 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11378 * wcsmbs/tst-mbsnrtowcs.c: New file.
11379
20fde227
DM
113802012-03-29 David S. Miller <davem@davemloft.net>
11381
11382 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11383 small copies by hand.
11384
984a4237
JL
113852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11386
11387 [BZ #13761]
11388 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11389 _nss_compat_initgroups_dyn): Fall back to malloc/free
11390 for large group memberships.
11391
18c9d62b
DM
113922012-03-28 David S. Miller <davem@davemloft.net>
11393
88d85d4f
DM
11394 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11395 that branches into memcpy.
11396 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11399 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11401 bits.
11402 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11403 implementation too.
11404 * sysdeps/sparc/mempcpy.S: New file.
11405
e5aa83e1
DM
11406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11407 the IFUNC routine in the libc case.
11408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11409
88570753
DM
11410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11411 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11412 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11413 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11414 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11415 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11416 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11417 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11418
249d7567
DM
11419 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11420 loop to 256 bytes instead of 64 bytes and fix test signedness.
11421
18c9d62b
DM
11422 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11423 * sysdeps/sparc/sparc32/Makefile: rather than here...
11424 * sysdeps/sparc/sparc64/Makefile: and here.
11425
05f3d1f6
UD
114262012-03-28 Ulrich Drepper <drepper@gmail.com>
11427
11428 * malloc/mallocbug.c: Avoid warnings about unused variables.
11429
86ae07a8
JL
114302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11431
11432 [BZ #13760]
11433 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11434 in the right place. Discard and retry query if response is
11435 larger than input buffer size.
11436
41bf21a1
JM
114372012-03-28 Joseph Myers <joseph@codesourcery.com>
11438
d6270972
JM
11439 [BZ #369]
11440 [BZ #2678]
11441 [BZ #3866]
11442 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11443 x for large integer exponent.
11444 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11445 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11446 sign of result as needed afterwards.
11447 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11448 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11449 result for underflowing pow the same as for overflow.
11450 (__kernel_standard_l): Handle powl overflow and underflow here
11451 rather than calling __kernel_standard.
11452 * math/libm-test.inc (pow_test): Add more tests.
11453
414fca03 11454 [BZ #3868]
41bf21a1
JM
11455 [BZ #13879]
11456 [BZ #13910]
11457 [BZ #13911]
11458 [BZ #13912]
11459 [BZ #13913]
11460 [BZ #13915]
11461 [BZ #13916]
11462 [BZ #13917]
11463 [BZ #13918]
11464 [BZ #13919]
11465 [BZ #13920]
11466 [BZ #13921]
11467 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11468 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11469 (__kernel_standard_l): New function.
11470 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11471 __kernel_standard.
11472 * math/w_acosl.c (__acosl): Likewise.
11473 * math/w_asinl.c (__asinl): Likewise.
11474 * math/w_atan2l.c (__atan2l): Likewise.
11475 * math/w_atanhl.c (__atanhl): Likewise.
11476 * math/w_coshl.c (__coshl): Likewise.
11477 * math/w_exp10l.c (__exp10l): Likewise.
11478 * math/w_exp2l.c (__exp2l): Likewise.
11479 * math/w_fmodl.c (__fmodl): Likewise.
11480 * math/w_hypotl.c (__hypotl): Likewise.
11481 * math/w_j0l.c (__j0l, __y0l): Likewise.
11482 * math/w_j1l.c (__j1l, __y1l): Likewise.
11483 * math/w_jnl.c (__jnl, __ynl): Likewise.
11484 * math/w_lgammal.c (__lgammal): Likewise.
11485 * math/w_log10l.c (__log10l): Likewise.
11486 * math/w_log2l.c (__log2l): Likewise.
11487 * math/w_logl.c (__logl): Likewise.
11488 * math/w_powl.c (__powl): Likewise.
11489 * math/w_remainderl.c (__remainderl): Likewise.
11490 * math/w_scalbl.c (sysv_scalbl): Likewise.
11491 * math/w_sinhl.c (__sinhl): Likewise.
11492 * math/w_sqrtl.c (__sqrtl): Likewise.
11493 * math/w_tgammal.c (__tgammal): Likewise.
11494 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11495 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11496 * math/libm-test.inc (acos_test): Add more tests.
11497 (acosh_test): Likewise.
11498 (asin_test): Likewise.
11499 (atanh_test): Likewise.
11500 (exp_test): Likewise.
11501 (exp10_test): Likewise.
11502 (exp2_test): Likewise.
11503 (expm1_test): Likewise.
11504 (lgamma_test): Likewise.
11505 (log_test): Likewise.
11506 (log10_test): Likewise.
11507 (log1p_test): Likewise.
11508 (log2_test): Likewise.
11509 (pow_test): Do not allow some spurious overflow exceptions.
11510 (sqrt_test): Add more tests.
11511 (tgamma_test): Likewise.
11512 (y0_test): Likewise.
11513 (y1_test): Likewise.
11514 (yn_test): Likewise.
11515
dd62fda6
AB
115162012-03-27 Anton Blanchard <anton@samba.org>
11517
11518 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11519 MAP_HUGETLB.
11520 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11523
1e3cdfda
AJ
115242012-03-27 David S. Miller <davem@davemloft.net>
11525
b855ab85
DM
11526 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11527
1e3cdfda
AJ
11528 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11529 have-as-vis3 check.
11530
115312012-03-27 Andreas Jaeger <aj@suse.de>
11532
11533 * sysdeps/x86_64/elf/configure.in: Moved to ...
11534 * sysdeps/x86_64/configure.in: ... here.
11535 * sysdeps/x86_64/elf/start.S: Moved to ...
11536 * sysdeps/x86_64/start.S: ... here.
11537 * sysdeps/x86_64/elf/configure: Delete.
11538
11539 * sysdeps/x86_64/configure.in: Merge contents from
11540 sysdeps/i386/configure.in (without i686 check).
11541
11542 * sysdeps/i386/elf/Versions: Merge into ...
11543 * sysdeps/i386/Versions: ... this.
11544 * sysdeps/i386/elf/Versions: Delete file.
11545 * sysdeps/i386/elf/start.S: Moved to ...
11546 * sysdeps/i386/start.S: ...here.
11547 * sysdeps/i386/elf/configure.in: Merge into...
11548 * sysdeps/i386/configure.in: ...here.
11549 * sysdeps/i386/elf/configure.in: Delete file.
11550 * sysdeps/i386/elf/configure: Delete file.
11551
11552 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11553 * debug/backtracesyms.c: ... here.
11554 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11555 * debug/backtracesymsfd.c: ... here.
11556 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11557 * sysdeps/generic/ifunc-sel.h: ... here.
11558
11559 * sysdeps/unix/i386/start.c: Delete file.
11560 * sysdeps/unix/sparc/start.c: Delete file.
11561 * sysdeps/unix/start.c: Delete file.
11562
11563 * sysdeps/sh/elf/configure.in: Moved to ...
11564 * sysdeps/sh/configure.in: ... here.
11565 * sysdeps/sh/elf/start.S: Moved to ...
11566 * sysdeps/sh/start.S: ... here.
11567 * sysdeps/sh/elf/configure: Delete file.
11568
11569 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11570 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11571 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11572 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11573 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11574 * sysdeps/powerpc/powerpc64/start.S: here.
11575 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11576 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11577 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11578 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11579 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11580
11581 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11582 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11583 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11584 * sysdeps/powerpc/powerpc32/start.S: ... here.
11585 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11586 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11587 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11588
11589 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11590 * sysdeps/powerpc/ifunc-sel.h: ... here.
11591 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11592 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11593
11594 * sysdeps/sparc/elf/configure.in: Moved to ...
11595 * sysdeps/sparc/configure.in: ... here.
11596 * sysdeps/sparc/elf/configure: Delete file.
11597 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11598 * sysdeps/sparc/sparc32/start.S: ... here.
11599 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11600 * sysdeps/sparc/sparc64/start.S: ... here.
11601 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11602 * sysdeps/sparc/sparc32/Makefile: ... this.
11603 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11604 * sysdeps/sparc/sparc64/Makefile: ... this.
11605
11606 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11607 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11608 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11609 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11610 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11611 * sysdeps/s390/s390-32/setjmp.S: ... here.
11612 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11613 * sysdeps/s390/s390-32/configure.in: ... here.
11614 * sysdeps/s390/s390-32/elf/configure: Delete file.
11615 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11616 * sysdeps/s390/s390-32/start.S: ... here.
11617
11618 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11619 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11620 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11621 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11622 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11623 * sysdeps/s390/s390-64/setjmp.S: ... here.
11624 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11625 * sysdeps/s390/s390-64/configure.in: ... here
11626 * sysdeps/s390/s390-64/elf/configure: Delete file.
11627 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11628 * sysdeps/s390/s390-64/start.S: ... here.
11629 * sysdeps/s390/s390-64/elf/configure: Delete.
11630
11631 * configure.in: Remove support for elf directories in sysdeps.
11632
11633 * configure: Regenerated.
11634 * sysdeps/i386/configure: Regenerated.
11635 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11636 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11637 * sysdeps/s390/s390-32/configure: Regenerated.
11638 * sysdeps/s390/s390-64/configure: Regenerated.
11639 * sysdeps/sh/configure: Regenerated.
11640 * sysdeps/sparc/configure: Regenerated.
11641 * sysdeps/x86_64/configure: Regenerated.
11642
a3f61311
AS
116432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11644
c876e002
AS
11645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11646
a3f61311
AS
11647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11648 denormal result into account.
11649
ac4c54f0
RM
116502012-03-25 Roland McGrath <roland@hack.frob.com>
11651
11652 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11653 Reported by Allan McRae <allan@archlinux.org>.
11654
6a9b9c02
JL
116552012-03-23 Jeff Law <law@redhat.com>
11656
11657 * nss/getnssent.c (__nss_getent): Fix typo.
11658
4c42a0c1
DM
116592012-03-23 David S. Miller <davem@davemloft.net>
11660
11661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11662
1532c7ac
L
116632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11664
11665 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11666 to pad to uint64_t for each field.
11667 (dl_tls_index): Replace unsigned long with uint64_t.
11668
3ff42526
PP
116692012-03-23 Daniel Jacobowitz <dmj@google.com>
11670 Paul Pluzhnikov <ppluzhnikov@google.com>
11671
11672 [BZ #6528]
11673 * grp/Makefile (otherlibs): Don't set it.
11674 * inet/Makefile (otherlibs): Likewise.
11675 * login/Makefile (otherlibs): Likewise.
11676 * nscd/Makefile (otherlibs): Likewise.
11677 * posix/Makefile (otherlibs): Likewise.
11678 * pwd/Makefile (otherlibs): Likewise.
11679 * rt/Makefile (otherlibs): Likewise.
11680 * sunrpc/Makefile (otherlibs): Likewise.
11681 * nss/Makefile (otherlibs): Likewise.
11682 Add libnss_files to routines and static-only-routines.
11683 ($(objpfx)getent): Remove rule.
11684 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11685 static-only-routines.
11686
7c69cd14
JM
116872012-03-22 Joseph Myers <joseph@codesourcery.com>
11688
11689 [BZ #13892]
11690 * math/s_cexp.c: Include <float.h>.
11691 (__cexp): Handle exp result overflowing not necessarily
11692 overflowing both real and imaginary parts of result.
11693 * math/s_cexpf.c: Likewise.
11694 * math/s_cexpl.c: Likewise.
11695 * math/libm-test.inc (cexp_test): Add more tests.
11696 * sysdeps/i386/fpu/libm-test-ulps: Update.
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11698
81b035fe
L
116992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11700
11701 * include/link.h (ELFW): New macro.
11702 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11703 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11704
1da7940c
L
117052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11706
11707 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11708 with uint64_t.
11709
b749dbb9
L
117102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11713 declaration.
11714 (struct La_x32_retval): Likewise.
11715
2ff87f3f
L
117162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11717
11718 * sysdeps/x86_64/preconfigure.in: New file.
11719 * sysdeps/x86_64/preconfigure: New generated file.
11720
c0df8e69
JM
117212012-03-22 Joseph Myers <joseph@codesourcery.com>
11722
48e44791
JM
11723 [BZ #13824]
11724 * math/e_exp2l.c: Include <float.h>.
11725 (__ieee754_exp2l): Handle overflow and underflow cases
11726 separately. Only pass fractional part of argument to
11727 __ieee754_expl.
11728 * math/libm-test.inc (exp2_test): Add more tests.
11729
c0df8e69
JM
11730 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11731 negating x to take absolute value.
11732 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11733 Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11736 Likewise.
11737 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11738 computing low part if x was negated.
11739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11740
c8e43ba7
L
117412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11744 la_x32_gnu_pltexit.
11745 (pltexit): Cast int_retval to ptrdiff_t.
11746 * elf/tst-auditmod3b.c: Likewise.
11747 * elf/tst-auditmod4b.c: Likewise.
11748 * elf/tst-auditmod5b.c: Likewise.
11749 * elf/tst-auditmod6b.c: Likewise.
11750 * elf/tst-auditmod6c.c: Likewise.
11751 * elf/tst-auditmod7b.c: Likewise.
11752
11753 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11754 and x32_gnu_pltexit.
11755
11756 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11757 __ELF_NATIVE_CLASS.
11758 (La_x32_regs): New macro.
11759 (La_x32_retval): Likewise.
11760 (la_x32_gnu_pltenter): New function prototype.
11761 (la_x32_gnu_pltexit): Likewise.
11762
7998fa78
AS
117632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11764
dcb33988
AS
11765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11766 exponent.
11767
233fc563
AS
11768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11769
7998fa78
AS
11770 * configure.in (libc_cv_cc_nofma): Check for option to disable
11771 generation of FMA instructions.
11772 * configure: Regenerate.
11773 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11774 * sysdeps/ieee754/dbl-64/Makefile: New file.
11775 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11776 Remove brandred-fma4.
11777 (CFLAGS-brandred-fma4.c): Remove.
11778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11780 define.
11781 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11782 define.
11783
8e95c99a
L
117842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11785
11786 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11787 LLONG_MAX != LONG_MAX.
11788 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11789 (_fitoa_word): Likewise.
11790 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11791 LLONG_MAX != LONG_MAX.
11792 * stdio-common/_itowa.h: Include <_itoa.h>.
11793 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11794 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11795 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11796 only if not defined.
11797 (_ITOA_WORD_TYPE): Likewise.
11798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11799 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11800
6f4db457
DM
118012012-03-21 David S. Miller <davem@davemloft.net>
11802
11803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11804
7785fe5a
L
118052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11808 of x86_64 when setting libc_cv_slibdir, libdir and
11809 libc_cv_localedir.
11810 * sysdeps/unix/sysv/linux/configure: Regenerated.
11811
4535cd55
JM
118122012-03-21 Joseph Myers <joseph@codesourcery.com>
11813
11814 * manual/lang.texi (Old Varargs): Remove section.
11815 (How Variadic): Update menu.
11816 (va_start): Do not mention varargs.h.
11817
17228132
TS
118182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11819 Joseph Myers <joseph@codesourcery.com>
11820
11821 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11822 link test.
11823 * configure: Regenerated.
11824
8149f976
TS
118252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11826
05f3d1f6
UD
11827 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11828 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11829 conformtest.pl
8149f976 11830
1a4ac776
JM
118312012-03-21 Joseph Myers <joseph@codesourcery.com>
11832
be22ce65
JM
11833 * NOTES: Remove.
11834 * Makefile (files-for-dist): Remove NOTES.
11835 (NOTES): Remove rule.
11836 * README: Don't refer to NOTES.
11837 * manual/creature.texi: Don't include macros.texi.
11838 * manual/intro.texi (creature.texi): Remove comment referring to
11839 NOTES.
11840
40b601fb
JM
11841 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11842 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11843 * configure: Regenerated.
11844 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11845 LIBC_TRY_CC_OPTION.
11846 (libc_cv_as_i686): Likewise.
11847 (libc_cv_cc_avx): Likewise.
11848 (libc_cv_cc_sse2avx): Likewise.
11849 (libc_cv_cc_fma4): Likewise.
11850 (libc_cv_cc_novzeroupper): Likewise.
11851 * sysdeps/i386/configure: Regenerated.
11852
1a4ac776
JM
11853 [BZ #13883]
11854 * sysdeps/i386/fpu/s_cexp.S: Remove.
11855 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11856 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11857 * math/libm-test.inc (cexp_test): Add more tests.
11858 * sysdeps/i386/fpu/libm-test-ulps: Update.
11859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11860
a458e7fe
AM
118612012-03-21 Allan McRae <allan@archlinux.org>
11862
11863 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11864
0cb7efc5
JM
118652012-03-21 Joseph Myers <joseph@codesourcery.com>
11866
11867 [BZ #13871]
11868 * math/w_exp2.c: Do not include <float.h>.
11869 (o_threshold, u_threshold): Remove.
11870 (__exp2): Calculate result before checking finiteness and calling
11871 __kernel_standard.
11872 * math/w_exp2f.c: Likewise.
11873 * math/w_exp2l.c: Likewise.
11874 * math/libm-test.inc (exp2_test): Require overflow exception for
11875 1e6 input.
2460d3aa
JM
11876
11877 [BZ #3866]
11878 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11879 range of signed 64-bit integers before using fistpll. Remove
11880 checks for whether integers fit in mantissa bits.
11881 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11882 the range of signed 32-bit integers before using fistpl. Remove
11883 checks for whether integers fit in mantissa bits.
11884 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11885 (__ieee754_powl): Test for y outside the range of signed 64-bit
11886 integers before using fistpll. Reduce 64-bit values to 63-bit
11887 ones as needed.
11888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11889 divide-by-zero is raised for zero to large negative powers.
11890 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11891 (__ieee754_powl): Test for y outside the range of signed 64-bit
11892 integers before using fistpll. Reduce 64-bit values to 63-bit
11893 ones as needed.
11894 * math/libm-test.inc (pow_test): Add more tests.
11895
eb96ffb0
L
118962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11897
11898 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11899 <stdio-common/_itoa.h>.
11900 * debug/segfault.c: Likewise.
11901 * elf/dl-cache.c: Likewise.
11902 * elf/dl-minimal.c: Likewise.
11903 * elf/dl-misc.c: Likewise.
11904 * elf/dl-sysdep.c: Likewise.
11905 * elf/dl-version.c: Likewise.
11906 * elf/rtld.c: Likewise.
11907 * hurd/hurdsock.c: Likewise.
11908 * hurd/lookup-retry.c: Likewise.
11909 * malloc/malloc.c: Likewise.
11910 * malloc/mtrace.c: Likewise.
11911 * nscd/nscd_getgr_r.c: Likewise.
11912 * nscd/nscd_getpw_r.c: Likewise.
11913 * nscd/nscd_getserv_r.c: Likewise.
11914 * posix/getopt_init.c: Likewise.
11915 * posix/wordexp.c: Likewise.
11916 * stdio-common/_itoa.c: Likewise.
11917 * stdio-common/printf_fphex.c: Likewise.
11918 * stdio-common/vfprintf.c: Likewise.
11919 * string/_strerror.c: Likewise.
11920 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11921 * sysdeps/i386/i686/hp-timing.h: Likewise.
11922 * sysdeps/mach/_strerror.c: Likewise.
11923 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11924 * sysdeps/mach/hurd/sethostid.c: Likewise.
11925 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11926 * sysdeps/mach/xpg-strerror.c: Likewise.
11927 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11929 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11930 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11932 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11933 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11934 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11935 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11936 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11937 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11938 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11939 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11940 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11941 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11942 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11944 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11945 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11946 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11947 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11948
11949 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11950
11951 * stdio-common/_itoa.h: Moved to ...
11952 * sysdeps/generic/_itoa.h: Here.
11953
11954 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11955
11956 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11957 instead of "_itoa.h" and "_itowa.h".
11958 * stdio-common/vfprintf.: Likewise.
11959
d1af992d
L
119602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11963 <bits/wordsize.h>.
11964 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11965 (__signbit): Likwise.
11966 (llrintf): Likwise.
11967 (llrint): Likwise.
11968
114883e0
L
119692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11970
11971 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11972 __WORDSIZE != 64.
11973
c135cc1b
JM
119742012-03-20 Joseph Myers <joseph@codesourcery.com>
11975
11976 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11977 OVERFLOW_EXCEPTION_OK.
11978 * math/libm-test.inc ("Philosophy"): Update comment about
11979 exception testing.
11980 (OVERFLOW_EXCEPTION): Define.
11981 (OVERFLOW_EXCEPTION_OK): Likewise.
11982 (INVALID_EXCEPTION_OK): Renumber.
11983 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11984 (IGNORE_ZERO_INF_SIGN): Likewise.
11985 (test_exceptions): Handle FE_OVERFLOW.
11986 (exp10_test): Expect overflow exceptions.
11987 (exp2_test): Likewise.
11988 (expm1_test): Likewise.
11989 (nextafter_test): Likewise.
11990 (pow_test): Likewise.
11991 (scalbn_test): Likewise.
11992 (scalbln_test): Likewise.
11993
95443d88
L
119942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11995
11996 * sysdeps/x86_64/bits/atomic.h
11997 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11998 64bit integer.
11999 (atomic_exchange_acq): Likewise.
12000 (__arch_exchange_and_add_body): Likewise.
12001 (__arch_add_body): Likewise.
12002 (atomic_add_negative): Likewise.
12003 (atomic_add_zero): Likewise.
12004
490df6c4
L
120052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12006
c2722551 12007 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12008 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12009
5e52b189
L
120102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12011
12012 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12013 Check __x86_64__ instead of __WORDSIZE.
12014
a9879d4c
L
120152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12016
12017 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12018
5df98260
DM
120192012-03-19 David S. Miller <davem@davemloft.net>
12020
e1497744
DM
12021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12022
5df98260
DM
12023 * sysdeps/sparc/fpu/fenv_private.h: New file.
12024 * sysdeps/sparc/fpu/math_private.h: Use it.
12025 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12026 Remove.
12027 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12028 (libc_feholdexcept_setroundl): Remove.
12029 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12030 Remove.
12031 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12032 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12033
b4c35121
L
120342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12035
12036 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12037 int64_t instead of long int.
12038 (INSERT_WORDS64): Likwise.
12039
56965fd7
L
120402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12043 _Unwind_GetCFA return to _Unwind_Ptr first.
12044
83d1aec8
JM
120452012-03-19 Joseph Myers <joseph@codesourcery.com>
12046
1897ad44
JM
12047 [BZ #13629]
12048 * math/s_clog.c: Include <float.h>.
12049 (__clog): Scale large or subnormal inputs.
12050 * math/s_clogf.c: Likewise.
12051 * math/s_clogl.c: Likewise.
12052 * math/s_clog10.c: Include <float.h>.
12053 (M_LOG10_2): Define.
12054 (__clog10): Scale large or subnormal inputs.
12055 * math/s_clog10f.c: Likewise.
12056 * math/s_clog10l.c: Likewise.
12057 * math/libm-test.inc (clog_test): Add more tests.
12058 (clog10_test): Likewise.
12059 * sysdeps/i386/fpu/libm-test-ulps: Update.
12060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061
7726d6a9
JM
12062 [BZ #11451]
12063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12064 x and y.
12065 * math/libm-test.inc (atan2_test): Add another test.
12066
83d1aec8
JM
12067 * Makerules (common-objdir-compile): Remove.
12068 * sysdeps/unix/Makefile (config-generated): Do not add
12069 $(unix-generated) to variable.
12070 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12071 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12072 Remove rule.
12073 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12074 Likewise.
12075 [generic bits/local_lim.h] (before-compile): Do not append to
12076 variable.
12077 [generic bits/local_lim.h] (common-generated): Likewise.
12078 [generic sys/param.h] (before-compile): Do not append to variable.
12079 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12080 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12082 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12083 include.
12084 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12085 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12086 [generic sys/param.h] ($(addprefix
12087 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12088 [generic sys/param.h] (common-generated): Do not append to
12089 variable.
12090 [generic sys/param.h] (sysdep_headers): Likewise.
12091 [generic bits/errno.h] (before-compile): Do not append to
12092 variable.
12093 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12094 rule.
12095 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12096 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12097 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12098 [generic bits/errno.h] (common-generated): Do not append to
12099 variable.
12100 [generic bits/ioctls.h] (before-compile): Do not append to
12101 variable.
12102 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12103 rule.
12104 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12105 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12106 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12107 rule.
12108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12109 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12110 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12111 [generic bits/ioctls.h] (common-generated): Do not append to
12112 variable.
12113 [generic sys/syscall.h] (syscall.h): Remove variable.
12114 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12115 rule.
12116 [generic sys/syscall.h] (before-compile): Do not append to
12117 variable.
12118 [generic sys/syscall.h] (common-generated): Likewise.
12119 * sysdeps/unix/errnos-tmpl.c: Remove file.
12120 * sysdeps/unix/errnos.awk: Likewise.
12121 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12122 * sysdeps/unix/ioctls.awk: Likewise.
12123 * sysdeps/unix/mk-local_lim.c: Likewise.
12124 * sysdeps/unix/snarf-ioctls: Likewise.
12125
4851a949
RH
121262012-03-19 Richard Henderson <rth@twiddle.net>
12127
bd37f2ee
RH
12128 * sysdeps/i386/fpu/fenv_private.h: New file.
12129 * sysdeps/i386/fpu/math_private.h: Use it.
12130 (math_opt_barrier, math_force_eval): Remove.
12131 (libc_feholdexcept_setround_53bit): Remove.
12132 (libc_feupdateenv_53bit): Remove.
12133 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12134 (math_opt_barrier, math_force_eval): Remove.
12135 (libc_feholdexcept): Remove.
12136 (libc_feholdexcept_setround): Remove.
12137 (libc_fetestexcept, libc_fesetenv): Remove.
12138 (libc_feupdateenv_test): Remove.
12139 (libc_feupdateenv, libc_feholdsetround): Remove.
12140 (libc_feresetround): Remove.
12141
d0adc922
RH
12142 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12143 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12144
0fe0f1f8
RH
12145 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12146 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12147 (libc_feupdateenv_testl): New.
12148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12149 (libc_feupdateenv_testf): New.
12150 (libc_feupdateenv): Use libc_feupdateenv_test.
12151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12153
eb92c487
RH
12154 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12155 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12156 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12157 (libc_feresetround_noex): New.
12158 (libc_feresetround_noexf): New.
12159 (libc_feresetround_noexl): New.
12160 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12161 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12162 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12164 SET_RESTORE_ROUND.
12165 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12167 (__cos): Likewise.
12168 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12170 SET_RESTORE_ROUND_NOEX.
12171 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12172 SET_RESTORE_ROUND_NOEXF.
12173 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12174 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12175 (libc_feholdsetroundf): New.
12176 (libc_feresetround, libc_feresetroundf): New.
12177
7d2e8012
RH
12178 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12179 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12180 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12181
b4dabbb4
RH
12182 * sysdeps/generic/math_private.h: Include <fenv.h>.
12183 (default_libc_feholdexcept): New.
12184 (default_libc_feholdexcept_setround): New.
12185 (default_libc_fesetenv, default_libc_feupdateenv): New.
12186 (libc_feholdexcept): Only define if undefined.
12187 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12189 (libc_feholdexcept_setroundl): Likewise.
12190 (libc_feholdexcept_setround_53bit): Likewise.
12191 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12194 (libc_feupdateenv_53bit): Likewise.
12195 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12196 (libc_feholdexcept): Convert from macro to inline function.
12197 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12198 (libc_fesetenv, libc_feupdateenv): Likewise.
12199
4851a949
RH
12200 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12201 not previously defined.
12202 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12203 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12204 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12205 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12206 * sysdeps/ieee754/flt-32/math_private.h: New file.
12207 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12208 math_private.h below SET_FLOAT_WORD.
12209 (__isnan, __isinf_ns, __finite): Remove.
12210 (__isnanf, __isinf_nsf, __finitef): Remove.
12211
e79d442e
AS
122122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12213
12214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12215
90b80344
DM
122162012-03-17 David S. Miller <davem@davemloft.net>
12217
12218 [BZ #6471]
12219 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12220 for 2.16.
12221
edc21804
DM
122222012-03-16 David S. Miller <davem@davemloft.net>
12223
77e927af
DM
12224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12225 warnings.
12226
374976dd
DM
12227 [BZ #6471]
12228 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12229 properly.
12230 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12231 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12232 sysdep_routines when subdir is sysvipc.
12233 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12234 __getshmlba helper.
12235
edc21804
DM
12236 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12237
473c3ef3
L
122382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12239
12240 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12241 [__LP64__].
12242
eb0f39b6
L
122432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12246 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12247 (__lround): Renamed to ...
12248 (__llround): This. Replace long int with long long int.
12249 Define lround functions as aliases of llround functions.
12250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12251
6b6cd74b
L
122522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12253
12254 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12255 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12256 adresses to uintptr_t. Replace "long int" and "unsigned long
12257 int" with "greg_t" on va_arg.
12258
f1a77b01
L
122592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12262 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12263
12264 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12265 Move e_machine check before EI_CLASS check. Handle x32
12266 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12267 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12268 SKIP_EM_IA_64 and include
12269 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12270
12271 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12272 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12273 (add_system_dir): New macro.
12274
12275 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12276 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12277
11b90b9f
JM
122782012-03-16 Joseph Myers <joseph@codesourcery.com>
12279
c36e1d23
JM
12280 [BZ #2551]
12281 [BZ #2552]
12282 [BZ #2553]
12283 [BZ #2554]
12284 [BZ #2562]
12285 [BZ #2563]
12286 [BZ #2565]
12287 [BZ #2566]
12288 [BZ #2576]
12289 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12290 (y0): Likewise.
12291 * math/w_j0f.c (j0f): Likewise.
12292 (y0f): Likewise.
12293 * math/w_j0l.c (__j0l): Likewise.
12294 (__y0l): Likewise.
12295 * math/w_j1.c (j1): Likewise.
12296 (y1): Likewise.
12297 * math/w_j1f.c (j1f): Likewise.
12298 (y1f): Likewise.
12299 * math/w_j1l.c (__j1l): Likewise.
12300 (__y1l): Likewise.
12301 * math/w_jn.c (jn): Likewise.
12302 (yn): Likewise.
12303 * math/w_jnf.c (jnf): Likewise.
12304 (ynf): Likewise.
12305 * math/w_jnl.c (__jnl): Likewise.
12306 (__ynl): Likewise.
12307 * math/libm-test.inc (j0_test): Add more tests.
12308 (j1_test): Likewise.
12309 (jn_test): Likewise. Add trailing semicolon to existing test.
12310 (y0_test): Likewise.
12311 (y1_test): Likewise.
12312 * sysdeps/i386/fpu/libm-test-ulps: Update.
12313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12314
11b90b9f
JM
12315 [BZ #13851]
12316 [BZ #13854]
12317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12318 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12319 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12321 (__tanl): Set errno for infinite argument.
12322 * sysdeps/i386/fpu/mptan.c: Remove.
12323 * sysdeps/i386/fpu/s_tan.S: Likewise.
12324 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12325 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12326 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12327 * math/libm-test.inc (tan_test): Add more tests and enable more
12328 tests for double and long double.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331
6a1bd2a1
JK
123322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12333
12334 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12335 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12336
10a803e0
RM
123372012-03-16 Roland McGrath <roland@hack.frob.com>
12338
12339 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12340 * configure.in: Use it for both main tree and add-ons.
12341 * configure: Regenerated.
12342
f196c7f7
L
123432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12344
12345 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12346
8848d99d
JM
123472012-03-16 Joseph Myers <joseph@codesourcery.com>
12348
96cbe7f4
JM
12349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12350 in comment.
12351
8848d99d
JM
12352 [BZ #13851]
12353 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12354 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12355 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12358 infinite argument.
12359 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12361 != 0 for prec == 2.
12362 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12363 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12364 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12365 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12366 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12367 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12368 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12369 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12370 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12371 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12372 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12373 * math/libm-test.inc (cos_test): Add more tests and enable more
12374 tests for long double.
12375 (sin_test): Likewise.
12376 (sincos_test): Likewise.
12377 * sysdeps/i386/fpu/libm-test-ulps: Update.
12378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12379
dd7f4703
DM
123802012-03-16 David S. Miller <davem@davemloft.net>
12381
12382 * sysdeps/sparc/fpu/math_private.h: New file.
12383
006f1daa
DM
123842012-03-15 David S. Miller <davem@davemloft.net>
12385
c0c83bc8
DM
12386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12387 file.
e6a62e18 12388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12390 file.
e6a62e18
DM
12391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12397 sysdep routines.
12398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12399
88cb87d9
DM
12400 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12401 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12402
006f1daa 12403 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12405 sparc-ifunc.h
006f1daa 12406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12408 Likewise.
12409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12410 Likewise.
006f1daa
DM
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12415 Likewise.
006f1daa
DM
12416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12421 Likewise.
12422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12423 Likewise.
006f1daa
DM
12424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12448
11e0098e
AS
124492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12450
12451 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12452 scaling.
12453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12454
e85b09d0
AJ
124552012-03-15 Andreas Jaeger <aj@suse.de>
12456
12457 [BZ #13852]
12458 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12459 ieee754/flt-32 implementation for sin, cos and sincos.
12460 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12461 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12462 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12463 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12464 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12465 ieee754/flt-32 implementation for tan.
12466
12467 * math/libm-test.inc (cos_test): Enable some large input tests for
12468 float as well
12469 (sin_test): Likewise.
12470 (sincos_test): Likewise.
12471 (tan_test): Add tests for large input.
12472
12473 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474
81c64153
AJ
124752012-03-15 Andreas Jaeger <aj@suse.de>
12476
12477 [BZ #13658]
12478 * math/libm-test.inc (cos_test): Add more test cases.
12479 (sin_test): Likewise.
12480 (sincos_test): Likewise.
12481
7bbfa5c6
AJ
124822012-03-15 Andreas Jaeger <aj@suse.de>
12483
12484 [BZ #13837]
12485 * math/libm-test.inc (cos_test): Add a test case for large input
12486 value.
12487 (sin_test): Likewise.
12488 (sincos_test): Likewise.
12489
124902012-03-15 Andreas Jaeger <aj@suse.de>,
12491 Joseph Myers <joseph@codesourcery.com>
12492
12493 [BZ #13658]
0671f479 12494 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12495 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12496 * sysdeps/i386/fpu/branred.c: Likewise.
12497 * sysdeps/i386/fpu/dosincos.c: Likewise.
12498 * sysdeps/i386/fpu/mpa.c: Likewise.
12499 * sysdeps/i386/fpu/s_cos.S: Likewise.
12500 * sysdeps/i386/fpu/s_sin.S: Likewise.
12501 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12502 * sysdeps/i386/fpu/sincos32.c: Likewise.
12503
12504 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12505 Define.
12506 (libc_feupdateenv_53bit): Define.
12507 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12508 Define.
12509 (libc_feupdateenv_53bit): Define.
12510
12511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12512 53 bit (without extend i386 double precision).
12513
12514 * math/libm-test.inc (sincos_test): Add tests for large input.
12515 (sin): Likewise.
12516 (cos): Likewise.
12517
12518 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12519
9cad04ea
AS
125202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12521
12522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12523
f7062b9a
DM
125242012-03-15 David S. Miller <davem@davemloft.net>
12525
12526 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12527 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12528 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12529 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12542 file.
f7062b9a 12543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12545 file.
f7062b9a 12546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12548 file.
f7062b9a 12549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12551 file.
f7062b9a
DM
12552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12554 fmin/fmax sysdep routines.
12555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12556
7bd951ff
DM
125572012-03-14 David S. Miller <davem@davemloft.net>
12558
559398ab
DM
12559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12588 routines.
12589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12590 file.
559398ab 12591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12593 file.
559398ab 12594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12596 file.
559398ab 12597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12599 file.
559398ab 12600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12602 file.
559398ab 12603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12605 file.
12606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12607 file.
12608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12609 file.
12610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12611 file.
12612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12613 New file.
12614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12615 file.
12616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12617 file.
559398ab 12618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12620 file.
559398ab 12621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12623 file.
559398ab 12624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12626 file.
559398ab 12627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12629 VIS3 routines.
559398ab
DM
12630
12631 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12632 New file.
12633
5a1c1e32
DM
12634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12635
eae47a36
DM
12636 * sysdeps/sparc/configure.in: New file.
12637 * sysdeps/sparc/configure: Generate.
12638 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12639 * configure: Regenerate.
12640 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12641 * config.make.in (have-as-vis3): New.
12642 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12643 available use -Av9d instead of -Av9a.
12644 * sysdeps/sparc/sparc64/Makefile: Likewise.
12645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12647 New file.
12648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12649 file.
12650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12651 New file.
12652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12653 file.
eae47a36
DM
12654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12659
c0c83bc8
DM
12660 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12661 fzeros/fnegs to load 0x80000000 into a float register instead of
12662 using the stack.
7bd951ff
DM
12663 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12664
bd951ccb
JM
126652012-03-14 Joseph Myers <joseph@codesourcery.com>
12666
12667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12668 bits/syscall.h.
12669 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12670 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12671 ($(inst_includedir)/bits/syscall.h): Remove rule.
12672 ($(objpfx)bits/syscall.d): Include instead of
12673 $(objpfx)syscall-list.d.
12674 (generated): Change syscall-list.h and syscall-list.d to
12675 bits/syscall.h and bits/syscall.d.
12676
bb4e6db2
RM
126772012-03-14 Roland McGrath <roland@hack.frob.com>
12678
12679 [BZ #13846]
12680 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12681
aa4a2ae1
JM
126822012-03-14 Joseph Myers <joseph@codesourcery.com>
12683
e456826d
JM
12684 [BZ #13841]
12685 * math/s_csqrt.c: Include <float.h>.
12686 (__csqrt): Scale large or subnormal inputs.
12687 * math/s_csqrtf.c: Likewise.
12688 * math/s_csqrtl.c: Likewise.
12689 * math/libm-test.inc (csqrt_test): Add more tests.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692
aa4a2ae1
JM
12693 [BZ #13840]
12694 * math/libm-test.inc (hypot_test): Add more tests.
12695
7c10fd35
DM
126962012-03-13 David S. Miller <davem@davemloft.net>
12697
12698 [BZ #13840]
12699 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12700 double-precision for the calculation instead of scaling.
12701
f453b98b
JM
127022012-03-13 Joseph Myers <joseph@codesourcery.com>
12703
12704 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12705 manipulate bits before adding and subtracting TWO52[sx].
12706 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12707 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12708 Likewise.
12709 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12710
09a3453f
DM
127112012-03-13 David S. Miller <davem@davemloft.net>
12712
8e59da90
DM
12713 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12714 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12716 rtld-global-offsets.h
12717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12718
2a8ab7f2
DM
12719 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12720 large parameters.
12721
10f62770
DM
12722 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12723
5f0bdb18
DM
12724 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12725 'err' in the ifdef scope in which it is actually used.
12726
09a3453f
DM
12727 * nss/nss_db/db-init.c: Include string.h
12728
b4b2eb5e
DM
127292012-03-12 David S. Miller <davem@davemloft.net>
12730
98bb2f1c
DM
12731 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12732 masking out of the most significant byte of random value used.
12733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12734 Fix coding style in previous change.
12735
b4b2eb5e
DM
12736 * sysdeps/unix/sysv/linux/kernel-features.h
12737 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12738 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12739 expression.
12740 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12741 later.
12742
6e226b09
DM
127432012-03-11 David S. Miller <davem@davemloft.net>
12744
a1bcbd40
DM
12745 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12746 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12748 for 'resultvar' otherwise things get truncated on 64-bit.
12749
cb9d6174
DM
12750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12751 Fix masking out of the most significant byte of random value used.
12752
6e226b09
DM
12753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12754
058c132d
AS
127552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12756
12757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12758
2d2cd515
DM
127592012-03-09 David S. Miller <davem@davemloft.net>
12760
12761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12762 variables with appropriate CPP guards.
12763 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12764 frame pointer, not the stack pointer. Correct layout comments. Fix test
12765 on resulting framesize and the management of the outregs buffer for pltexit.
12766 Preserve floating point return values across _dl_call_pltexit call.
12767 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12768 framesize and the management of the outregs buffer for pltexit.
12769 Preserve floating point return values across _dl_call_pltexit
12770 call.
12771 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12772 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12773 (print_exit): Fix format string for return register value.
12774
9a07f9d0
JM
127752012-03-10 Joseph Myers <joseph@codesourcery.com>
12776
12777 * sunrpc/Makefile (others): Add rpcgen.
12778 ($(objpfx)rpcgen): Remove special build rule and dependency on
12779 libc.
12780 * sunrpc/rpcgen.c: New file.
12781
547b5e30
PE
127822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12783
c524201a
PE
12784 [BZ #13673]
12785 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12786 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12787 * sysdeps/i386/crti.S: Likewise.
12788 * sysdeps/i386/crtn.S: Likewise.
12789 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12790 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12791 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12792 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12793 * sysdeps/sh/crti.S: Likewise.
12794 * sysdeps/sh/crtn.S: Likewise.
12795 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12796
7b6235f2
PE
12797 [BZ #13673]
12798 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12799 with URL.
12800 * locale/programs/locfile-kw.gperf: Likewise.
12801 * locale/programs/charmap-kw.h: Regenerated.
12802 * locale/programs/locfile-kw.h: Likewise.
12803
547b5e30
PE
12804 [BZ #13673]
12805 * intl/plural.y: Replace FSF snail mail address with URL.
12806 * intl/plural.c: Regenerated.
12807
5f0a5dae
RH
128082012-03-09 Richard Henderson <rth@twiddle.net>
12809
12810 * include/math_private.h: Remove file.
12811 * math/math_private.h: Move file ...
12812 * sysdeps/generic/math_private.h: ... here.
12813
b8c03620
RH
12814 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12815 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12817
4e234f5d 12818 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12819 and <math_private.h>.
12820 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12821 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12822 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12823 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12824 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12857 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12858 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12860 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12861 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12862 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12863 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12864 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12868 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12870 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12871 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12899 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12901 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12902 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12908 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12909 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12910 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12911 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12914 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12915 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12917 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12918 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12919 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12920 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12921 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12922 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12923 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12924 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12925 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12926 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12927 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12928 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12929 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12930 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12931 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12934 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12935 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12939 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12940 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12941 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12942 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12943 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12944 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12945 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12946 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12947 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12948 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12949 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12950 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12951 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12952 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12953 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12954 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12955 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12956 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12957 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12958 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12959 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12961 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12963 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12964 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12965 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12966 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12967 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12968 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12969 * sysdeps/ieee754/k_standard.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12987 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12997 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13003 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13007 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13008 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13009 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13010 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13011 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13012 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13014 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13015 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13016 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13017 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13018 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13019 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13020 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13021 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13022 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13024 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13025 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13029 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13030 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13031 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13032 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13033 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13034 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13041 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13055 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13057 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13060 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13062 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13063 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13066 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13067 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13075 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13076 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13077 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13078 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13085 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13086 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13096 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13097 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13098 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13099 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13102 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13103 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13104 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13105 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13106 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13107 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13108 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13109 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13110 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13111 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13112 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13113 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13114 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13120 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13122 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13123 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13124 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13125 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13126 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13130 * sysdeps/ieee754/s_lib_version.c: Likewise.
13131 * sysdeps/ieee754/s_matherr.c: Likewise.
13132 * sysdeps/ieee754/s_signgam.c: Likewise.
13133 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13134 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13135 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13136 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13137 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13138 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13139 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13140 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13141 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13142 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13143 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13144 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13145 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13147 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13148 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13150 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13154
1991fa03
JM
131552012-03-09 Joseph Myers <joseph@codesourcery.com>
13156
13157 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13158 * sunrpc/rpc_main.c: Likewise.
13159 * sunrpc/rpc_svcout.c: Likewise.
13160
60d6f5a6
DM
131612012-03-09 David S. Miller <davem@davemloft.net>
13162
13163 * include/math_private.h: New file.
13164
4962050e
JM
131652012-03-09 Joseph Myers <joseph@codesourcery.com>
13166
02a6f887
JM
13167 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13168 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13169 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13170 from <bits/socket_type.h>.
13171 (enum __socket_type): Don't define here.
13172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13174 bits/socket_type.h.
13175
c6e013c1
JM
13176 [BZ #13566]
13177 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13178 checking __USE_GNU.
13179
4962050e
JM
13180 * Makerules ($(inst_includedir)/%.h): New rule.
13181 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13182 (install-others): Remove variable setting.
13183 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13184
38842f45
RH
131852012-03-08 Richard Henderson <rth@twiddle.net>
13186
67bb6da6
RH
13187 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13188 from macro to inline function; merge with the
13189 !__LIBC_INTERNAL_MATH_INLINES version.
13190 (__ieee754_sqrtf): Likewise.
13191
15194b4b
RH
13192 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13193 to inline function.
13194 (__rintf, __floor, __floorf): Likewise.
13195
64e21ede
RH
13196 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13197 macro to inline function.
13198 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13199
38842f45
RH
13200 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13201 not <math/math_private.h>.
13202
c64bf5fe
DM
132032012-03-08 David S. Miller <davem@davemloft.net>
13204
13205 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13206 copyright year.
13207 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13208
82d86f28
TS
132092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13210
13211 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13212 normalization.
13213 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13214 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13215
aea5d727
UD
132162012-03-08 Ulrich Drepper <drepper@gmail.com>
13217
13218 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13219 be defined individually, they must be defined as a block. Define
13220 S for printing a string instead of hidint the different by using a
13221 macro for adding the 'l'.
13222 * stdio-common/tst-fphex-wide.c: Adjust.
13223
70bca0a3
MP
132242012-03-07 Marek Polacek <polacek@redhat.com>
13225
13226 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13227
65b81130
MP
132282012-03-08 Marek Polacek <polacek@redhat.com>
13229
13230 [BZ #13806]
13231 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13232 * stdio-common/tst-fphex.c: Define a few macros to make the
13233 test reusable. Use them.
13234 * stdio-common/tst-fphex-wide.c: New file.
13235
07037eeb
JM
132362012-03-08 Joseph Myers <joseph@codesourcery.com>
13237
a7a93d50
JM
13238 [BZ #6911]
13239 * manual/macros.texi (gnusystems): New macro.
13240 (nongnusystems): Likewise.
13241 (gnulinuxhurdsystems): Likewise.
13242 (gnuhurdsystems): Likewise..
13243 (gnulinuxsystems): Likewise.
13244 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13245 variants of the GNU system, not "GNU system".
13246 * manual/conf.texi: Likewise.
13247 * manual/errno.texi: Likewise. Update example of errno macro
13248 expansion.
13249 * manual/filesys.texi: Likewise.
13250 (getumask): Document as specific to GNU/Hurd.
13251 * manual/install.texi: Likewise. Reword some references to
13252 GNU/Linux.
13253 * manual/intro.texi: Likewise.
13254 * manual/io.texi: Likewise.
13255 (File Name Portability): Detail which constraints are inapplicable
13256 to all GNU systems and which are only inapplicable to GNU/Hurd.
13257 * manual/job.texi: Likewise.
13258 * manual/llio.texi: Likewise.
13259 (O_NOCTTY): Document as present on GNU/Linux.
13260 * manual/maint.texi: Likewise.
13261 * manual/memory.texi: Likewise.
13262 * manual/pattern.texi: Likewise.
13263 * manual/pipe.texi: Likewise.
13264 * manual/process.texi: Likewise.
13265 * manual/resource.texi: Likewise.
13266 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13267 child on GNU/Hurd.
13268 * manual/setjmp.texi: Likewise.
13269 * manual/signal.texi: Likewise.
13270 * manual/startup.texi: Likewise.
13271 * manual/stdio.texi: Likewise.
13272 * manual/terminal.texi: Likewise.
13273 (ONLCR): Document as POSIX.
13274 (OXTABS): Document availability on GNU/Linux as XTABS.
13275 (ONOEOT): Document availability separately from other bits.
13276 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13277 * manual/time.texi: Likewise.
13278 * manual/users.texi: Likewise.
13279 * INSTALL: Regenerated.
13280 * sysdeps/gnu/errlist.c: Regenerated.
13281
07037eeb
JM
13282 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13283 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13284 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13285 puts.
13286 * configure: Regenerated.
13287
d1d3431a
JM
132882012-03-07 Joseph Myers <joseph@codesourcery.com>
13289
af6a1e37
JM
13290 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13291 default includes instead of AC_HEADER_CHECK.
13292 * sysdeps/i386/configure: Regenerated.
13293
d1d3431a
JM
13294 [BZ #10716]
13295 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13296 * math/s_cacoshf.c (__cacoshf): Likewise.
13297 * math/s_cacoshl.c (__cacoshl): Likewise.
13298 * math/s_casinh.c (__casinh): Set signs of result from argument.
13299 * math/s_casinhf.c (__casinhf): Likewise.
13300 * math/s_casinhl.c (__casinhl): Likewise.
13301 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13302 (casinh_test): Add more tests.
13303 * sysdeps/i386/fpu/libm-test-ulps: Update.
13304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13305
482ff4da
UD
133062012-03-07 Ulrich Drepper <drepper@gmail.com>
13307
872fda05
UD
13308 * po/zh_TW.po: Update from translation team.
13309
a4300c7a
UD
13310 * login/Makefile (distribute): Remove variable.
13311 * catgets/Makefile: Likewise.
13312 * mach/Makefile: Likewise.
13313 * malloc/Makefile: Likewise.
13314 * misc/Makefile: Likewise.
13315 * iconv/Makefile: Likewise.
13316 * nscd/Makefile: Likewise.
13317 * hurd/Makefile: Likewise.
13318 * manual/Makefile: Likewise.
13319 * locale/Makefile: Likewise.
13320 * intl/Makefile: Likewise.
13321 * conform/Makefile: Likewise.
13322 * nss/Makefile: Likewise.
13323 * time/Makefile: Likewise.
13324 * soft-fp/Makefile: Likewise.
13325 * dirent/Makefile: Likewise.
13326 * gmon/Makefile: Likewise.
13327 * po/Makefile: Likewise.
13328 * rt/Makefile: Likewise.
13329 * socket/Makefile: Likewise.
13330 * math/Makefile: Likewise.
13331 * signal/Makefile: Likewise.
13332 * debug/Makefile: Likewise.
13333 * elf/Makefile: Likewise.
13334 * timezone/Makefile: Likewise.
13335 * stdlib/Makefile: Likewise.
13336 * iconvdata/Makefile: Likewise.
13337 * sunrpc/Makefile: Likewise.
13338 * io/Makefile: Likewise.
13339 * argp/Makefile: Likewise.
13340 * inet/Makefile: Likewise.
13341 * hesiod/Makefile: Likewise.
13342 * grp/Makefile: Likewise.
13343 * csu/Makefile: Likewise.
13344 * wctype/Makefile: Likewise.
13345 * crypt/Makefile: Likewise.
13346 * libio/Makefile: Likewise.
13347 * string/Makefile: Likewise.
13348 * nis/Makefile: Likewise.
13349 * resolv/Makefile: Likewise.
13350 * stdio-common/Makefile: Likewise.
13351 * wcsmbs/Makefile: Likewise.
13352 * dlfcn/Makefile: Likewise.
13353 * posix/Makefile: Likewise.
13354
3b7c4e74 13355 [BZ #6959]
482ff4da
UD
13356 * timezone/Makefile: Don't install timezone files, just the programs
13357 and scripts.
13358
f72ed77d
UD
133592012-03-06 Ulrich Drepper <drepper@gmail.com>
13360
a000466f
UD
13361 * nss/databases.def: Add missing gshadow entry.
13362
f72ed77d
UD
13363 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13364
a53b7a4e
MP
133652012-03-06 Marek Polacek <polacek@redhat.com>
13366
13367 [BZ #13726]
13368 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13369 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13370 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13371 * stdio-common/tst-long-dbl-fphex.c: New file.
13372
e9258400
DM
133732012-03-06 David S. Miller <davem@davemloft.net>
13374
13375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13376 (set_obp_int): New function.
13377 (get_obp_int): New function.
13378 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13379 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13380 Avoid unused variable warnings on 'val' and use builtin_expect.
13381 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13382 __builtin_expect.
e9258400
DM
13383 (INLINE_CLONE_SYSCALL): Likewise.
13384
3bd2c723
DM
133852012-03-05 David S. Miller <davem@davemloft.net>
13386
13387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13388
bbb78d03
AS
133892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13390
884c5db4
AS
13391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13392
bbb78d03
AS
13393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13394 only for |x| >= 40.
13395 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13396
1c9f702a 133972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13398
13399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13400 Replace gettimeofday with __vdso_gettimeofday.
13401
7be16f82
RM
13402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13403 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13404 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13405
13406 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13407 time with __vdso_time.
13408
ed58a00f
JM
134092012-03-05 Joseph Myers <joseph@codesourcery.com>
13410
13411 * manual/lang.texi (size_t): Note types to which size_t may be
13412 equivalent with the GNU C Library, but do not describe when
13413 differences between them are significant.
13414
30ee4ced
AJ
134152012-03-05 Andreas Jaeger <aj@suse.de>
13416
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418
b7cd39e8
JM
134192012-03-05 Joseph Myers <joseph@codesourcery.com>
13420
13421 [BZ #3976]
13422 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13423 (__ieee754_pow): Save and restore rounding mode and use
13424 round-to-nearest for main computations.
13425 * math/libm-test.inc (pow_test_tonearest): New function.
13426 (pow_test_towardzero): Likewise.
13427 (pow_test_downward): Likewise.
13428 (pow_test_upward): Likewise.
13429 (main): Call the new functions.
13430 * sysdeps/i386/fpu/libm-test-ulps: Update.
13431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13432
13433 [BZ #3976]
13434 * math/libm-test.inc (cosh_test_tonearest): New function.
13435 (cosh_test_towardzero): Likewise.
13436 (cosh_test_downward): Likewise.
13437 (cosh_test_upward): Likewise.
13438 (sinh_test_tonearest): Likewise.
13439 (sinh_test_towardzero): Likewise.
13440 (sinh_test_downward): Likewise.
13441 (sinh_test_upward): Likewise.
13442 (main): Call the new functions.
13443 * sysdeps/i386/fpu/libm-test-ulps: Update.
13444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13445
6c6a98c9
TV
134462012-03-05 Tom de Vries <tom@codesourcery.com>
13447
13448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13449 default stack guard is set in last bytes.
13450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13451
21bb2d2e 134522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13453
21bb2d2e 13454 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13455
21bb2d2e
AJ
13456 [BZ #13656]
13457 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13458 possibly allocate from heap instead of stack.
13459 * stdio-common/bug-vfprintf-nargs.c: New file.
13460 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13461
c6922934
AS
134622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13463
13464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13465
bc957d53
MP
134662012-03-03 Marek Polacek <polacek@redhat.com>
13467
13468 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13469 * math/math_private.h: Likewise.
13470 * stdlib/tst-strtod.c: Likewise.
13471 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13472 * sysdeps/x86_64/bits/atomic.h: Likewise.
13473
6358490d
DM
134742012-03-02 David S. Miller <davem@davemloft.net>
13475
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13480 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13481 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13482 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13483 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13484
01ae168d
RM
134852012-03-02 Roland McGrath <roland@hack.frob.com>
13486
d9a17c07
RM
13487 [BZ #13792]
13488 * manual/examples/README: New file, says the example source files
13489 can be used under GPL>=2.
13490 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13491 line containing just "*/".
13492 * manual/examples/add.c: Add copyright header (GPL>=2).
13493 * manual/examples/argp-ex1.c: Likewise.
13494 * manual/examples/argp-ex2.c: Likewise.
13495 * manual/examples/argp-ex3.c: Likewise.
13496 * manual/examples/argp-ex4.c: Likewise.
13497 * manual/examples/atexit.c: Likewise.
13498 * manual/examples/db.c: Likewise.
13499 * manual/examples/dir.c: Likewise.
13500 * manual/examples/dir2.c: Likewise.
13501 * manual/examples/execinfo.c: Likewise.
13502 * manual/examples/filecli.c: Likewise.
13503 * manual/examples/filesrv.c: Likewise.
13504 * manual/examples/fmtmsgexpl.c: Likewise.
13505 * manual/examples/genpass.c: Likewise.
13506 * manual/examples/inetcli.c: Likewise.
13507 * manual/examples/inetsrv.c: Likewise.
13508 * manual/examples/isockad.c: Likewise.
13509 * manual/examples/longopt.c: Likewise.
13510 * manual/examples/memopen.c: Likewise.
13511 * manual/examples/memstrm.c: Likewise.
13512 * manual/examples/mkfsock.c: Likewise.
13513 * manual/examples/mkisock.c: Likewise.
13514 * manual/examples/mygetpass.c: Likewise.
13515 * manual/examples/pipe.c: Likewise.
13516 * manual/examples/popen.c: Likewise.
13517 * manual/examples/rprintf.c: Likewise.
13518 * manual/examples/search.c: Likewise.
13519 * manual/examples/select.c: Likewise.
13520 * manual/examples/setjmp.c: Likewise.
13521 * manual/examples/sigh1.c: Likewise.
13522 * manual/examples/sigusr.c: Likewise.
13523 * manual/examples/stpcpy.c: Likewise.
13524 * manual/examples/strdupa.c: Likewise.
13525 * manual/examples/strftim.c: Likewise.
13526 * manual/examples/strncat.c: Likewise.
13527 * manual/examples/subopt.c: Likewise.
13528 * manual/examples/swapcontext.c: Likewise.
13529 * manual/examples/termios.c: Likewise.
13530 * manual/examples/testopt.c: Likewise.
13531 * manual/examples/testpass.c: Likewise.
13532 * manual/examples/timeval_subtract.c: Likewise.
13533
01ae168d
RM
13534 [BZ #13792]
13535 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13536 function to ...
13537 * manual/timeval_subtract.c.texi: ... here, new file.
13538
49efa33d
DM
135392012-03-02 David S. Miller <davem@davemloft.net>
13540
13541 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13542
28afd92d
JM
135432012-03-02 Joseph Myers <joseph@codesourcery.com>
13544
804360ed
JM
13545 [BZ #3976]
13546 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13547 (__sin): Save and restore rounding mode and use round-to-nearest
13548 for all computations.
13549 (__cos): Save and restore rounding mode and use round-to-nearest
13550 for all computations.
13551 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13552 <fenv.h>.
13553 (tan): Save and restore rounding mode and use round-to-nearest for
13554 all computations.
13555 * math/libm-test.inc (cos_test_tonearest): New function.
13556 (cos_test_towardzero): Likewise.
13557 (cos_test_downward): Likewise.
13558 (cos_test_upward): Likewise.
13559 (sin_test_tonearest): Likewise.
13560 (sin_test_towardzero): Likewise.
13561 (sin_test_downward): Likewise.
13562 (sin_test_upward): Likewise.
13563 (tan_test_tonearest): Likewise.
13564 (tan_test_towardzero): Likewise.
13565 (tan_test_downward): Likewise.
13566 (tan_test_upward): Likewise.
13567 (main): Call the new functions.
13568 * sysdeps/i386/fpu/libm-test-ulps: Update.
13569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13570
a6d06d7b
JM
13571 [BZ #10135]
13572 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13573 small n, then large n, before computing and testing k+n.
13574 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13576 Likewise.
13577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13578 Likewise.
13579 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13580 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13581 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13582 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13587 * math/libm-test.inc (scalbn_test): Add more tests.
13588 (scalbln_test): Likewise.
13589
07e12bb3
JM
13590 * manual/filesys.texi (mode_t): Describe constraints on size and
13591 signedness, not exact equivalence to a particular type.
13592 (ino_t): Likewise.
13593 (ino64_t): Likewise.
13594 (dev_t): Likewise.
13595 (nlink_t): Likewise.
13596 (blkcnt_t): Likewise.
13597 (blkcnt64_t): Likewise.
13598 * manual/llio.texi (off_t): Likewise.
13599
28afd92d
JM
13600 [BZ #3976]
13601 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13602 (__ieee754_exp): Save and restore rounding mode and use
13603 round-to-nearest for all computations.
13604 * math/libm-test.inc (exp_test_tonearest): New function.
13605 (exp_test_towardzero): Likewise.
13606 (exp_test_downward): Likewise.
13607 (exp_test_upward): Likewise.
13608 (main): Call the new functions.
13609 * sysdeps/i386/fpu/libm-test-ulps: Update.
13610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13611
b1eeb65d
CD
136122012-03-01 Chris Demetriou <cgd@google.com>
13613
13614 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13615 have predictable order.
13616
53362a4b
DM
136172012-03-01 David S. Miller <davem@davemloft.net>
13618
3c969083
DM
13619 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13620
759707de
DM
13621 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13622 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13623 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13624 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13625
dfdb8ff2
DM
13626 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13627 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13628 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13630 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13631 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13632 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13633 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13634 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13635
ead89f96
DM
13636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13637
7f66bd07
DM
13638 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13639 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13640 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13641
53362a4b
DM
13642 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13643 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13644 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13645 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13646 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13649 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13650 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13651 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13652 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13655 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13656 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13658 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13659 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13660 * sysdeps/sparc/elf/configure: Regenerated.
13661
7b1902cb
JM
136622012-03-01 Joseph Myers <joseph@codesourcery.com>
13663
bec039bc
JM
13664 * configure.in (AS, LD): Require binutils 2.20 or later.
13665 * configure: Regenerated.
13666 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13667 as required minimum version.
13668 * INSTALL: Regenerated.
13669
7b1902cb
JM
13670 [BZ #2541]
13671 [BZ #4108]
13672 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13673 before squaring exponent.
13674 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13675 bottom long double and 27 bits of top long double before squaring
13676 exponent.
13677 * math/libm-test.inc (erfc_test): Add more tests.
13678 * sysdeps/i386/fpu/libm-test-ulps: Update.
13679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13681
f775c276
KT
136822012-03-01 Kai Tietz <ktietz@redhat.com>
13683
13684 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13685 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13686 containing bit-fields.
13687 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13688 * soft-fp/single.h (_FP_UNION_S): Likewise.
13689 * soft-fp/double.h (_FP_UNION_D): Likewise.
13690
5b8a4d4a
JM
136912012-02-29 Joseph Myers <joseph@codesourcery.com>
13692
0bab47b6
JM
13693 [BZ #13786]
13694 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13695 not include ../strcmp.S.
13696 [USE_AS_STRNCASECMP_L]: Likewise.
13697 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13698 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13699 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13700 (__strncasecmp_l_ia32): Define as alias to
13701 __strncasecmp_l_nonascii.
13702
0fcad3e2
JM
13703 [BZ #5794]
13704 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13707
5b8a4d4a
JM
13708 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710
8fdceb2e
JL
137112012-02-29 Jeff Law <law@redhat.com>
13712
13713 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13714 out of bounds read.
13715
1f393a11
MP
137162012-02-29 Marek Polacek <polacek@redhat.com>
13717
13718 [BZ #13706]
13719 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13720 * elf/Makefile: Add rules to run tst-unused-dep.out.
13721
8847f037
DM
137222012-02-28 David S. Miller <davem@davemloft.net>
13723
13724 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13725 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13728 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13729 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13730
169d7f11
JM
137312012-02-29 Joseph Myers <joseph@codesourcery.com>
13732
13733 * math/libm-test.inc (llround_test): Move one test from
13734 lround_test. Use TEST_f_L in moved test.
13735 (lround_test): Move misplaced test to llround_test. Add testcase
13736 from bug 2561.
13737
39adf059
UD
137382012-02-28 Ulrich Drepper <drepper@gmail.com>
13739
13740 * sysdeps/x86_64/fpu/e_expf.S: New file.
13741 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13742
71b5d1c5
SB
137432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13744
13745 [BZ #13637]
13746 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13747 of remain_len that may cause incomplete multi-byte character and
13748 false match.
13749 * posix/bug-regex33.c: New file.
13750 * posix/Makefile (tests): Add bug-regex33.
13751
1f77f049
JM
137522012-02-28 Joseph Myers <joseph@codesourcery.com>
13753
13754 * manual/macros.texi: New file.
13755 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13756 * manual/libc.texinfo: Include macros.texi.
13757 * manual/creatute.texi: Likewise.
13758 * manual/install.texi: Likewise.
13759 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13760 @glibcadj{} in references to the GNU C Library.
13761 * manual/charset.texi: Likewise.
13762 * manual/conf.texi: Likewise.
13763 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13764 when not using those macros.
13765 * manual/creature.texi: Likewise.
13766 * manual/crypt.texi: Likewise.
13767 * manual/errno.texi: Likewise.
13768 * manual/filesys.texi: Likewise.
13769 * manual/header.texi: Likewise.
13770 * manual/install.texi: Likewise.
13771 * manual/intro.texi: Likewise.
13772 * manual/io.texi: Likewise.
13773 * manual/job.texi: Likewise.
13774 * manual/lang.texi: Likewise.
13775 * manual/libc.texiinfo: Likewise.
13776 * manual/llio.texi: Likewise.
13777 * manual/locale.texi: Likewise.
13778 * manual/maint.texi: Likewise.
13779 * manual/math.texi: Likewise.
13780 * manual/memory.texi: Likewise.
13781 * manual/message.texi: Likewise.
13782 * manual/nss.texi: Likewise.
13783 * manual/pattern.texi: Likewise.
13784 * manual/process.texi: Likewise.
13785 * manual/resource.texi: Likewise.
13786 * manual/search.texi: Likewise.
13787 * manual/setjmp.texi: Likewise.
13788 * manual/signal.texi: Likewise.
13789 * manual/socket.texi: Likewise.
13790 * manual/startup.texi: Likewise.
13791 * manual/stdio.texi: Likewise.
13792 * manual/string.texi: Likewise.
13793 * manual/sysinfo.texi: Likewise.
13794 * manual/syslog.texi: Likewise.
13795 * manual/terminal.texi: Likewise.
13796 * manual/time.texi: Likewise.
13797 * manual/users.texi: Likewise.
13798 * INSTALL: Regenerated.
13799 * NOTES: Regenerated.
d40c5d54 13800 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13801
450bf206
AS
138022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13803
13804 * include/dirent.h: Include <dirstream.h> before
13805 <dirent/dirent.h>.
13806
741a235b
DM
138072012-02-28 David S. Miller <davem@davemloft.net>
13808
13809 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13810 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13811 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13812 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13813
d6b5aa58
DM
138142012-02-27 David S. Miller <davem@davemloft.net>
13815
1aff59a3
DM
13816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13818 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13819 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13820
d6b5aa58
DM
13821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13822 frame pointer instead of stack pointer relative arg slot.
13823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13826
433f48bf
CD
138272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13828
13829 [BZ #3992]
13830 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13831
d674b76d
DM
138322012-02-27 David S. Miller <davem@davemloft.net>
13833
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13838 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13839 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13840 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13841 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13842
0e7727f7
JM
138432012-02-27 Joseph Myers <joseph@codesourcery.com>
13844
13845 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13846 later. Allow versions 5-9.
43be4ca2 13847 * configure: Regenerated.
0e7727f7
JM
13848 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13849 required minimum version and 4.6 as recommended version. Do not
13850 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13851 * INSTALL: Regenerated.
0e7727f7 13852
a78bc654
DM
138532012-02-27 David S. Miller <davem@davemloft.net>
13854
428d5830
DM
13855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13860 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13861 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13862 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13863
a78bc654
DM
13864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13865 manipulate bits before adding and subtracting TWO112[sx].
13866 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13867
4579f81c
RM
138682012-02-27 Roland McGrath <roland@hack.frob.com>
13869
36c8acb4
RM
13870 [BZ #13775]
13871 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13872 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13873 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13874 being in POSIX, because they are in 1003.1-2008.
13875
84ad622b
RM
13876 * rt/tst-aio.c: Include <fcntl.h>.
13877 * rt/tst-aio7.c: Likewise.
13878 * rt/tst-aio64.c: Likewise.
13879
4579f81c
RM
13880 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13881
abd923db
JM
138822012-02-27 Joseph Myers <joseph@codesourcery.com>
13883
13884 * manual/install.texi (--with-headers): Describe headers as
13885 interface headers, not private headers.
13886 (Specific advice for GNU/Linux systems): Describe use of headers
13887 from "make headers_install", not private headers from older
13888 kernels.
43be4ca2 13889 * INSTALL: Regenerated.
abd923db
JM
13890 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13891 Change to 2.6.19.
13892 * sysdeps/unix/sysv/linux/configure: Regenerated.
13893
6664049b
JM
13894 * manual/llio.texi (fclean): Remove documentation.
13895
bb8b6697
JM
13896 * manual/Makefile (libc-texi-generated): New variable. Include
13897 version.texi.
13898 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13899 $(libc-texi-generated), not duplicated list of files.
13900 (version.texi, stamp-version): New rules.
13901 (realclean): Remove $(libc-texi-generated), not individual files
13902 from that list. Do not remove dir-add.texinfo.
13903 * manual/libc.texinfo: Comment out uses of edition numbers and
13904 references to printed manual. Remove last-updated dates.
13905 (EDITION): Comment out.
13906 (ISBN): Likewise.
13907 (VERSION, UPDATED): Remove.
13908 (version.texi): Include.
13909
12e5c3b9
AS
139102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13911
13912 * sysdeps/posix/spawni.c: Include <signal.h>.
13913 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13914 * sysdeps/pthread/aio_fsync.c: Likewise.
13915
4efeffc1 139162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13917
ba63ba08
UD
13918 * conform/Makefile (tests): Run only when not cross-compiling and
13919 when fast-check is not defined.
13920
d94a4670
UD
13921 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13922 * conform/data/limits.h-data: Fixes for POSIX2008.
13923 * conform/run-conformtest.sh: Run all tests.
13924 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13925 headers.
13926 * include/bits/dlfcn.h: Likewise.
13927 * include/langinfo.h: Likewise.
13928 * include/monetary.h: Likewise.
13929 * include/sys/poll.h: Likewise.
13930
13931 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13932 for __USE_GNU.
13933 * posix/spawn.h: Define __need_sigset_t.
13934 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13935 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13936 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13937 to get sigevent_t only.
13938 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13939 only for __USE_GNU.
13940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13941 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13942 process_vm_writev only for __USE_GNU.
13943 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13944
13945 * conform/Makefile: For now ignore errors from run-conformtest.
13946 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13947 POSIX to avoid namespace pollution. Don't prepend headers.
13948 * conform/data/aio.h-data: Fixes for POSIX testing.
13949 * conform/data/fcntl.h-data: Likewise.
13950 * conform/data/glob.h-data: Likewise.
13951 * conform/data/grp.h-data: Likewise.
13952 * conform/data/pthread.h-data: Likewise.
13953 * conform/data/pwd.h-data: Likewise.
13954 * conform/data/signal.h-data: Likewise.
13955 * conform/data/spawn.h-data: Likewise.
13956 * conform/data/stdio.h-data: Likewise.
13957 * conform/data/stdlib.h-data: Likewise.
13958 * conform/data/stropts.h-data: Likewise.
13959 * conform/data/sys/mman.h-data: Likewise.
13960 * conform/data/sys/stat.h-data: Likewise.
13961 * conform/data/sys/types.h-data: Likewise.
13962 * conform/data/sys/wait.h-data: Likewise.
13963 * conform/data/time.h-data: Likewise.
13964 * conform/data/unistd.h-data: Likewise.
13965 * conform/data/utime.h-data: Likewise.
13966
13967 * io/sys/stat.h: fchmod was always in POSIX.
13968 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13969 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13970 * rt/aio.h: Define __need_timespec before including <time.h>.
13971 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13972 struct. Add forward declaration of pthread_attr_t and use it in
13973 sigevent.
13974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13976 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13977 always remove CLK_TCK definition.
13978
c20105c3
AS
139792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13980
13981 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13982
7a270350
UD
139832012-02-25 Ulrich Drepper <drepper@gmail.com>
13984
31341567
UD
13985 * conform/run-conformtest.sh: New file.
13986 * conform/Makefile: Run run-conformtest for tests.
13987 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13988 support.
13989
13990 * conform/data/uchar.h-data: New file.
13991 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13992 * conform/data/arpa/inet.h-data: Likewise.
13993 * conform/data/assert.h-data: Likewise.
13994 * conform/data/complex.h-data: Likewise.
13995 * conform/data/cpio.h-data: Likewise.
13996 * conform/data/ctype.h-data: Likewise.
13997 * conform/data/dirent.h-data: Likewise.
13998 * conform/data/dlfcn.h-data: Likewise.
13999 * conform/data/errno.h-data: Likewise.
14000 * conform/data/fcntl.h-data: Likewise.
14001 * conform/data/float.h-data: Likewise.
14002 * conform/data/fmtmsg.h-data: Likewise.
14003 * conform/data/fnmatch.h-data: Likewise.
14004 * conform/data/ftw.h-data: Likewise.
14005 * conform/data/glob.h-data: Likewise.
14006 * conform/data/grp.h-data: Likewise.
14007 * conform/data/iconv.h-data: Likewise.
14008 * conform/data/inttypes.h-data: Likewise.
14009 * conform/data/langinfo.h-data: Likewise.
14010 * conform/data/libgen.h-data: Likewise.
14011 * conform/data/limits.h-data: Likewise.
14012 * conform/data/locale.h-data: Likewise.
14013 * conform/data/math.h-data: Likewise.
14014 * conform/data/monetary.h-data: Likewise.
14015 * conform/data/mqueue.h-data: Likewise.
14016 * conform/data/ndbm.h-data: Likewise.
14017 * conform/data/net/if.h-data: Likewise.
14018 * conform/data/netdb.h-data: Likewise.
14019 * conform/data/netinet/in.h-data: Likewise.
14020 * conform/data/nl_types.h-data: Likewise.
14021 * conform/data/poll.h-data: Likewise.
14022 * conform/data/pthread.h-data: Likewise.
14023 * conform/data/pwd.h-data: Likewise.
14024 * conform/data/regex.h-data: Likewise.
14025 * conform/data/sched.h-data: Likewise.
14026 * conform/data/search.h-data: Likewise.
14027 * conform/data/semaphore.h-data: Likewise.
14028 * conform/data/setjmp.h-data: Likewise.
14029 * conform/data/signal.h-data: Likewise.
14030 * conform/data/spawn.h-data: Likewise.
14031 * conform/data/stdarg.h-data: Likewise.
14032 * conform/data/stdio.h-data: Likewise.
14033 * conform/data/stdlib.h-data: Likewise.
14034 * conform/data/string.h-data: Likewise.
14035 * conform/data/strings.h-data: Likewise.
14036 * conform/data/stropts.h-data: Likewise.
14037 * conform/data/sys/ipc.h-data: Likewise.
14038 * conform/data/sys/mman.h-data: Likewise.
14039 * conform/data/sys/msg.h-data: Likewise.
14040 * conform/data/sys/resource.h-data: Likewise.
14041 * conform/data/sys/select.h-data: Likewise.
14042 * conform/data/sys/sem.h-data: Likewise.
14043 * conform/data/sys/shm.h-data: Likewise.
14044 * conform/data/sys/socket.h-data: Likewise.
14045 * conform/data/sys/stat.h-data: Likewise.
14046 * conform/data/sys/statvfs.h-data: Likewise.
14047 * conform/data/sys/time.h-data: Likewise.
14048 * conform/data/sys/timeb.h-data: Likewise.
14049 * conform/data/sys/times.h-data: Likewise.
14050 * conform/data/sys/types.h-data: Likewise.
14051 * conform/data/sys/uio.h-data: Likewise.
14052 * conform/data/sys/un.h-data: Likewise.
14053 * conform/data/sys/utsname.h-data: Likewise.
14054 * conform/data/sys/wait.h-data: Likewise.
14055 * conform/data/syslog.h-data: Likewise.
14056 * conform/data/tar.h-data: Likewise.
14057 * conform/data/termios.h-data: Likewise.
14058 * conform/data/utime.h-data: Likewise.
14059 * conform/data/utmpx.h-data: Likewise.
14060 * conform/data/varargs.h-data: Likewise.
14061 * conform/data/wchar.h-data: Likewise.
14062 * conform/data/wctype.h-data: Likewise.
14063 * conform/data/wordexp.h-data: Likewise.
14064
14065 * include/stropts.h: New file.
14066 * include/uchar.h: New file.
14067 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14068 * include/assert.h: Likewise.
14069 * include/ctype.h: Likewise.
14070 * include/dirent.h: Likewise.
14071 * include/dlfcn.h: Likewise.
14072 * include/fcntl.h: Likewise.
14073 * include/fnmatch.h: Likewise.
14074 * include/glob.h: Likewise.
14075 * include/grp.h: Likewise.
14076 * include/libio.h: Likewise.
14077 * include/locale.h: Likewise.
14078 * include/math.h: Likewise.
14079 * include/net/if.h: Likewise.
14080 * include/netdb.h: Likewise.
14081 * include/netinet/in.h: Likewise.
14082 * include/pthread.h: Likewise.
14083 * include/pwd.h: Likewise.
14084 * include/regex.h: Likewise.
14085 * include/sched.h: Likewise.
14086 * include/search.h: Likewise.
14087 * include/setjmp.h: Likewise.
14088 * include/signal.h: Likewise.
14089 * include/stdio.h: Likewise.
14090 * include/stdlib.h: Likewise.
14091 * include/string.h: Likewise.
14092 * include/sys/cdefs.h: Likewise.
14093 * include/sys/mman.h: Likewise.
14094 * include/sys/msg.h: Likewise.
14095 * include/sys/resource.h: Likewise.
14096 * include/sys/select.h: Likewise.
14097 * include/sys/socket.h: Likewise.
14098 * include/sys/stat.h: Likewise.
14099 * include/sys/statvfs.h: Likewise.
14100 * include/sys/time.h: Likewise.
14101 * include/sys/times.h: Likewise.
14102 * include/sys/uio.h: Likewise.
14103 * include/sys/utsname.h: Likewise.
14104 * include/sys/wait.h: Likewise.
14105 * include/termios.h: Likewise.
14106 * include/time.h: Likewise.
14107 * include/ulimit.h: Likewise.
14108 * include/unistd.h: Likewise.
14109 * include/utime.h: Likewise.
14110 * include/wchar.h: Likewise.
14111 * include/wctype.h: Likewise.
14112 * include/wordexp.h: Likewise.
14113
14114 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14115
7a270350
UD
14116 * time/time.h: TIME_UTC must be a macro.
14117 Make timespec_get available for ISO C11 only as well.
14118
7724defc
UD
141192012-02-24 Ulrich Drepper <drepper@gmail.com>
14120
14121 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14122 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14123
6b1d1d46
JM
141242012-02-24 Joseph Myers <joseph@codesourcery.com>
14125
14126 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14127
0f8bbd69
JM
141282012-02-24 Joseph Myers <joseph@codesourcery.com>
14129
14130 * manual/texinfo.tex: Update to version 2012-01-19.16.
14131
66ab80bc
JM
141322012-02-24 Joseph Myers <joseph@codesourcery.com>
14133
14134 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14135
74981cc5
RM
141362012-02-24 Roland McGrath <roland@hack.frob.com>
14137
ee968201
RM
14138 [BZ #13738]
14139 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14140 * manual/fdl-1.3.texi: New file.
14141 * manual/fdl-1.1.texi: File removed.
14142
74981cc5
RM
14143 [BZ #13738]
14144 * manual/libc.texinfo (FDL_VERSION): New @set.
14145 Use it for mention of FDL in cover text.
14146 (Documentation License): Use it in @include file name.
14147
7bb764bc
JM
141482012-02-22 Joseph Myers <joseph@codesourcery.com>
14149 Roland McGrath <roland@hack.frob.com>
14150
14151 [BZ #5461]
14152 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14153 not LONG_LONG_MAX and LONG_LONG_MIN.
14154 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14155 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14156 name.
14157 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14158
6cbeae47
JM
141592012-02-22 Joseph Myers <joseph@codesourcery.com>
14160
14161 [BZ #2547]
14162 [BZ #11365]
14163 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14164 manipulate bits before adding and subtracting TWO23[sx].
14165 * math/libm-test.inc (nearbyint_test): Add more tests.
14166
fe45ce09
JM
141672012-02-22 Joseph Myers <joseph@codesourcery.com>
14168
14169 [BZ #2548]
14170 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14171 bits before adding and subtracting TWO23[sx].
14172 * math/libm-test.inc (rint_test): Add more tests.
14173 (rint_test_tonearest): Likewise.
14174 (rint_test_towardzero): Likewise.
14175 (rint_test_downward): Likewise.
14176 (rint_test_upward: Likewise.
14177
ff3b3d82
JM
141782012-02-22 Joseph Myers <joseph@codesourcery.com>
14179
14180 [BZ #10110]
14181 * include/stdc-predef.h: New file. Extracted from features.h.
14182 * include/features.h: Include stdc-predef.h.
14183 * Makefile (headers): Add stdc-predef.h.
14184 * CONFORMANCE (Compiler limitations): Update.
14185
ef0aab35
JM
141862012-02-22 Joseph Myers <joseph@codesourcery.com>
14187
14188 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14189
58639409
DM
141902012-02-21 David S. Miller <davem@davemloft.net>
14191
14192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14193 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14194
c0e70b25
DM
141952012-02-20 David S. Miller <davem@davemloft.net>
14196
14197 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14198 using a normal save/restore sequence, rather than allocating a
14199 dummy stack frame just to store a frame pointer and restore.
14200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14201
fb06851d
JM
142022012-02-21 Joseph Myers <joseph@codesourcery.com>
14203
14204 * manual/install.texi: Fix stray word in line-wrapped comment.
14205
7a8b71c3
DM
142062012-02-20 David S. Miller <davem@davemloft.net>
14207
d510c123
DM
14208 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14209 both binutils and gcc support GOTDATA.
14210
0722d7c2
DM
14211 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14212 "rd %pc" in the PIC register setup sequences.
14213
3d2b3019
DM
14214 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14215 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14216 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14217 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14218 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14222 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14223 (SYSCALL_ERROR_HANDLER): Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14227 (SYSCALL_ERROR_HANDLER): Likewise.
14228
c80098a9
DM
14229 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14230 (HAVE_GCC_GOTDATA): New.
14231 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14232 relocation support in both binutils and gcc.
14233 * sysdeps/sparc/elf/configure: Regenerate.
14234
3a2545a0
DM
14235 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14236 * sysdeps/sparc/sparc32/elf/configure: Delete.
14237 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14238 * sysdeps/sparc/sparc64/elf/configure: Delete.
14239 * sysdeps/sparc/elf/configure.in: New file.
14240 * sysdeps/sparc/elf/configure: Generate.
14241
7a8b71c3
DM
14242 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14243 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14244 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14245 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14246 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14247
f1e86fca
JM
142482012-02-21 Joseph Myers <joseph@codesourcery.com>
14249
14250 * manual/install.texi: Do not mention specific glibc version
14251 numbers.
14252 * manual/libc.texinfo (VERSION, UPDATED): Update.
14253 (@copying): Use @copyright{} and range of years.
14254
0e7dfaef
JM
142552012-02-21 Joseph Myers <joseph@codesourcery.com>
14256
14257 [BZ #13695]
14258 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14259 [crti.S not in sysdirs] (generated): Do not append.
14260 [crti.S not in sysdirs] (omit-deps): Likewise.
14261 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14262 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14263 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14264 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14265 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14266 Likewise.
14267 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14268 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14269 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14270 * csu/defs.awk: Remove file.
14271 * sysdeps/generic/initfini.c: Likewise.
14272 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14273 variable.
14274 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14275 Likewise.
14276
599af3ca
JM
142772012-02-20 Joseph Myers <joseph@codesourcery.com>
14278
14279 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14280 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14281 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14282 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14283 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14284 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14285 <bits/epoll.h>.
14286 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14287 (__EPOLL_PACKED): Define to empty if not defined by
14288 <bits/epoll.h>.
14289 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14291 bits/epoll.h.
14292
0e499750
JM
142932012-02-20 Joseph Myers <joseph@codesourcery.com>
14294
14295 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14296 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14297 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14298 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14299 <bits/timerfd.h>.
14300 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14302 bits/timerfd.h.
14303
5ad91f6e
JM
143042012-02-20 Joseph Myers <joseph@codesourcery.com>
14305
14306 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14307 in C locale.
14308 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14309 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14312
06b99b02
AJ
143132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14314
14315 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14316 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14317
7638c0fd
AS
143182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14319
14320 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14321 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14322 defined.
14323 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14324 Likewise.
14325 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14326 entry for 2.16.
14327
92221550
AJ
143282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14329
14330 * math/w_acos.c: Use non-signaling floating-point comparisons.
14331 * math/w_acosf.c: Likewise.
14332 * math/w_acosh.c: Likewise.
14333 * math/w_acoshf.c: Likewise.
14334 * math/w_acoshl.c: Likewise.
14335 * math/w_acosl.c: Likewise.
14336 * math/w_asin.c: Likewise.
14337 * math/w_asinf.c: Likewise.
14338 * math/w_asinl.c: Likewise.
14339 * math/w_atanh.c: Likewise.
14340 * math/w_atanhf.c: Likewise.
14341 * math/w_atanhl.c: Likewise.
14342 * math/w_exp2.c: Likewise.
14343 * math/w_exp2f.c: Likewise.
14344 * math/w_exp2l.c: Likewise.
14345 * math/w_j0.c: Likewise.
14346 * math/w_j0f.c: Likewise.
14347 * math/w_j0l.c: Likewise.
14348 * math/w_j1.c: Likewise.
14349 * math/w_j1f.c: Likewise.
14350 * math/w_j1l.c: Likewise.
14351 * math/w_jn.c: Likewise.
14352 * math/w_jnf.c: Likewise.
14353 * math/w_log.c: Likewise.
14354 * math/w_log10.c: Likewise.
14355 * math/w_log10f.c: Likewise.
14356 * math/w_log10l.c: Likewise.
14357 * math/w_log2.c: Likewise.
14358 * math/w_log2f.c: Likewise.
14359 * math/w_log2l.c: Likewise.
14360 * math/w_logf.c: Likewise.
14361 * math/w_logl.c: Likewise.
14362 * math/w_sqrt.c: Likewise.
14363 * math/w_sqrtf.c: Likewise.
14364 * math/w_sqrtl.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14368 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14369 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14370
ebaf36eb
JM
143712012-02-19 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #9739]
14374 * manual/string.texi (strnlen): Use correct parameter name in
14375 equivalent expression.
14376
71c254a6
JM
143772012-02-19 Joseph Myers <joseph@codesourcery.com>
14378
14379 [BZ #11174]
14380 * manual/users.texi (seteuid): Consistently use neweuid for
14381 argument name.
14382
16d2c631
JM
143832012-02-19 Joseph Myers <joseph@codesourcery.com>
14384
14385 [BZ #13704]
14386 * manual/nss.texi (Services in the NSS configuration): Correct
14387 list of services in example configuration file.
14388
cd837b09
NB
143892012-02-19 Nick Bowler <nbowler@draconx.ca>
14390
14391 [BZ #11322]
14392 * manual/arith.texi: Remove statements about negative zero
14393 behaving identically to zero.
14394
02c4bbad
JM
143952012-02-18 Joseph Myers <joseph@codesourcery.com>
14396
14397 [BZ #5993]
14398 * manual/install.texi: Do not document upgrading from libc5.
14399
366842e7
JM
144002012-02-18 Joseph Myers <joseph@codesourcery.com>
14401
14402 [BZ #4596]
14403 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14404
dd54084d
DM
144052012-02-18 David S. Miller <davem@davemloft.net>
14406
14407 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14408 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14409 %o7 across the call.
14410 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14411 instead.
14412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14413 SETUP_PIC_REG_LEAF.
14414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14415 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14416 * sysdeps/sparc/crtn.S: Likewise.
14417
2bcc53a3
UD
144182012-02-17 Ulrich Drepper <drepper@gmail.com>
14419
14420 * aout/Makefile: Remove.
14421
09c093b5
RK
144222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14423
14424 [BZ #13058]
14425 * manual/examples/argp-ex1.c (main): Format definition in GNU
14426 style.
14427 * manual/examples/argp-ex2.c (main): Likewise.
14428 * manual/examples/argp-ex3.c (main): Likewise.
14429 * manual/examples/argp-ex4.c (main): Likewise.
14430 * manual/examples/longopt.c (main): Use new-style prototype
14431 definition.
14432 * manual/examples/strncat.c (main): Specify return type and use
14433 (void) for arguments.
14434 * manual/examples/subopt.c (main): Use char **argv argument.
14435
2ee633a2
JM
144362012-02-17 Joseph Myers <joseph@codesourcery.com>
14437
14438 [BZ #5077]
14439 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14440 rounding modes.
14441
0520adde
FB
144422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14443
14444 [BZ #6907]
14445 * manual/string.texi (strchr): Change when strchrnul is
14446 recommended.
14447
3f4081cd
DGM
144482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14449
14450 [BZ #174]
14451 * manual/locale.texi (setlocale): Document LOCPATH.
14452
d1b10e78
JM
144532012-02-17 Joseph Myers <joseph@codesourcery.com>
14454
14455 [BZ #10210]
14456 * manual/process.texi (execle): Move @dots{} before last argument.
14457
79c6869c
PB
144582012-02-17 Paul Bolle <pebolle@tiscali.nl>
14459
14460 [BZ #12047]
14461 * manual/charset.texi (Generic Charset Conversion): Fix typo
14462 (LC_TYPE -> LC_CTYPE).
14463
cc6e48bc
NB
144642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14465
14466 [BZ #5805]
14467 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14468 (scalbnf): Likewise.
14469 (scalbnl): Likewise.
14470 (scalbln): Likewise.
14471 (scalblnf): Likewise.
14472 (scalblnl): Likewise.
14473 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14474 (vwarnx): Likewise.
14475 (verr): Likewise.
14476 (verrx): Likewise.
14477 * manual/filesys.texi (telldir): Use braces around return type.
14478 * manual/llio.texi (mmap): Add space after comma.
14479 (mmap64): Likewise.
14480 * manual/math.texi (jn): Use @var{} on parameter names.
14481 (jnf): Likewise.
14482 (jnl): Likewise.
14483 (yn): Likewise.
14484 (ynf): Likewise.
14485 (ynl): Likewise.
14486 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14487 line.
14488 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14489 "...".
14490 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14491 (sched_get_priority_max): Likewise.
14492 * manual/signal.texi (sigvec): Add space after comma.
14493 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14494 names.
14495 (if_indextoname): Likewise.
14496 (if_freenameindex): Likewise.
14497 (sendto): Use ',' instead of '.' in prototype.
14498 * manual/startup.texi (syscall): Use @dots{} instead of literal
14499 "...".
14500 * manual/stdio.texi (__fpending): Separate initial words of
14501 paragraph from @deftypefun line.
14502 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14503 "...".
14504 (vsyslog): Use @var{} on parameter names.
14505 * manual/terminal.texi (stty): Use @var{} on parameter names.
14506 * manual/users.texi (getutmp): Use @var{} on parameter names.
14507 (getutmpx): Likewise.
14508
5b23062f
JM
145092012-02-17 Joseph Myers <joseph@codesourcery.com>
14510
14511 [BZ #6884]
14512 * manual/stdio.texi (fopen): Fix typos in description of
14513 ",ccs=STRING".
14514
8dee4833
AJ
145152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14516
14517 [BZ #4026]
14518 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14519 get clock_id definition.
14520
9078ce93
TS
145212012-02-17 Thomas Schwinge <thomas@schwinge.name>
14522
14523 [BZ #4822]
14524 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14525 (madvise): Cast every argument to void on its own.
14526
3835c55f
JM
145272012-02-17 Joseph Myers <joseph@codesourcery.com>
14528
14529 [BZ #9902]
14530 * manual/startup.texi (Exit Status): Fix typo.
14531
35c47e37
JM
145322012-02-17 Joseph Myers <joseph@codesourcery.com>
14533
14534 [BZ #10140]
14535 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14536 * manual/examples/argp-ex2.c: Likewise.
14537 * manual/examples/argp-ex3.c: Likewise.
14538
e3b69ca7
RH
145392012-02-16 Richard Henderson <rth@redhat.com>
14540
14541 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14542 * sysdeps/s390/s390-32/initfini.c: Remove.
14543 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14544 * sysdeps/s390/s390-64/initfini.c: Remove.
14545
df83af67
KK
145462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14547
14548 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14549 compiler output for sysdeps/generic/initfini.c.
14550 * sysdeps/sh/elf/initfini.c: Remove file.
14551
f63f3380
DM
145522012-02-16 David S. Miller <davem@davemloft.net>
14553
fb59b3a4
DM
14554 [BZ #11494]
14555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14556
f63f3380
DM
14557 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14558 * sysdeps/sparc/crti.S: New file.
14559 * sysdeps/sparc/crtn.S: New file.
14560 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14561 * sysdeps/sparc/sparc64/Makefile: Likewise.
14562
df6a4a4a
MF
145632012-02-15 Mike Frysinger <vapier@gentoo.org>
14564
6dd8f3dc 14565 [BZ #3335]
df6a4a4a
MF
14566 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14567
1cac7236
RM
145682012-02-15 Roland McGrath <roland@hack.frob.com>
14569
d2c736f8
RM
14570 [BZ #4822]
14571 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14572
1cac7236
RM
14573 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14574 (write, read, close): Likewise.
14575 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14576
8e475601
JM
145772012-02-15 Joseph Myers <joseph@codesourcery.com>
14578
14579 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14580 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14581 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14582 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14583 <bits/signalfd.h>.
14584 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14586 bits/signalfd.h.
14587
ed656b40
MP
145882012-02-14 Marek Polacek <polacek@redhat.com>
14589
14590 * sysdeps/x86_64/crti.S: New file.
14591 * sysdeps/x86_64/crtn.S: New file.
14592 * sysdeps/x86_64/elf/initfini.c: Remove file.
14593
2a979d3a
JM
145942012-02-13 Joseph Myers <joseph@codesourcery.com>
14595
14596 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14597 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14598 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14599 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14600 <bits/inotify.h>.
14601 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14603 bits/inotify.h.
14604
2a418ac3
JM
146052012-02-13 Joseph Myers <joseph@codesourcery.com>
14606
14607 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14608 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14609 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14610 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14611 <bits/eventfd.h>.
14612 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14614 bits/eventfd.h.
14615
fb779be7
TS
146162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14617
e19e83c5
RM
14618 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14619 __feraiseexcept instead of feraiseexcept.
7c35ffed 14620
fb779be7
TS
14621 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14622 nanosleep invocations.
14623 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14624 strings, and add error checking for a nanosleep invocations.
14625
59ba27a6
PE
146262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14627
14628 Replace FSF snail mail address with URLs, as per GNU coding standards.
14629 Most of the snail mail addresses were wrong anyway, and omitting
14630 them makes the source code easier to maintain. Almost all of the
14631 changes are to license notices and to locale LC_IDENTIFICATION
14632 addresses, except for this one:
14633 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14634 not its snail mail address.
14635
57b957eb
RH
146362012-02-09 Richard Henderson <rth@twiddle.net>
14637
af850b1c
RH
14638 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14639 of kernel-features.h.
14640
57b957eb
RH
14641 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14642
6b73181a
MP
146432012-02-08 Marek Polacek <polacek@redhat.com>
14644
14645 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14646 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14647 * sysdeps/gnu/_G_config.h: Likewise.
14648 * sysdeps/generic/_G_config.h: Likewise.
14649
26ecc33a
AS
146502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14651
6c6dbc63
AS
14652 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14653 tests.
14654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14655
e216c012
AS
14656 * sysdeps/powerpc/powerpc32/crti.S: New file.
14657 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14658 * sysdeps/powerpc/powerpc64/crti.S: New file.
14659 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14660
26ecc33a
AS
14661 * Makeconfig (have-initfini): Don't set.
14662 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14663 * configure.in (nopic_initfini): Don't substitute.
14664 * config.h.in (HAVE_INITFINI): Don't #undef.
14665 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14666 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14667
3add8e13
JM
146682012-02-08 Joseph Myers <joseph@codesourcery.com>
14669
14670 Support crti.S and crtn.S provided directly by architectures.
14671 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14672 [crti.S in sysdirs] (omit-deps): Likewise.
14673 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14674 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14675 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14676 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14677 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14678 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14679 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14680 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14681 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14682 compiler output for sysdeps/generic/initfini.c.
14683 * sysdeps/i386/elf/Makefile: Remove file.
14684 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14685
a22f12b4
MP
146862012-02-07 Marek Polacek <polacek@redhat.com>
14687
14688 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14689 * sysdeps/gnu/_G_config.h: Likewise.
14690 * sysdeps/mach/hurd/_G_config.h: Likewise.
14691
148cf100
MP
146922012-02-07 Marek Polacek <polacek@redhat.com>
14693
14694 * math/Makefile (tests): Add tst-CMPLX2.
14695 * math/tst-CMPLX2.c: New file.
14696
cfdc0dd7
AS
146972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14698
84ba42c4
AS
14699 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14700
cfdc0dd7
AS
14701 * math/libm-test.inc (jn_test): Add missing L suffix.
14702
622c86f4
MP
147032012-02-06 Marek Polacek <polacek@redhat.com>
14704
14705 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14706 * sysdeps/i386/fpu/e_powf.S: Likewise.
14707 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14708 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14709 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14710 * sysdeps/i386/fpu/e_pow.S: Likewise.
14711 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14713 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14714 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14715 * sysdeps/i386/fpu/e_log2.S: Likewise.
14716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14717 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14718 * sysdeps/i386/fpu/e_powl.S: Likewise.
14719 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14720 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14721 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14722 * sysdeps/i386/fpu/e_logl.S: Likewise.
14723 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14724 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14725 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14726 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14728 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14729 * sysdeps/i386/fpu/e_log.S: Likewise.
14730 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14731 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14732 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14733 * sysdeps/i386/fpu/e_logf.S: Likewise.
14734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14735 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14736 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14739 * sysdeps/i386/fpu/e_log10.S: Likewise.
14740 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14742 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14743 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14746 * sysdeps/i386/asm-syntax.h: Likewise.
14747 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14748 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14749 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14750 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14751 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14752 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14753 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14754 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14755 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14756 * sysdeps/powerpc/sysdep.h: Likewise.
14757 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14758 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14759
d4a54ac6
JM
147602012-02-06 Joseph Myers <joseph@codesourcery.com>
14761
14762 [BZ #411]
14763 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14764
314054ea
JM
147652012-02-06 Joseph Myers <joseph@codesourcery.com>
14766
14767 * sysdeps/i386/sysdep.h: Include <features.h>.
14768 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14769 version.
14770
d8e0ca50
JM
147712012-02-05 Joseph Myers <joseph@codesourcery.com>
14772
14773 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14774 Define.
14775 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14776 LOAD_PIC_REG_STR.
14777
b1da7dd9
JM
147782012-02-03 Joseph Myers <joseph@codesourcery.com>
14779
14780 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14781 (SETUP_PIC_REG): Use GET_PC_THUNK.
14782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14783 macro.
14784
9a1d9254
JM
147852012-02-03 Joseph Myers <joseph@codesourcery.com>
14786
14787 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14788 for non-PIC compilation.
14789 (SETUP_PIC_REG): Add .p2align directive.
14790 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14791 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14792 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14793 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14795 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14796 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14797 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14798 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14799 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14800 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14801 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14802 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14803 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14804 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14805 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14806 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14807 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14808 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14809 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14810 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14812 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14813 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14816 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14818 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14819 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14820 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14821 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14822 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14823 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14831
65dc3b75
JM
148322012-02-03 Joseph Myers <joseph@codesourcery.com>
14833
14834 * math/tst-CMPLX.c: Include <stdio.h>.
14835
d55bf177
JM
148362012-01-31 Joseph Myers <joseph@codesourcery.com>
14837
14838 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14839 float.
14840 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14841 * sysdeps/sparc/bits/mathdef.h: Likewise.
14842
69db4f8f
MP
148432012-01-31 Marek Polacek <polacek@redhat.com>
14844
14845 * libio/libio.h: Don't define _PARAMS.
14846 * locale/programs/config.h: Don't define PARAMS.
14847 * stdlib/strtol_l.c: Likewise.
14848 (__strtol_l): Remove PARAMS from the prototype.
14849
41b81892
UD
148502012-01-31 Ulrich Drepper <drepper@gmail.com>
14851
3b49edc0
UD
14852 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14853 names. Just use the correct names. Remove unnecessary wrapper
14854 functions.
14855 * malloc/arena.c: Likewise.
14856 * malloc/hooks.c: Likewise.
14857
41b81892
UD
14858 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14859 ARENA_TEST says not to. Simplify test for creation of a new arena.
14860 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14861
27a25b6e
UD
148622012-01-30 Ulrich Drepper <drepper@gmail.com>
14863
14864 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14865 into tail calls.
14866 (update_get_addr): New function.
14867 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14868 GET_ADDR_MODULE parameter.
14869
c8a89e7d
JM
148702012-01-30 Joseph Myers <joseph@codesourcery.com>
14871
14872 * crypt/cert.c: Remove __STDC__ conditionals.
14873 * crypt/crypt-entry.c: Likewise.
14874 * crypt/crypt_util.c: Likewise.
14875 * libio/filedoalloc.c: Likewise.
14876 * libio/fileops.c: Likewise.
14877 * libio/genops.c: Likewise.
14878 * libio/iofclose.c: Likewise.
14879 * libio/iofdopen.c: Likewise.
14880 * libio/iofopen.c: Likewise.
14881 * libio/iofopen64.c: Likewise.
14882 * libio/iogetdelim.c: Likewise.
14883 * libio/iopopen.c: Likewise.
14884 * libio/obprintf.c: Likewise.
14885 * libio/oldfileops.c: Likewise.
14886 * libio/oldiofclose.c: Likewise.
14887 * libio/oldiofdopen.c: Likewise.
14888 * libio/oldiofopen.c: Likewise.
14889 * libio/oldiopopen.c: Likewise.
14890 * libio/wfiledoalloc.c: Likewise.
14891 * libio/wgenops.c: Likewise.
14892 * locale/programs/xmalloc.c: Likewise.
14893 * misc/syslog.c: Likewise.
14894 * stdio-common/xbug.c: Likewise.
14895 * string/memchr.c: Likewise.
14896 * string/memcmp.c: Likewise.
14897 * string/memrchr.c: Likewise.
14898 * string/rawmemchr.c: Likewise.
14899 * sysdeps/posix/getcwd.c: Likewise.
14900 * time/strftime_l.c: Likewise.
14901
3b100462
JM
149022012-01-30 Joseph Myers <joseph@codesourcery.com>
14903
14904 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14905 * config.make.in (config-cflags-sse2avx): Define.
14906 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14907 Fix typo.
14908
607998af
CM
149092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14910
14911 * scripts/config.guess: Update from upstream config git repository.
14912 * scripts/config.sub: Likewise.
14913
3601428f
CM
149142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14915
3ac8b282
CM
14916 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14917 (EM_NUM): Update.
14918 (R_TILEPRO_*, R_TILEGX_*): New macros.
14919
e034841e
CM
14920 * scripts/firstversions.awk: Fix bug in version range handling.
14921
540d7568
CM
14922 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14923
3601428f
CM
14924 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14925
463de862
CM
14926 * include/sys/epoll.h: New file.
14927 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14928 libc_hidden_def.
14929
73139a76
UD
149302012-01-28 Ulrich Drepper <drepper@gmail.com>
14931
96bc5b45
UD
14932 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14933 Avoid unnecessary __WORDSIZE == 64 test.
14934 (fmaxf): Use VEX format if possible.
14935 (fmax): Likewise.
14936 (fminf): Likewise.
14937 (fmin): Likewise.
14938
56f6f6a2
UD
14939 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14940 * math/math_private.h: Remove libc_fegetround* and
14941 libc_fesetround*.
14942 * sysdeps/i386/configure.in: Check for -msse2avx.
14943 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14944 also if SSE2AVX is defined.
14945 Remove libc_fegetround* and libc_fesetround*.
14946 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14947 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14949 of HAS_YMM_USABLE.
14950 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14951 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14952 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14953 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14955
73139a76
UD
14956 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14957
d73f93a4
AZ
149582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14959
14960 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14961 size is not set.
14962 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14963
6ee65ed6
UD
149642012-01-27 Ulrich Drepper <drepper@gmail.com>
14965
14966 [BZ #13618]
14967 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14968 relocation.
14969 * Makeconfig (libm): Define.
14970 * elf/Makefile: Add rules to build and run tst-relsort1.
14971 * elf/tst-relsort1.c: New file.
14972 * elf/tst-relsort1mod1.c: New file.
14973 * elf/tst-relsort1mod2.c: New file.
14974
8db21882
JM
149752012-01-27 Joseph Myers <joseph@codesourcery.com>
14976
14977 * math/s_ldexp.c: Remove __STDC__ conditionals.
14978 * math/s_ldexpf.c: Likewise.
14979 * math/s_ldexpl.c: Likewise.
14980 * math/s_nextafter.c: Likewise.
14981 * math/s_nexttowardf.c: Likewise.
14982 * math/s_significand.c: Likewise.
14983 * math/s_significandf.c: Likewise.
14984 * math/s_significandl.c: Likewise.
14985 * math/w_jnl.c: Likewise.
14986 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14987 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14988 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14989 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14990 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15007 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15008 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15009 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15010 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15011 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15012 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15013 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15014 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15015 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15016 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15017 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15018 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15019 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15020 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15021 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15022 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15023 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15024 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15025 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15026 * sysdeps/ieee754/k_standard.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15106 * sysdeps/ieee754/s_matherr.c: Likewise.
15107 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15108 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15111
965a54a4
JM
151122012-01-26 Joseph Myers <joseph@codesourcery.com>
15113
15114 * crypt/md5.h: Remove __STDC__ conditionals.
15115 * libio/libioP.h: Likewise.
15116 * locale/programs/config.h: Likewise.
15117 * sysdeps/generic/sysdep.h: Likewise.
15118 * sysdeps/i386/asm-syntax.h: Likewise.
15119 * sysdeps/s390/asm-syntax.h: Likewise.
15120 * sysdeps/unix/sysdep.h: Likewise.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15123
7071ad79
JM
151242012-01-26 Joseph Myers <joseph@codesourcery.com>
15125
15126 * libio/libio.h: Remove __STDC__ conditionals.
15127 * malloc/obstack.h: Likewise.
15128 * math/complex.h: Likewise.
15129 * math/math.h: Likewise.
15130 * sysdeps/generic/_G_config.h: Likewise.
15131 * sysdeps/gnu/_G_config.h: Likewise.
15132 * sysdeps/mach/hurd/_G_config.h: Likewise.
15133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15134 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15135 * sysdeps/sparc/bits/mathdef.h: Likewise.
15136
afc5ed09
UD
151372012-01-26 Ulrich Drepper <drepper@gmail.com>
15138
15139 [BZ #13583]
15140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15141 Clean up HAS_* macros.
afc5ed09 15142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15143 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15144 possible.
15145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15146 HAS_AVX.
15147 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15148 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15149 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15150 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15152
bdb6de1d
JM
151532012-01-25 Joseph Myers <joseph@codesourcery.com>
15154
15155 * elf/tst-unique3.cc (gets): Remove declaration.
15156 * elf/tst-unique3lib.cc (gets): Likewise.
15157 * elf/tst-unique3lib2.cc (gets): Likewise.
15158 * elf/tst-unique4.cc (gets): Likewise.
15159
b15549e6
UD
151602012-01-24 Ulrich Drepper <drepper@gmail.com>
15161
15162 * include/stdio.h: Add C++ protection. Add gets declarations and
15163 definitions.
15164 * debug/tst-chk1.c: Don't declare gets here.
15165 * stdio-common/tst-gets.c: Likewise.
15166
a037381f
JM
151672012-01-24 Joseph Myers <joseph@codesourcery.com>
15168
15169 * posix/glob: Remove directory.
15170
f1d4aa75
JM
151712012-01-24 Joseph Myers <joseph@codesourcery.com>
15172
15173 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15174
81c0c964
PT
151752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15176
15177 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15178 of the non-standard EPFNOSUPPORT.
15179
0ea698ae
ST
151802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15181
15182 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15183 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15184 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15185
d220b117
UD
151862012-01-21 Ulrich Drepper <drepper@gmail.com>
15187
15188 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15189
3e1aa84e
UD
151902012-01-20 Ulrich Drepper <drepper@gmail.com>
15191
15192 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15193 transient errors.
15194 * nscd/grpcache.c (cache_addgr): Likewise.
15195 * nscd/hstcache.c (cache_addhst): Likewise.
15196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15197 * nscd/pwdcache.c (cache_addpw): Likewise.
15198 * nscd/servicescache.c (cache_addserv): Likewise.
15199
400aa020
UD
152002012-01-16 Ulrich Drepper <drepper@gmail.com>
15201
d77e7869
UD
15202 * malloc/malloc.c: Various cleanups.
15203 * malloc/hooks.c: Likewise.
15204
400aa020
UD
15205 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15206 * stdlib/bug-fmtmsg1.c: New file.
15207
15208 * stdlib/fmtmsg.c (init): Add missing unlock.
15209 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15210
e0a309cf
MP
152112012-01-12 Marek Polacek <polacek@redhat.com>
15212
15213 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15214 and _GNU_SOURCE.
15215
929d11c7
WS
152162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15217
15218 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15219 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15220 macro to ensure uniqueness of label name.
15221 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15222 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15223
41d0e869
UD
152242012-01-11 Ulrich Drepper <drepper@gmail.com>
15225
0cc5ed3b
UD
15226 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15227
41d0e869
UD
15228 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15229 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15231 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15232
a47a831a
UD
152332012-01-10 Ulrich Drepper <drepper@gmail.com>
15234
daa891c0
UD
15235 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15236
15237 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15238 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15239 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15240
e58ef0f2
UD
15241 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15242
a47a831a 15243 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15244 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15245 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15247
15248 * math/bits/math-finite.h: Add ldexp support.
15249
a0bfc9c7
MP
152502012-01-10 Marek Polacek <polacek@redhat.com>
15251
15252 * locale/programs/localedef.h (show_archive_content): Add noreturn
15253 attribute.
15254
d6e97a1d
UD
152552012-01-09 Ulrich Drepper <drepper@gmail.com>
15256
15257 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15258
d5835c26
UD
152592012-01-08 Ulrich Drepper <drepper@gmail.com>
15260
e5f484c6
UD
15261 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15262
d5835c26
UD
15263 * io/Makefile (headers): Add bits/poll2.h.
15264
d1f741e9
WS
152652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15266
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15268 typo #include statement.
15269
ec09c1c4
UD
152702012-01-08 Ulrich Drepper <drepper@gmail.com>
15271
15272 * include/sys/cdefs.h: Define __attribute_alloc_size.
15273 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15274 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15275 * elf/pldd.c: Likewise.
15276 * iconv/iconv_charmap.c: Likewise.
15277 * iconv/iconvconfig.c: Likewise.
15278 * iconv/strtab.c: Likewise.
15279 * locale/programs/locale.c: Likewise.
15280 * locale/programs/localedef.h: Likewise.
15281 * locale/programs/simple-hash.c: Likewise.
15282 * nscd/nscd.h: Likewise.
15283 * nss/makedb.c: Likewise.
15284 * sysdeps/generic/ldconfig.h: Likewise.
15285 * locale/programs/localedef.c: Remove xmalloc prototype.
15286 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15287
20b38e03
PP
152882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15289
15290 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15291 appropriate.
15292
a0da5fe1
UD
152932012-01-08 Ulrich Drepper <drepper@gmail.com>
15294
1d5a644a 15295 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15296 * math/tst-CMPLX.c: New file.
1d5a644a 15297
8784a6db
UD
15298 * math/complex.h (CMPLXL): Fix typo.
15299
d9a216c0
UD
15300 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15301 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15302 GLIBC_2.16.
15303 * debug/tst-chk1.c: Add poll and ppoll tests.
15304 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15305 * include/sys/poll.h: Add hidden proto for ppoll.
15306 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15307 * sysdeps/mach/hurd/ppoll.c: Likewise.
15308 * io/ppoll.c: Likewise.
15309 * debug/poll_chk.c: New file.
15310 * debug/ppoll_chk.c: New file.
15311 * include/bits/poll2.h: New file.
15312 * io/bits/poll2.h: New file.
15313
ac097f5c
UD
15314 [BZ #1350]
15315 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15316
2119dcfa
UD
15317 * configure.in: static is always set to yes. Remove.
15318 * config.make.in: Don't set build-static.
15319 * Makeconfig: Remove use of build-static.
15320 * dlfcn/Makefile: Likewise.
15321 * elf/Makefile: Likewise.
15322 * math/Makefile: Likewise.
15323 * misc/Makefile: Likewise.
15324 * nptl/Makefile: Likewise.
15325 * sysdeps/mach/hurd/Makefile: Likewise.
15326
121766a9
UD
15327 * configure.in: PWD_P is not used anymore.
15328 * config.make.in: Remove PWD_P entry.
15329
51a1d39c 15330 * configure.in: Remove last remnants of RANLIB.
8720d066 15331 No need to check for signed size_t anymore.
215f4bdc
UD
15332 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15333 and IA-64.
3857022a 15334 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15335 * aclocal.m4: Likewise.
15336
d3ed7225
UD
15337 * wcsmbs/mbrtoc16.c: Implement using towc function.
15338 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15339 * wcsmbs/wcsmbsload.c: Likewise.
15340 * iconv/gconv_simple.c: Likewise.
15341 * iconv/gconv_int.h: Likewise.
15342 * iconv/gconv_builtin.h: Likewise.
15343 * iconv/iconv_prog.c: Remove CHAR16 handling.
15344
15345 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15346
15347 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15348
a0da5fe1
UD
15349 * configure.in: Remove --with-elf and --enable-bounded options.
15350 Dont set base_machine for ia64. More non-ELF conditions removed.
15351 Remove testing and setting of leading underscore information.
15352 * config.make.in (build-bounded): Set to no.
15353 * config.h.in: Remove NO_UNDERSCORES entry.
15354 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15355 them.
15356 * csu/start.c: Remove !NO_UNDERSCORE code.
15357 * locale/localeinfo.h: Likewise.
15358 * sysdeps/generic/machine-gmon.h: Likewise.
15359 * sysdeps/generic/sysdep.h: Likewise.
15360 * sysdeps/i386/sysdep.h: Likewise.
15361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15362 * sysdeps/mach/sysdep.h: Likewise.
15363 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15364 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15365 * sysdeps/sh/sysdep.h: Likewise.
15366 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15367 * sysdeps/unix/i386/sysdep.S: Likewise.
15368 * sysdeps/unix/sparc/start.c: Likewise.
15369 * sysdeps/unix/sparc/sysdep.S: Likewise.
15370 * sysdeps/unix/sparc/sysdep.h: Likewise.
15371 * sysdeps/unix/start.c: Likewise.
15372 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15373 * sysdeps/x86_64/sysdep.h: Likewise.
15374
df78418a
UD
153752012-01-07 Ulrich Drepper <drepper@gmail.com>
15376
a784e502
UD
15377 [BZ #13553]
15378 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15379 for non-gcc.
15380 * argp/argp-fmtstream.h: Use const instead __const.
15381 * argp/argp.h: Likewise.
15382 * assert/assert.h: Likewise.
15383 * bits/fenv.h: Likewise.
15384 * bits/sched.h: Likewise.
15385 * bits/sigset.h: Likewise.
15386 * bits/sigthread.h: Likewise.
15387 * catgets/nl_types.h: Likewise.
15388 * conform/data/pthread.h-data: Likewise.
15389 * crypt/crypt-private.h: Likewise.
15390 * crypt/crypt.h: Likewise.
15391 * crypt/crypt_util.c: Likewise.
15392 * ctype/ctype.h: Likewise.
15393 * debug/execinfo.h: Likewise.
15394 * debug/mbsnrtowcs_chk.c: Likewise.
15395 * debug/mbsrtowcs_chk.c: Likewise.
15396 * debug/wcsnrtombs_chk.c: Likewise.
15397 * debug/wcsrtombs_chk.c: Likewise.
15398 * debug/wcstombs_chk.c: Likewise.
15399 * dirent/dirent.h: Likewise.
15400 * dlfcn/dlfcn.h: Likewise.
15401 * elf/neededtest4.c: Likewise.
15402 * grp/grp.h: Likewise.
15403 * gshadow/gshadow.h: Likewise.
15404 * iconv/gconv.h: Likewise.
15405 * iconv/gconv_int.h: Likewise.
15406 * iconv/gconv_simple.c: Likewise.
15407 * iconv/iconv.h: Likewise.
15408 * iconv/loop.c: Likewise.
15409 * iconv/skeleton.c: Likewise.
15410 * include/aio.h: Likewise.
15411 * include/aliases.h: Likewise.
15412 * include/argz.h: Likewise.
15413 * include/arpa/inet.h: Likewise.
15414 * include/assert.h: Likewise.
15415 * include/dirent.h: Likewise.
15416 * include/dlfcn.h: Likewise.
15417 * include/execinfo.h: Likewise.
15418 * include/fcntl.h: Likewise.
15419 * include/fenv.h: Likewise.
15420 * include/glob.h: Likewise.
15421 * include/grp.h: Likewise.
15422 * include/libintl.h: Likewise.
15423 * include/mntent.h: Likewise.
15424 * include/netdb.h: Likewise.
15425 * include/pwd.h: Likewise.
15426 * include/rpc/netdb.h: Likewise.
15427 * include/sched.h: Likewise.
15428 * include/search.h: Likewise.
15429 * include/shadow.h: Likewise.
15430 * include/signal.h: Likewise.
15431 * include/stdio.h: Likewise.
15432 * include/stdlib.h: Likewise.
15433 * include/string.h: Likewise.
15434 * include/sys/socket.h: Likewise.
15435 * include/sys/stat.h: Likewise.
15436 * include/sys/statfs.h: Likewise.
15437 * include/sys/statvfs.h: Likewise.
15438 * include/sys/syslog.h: Likewise.
15439 * include/sys/time.h: Likewise.
15440 * include/sys/uio.h: Likewise.
15441 * include/time.h: Likewise.
15442 * include/unistd.h: Likewise.
15443 * include/utmp.h: Likewise.
15444 * include/wchar.h: Likewise.
15445 * include/wctype.h: Likewise.
15446 * inet/aliases.h: Likewise.
15447 * inet/arpa/inet.h: Likewise.
15448 * inet/netinet/ether.h: Likewise.
15449 * inet/netinet/in.h: Likewise.
15450 * intl/libintl.h: Likewise.
15451 * io/bits/fcntl2.h: Likewise.
15452 * io/fcntl.h: Likewise.
15453 * io/ftw.h: Likewise.
15454 * io/sys/poll.h: Likewise.
15455 * io/sys/stat.h: Likewise.
15456 * io/sys/statfs.h: Likewise.
15457 * io/sys/statvfs.h: Likewise.
15458 * io/utime.h: Likewise.
15459 * libio/bits/stdio.h: Likewise.
15460 * libio/bits/stdio2.h: Likewise.
15461 * libio/libio.h: Likewise.
15462 * libio/libioP.h: Likewise.
15463 * libio/stdio.h: Likewise.
15464 * locale/lc-ctype.c: Likewise.
15465 * locale/locale.h: Likewise.
15466 * login/utmp.h: Likewise.
15467 * malloc/arena.c: Likewise.
15468 * malloc/malloc.c: Likewise.
15469 * malloc/malloc.h: Likewise.
15470 * malloc/mcheck.c: Likewise.
15471 * malloc/mtrace.c: Likewise.
15472 * math/bits/mathcalls.h: Likewise.
15473 * math/fenv.h: Likewise.
15474 * math/math_private.h: Likewise.
15475 * misc/bits/error.h: Likewise.
15476 * misc/bits/syslog.h: Likewise.
15477 * misc/err.h: Likewise.
15478 * misc/error.h: Likewise.
15479 * misc/fstab.h: Likewise.
15480 * misc/mntent.h: Likewise.
15481 * misc/regexp.h: Likewise.
15482 * misc/search.h: Likewise.
15483 * misc/sgtty.h: Likewise.
15484 * misc/sys/mman.h: Likewise.
15485 * misc/sys/syslog.h: Likewise.
15486 * misc/sys/uio.h: Likewise.
15487 * misc/sys/xattr.h: Likewise.
15488 * misc/ttyent.h: Likewise.
15489 * nis/rpcsvc/ypclnt.h: Likewise.
15490 * nss/nss.h: Likewise.
15491 * posix/bits/unistd.h: Likewise.
15492 * posix/fnmatch.h: Likewise.
15493 * posix/glob.h: Likewise.
15494 * posix/sched.h: Likewise.
15495 * posix/spawn.h: Likewise.
15496 * posix/sys/wait.h: Likewise.
15497 * posix/unistd.h: Likewise.
15498 * posix/wordexp.h: Likewise.
15499 * pwd/pwd.h: Likewise.
15500 * resolv/netdb.h: Likewise.
15501 * resource/sys/resource.h: Likewise.
15502 * rt/aio.h: Likewise.
15503 * rt/bits/mqueue2.h: Likewise.
15504 * rt/mqueue.h: Likewise.
15505 * shadow/shadow.h: Likewise.
15506 * signal/signal.h: Likewise.
15507 * socket/send.c: Likewise.
15508 * socket/sendto.c: Likewise.
15509 * socket/sys/socket.h: Likewise.
15510 * stdio-common/printf.h: Likewise.
15511 * stdlib/bits/stdlib.h: Likewise.
15512 * stdlib/fmtmsg.h: Likewise.
15513 * stdlib/monetary.h: Likewise.
15514 * stdlib/stdlib.h: Likewise.
15515 * stdlib/ucontext.h: Likewise.
15516 * streams/stropts.h: Likewise.
15517 * string/argz.h: Likewise.
15518 * string/bits/string2.h: Likewise.
15519 * string/string.h: Likewise.
15520 * string/strings.h: Likewise.
15521 * sunrpc/rpc/auth.h: Likewise.
15522 * sunrpc/rpc/auth_des.h: Likewise.
15523 * sunrpc/rpc/clnt.h: Likewise.
15524 * sunrpc/rpc/netdb.h: Likewise.
15525 * sunrpc/rpc/pmap_clnt.h: Likewise.
15526 * sunrpc/rpc/xdr.h: Likewise.
15527 * sysdeps/generic/inttypes.h: Likewise.
15528 * sysdeps/generic/net/if.h: Likewise.
15529 * sysdeps/generic/sys/swap.h: Likewise.
15530 * sysdeps/gnu/net/if.h: Likewise.
15531 * sysdeps/gnu/utmpx.h: Likewise.
15532 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15533 * sysdeps/i386/i486/bits/string.h: Likewise.
15534 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15535 * sysdeps/s390/bits/string.h: Likewise.
15536 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15537 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15538 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15539 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15540 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15541 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15542 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15543 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15544 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15545 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15546 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15547 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15548 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15549 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15550 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15552 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15554 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15557 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15558 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15560 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15561 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15562 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15564 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15566 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15567 * sysvipc/sys/ipc.h: Likewise.
15568 * sysvipc/sys/msg.h: Likewise.
15569 * sysvipc/sys/sem.h: Likewise.
15570 * sysvipc/sys/shm.h: Likewise.
15571 * termios/termios.h: Likewise.
15572 * time/sys/time.h: Likewise.
15573 * time/time.h: Likewise.
15574 * wcsmbs/bits/wchar2.h: Likewise.
15575 * wcsmbs/uchar.h: Likewise.
15576 * wcsmbs/wchar.h: Likewise.
15577 * wctype/wctype.h: Likewise.
15578
0269750c
UD
15579 [BZ #13551]
15580 * Makeconfig: Remove all but ELF support including AIX support.
15581 * Makerules: Likewise.
15582 * config.h.in: Likewise.
15583 * config.make.in: Likewise.
15584 * configure: Likewise.
15585 * configure.in: Likewise.
15586 * csu/Makefile: Likewise.
15587 * csu/version.c: Likewise.
15588 * debug/Makefile: Likewise.
15589 * dlfcn/Makefile: Likewise.
15590 * elf/Makefile: Likewise.
15591 * extra-lib.mk: Likewise.
15592 * iconv/Makefile: Likewise.
15593 * include/libc-symbols.h: Likewise.
15594 * include/shlib-compat.h: Likewise.
15595 * resolv/Makefile: Likewise.
15596 * resolv/res_libc.c: Likewise.
15597 * rt/Makefile: Likewise.
15598 * sysdeps/i386/asm-syntax.h: Likewise.
15599 * sysdeps/i386/sysdep.h: Likewise.
15600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15601 * sysdeps/mach/sysdep.h: Likewise.
15602 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15603 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15604 * sysdeps/s390/asm-syntax.h: Likewise.
15605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15607 * sysdeps/sh/sysdep.h: Likewise.
15608 * sysdeps/unix/sparc/sysdep.h: Likewise.
15609 * sysdeps/wordsize-32/divdi3.c: Likewise.
15610 * sysdeps/x86_64/sysdep.h: Likewise.
15611
00bbd29b
UD
15612 * argp/Versions: Remove _argp_unlock_xxx.
15613
15614 [BZ #13559]
15615 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15616 * abilist/libBrokenLocale.abilist: Likewise.
15617 * abilist/libanl.abilist: Likewise.
15618 * abilist/libc.abilist: Likewise.
15619 * abilist/libcrypt.abilist: Likewise.
15620 * abilist/libdl.abilist: Likewise.
15621 * abilist/libm.abilist: Likewise.
15622 * abilist/libnsl.abilist: Likewise.
15623 * abilist/libpthread.abilist: Likewise.
15624 * abilist/libresolv.abilist: Likewise.
15625 * abilist/librt.abilist: Likewise.
15626 * abilist/libthread_db.abilist: Likewise.
15627 * abilist/libutil.abilist: Likewise.
15628 * abilist/libnss_db.abilist: New file.
15629
15630 * scripts/abilist.awk: Add support for indirect functions.
15631
a2693a0e
UD
15632 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15633
3f05895f
UD
15634 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15635
ecb6fb48
UD
15636 * shlib-versions: Remove entries for ports architectures.
15637
664f8cb9
UD
15638 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15639 files in ports.
15640 * elf/stackguard-macros.h: Remove support for IA-64.
15641 * elf/tst-auditmod1.c: Likewise.
15642 * sysdeps/generic/ldsodefs.h: Likewise.
15643
7ae81d88
UD
15644 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15645 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15646 configure files.
15647
bdeba135
UD
15648 [BZ #13552]
15649 * configure.in: Remove --enable-omitfp support.
15650 * FAQ.in: Adjust.
15651 * config.make.in: Likewise.
15652 * Makeconfig: Likewise.
15653 * manual/install.texi: Likewise.
15654
d75a0a62
UD
15655 In case anyone cares, the IA-64 architecture could move to ports.
15656 * sysdeps/ia64/*: Removed.
15657 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15658 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15659
dcc9756b
UD
15660 [BZ #13555]
15661 * configure.in: Remove entries for unsupported architectures.
15662
d3761ebc 15663 [BZ #13533]
9954432e
UD
15664 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15665 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15666 routines.
15667 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15668 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15669 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15670 fall back to using wcrtomb.
15671 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15672 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15673 renaming.
15674 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15675 * wcsmbs/tst-c16c32-1.c: New file.
15676
15677 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15678 local variable.
15679
c3a87236
UD
15680 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15681
28926a1b
UD
15682 * elf/tst-unique3.cc: Add explicit declaration of gets.
15683 * elf/tst-unique3lib.cc: Likewise.
15684 * elf/tst-unique3lib2.cc: Likewise.
15685 * elf/tst-unique4.cc: Likewise.
15686
df78418a
UD
15687 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15688
8ecd6b2a
JM
156892012-01-06 Joseph Myers <joseph@codesourcery.com>
15690
15691 [BZ #13566]
15692 * assert/assert.h (static_assert): Don't define for C++.
15693 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15694 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15695
9f115170
UD
156962012-01-03 Ulrich Drepper <drepper@gmail.com>
15697
5e0d0300
UD
15698 * iconv/loop.c (single loop): Fix assertion in storing of
15699 remaining bytes.
15700
9f115170
UD
15701 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15702
81fb02b0
UD
157032012-01-01 Ulrich Drepper <drepper@gmail.com>
15704
15705 * posix/getconf.c: Update copyright year.
15706 * nss/getent.c: Likewise.
a316c1f6 15707 * nss/makedb.c: Likewise.
81fb02b0
UD
15708 * iconv/iconvconfig.c: Likewise.
15709 * iconv/iconv_prog.c: Likewise.
15710 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15711 * elf/pldd.c: Likewise.
15712 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15713 * catgets/gencat.c: Likewise.
15714 * csu/version.c: Likewise.
15715 * elf/ldd.bash.in: Likewise.
15716 * elf/sprof.c (print_version): Likewise.
15717 * locale/programs/locale.c: Likewise.
15718 * locale/programs/localedef.c: Likewise.
a316c1f6 15719 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15720 * nscd/nscd.c (print_version): Likewise.
15721 * debug/xtrace.sh: Likewise.
15722 * malloc/memusage.sh: Likewise.
15723 * malloc/mtrace.pl: Likewise.
15724 * debug/catchsegv.sh: Likewise.
15725
2ba92745
JJ
157262011-12-30 Jakub Jelinek <jakub@redhat.com>
15727
15728 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15729 pure attribute.
15730
dadebdae
UD
157312011-12-24 Ulrich Drepper <drepper@gmail.com>
15732
d3761ebc 15733 [BZ #13533]
db6af3eb
UD
15734 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15735 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15736 transformations.
15737 * iconv/gconv_int.h: Likewise.
15738 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15739 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15740 from libc for GLIBC_2.16.
15741 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15742 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15743 * wcsmbs/uchar.h: Really define mbstate_t.
15744 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15745 * wcsmbs/c16rtomb.c: New file.
15746 * wcsmbs/mbrtoc16.c: New file.
15747 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15748 for C/POSIX locale.
15749 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15750 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15751
dadebdae
UD
15752 * wcsmbs/wchar.h: Add missing __restrict.
15753
67371b56
UD
157542011-12-23 Ulrich Drepper <drepper@gmail.com>
15755
74033a25
UD
15756 [BZ #13532]
15757 * time/Makefile (routines): Add timespec_get.
15758 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15759 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15760 timespec for ISO C11.
15761 * time/timespec_get.c: New file.
15762 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15763 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15764
380d7e87
UD
15765 [BZ #13531]
15766 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15767 * stdlib/stdlib.h: Declare aligned_alloc.
15768 * Versions.def: Add GLIBC_2.16 for libc.
15769 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15770
4e9e7a35
UD
15771 [BZ 13527]
15772 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15773 ISO C11.
15774
380d7e87 15775 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15776 code.
15777
03a71829
UD
15778 [BZ #13528]
15779 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15780
839e283e
UD
15781 [BZ #13529]
15782 * assert/assert.h (static_assert): Define.
15783
ce5294e2 15784 * version.h: Update for 2.16 development version.
90fa7312 15785
8d44e150 15786 [BZ #13526]
d7809905
UD
15787 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15788 _ISOC11_SOURCE.
15789
c0da14cd
UD
15790 * version.h (RELEASE): Bump for 2.15 release.
15791 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15792
530a3249
MP
15793 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15794 Patch by Marek Polacek <mpolacek@redhat.com>.
15795
67371b56
UD
15796 * bits/byteswap.h: Protect long long constants with __extension__.
15797 * sysdeps/i386/bits/byteswap.h: Likewise.
15798 * sysdeps/ia64/bits/byteswap.h: Likewise.
15799 * sysdeps/s390/bits/byteswap.h: Likewise.
15800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15801
15db4de1
LD
158022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15803
15804 [BZ #13540]
bbe315ea
LD
15805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15806 destination buffer.
15db4de1
LD
15807 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15808
2b2596b1
MP
158092011-12-23 Marek Polacek <polacek@redhat.com>
15810
15811 * elf/dl-addr.c (determine_info): Add inline keyword.
15812 * elf/tst-auditmod4b.c (check_avx): Likewise.
15813 * elf/tst-auditmod6b.c (check_avx): Likewise.
15814 * elf/tst-auditmod6c.c (check_avx): Likewise.
15815 * elf/tst-auditmod7b.c (check_avx): Likewise.
15816
70c6c246
UD
158172011-12-23 Ulrich Drepper <drepper@gmail.com>
15818
15819 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15820 !__SSE_MATH__.
15821
c044cf14
LD
158222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15823
15db4de1 15824 [BZ #13540]
c044cf14
LD
15825 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15826 processing for last bytes.
15827
6b13d9d9
BH
158282011-08-06 Bruno Haible <bruno@clisp.org>
15829
d455f537
BH
15830 [BZ #13061]
15831 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15832 U+0385, not to U+1FEE.
15833
6b13d9d9
BH
15834 [BZ #13062]
15835 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15836 entry for U+00A5 U+0301.
15837
db910efd
UD
158382011-12-22 Ulrich Drepper <drepper@gmail.com>
15839
27deeafc
UD
15840 [BZ #13166]
15841 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15842 buffer for the output is too small.
15843
aed9d171
UD
15844 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15845 optimization.
15846
db910efd
UD
15847 [BZ #13185]
15848 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15849 SSE flags if possible.
15850
2bd779ae
LD
158512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15852
e7f9dac3 15853 [BZ #13540]
2bd779ae
LD
15854 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15855 processing for last bytes.
15856
154bfc16
JM
158572011-12-22 Joseph Myers <joseph@codesourcery.com>
15858
15859 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15860 (syscall-list-default-options, syscall-list-default-condition)
15861 (syscall-list-includes): Define.
15862 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15863 list of ABIs and options and #if conditions for each ABI. Do not
15864 handle common syscalls between ABIs specially.
15865 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15866 Remove.
15867 (syscall-list-variants, syscall-list-32bit-options)
15868 (syscall-list-32bit-condition, syscall-list-64bit-options)
15869 (syscall-list-64bit-condition): Define.
15870 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15871 (syscall-list-variants, syscall-list-32bit-options)
15872 (syscall-list-32bit-condition, syscall-list-64bit-options)
15873 (syscall-list-64bit-condition): Define.
15874 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15875 Remove.
15876 (syscall-list-variants, syscall-list-32bit-options)
15877 (syscall-list-32bit-condition, syscall-list-64bit-options)
15878 (syscall-list-64bit-condition): Define.
15879 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15880 Remove.
15881 (syscall-list-variants, syscall-list-32bit-options)
15882 (syscall-list-32bit-condition, syscall-list-64bit-options)
15883 (syscall-list-64bit-condition): Define.
15884
21eaf3a5
UD
158852011-12-22 Ulrich Drepper <drepper@gmail.com>
15886
16c6f992
UD
15887 * locale/iso-639.def: Add brx entry.
15888
41043168
UD
15889 [BZ #13328]
15890 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15891 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15892
21eaf3a5
UD
15893 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15894 __feraiseexcept_renamed.
15895
e3a851a2
UD
158962011-12-21 Ulrich Drepper <drepper@gmail.com>
15897
4920765e
UD
15898 [BZ #13538]
15899 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15900 EPOLLET with unsigned values.
15901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15902 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15903
e3a851a2
UD
15904 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15905 to large cancellation.
15906 * math/s_cacoshf.c: Likewise.
15907 * math/s_cacoshl.c: Likewise.
15908
b27e24b8
RK
159092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15910
15911 [BZ #13305]
aebefeee 15912 [BZ #12786]
b27e24b8
RK
15913 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15914 * math/s_cacoshf.c: Likewise.
15915 * math/s_cacoshl.c: Likewise.
15916
ee190f67
UD
159172011-12-21 Ulrich Drepper <drepper@gmail.com>
15918
15919 [BZ #13439]
15920 * iconv/gconv.h: Define __GCONV_SWAP.
15921 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15922 * iconvdata/utf-16.c: Likewise.
15923 * iconvdata/utf-32.c: Likewise.
15924
707f25df
AS
159252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15926
15927 [BZ #13524]
15928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15929 numerator after shifting it by one limb.
15930
d2daaa1e
RÁE
159312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15932
15933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15934 under [__USE_EXTERN_INLINES].
15935
a4647e72
UD
159362011-12-17 Ulrich Drepper <drepper@gmail.com>
15937
15938 [BZ #13446]
15939 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15940
f0b264f1
AZ
159412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
15943 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15944 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15945 optimized code.
15946 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15947 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15948 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15949 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15950 for strncasecmp/strncasecmp_l compilation.
15951 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15952 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15953
8ef4f244
MP
159542011-12-08 Marek Polacek <mpolacek@redhat.com>
15955
15956 [BZ #13484]
15957 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15958 of __asm__.
15959
97ac2654
UD
159602011-12-17 Ulrich Drepper <drepper@gmail.com>
15961
15962 [BZ #13506]
15963 * time/tzfile.c (__tzfile_read): Check values from file header.
15964
91d2a845
WS
159652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15966
15967 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15968 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15969 * powerpc/powerpc32/dl-start.S: Likewise.
15970 * powerpc/powerpc32/elf/start.S: Likewise.
15971 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15972 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15973 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15974 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15975 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15976 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15977 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15978 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15979 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15980 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15981 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15982 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15983 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15984 * powerpc/powerpc32/memset.S: Likewise.
15985 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15986 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15987 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15988 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15989 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15990 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15991 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15992 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15993 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15994 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15995 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15996 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15997 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15998
a1267ba1
AZ
159992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16000
16001 * math/libm-test.inc: Added more nearbyint tests.
16002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16006
ad8ac1bd
RL
160072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16008
16009 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16010 FD_CLOEXEC.
16011
1d3e4b61
UD
160122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16013
16014 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16015 Add wcscpy-ssse3 wcscpy-c.
16016 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16017 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16018 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16019 * sysdeps/x86_64/wcschr.S: New file.
16020 * sysdeps/x86_64/wcsrchr.S: New file.
16021 * string/test-strcmp.c: Remove checking of wcscmp function for
16022 wrong alignments.
16023 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16024 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16025 wcsrchr-sse2 wcsrchr-c.
16026 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16027 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16028 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16029 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16030 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16031 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16032 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16033 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16034 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16035 * wcsmbc/wcschr.c (WCSCHR): New macro.
16036
5b330a2d
UD
160372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16038
16039 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16040 * wcsmbs/test-wcsrchr.c: New file.
16041 * string/test-strrchr.c: Add wcsrchr support.
16042 (WIDE): New macro.
16043 * wcsmbs/test-wcscpy.c: New file.
16044 * string/test-strcpy.c: Add wcscpy support.
16045 (WIDE): New macro.
26428b7c 16046
f039c043
UD
160472011-12-10 Ulrich Drepper <drepper@gmail.com>
16048
16049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16050 the inner loop.
16051
850fb039
AS
160522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16053
16054 [BZ #13472]
16055 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16056
4efbd5cb
UD
160572011-12-04 Ulrich Drepper <drepper@gmail.com>
16058
52ff5dd0 16059 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16060 Minor optimizations.
52ff5dd0 16061
4efbd5cb
UD
16062 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16063 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16064 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16065
8a426e12
UD
160662011-12-03 Ulrich Drepper <drepper@gmail.com>
16067
aff2453d
UD
16068 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16069 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16070 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16071 for gcc to avoid warnings.
16072 * inet/Makefile (tests): Add tst-checks.
16073 * inet/tst-checks.c: New file.
16074
16075 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16076 warning.
16077
16078 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16079 __wmemcmp_sse2.
16080
16081 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16082 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16083
8a426e12
UD
16084 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16085
9bea3473
UD
160862011-12-02 Ulrich Drepper <drepper@gmail.com>
16087
3a965496
UD
16088 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16089 problem.
16090
9bea3473
UD
16091 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16092
f101631b
UD
160932011-11-29 Joseph Myers <joseph@codesourcery.com>
16094
16095 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16096 conditional on GCC version.
16097 (__arch_compare_and_exchange_val_8_acq)
16098 (__arch_compare_and_exchange_val_16_acq)
16099 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16100 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16101 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16102
a98275aa
UD
161032011-12-02 Joseph Myers <joseph@codesourcery.com>
16104
16105 * sysdeps/sh/backtrace.c: New file.
16106
d4cc29a2
AS
161072011-12-02 Andreas Schwab <schwab@redhat.com>
16108
16109 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16110 parenthesis.
16111
6257af2d
AS
161122011-12-01 Andreas Schwab <schwab@redhat.com>
16113
16114 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16115 falling back to utime.
16116
b5f44c1a
AS
161172011-11-30 Andreas Schwab <schwab@redhat.com>
16118
16119 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16120 expectations for float.
16121
f3a6cc0a
AS
161222011-11-29 Andreas Schwab <schwab@redhat.com>
16123
16124 * locale/weight.h (findidx): Add parameter len.
16125 * locale/weightwc.h (findidx): Likewise.
16126 * posix/fnmatch_loop.c (FCT): Adjust caller.
16127 * posix/regcomp.c (build_equiv_class): Likewise.
16128 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16129 * posix/regexec.c (check_node_accept_bytes): Likewise.
16130 * string/strcoll_l.c (STRCOLL): Likewise.
16131 * string/strxfrm_l.c (STRXFRM): Likewise.
16132
9d65ea3a
UD
161332011-11-17 Ulrich Drepper <drepper@gmail.com>
16134
16135 * Makefile.in: Remove CVSOPT handling.
16136 * configure.in: Remove use of AC_REVISION.
16137 * iconvdata/Makefile (distribute): No need to filter out CVS.
16138 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16139 handling.
16140
5583a086
AS
161412011-11-16 Andreas Schwab <schwab@redhat.com>
16142
16143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16144 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16145 [USE_AS_STRNCASECMP_L]: Likewise.
16146 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16147 NO_TLS_DIRECT_SEG_REFS.
16148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16149 Fix argument offsets for non-PIC.
16150 [USE_AS_STRNCASECMP_L]: Likewise.
16151 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16152 NO_TLS_DIRECT_SEG_REFS.
16153
d62a8200
UD
161542011-11-15 Ulrich Drepper <drepper@gmail.com>
16155
9d65ea3a 16156 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16157 O_CLOEXEC.
16158 * locale/loadlocale.c (_nl_load_locale): Likewise.
16159
09f93bd3
AS
161602011-11-15 Andreas Schwab <schwab@redhat.com>
16161
446514f9
AS
16162 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16163 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16165 (SYSCALL_GETTIME): Set errno on error.
16166
09f93bd3
AS
16167 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16168 count references to noai6ai_cached.
16169
312be3f9
UD
161702011-11-15 Ulrich Drepper <drepper@gmail.com>
16171
16172 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16173
16174 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16175 FD_CLOEXEC for /proc/self/maps.
16176
16177 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16178 FD_CLOEXEC for /proc/meminfo.
16179
16180 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16181 gai.conf.
16182
16183 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16184 FD_CLOEXEC for given file.
16185
16186 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16187
16188 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16189 FD_CLOEXEC for /etc/hosts.
16190 (_gethtent): Likewise.
16191
16192 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16193
16194 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16195 cancellation and set FD_CLOEXEC for /etc/netgroup.
16196
16197 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16198 reading /etc/publickey.
16199
16200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16201 allow cancellation when reading /etc/group.
16202
16203 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16204 cancellation.
16205 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16206
16207 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16208 when using data file.
16209
16210 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16211
16212 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16213 (write_nis_obj): Use "c" and "e" in fopen.
16214
16215 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16216
16217 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16218
16219 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16220
16221 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16222
16223 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16224 locale.alias.
16225
16226 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16227
16228 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16229
16230 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16231
16232 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16233 file parsing and set FD_CLOEXEC.
16234
82af0fa8
UD
162352011-11-14 Ulrich Drepper <drepper@gmail.com>
16236
16237 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16238
a5fb313c
AS
162392011-11-14 Andreas Schwab <schwab@redhat.com>
16240
16241 * malloc/arena.c (arena_get2): Don't call reused_arena when
16242 _int_new_arena failed.
16243
6abf3465
UD
162442011-11-14 Ulrich Drepper <drepper@gmail.com>
16245
16246 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16247 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16249 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16252 to compile strcasecmp and strncasecmp.
16253 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16254 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16255
16256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16257
76e3966e
UD
162582011-11-13 Ulrich Drepper <drepper@gmail.com>
16259
16260 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16261 locale-defines.sym to gen-as-const-headers.
16262 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16263 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16264 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16265 to compile strcasecmp and strncasecmp.
16266 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16267 strcasecmp_l and strncasecmp_l.
16268 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16269 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16270 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16272 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16273 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16274 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16275 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16276 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16277 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16278 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16279
ab26144e
UD
162802011-11-12 Ulrich Drepper <drepper@gmail.com>
16281
7edb22ef
UD
16282 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16283 result of SYSDEP_GETTIME_CPU to retval.
16284 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16285 parameter list to macro. Remove trailing semicolon. Adjust users.
16286
9694fc44
UD
16287 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16288 variable.
16289
8ad89ef8
UD
16290 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16291 mantissa words.
16292 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16293
0c822ef9
UD
16294 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16295 from unused variable.
16296
874e0564
UD
16297 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16298 DWARF definitions.
16299 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16300 for assembling.
16301
3a2edc79
UD
16302 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16303 over namespaces.
16304
f3c2577f
UD
16305 * sunrpc/rpc_prot.c (rejected): Fix case value.
16306
294ce126
UD
16307 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16308 unsigned long long int to avoid warnings in shift.
16309
5e2b63c6
UD
16310 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16311 of use of trans.
16312 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16313 variable tmp.
16314
e7f4b08e
UD
16315 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16316 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16317 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16318
ab26144e
UD
16319 * nis/nis_table.c (nis_list): Use variable of correct type for
16320 result of __follow_path call.
16321
8a6d5255
AZ
163222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16323
16324 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16325 of math functions ceil, trunc, floor, round, and sqrt, when
16326 avaliable on the platform.
16327 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16328 name clash.
16329 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16330 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16331 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16332
aaddc98c
MP
163332011-10-30 Marek Polacek <mpolacek@redhat.com>
16334
16335 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16336 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16337
95b7042b
RM
163382011-11-11 Roland McGrath <roland@hack.frob.com>
16339
16340 * include/unistd.h: Fix __readlink return type.
16341 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16342
57769839
UD
163432011-11-11 Ulrich Drepper <drepper@gmail.com>
16344
16345 * stdlib/ucontext.h: Undo last change for makecontext.
16346
edc5984d
AS
163472011-11-11 Andreas Schwab <schwab@redhat.com>
16348
98591e58
AS
16349 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16350
edc5984d
AS
16351 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16352 * setjmp/setjmp.h: Mark functions as non-leaf.
16353 * setjmp/bits/setjmp2.h: Likewise.
16354 * stdlib/ucontext.h: Likewise.
16355
77cdc054
AS
163562011-11-10 Andreas Schwab <schwab@redhat.com>
16357
16358 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16359 (reused_arena): Don't check arena limit.
16360 (arena_get2): Atomically check arena limit.
16361
fe72eebd
UD
163622011-11-08 Ulrich Drepper <drepper@gmail.com>
16363
5f078c32
UD
16364 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16365 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16366
fe72eebd
UD
16367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16368 instructions.
16369
ae1bc2fa
AS
163702011-11-07 Andreas Schwab <schwab@redhat.com>
16371
7583a88d
AS
16372 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16373 handler when locking.
16374
ae1bc2fa
AS
16375 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16376 Fix size of allocated buffer.
16377
10fb0bfa
AS
163782011-11-04 Andreas Schwab <schwab@redhat.com>
16379
998832a4
AS
16380 [BZ #10103]
16381 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16382 declarations for long double functions.
16383 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16384
10fb0bfa
AS
16385 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16386
3d7ba52b
AS
163872011-11-03 Andreas Schwab <schwab@redhat.com>
16388
a9ae54a1
AS
16389 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16390 installed.
16391
3d7ba52b
AS
16392 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16393 is disabled.
16394
bc8db248
ST
163952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16396
16397 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16398
45b96dd6
AS
163992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16400
647776f6
AS
16401 * include/alloca.h (stackinfo_alloca_round): Define.
16402 (extend_alloca): Use it.
16403 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16404 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16405 here.
16406
d91a8b93
AS
16407 * scripts/check-local-headers.sh: Ignore libaudit.h.
16408
45b96dd6
AS
16409 * nscd/Makefile (extra-objs): Make recursively expanded.
16410
432d41ce
UD
164112011-11-01 Ulrich Drepper <drepper@gmail.com>
16412
34372fc6
UD
16413 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16414 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16415
fadb59f8
UD
16416 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16417 * posix/tst-rfc3484-2.c: Likewise.
16418 * posix/tst-rfc3484-3.c: Likewise.
16419
78239589
UD
16420 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16421 process_vm_writev.
16422 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16423 process_vm_writev.
16424 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16425 process_vm_writev from libc using GLIBC_2.15 version.
16426
432d41ce
UD
16427 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16428
02f9c6cf
PP
164292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16430
16431 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16432 stack usage.
16433
3a2c0242
UD
164342011-10-31 Ulrich Drepper <drepper@gmail.com>
16435
f4ec4833
UD
16436 [BZ #13367]
16437 * nss/getent.c (initgroups_keys): Show error message in case no group
16438 names are given.
16439
3a2c0242
UD
16440 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16441 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16442 __bump_nl_timestamp.
16443 * nscd/connections (nscd_init): When host database is served open
16444 netlink socket and request notification about configuration changes.
16445 (main_loop_poll): Track netlink file descriptor and bump timestamp
16446 in case data becomes available.
16447 (main_loop_epoll): Likewise.
16448 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16449 (database_pers_head): Add extra_data fileds.
16450 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16451 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16452 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16453 Adjust caller.
16454 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16455 in6ai data, call __free_in6ai.
16456 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16457 Add -DHAVE_NETLINK.
16458 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16459 interface information. Reuse previous data if netlink timestamp
16460 is not changed.
16461 (__bump_nl_timestamp): New function.
16462 (__free_in6ai): New function.
16463
636064eb
UD
164642011-10-30 Ulrich Drepper <drepper@gmail.com>
16465
16466 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16467 close_not_cancel_no_status here.
16468 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16469
9beb2334
UD
164702011-10-29 Ulrich Drepper <drepper@gmail.com>
16471
6ef76f3b
UD
16472 [BZ #13276]
16473 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16474 return value.
16475
0ffc4f3e 16476 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16477 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16478 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16479
cb95113e
UD
164802011-07-03 Andreas Jaeger <aj@suse.de>
16481
16482 [BZ #10709]
16483 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16484 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16485 * math/libm-test.inc (sin_test): Add test case.
16486
a1b560ff
UD
164872011-10-29 Ulrich Drepper <drepper@gmail.com>
16488
c9aaface
UD
16489 [BZ #13337]
16490 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16491 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16492
d272e7f1
UD
16493 * elf/chroot_canon.c (chroot_canon): Cleanups.
16494
1bc33071
UD
16495 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16496
1760874d
TJ
16497 [BZ #13335]
16498 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16499 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16500
51d91b18
UD
16501 * string/test-strchr.c: Make usable for strchrnul testing.
16502 * string/test-strchrnul.c: New file.
16503 * string/Makefile (strop-tests): Add strchrnul.
16504
a1b560ff 16505 * po/it.po: Update from translation team.
b611fb81 16506 * po/es.po: Likewise.
a1b560ff 16507
a5b81e1f
UD
165082011-10-28 Ulrich Drepper <drepper@gmail.com>
16509
fd52bc6d
UD
16510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16511 the three constants needed as parameters. Drop the others.
16512 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16513 __m128i_strloadu_tolower.
52e4b9eb
UD
16514 Create and initialize variable zero and use it in all the places
16515 where _mm_setzero_si128 was used.
fd52bc6d 16516
a5b81e1f
UD
16517 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16518 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16519 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16520 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16521 anymore.
16522 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16523 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16524 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16525 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16526 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16527 __mpranred, __mptan.
16528 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16529 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16530 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16531 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16532 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16533 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16535 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16536 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16537
b4343346
AS
165382011-10-28 Andreas Schwab <schwab@redhat.com>
16539
0c92d8a8
AS
16540 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16541 redefine if SHARED.
16542 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16543
b4343346
AS
16544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16545 wide char related routines to wcsmbs subdir.
16546
3871f58f
AS
165472011-10-27 Andreas Schwab <schwab@redhat.com>
16548
16549 [BZ #13344]
16550 * misc/sys/cdefs.h (__THROWNL): Define.
16551 * posix/unistd.h: Use __THREADNL instead of __THREAD
16552 for memory synchronization functions.
16553
94d44d9f
RM
165542011-10-26 Roland McGrath <roland@hack.frob.com>
16555
21b64b15 16556 [BZ #13349]
94d44d9f
RM
16557 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16558 doesn't exist.
16559 * manual/stdio.texi (Obstack Streams): Node removed.
16560
f6ce9294
AS
165612011-10-26 Andreas Schwab <schwab@redhat.com>
16562
80479147
AS
16563 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16564 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16565 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16566
f6ce9294
AS
16567 * math/math_private.h (math_force_eval): Allow non-addressable
16568 arguments.
16569 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16570
618280a1
UD
165712011-10-25 Ulrich Drepper <drepper@gmail.com>
16572
e0016b11
UD
16573 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16574 file is not needed.
16575
16576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16577 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16578 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16579 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16580 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16582 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16583 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16584 Add AVX variants.
16585 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16586 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16587 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16588 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16589 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16590 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16591 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16592 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16593 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16594 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16595 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16596 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16598 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16599 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16600 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16601 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16602 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16603 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16604
16605 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16606 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16607
618280a1
UD
16608 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16609 place. Use VEX encoding when compiling for AVX.
16610
37822576
AS
166112011-10-25 Andreas Schwab <schwab@redhat.com>
16612
1f1e1947
AS
16613 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16614 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16615
37822576
AS
16616 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16617
31ea014d
UD
166182011-10-25 Ulrich Drepper <drepper@gmail.com>
16619
d7826aa1 16620 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16621 useless if() expression.
d7826aa1
UD
16622 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16623 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16624 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16627 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16628 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16630 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16633 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16634 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16636 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16637 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16638 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16639 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16640 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16641
31ea014d
UD
16642 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16643
16437fec
AS
166442011-10-25 Andreas Schwab <schwab@redhat.com>
16645
16646 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16647 condition.
16648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16649
31d3cc00
UD
166502011-10-25 Ulrich Drepper <drepper@gmail.com>
16651
16652 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16653 .text section. Avoid duplicate constants.
16654 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16662 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16663 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16664 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16665 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16666 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16667 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16668 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16669 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16670 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16671 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16673 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16676 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16677 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16678 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16679 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16680 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16681 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16682 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16683 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16684 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16685 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16686 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16687 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16688 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16689 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16690 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16691 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16692 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16693 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16694 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16696 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16698 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16699
58985aa9
UD
167002011-10-24 Ulrich Drepper <drepper@gmail.com>
16701
202c9deb
UD
16702 * sysdeps/x86_64/dla.h: Move to ...
16703 * sysdeps/x86_64/fpu/dla.h: ...here.
16704 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16705 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16706
af968f62
UD
16707 * config.make.in: Add have-mfma4 entry.
16708 * configure.in: Substitute libc_cv_cc_fma4.
16709 * math/Makefile (dbl-only-routines): Add sincostab.
16710 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16711 Use __sincostab not sincos.
16712 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16713 name is a macro.
16714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16718 using __copysign.
16719 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16720 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16721 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16722 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16723 and __inv.
16724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16725 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16726 __copysign.
16727 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16728 define aliases when function name is a macro.
16729 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16730 sysdeps/ieee754/dbl-64/sincos.tbl.
16731 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16732 fma4-enabled routines.
16733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16738 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16739 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16740 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16742 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16743 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16744 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16745 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16746 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16748 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16749 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16750 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16751 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16753 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16754 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16755 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16759 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16760 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16761 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16762 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16763
58985aa9
UD
16764 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16765 rename.
16766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16774
a201fbcf
AS
167752011-10-24 Andreas Schwab <schwab@redhat.com>
16776
16777 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16778
fc2ee42a
LD
167792011-10-23 Ulrich Drepper <drepper@gmail.com>
16780
bb3129bd
UD
16781 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16782
0275fff8
UD
16783 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16784 prediction.
16785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16786
2fa2ae85
UD
16787 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16788 Remove unused variable magic_bits.
16789 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16790
fc2ee42a
LD
16791 * string/strnlen.c: Define and use STRNLEN macro.
16792 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16793 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16795 * wcsmbs/wcslen.c: Define and use WCSLEN.
16796 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16797 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16798 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16799 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16800 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16801 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16802 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16803
ce7dd29f
LD
168042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16805
16806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16807 strnlen-sse2-no-bsf.
16808 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16809 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16810 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16811 Add strnlen support.
16812 (USE_AS_STRNLEN): New macro.
16813 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16814 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16815 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16816 * sysdeps/x86_64/wcslen.S: New file.
16817
979c70a3
MZ
168182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16819
16820 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16821 XMM-moves are used for copying on small sizes.
16822
2d09f82f
LD
168232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16824
16825 * wcsmbs/Makefile (strop-tests): Add wcschr.
16826 * wcsmbs/test-wcschr.c: New file.
16827 * string/test-strchr.c: Update.
16828 Add wcschr support.
16829 (WIDE): New macro.
16830
619fccca
LD
168312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16832
2d09f82f 16833 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16834 * wcsmbs/test-wcslen.c: New file.
16835 * string/test-strlen.c: Update.
16836 Add wcslen support.
16837 (WIDE): New macro.
16838
09f699ea
UD
168392011-10-23 Ulrich Drepper <drepper@gmail.com>
16840
16841 * po/it.po: Update from translation team.
16842
95584d3b
LD
168432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16844
16845 * sysdeps/x86_64/wcscmp.S: Update.
16846 Fix wrong comparison semantics.
16847 wcscmp shall use signed comparison not unsigned.
16848 Don't use substraction to avoid overflow bug.
16849 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16850 * wcsmbc/wcscmp.c: Likewise.
16851 * string/test-strcmp.c: Likewise.
16852 Add new tests to check cases with negative values.
16853
c8b3296b
UD
168542011-10-23 Ulrich Drepper <drepper@gmail.com>
16855
16856 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16857 * sysdeps/x86_64/dla.h: ...here. New file.
16858 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16863 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16867
246ad57a
AS
168682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16869
16870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16871 __ynl_finite aliases.
16872
a1a87169
UD
168732011-10-22 Ulrich Drepper <drepper@gmail.com>
16874
0d355eb7
UD
16875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16876
a1a87169
UD
16877 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16878 define DLA_FMA.
16879 [DLA_FMA] (EMULV): Use DLA_FMA.
16880 [DLA_FMA] (MUL12): Use EMULV.
16881 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16882 that are not needed.
16883 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16890
ee2aafe0
AS
168912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16892
16893 * math/s_nan.c: Undef __nan.
16894 * math/s_nanf.c: Undef __nanf.
16895 * math/s_nanl.c: Undef __nanl.
16896 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16897 "math_private.h".
16898
bc62c2fb
UD
168992011-10-22 Ulrich Drepper <drepper@gmail.com>
16900
77425c63
UD
16901 * math/s_catan.c: Add branch predictions.
16902 * math/s_catanf.c: Likewise.
16903 * math/s_catanh.c: Likewise.
16904 * math/s_catanhf.c: Likewise.
16905 * math/s_catanhl.c: Likewise.
16906 * math/s_catanl.c: Likewise.
16907 * math/s_cexp.c: Likewise.
16908 * math/s_cexpf.c: Likewise.
16909 * math/s_cexpl.c: Likewise.
16910 * math/s_clog.c: Likewise.
16911 * math/s_clog10.c: Likewise.
16912 * math/s_clog10f.c: Likewise.
16913 * math/s_clog10l.c: Likewise.
16914 * math/s_clogf.c: Likewise.
16915 * math/s_clogl.c: Likewise.
16916 * math/s_csqrt.c: Likewise.
16917 * math/s_csqrtf.c: Likewise.
16918 * math/s_csqrtl.c: Likewise.
16919 * math/s_ctanf.c: Likewise.
16920 * math/s_ctanh.c: Likewise.
16921 * math/s_ctanhf.c: Likewise.
16922 * math/s_ctanhl.c: Likewise.
16923 * math/s_ctanl.c: Likewise.
16924
bc62c2fb
UD
16925 * math/math_private.h: Define __nan, __nanf, __nanl.
16926 * math/s_cacosh.c: Include <math_private.h>.
16927 * math/s_cacoshl.c: Likewise.
16928 * math/s_casinh.c: Likewise.
16929 * math/s_casinhf.c: Likewise.
16930 * math/s_casinhl.c: Likewise.
16931 * math/s_ccos.c: Rely entire on ccosh.
16932 * math/s_ccosf.c: Rely entire on ccoshf.
16933 * math/s_ccosl.c: Rely entirely on ccoshl.
16934 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16935 Remove tests for FE_INVALID.
16936 * math/s_ccoshf.c: Likewise.
16937 * math/s_ccoshl.c: Likewise.
16938 * math/s_csin.c: Likewise.
16939 * math/s_csinf.c: Likewise.
16940 * math/s_csinh.c Likewise.
16941 * math/s_csinhf.c: Likewise.
16942 * math/s_csinhl.c: Likewise.
16943 * math/s_csinl.c: Likewise.
16944 * math/s_ctan.c: Likewise.
16945 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16946 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16947 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16948
8ec250a4
UD
169492011-10-21 Ulrich Drepper <drepper@gmail.com>
16950
c196fed8
UD
16951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16952 compilation problems.
16953
8ec250a4
UD
16954 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16955 __builtin_expect.
16956
8d4f46c6
UD
169572011-10-20 Ulrich Drepper <drepper@gmail.com>
16958
ed72b654
UD
16959 * sysdeps/i386/configure.in: Test for -mfma4 option.
16960 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16961 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16962 COMMON_CPUID_INDEX_80000001.
16963 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16964 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16965 use it if FMA3 is not supported.
16966 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16967
8d4f46c6
UD
16968 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16969 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16970
d45c60c2
AS
169712011-10-20 Andreas Schwab <schwab@redhat.com>
16972
16973 [BZ #12892]
16974 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16975 it would create a cycle with a link time dependency.
16976
d9a4d2ab
UD
169772011-10-19 Ulrich Drepper <drepper@gmail.com>
16978
855d1560
UD
16979 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16980 instruction.
16981 * string/Makefile (strop-tests): Add rawmemchr.
16982 * string/test-rawmemchr.c: New file.
16983
d9a4d2ab
UD
16984 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16986 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16987 when compiling str{,n}casecmp and when AVX is available. Hook up
16988 new optimized code in initializers.
16989
8f3b1ffe
AS
169902011-10-19 Andreas Schwab <schwab@redhat.com>
16991
16992 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16993 __feraiseexcept instead of feraiseexcept.
16994
d38f1dba
UD
169952011-10-18 Ulrich Drepper <drepper@gmail.com>
16996
d9a8d0ab
UD
16997 * math/math_private.h: Define defaults for libc_fetestexcept and
16998 libc_feupdateenv.
16999 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17000 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17001 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17002 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17003 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17004 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17005 libc_fetestexcept and libc_feupdateenv.
17006
4855e3dd
UD
17007 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17008 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17009 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17010 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17011 libc_feholdexcept_setround.
17012
581d30e3
UD
17013 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17014 Add s_nearbyint-c and s_nearbyintf-c.
17015 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17016 nearbyintf inlines.
17017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17018 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17020 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17021
d38f1dba
UD
17022 * math/math_private.h: Define defaults for libc_fegetround,
17023 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17024 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17025 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17026 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17027 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17028 standard functions.
17029 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17030 Remove comments and hacks for old compiler versions.
17031 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17032 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17033 libc_feholdexceptl.
17034
caa6c9d8
AS
170352011-10-18 Andreas Schwab <schwab@redhat.com>
17036
17037 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17038 (__feraiseexcept_renamed): Add __NTH.
17039 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17040 namespace violations.
17041
97c066e6
UD
170422011-10-17 Ulrich Drepper <drepper@gmail.com>
17043
99ce7b04
UD
17044 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17045
1004d182
UD
17046 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17047
228a984d
UD
17048 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17049 recently added interfaces.
17050 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17051
c8553a6a
UD
17052 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17053 about macro parameter expansion.
17054
ed22dcf6
UD
17055 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17056 __NO_MATH_INLINES is defined. Cleanups.
17057
17058 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17059 and __floorf is target has SSE4.1.
17060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17061 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17062 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17063 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17064
b171c137
UD
17065 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17066 name.
17067 (floorf): Likewise.
17068
97c066e6
UD
17069 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17070
629f62ef
AS
170712011-10-17 Andreas Schwab <schwab@redhat.com>
17072
49a43d80
AS
17073 * misc/sys/cdefs.h: Fix last change.
17074
629f62ef
AS
17075 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17076 database lookup.
17077
e453f6cd
UD
170782011-10-16 Ulrich Drepper <drepper@gmail.com>
17079
aa78043a
UD
17080 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17081
ad0f5cad
UD
17082 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17083 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17086 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17087 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17088 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17090 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17091 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17092 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17093 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17094 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17095 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17096 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17097 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17098 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17099 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17100 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17101 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17102 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17103 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17104
17105 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17106 ceil, ceilf, floor, floorf.
17107
17108 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17109 Perform IRELATIVE relocations last.
17110
e453f6cd
UD
17111 * elf/do-rel.h: Add another parameter nrelative, replacing the
17112 local variable with the same name. Change name of the function
17113 to end in Rel or Rela (uppercase).
17114 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17115 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17116 elf_dynamic_do_##reloc function.
17117
fd5bdc09
UD
171182011-10-15 Ulrich Drepper <drepper@gmail.com>
17119
79b195b5
UD
17120 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17121 is sufficient, at least on modern CPUs.
17122
d4a28569
UD
17123 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17124
b61099b5
UD
17125 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17126 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17127
bcf01e6d
UD
17128 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17129 __expl_finite.
17130 * math/bits/math-finite.h: Add entries for exp.
17131 * math/e_expl.c: Add __*_finite alias.
17132 * sysdeps/i386/fpu/e_exp.S: Likewise.
17133 * sysdeps/i386/fpu/e_expf.S: Likewise.
17134 * sysdeps/i386/fpu/e_expl.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17136 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17137 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17138 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17140 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17141 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17142
ba1a0d59
UD
17143 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17144 is sufficient, at least on modern CPUs.
17145
fd5bdc09
UD
17146 * ctype/ctype-info.c (__ctype_init): Define.
17147 * include/ctype.h (__ctype_init): Declare.
17148 (__ctype_b_loc): The variable is always initialized.
17149 (__ctype_toupper_loc): Likewise.
17150 (__ctype_tolower_loc): Likewise.
17151 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17152 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17153
7872cfb0
AS
171542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17155
b468825a
AS
17156 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17157
7872cfb0
AS
17158 * configure.in: Also look in $cxxmachine/include for C++ system
17159 headers.
17160
be13f7bf
LD
171612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17162
17163 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17164 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17165 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17166 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17168 (USE_AS_WMEMCMP): New macro.
17169 Fixing indents.
17170 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17171 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17172 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17173 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17175 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17176 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17177 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17178 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17179 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17180 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17181 (USE_AS_WMEMCMP): New macro.
17182 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17183 * sysdeps/string/test-memcmp.c: Update.
17184 Fix simple_wmemcmp.
17185 Add new tests.
17186 * wcsmbs/wmemcmp.c: Update.
17187 (WMEMCMP): New macro.
17188 Fix overflow bug.
17189
556a2007
AJ
171902011-10-12 Andreas Jaeger <aj@suse.de>
17191
17192 [BZ #13268]
17193 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17194
538faaa7
UD
171952011-10-15 Ulrich Drepper <drepper@gmail.com>
17196
ab6737ff
UD
17197 * libio/iofwide.c (do_length): Avoid warning.
17198
538faaa7
UD
17199 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17200
396a21b1
UD
172012011-10-14 Ulrich Drepper <drepper@gmail.com>
17202
cdf2901f
UD
17203 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17204
38ad40ce
UD
17205 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17206 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17207 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17208 * sysdeps/i386/i686/fpu/e_log.S: New file.
17209 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17210 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17211
396a21b1
UD
17212 * ctype/ctype.h: Add support for inlined isXXX functions when
17213 compiling C++ code.
17214
6b1f68c9
AS
172152011-10-14 Andreas Schwab <schwab@redhat.com>
17216
349290c0
AS
17217 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17218
6b1f68c9
AS
17219 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17220
f2282d42
RM
172212011-10-13 Roland McGrath <roland@hack.frob.com>
17222
17223 [BZ #13291]
17224 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17225
5298ffa8
AS
172262011-10-13 Andreas Schwab <schwab@redhat.com>
17227
714fad23
AS
17228 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17229 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17230 feraiseexcept.
17231
81dcc7fb
AS
17232 * sysdeps/x86_64/memrchr.S: Check for zero size.
17233
5298ffa8
AS
17234 * string/stratcliff.c: Add memrchr tests.
17235
951fbcec
LD
172362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17237
17238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17239 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17240 rawmemchr-sse2 rawmemchr-sse2-bsf.
17241 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17242 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17243 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17244 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17245 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17246 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17247 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17248 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17250 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17251 * string/memrchr.c (MEMRCHR): New macro.
17252
0ac5ae23
UD
172532011-10-12 Ulrich Drepper <drepper@gmail.com>
17254
17255 Add integration with gcc's -ffinite-math-only and optimize wrapper
17256 functions in libm.
17257 * Versions.def: Define GLIBC_2.15 version for libm.
17258 * math/Makefile (headers): Add bits/math-finite.h.
17259 * math/bits/math-finite.h: New file.
17260 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17261 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17262 * math/e_acoshl.c: Add __*_finite alias.
17263 * math/e_acosl.c: Likewise.
17264 * math/e_asinl.c: Likewise.
17265 * math/e_atan2l.c: Likewise.
17266 * math/e_atanhl.c: Likewise.
17267 * math/e_coshl.c: Likewise.
17268 * math/e_exp10.c: Likewise.
17269 * math/e_exp10f.c: Likewise.
17270 * math/e_exp10l.c: Likewise.
17271 * math/e_exp2l.c: Likewise.
17272 * math/e_fmodl.c: Likewise.
17273 * math/e_gammal_r.c: Likewise.
17274 * math/e_hypotl.c: Likewise.
17275 * math/e_j0l.c: Likewise.
17276 * math/e_j1l.c: Likewise.
17277 * math/e_jnl.c: Likewise.
17278 * math/e_lgammal_r.c: Likewise.
17279 * math/e_log10l.c: Likewise.
17280 * math/e_log2l.c: Likewise.
17281 * math/e_logl.c: Likewise.
17282 * math/e_powl.c: Likewise.
17283 * math/e_sinhl.c: Likewise.
17284 * math/e_sqrtl.c: Likewise.
17285 * math/e_scalb.c: Completely rewritten and optimized.
17286 * math/e_scalbf.c: Likewise.
17287 * math/e_scalbl.c: Likewise.
17288 * math/w_acos.c: Likewise.
17289 * math/w_acosf.c: Likewise.
17290 * math/w_acosl.c: Likewise.
17291 * math/w_acosh.c: Likewise.
17292 * math/w_acoshf.c: Likewise.
17293 * math/w_acoshl.c: Likewise.
17294 * math/w_asin.c: Likewise.
17295 * math/w_asinf.c: Likewise.
17296 * math/w_asinl.c: Likewise.
17297 * math/w_atan2.c: Likewise.
17298 * math/w_atan2f.c: Likewise.
17299 * math/w_atan2l.c: Likewise.
17300 * math/w_atanh.c: Likewise.
17301 * math/w_atanhf.c: Likewise.
17302 * math/w_atanhl.c: Likewise.
17303 * math/w_exp10.c: Likewise.
17304 * math/w_exp10f.c: Likewise.
17305 * math/w_exp10l.c: Likewise.
17306 * math/w_fmod.c: Likewise.
17307 * math/w_fmodf.c: Likewise.
17308 * math/w_fmodl.c: Likewise.
17309 * math/w_j0.c: Likewise.
17310 * math/w_j0f.c: Likewise.
17311 * math/w_j0l.c: Likewise.
17312 * math/w_j1.c: Likewise.
17313 * math/w_j1f.c: Likewise.
17314 * math/w_j1l.c: Likewise.
17315 * math/w_jn.c: Likewise.
17316 * math/w_jnf.c: Likewise.
17317 * math/w_log.c: Likewise.
17318 * math/w_logf.c: Likewise.
17319 * math/w_logl.c: Likewise.
17320 * math/w_log10.c: Likewise.
17321 * math/w_log10f.c: Likewise.
17322 * math/w_log10l.c: Likewise.
17323 * math/w_log2.c: Likewise.
17324 * math/w_log2f.c: Likewise.
17325 * math/w_log2l.c: Likewise.
17326 * math/w_pow.c: Likewise.
17327 * math/w_powf.c: Likewise.
17328 * math/w_powl.c: Likewise.
17329 * math/w_remainder.c: Likewise.
17330 * math/w_remainderf.c: Likewise.
17331 * math/w_remainderl.c: Likewise.
17332 * math/w_scalb.c: Likewise.
17333 * math/w_scalbf.c: Likewise.
17334 * math/w_scalbl.c: Likewise.
17335 * math/w_sqrt.c: Likewise.
17336 * math/w_sqrtf.c: Likewise.
17337 * math/w_sqrtl.c: Likewise.
17338 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17339 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17340 used.
17341 * math/math_private.h: Declare __kernel_standard_f.
17342 * math/w_cosh.c: Remove cruft and optimize a bit.
17343 * math/w_coshf.c: Likewise.
17344 * math/w_coshl.c: Likewise.
17345 * math/w_exp2.c: Likewise.
17346 * math/w_exp2f.c: Likewise.
17347 * math/w_exp2l.c: Likewise.
17348 * math/w_hypot.c: Likewise.
17349 * math/w_hypotf.c: Likewise.
17350 * math/w_hypotl.c: Likewise.
17351 * math/w_lgamma.c: Likewise.
17352 * math/w_lgamma_r.c: Likewise.
17353 * math/w_lgammaf.c: Likewise.
17354 * math/w_lgammaf_r.c: Likewise.
17355 * math/w_lgammal.c: Likewise.
17356 * math/w_lgammal_r.c: Likewise.
17357 * math/w_sinh.c: Likewise.
17358 * math/w_sinhf.c: Likewise.
17359 * math/w_sinhl.c: Likewise.
17360 * math/w_tgamma.c: Likewise.
17361 * math/w_tgammaf.c: Likewise.
17362 * math/w_tgammal.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17365 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17366 Minor optimizations. Pretty printing. Remove cruft.
17367 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17368 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17370 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17371 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17372 * sysdeps/i386/fpu/e_asin.S: Likewise.
17373 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17374 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17375 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17376 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17377 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17378 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17380 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17381 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17382 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17383 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17384 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17385 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17386 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17387 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17388 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17389 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17390 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17391 * sysdeps/i386/fpu/e_log.S: Likewise.
17392 * sysdeps/i386/fpu/e_log10.S: Likewise.
17393 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17394 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17395 * sysdeps/i386/fpu/e_log2.S: Likewise.
17396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17398 * sysdeps/i386/fpu/e_logf.S: Likewise.
17399 * sysdeps/i386/fpu/e_logl.S: Likewise.
17400 * sysdeps/i386/fpu/e_pow.S: Likewise.
17401 * sysdeps/i386/fpu/e_powf.S: Likewise.
17402 * sysdeps/i386/fpu/e_powl.S: Likewise.
17403 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17404 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17405 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17406 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17407 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17408 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17409 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17410 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17411 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17437 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17438 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17439 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17441 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17443 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17444 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17445 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17446 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17447 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17448 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17449 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17451 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17483 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17484 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17494 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17495 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17496 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17497 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17498 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17499 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17500 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17501 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17502 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17503 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17504 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17505 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17506 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17507 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17508 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17509 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17510 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17511 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17512 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17513 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17514 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17515 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17516 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17517 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17518 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17520 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17521 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17522 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17523 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17524 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17525 (__isnanf): Likewise.
17526 (__isinf_ns): Likewise.
17527 (__isinf_nsf): Likewise.
17528 (__finite): Likewise.
17529 (__finitef): Likewise.
17530 (__ieee754_sqrt): Define as macro.
17531 (__ieee754_sqrtf): Define as macro.
17532 (__ieee754_sqrtl): Define as macro.
17533 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17534 inlined copy.
17535 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17536 __FINITE_MATH_ONLY__ consistent.
17537 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17538
12cc2fcd
AS
175392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17540
a843a204
AS
17541 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17542 of rawmemchr.
17543
12cc2fcd
AS
17544 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17545
c853acd5
UD
175462011-10-09 Ulrich Drepper <drepper@gmail.com>
17547
17548 * po/ja.po: Update from translation team.
17549
c658d255
RM
175502011-10-08 Roland McGrath <roland@hack.frob.com>
17551
110946e4
RM
17552 * locale/programs/locarchive.c (prepare_address_space): New function.
17553 (create_archive, enlarge_archive, open_archive): Use it.
17554
50604220
RM
17555 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17556 inside [SHARED], where it is used.
17557
c658d255
RM
17558 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17559
17560 * nss/getent.c (netgroup_keys): Remove unused variable.
17561 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17562
6a621eb7
UD
175632011-10-08 Ulrich Drepper <drepper@gmail.com>
17564
7edb55ce
UD
17565 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17569 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17570 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17571 * math/Makefile (libm-calls): Add s_isinf_ns.
17572 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17573 * math/multc3.c: Likewise.
17574 * math/s_casin.c: Likewise.
17575 * math/s_casinf.c: Likewise.
17576 * math/s_casinl.c: Likewise.
17577 * math/s_ccos.c: Likewise.
17578 * math/s_ccosf.c: Likewise.
17579 * math/s_ccosl.c: Likewise.
17580 * math/s_ctan.c: Likewise.
17581 * math/s_ctanf.c: Likewise.
17582 * math/s_ctanh.c: Likewise.
17583 * math/s_ctanhf.c: Likewise.
17584 * math/s_ctanhl.c: Likewise.
17585 * math/s_ctanl.c: Likewise.
17586 * math/w_fmod.c: Likewise.
17587 * math/w_fmodf.c: Likewise.
17588 * math/w_fmodl.c: Likewise.
17589 * math/w_remainder.c: Likewise.
17590 * math/w_remainderf.c: Likewise.
17591 * math/w_remainderl.c: Likewise.
17592 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17593 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17596 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17597 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17598 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17599 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17600
187da0ae
UD
17601 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17602 of the number.
17603 * stdio-common/printf_fphex.c: Likewise.
17604 * stdio-common/printf_size.c: Likewise.
17605
9277c064
UD
17606 * math/e_exp10.c: Include math_private.h using <...> not "...".
17607 * math/e_exp10f.c: Likewise.
17608 * math/e_exp10l.c: Likewise.
17609 * math/e_exp2l.c: Likewise.
17610 * math/e_j0l.c: Likewise.
17611 * math/e_j1l.c: Likewise.
17612 * math/e_jnl.c: Likewise.
17613 * math/e_lgammal_r.c: Likewise.
17614 * math/e_rem_pio2l.c: Likewise.
17615 * math/e_scalb.c: Likewise.
17616 * math/e_scalbf.c: Likewise.
17617 * math/e_scalbl.c: Likewise.
17618 * math/k_cosl.c: Likewise.
17619 * math/k_sinl.c: Likewise.
17620 * math/k_tanl.c: Likewise.
17621 * math/s_cacoshf.c: Likewise.
17622 * math/s_catan.c: Likewise.
17623 * math/s_catanf.c: Likewise.
17624 * math/s_catanh.c: Likewise.
17625 * math/s_catanhf.c: Likewise.
17626 * math/s_catanhl.c: Likewise.
17627 * math/s_catanl.c: Likewise.
17628 * math/s_ccosh.c: Likewise.
17629 * math/s_ccoshf.c: Likewise.
17630 * math/s_ccoshl.c: Likewise.
17631 * math/s_cexp.c: Likewise.
17632 * math/s_cexpf.c: Likewise.
17633 * math/s_cexpl.c: Likewise.
17634 * math/s_clog.c: Likewise.
17635 * math/s_clog10.c: Likewise.
17636 * math/s_clog10f.c: Likewise.
17637 * math/s_clog10l.c: Likewise.
17638 * math/s_clogf.c: Likewise.
17639 * math/s_clogl.c: Likewise.
17640 * math/s_csin.c: Likewise.
17641 * math/s_csinf.c: Likewise.
17642 * math/s_csinh.c: Likewise.
17643 * math/s_csinhf.c: Likewise.
17644 * math/s_csinhl.c: Likewise.
17645 * math/s_csinl.c: Likewise.
17646 * math/s_csqrt.c: Likewise.
17647 * math/s_csqrtf.c: Likewise.
17648 * math/s_csqrtl.c: Likewise.
17649 * math/s_ctan.c: Likewise.
17650 * math/s_ctanf.c: Likewise.
17651 * math/s_ctanh.c: Likewise.
17652 * math/s_ctanhf.c: Likewise.
17653 * math/s_ctanhl.c: Likewise.
17654 * math/s_ctanl.c: Likewise.
17655 * math/s_ldexp.c: Likewise.
17656 * math/s_ldexpf.c: Likewise.
17657 * math/s_ldexpl.c: Likewise.
17658 * math/s_significand.c: Likewise.
17659 * math/s_significandf.c: Likewise.
17660 * math/s_significandl.c: Likewise.
17661 * math/w_acos.c: Likewise.
17662 * math/w_acosf.c: Likewise.
17663 * math/w_acosh.c: Likewise.
17664 * math/w_acoshf.c: Likewise.
17665 * math/w_acoshl.c: Likewise.
17666 * math/w_acosl.c: Likewise.
17667 * math/w_asin.c: Likewise.
17668 * math/w_asinf.c: Likewise.
17669 * math/w_asinl.c: Likewise.
17670 * math/w_atan2.c: Likewise.
17671 * math/w_atan2f.c: Likewise.
17672 * math/w_atan2l.c: Likewise.
17673 * math/w_atanh.c: Likewise.
17674 * math/w_atanhf.c: Likewise.
17675 * math/w_atanhl.c: Likewise.
17676 * math/w_cosh.c: Likewise.
17677 * math/w_coshf.c: Likewise.
17678 * math/w_coshl.c: Likewise.
17679 * math/w_dremf.c: Likewise.
17680 * math/w_exp10.c: Likewise.
17681 * math/w_exp10f.c: Likewise.
17682 * math/w_exp10l.c: Likewise.
17683 * math/w_exp2.c: Likewise.
17684 * math/w_exp2f.c: Likewise.
17685 * math/w_fmod.c: Likewise.
17686 * math/w_fmodf.c: Likewise.
17687 * math/w_fmodl.c: Likewise.
17688 * math/w_hypot.c: Likewise.
17689 * math/w_hypotf.c: Likewise.
17690 * math/w_hypotl.c: Likewise.
17691 * math/w_j0.c: Likewise.
17692 * math/w_j0f.c: Likewise.
17693 * math/w_j0l.c: Likewise.
17694 * math/w_j1.c: Likewise.
17695 * math/w_j1f.c: Likewise.
17696 * math/w_j1l.c: Likewise.
17697 * math/w_jn.c: Likewise.
17698 * math/w_jnf.c: Likewise.
17699 * math/w_jnl.c: Likewise.
17700 * math/w_lgamma.c: Likewise.
17701 * math/w_lgamma_r.c: Likewise.
17702 * math/w_lgammaf.c: Likewise.
17703 * math/w_lgammaf_r.c: Likewise.
17704 * math/w_lgammal.c: Likewise.
17705 * math/w_lgammal_r.c: Likewise.
17706 * math/w_log.c: Likewise.
17707 * math/w_log10.c: Likewise.
17708 * math/w_log10f.c: Likewise.
17709 * math/w_log10l.c: Likewise.
17710 * math/w_log2.c: Likewise.
17711 * math/w_log2f.c: Likewise.
17712 * math/w_log2l.c: Likewise.
17713 * math/w_logf.c: Likewise.
17714 * math/w_logl.c: Likewise.
17715 * math/w_pow.c: Likewise.
17716 * math/w_powf.c: Likewise.
17717 * math/w_powl.c: Likewise.
17718 * math/w_remainder.c: Likewise.
17719 * math/w_remainderf.c: Likewise.
17720 * math/w_remainderl.c: Likewise.
17721 * math/w_scalb.c: Likewise.
17722 * math/w_scalbf.c: Likewise.
17723 * math/w_scalbl.c: Likewise.
17724 * math/w_sinh.c: Likewise.
17725 * math/w_sinhf.c: Likewise.
17726 * math/w_sinhl.c: Likewise.
17727 * math/w_sqrt.c: Likewise.
17728 * math/w_sqrtf.c: Likewise.
17729 * math/w_sqrtl.c: Likewise.
17730 * math/w_tgamma.c: Likewise.
17731 * math/w_tgammaf.c: Likewise.
17732 * math/w_tgammal.c: Likewise.
17733
6a621eb7
UD
17734 * po/ja.po: Update from translation team.
17735
bf582445
AJ
177362011-09-29 Andreas Jaeger <aj@suse.de>
17737
f9efbf3a
AJ
17738 [BZ #13179]
17739 * sunrpc/netname.c (netname2host): Fix logic.
17740
bf582445
AJ
17741 [BZ #6779]
17742 [BZ #6783]
17743 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17744 correctly.
17745 * math/w_remainder.c (__remainder): Likewise.
17746 * math/w_remainderf.c (__remainderf): Likewise.
17747 * math/libm-test.inc (remainder_test): Add test cases.
17748
48693bea
AK
177492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17750
17751 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17752 sdiv_qrnnd.
17753
42622229
LD
177542011-10-07 Ulrich Drepper <drepper@gmail.com>
17755
17756 * string/test-memcmp.c: Avoid unncessary #defines.
17757 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17758
093ecf92
LD
177592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17760
17761 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17762 Use new sse2 version for core i3 - i7 as it's faster
17763 than sse42 version.
17764 (bit_Prefer_PMINUB_for_stringop): New.
17765 * sysdeps/x86_64/rawmemchr.S: Update.
17766 Replace with faster SSE2 version.
17767 * sysdeps/x86_64/memrchr.S: New file.
17768 * sysdeps/x86_64/memchr.S: Update.
17769 Replace with faster SSE2 version.
17770
fde56e5c
MP
177712011-09-12 Marek Polacek <mpolacek@redhat.com>
17772
17773 * elf/dl-load.c (lose): Add cast to avoid warning.
17774
21fd49a9
UD
177752011-10-07 Ulrich Drepper <drepper@gmail.com>
17776
5a06e643
UD
17777 * po/ca.po: Update from translation team.
17778
684ae515
UD
17779 * inet/getnetgrent_r.c: Hook up nscd.
17780 * nscd/Makefile (routines): Add nscd_netgroup.
17781 (nscd-modules): Add netgroupcache.
17782 (CFLAGS-netgroupcache.c): Define.
17783 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17784 (cache_search): Add const to second parameter.
17785 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17786 INNETGR.
17787 (dbs): Add netgrdb entry.
17788 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17789 (verify_persistent_db): Handle netgrdb.
17790 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17791 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17792 GETFDNETGR.
17793 (netgroup_response_header): Define.
17794 (innetgroup_response_header): Define.
17795 (datahead): Add netgroup_response_header and innetgroup_response_header
17796 elements.
17797 * nscd/nscd.conf: Add entries for netgroup cache.
17798 * nscd/nscd.h (dbtype): Add netgrdb.
17799 (_PATH_NSCD_NETGROUP_DB): Define.
17800 (netgroup_iov_disabled): Declare.
17801 (xmalloc, xcalloc, xrealloc): Move declarations here.
17802 (cache_search): Adjust prototype.
17803 Add netgroup-related prototypes.
17804 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17805 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17806 (__nscd_innetgr): Declare.
17807 * nscd/selinux.c (perms): Use access_vector_t as element type and
17808 add netgroup-related initializers.
17809 * nscd/netgroupcache.c: New file.
17810 * nscd/nscd_netgroup.c: New file.
17811 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17812 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17813 For four parameters use innetgr.
17814 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17815 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17816 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17817 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17818
21fd49a9
UD
17819 * nscd/connections.c (register_traced_file): Don't register file
17820 for disabled databases.
17821
054c0457
UD
178222011-10-06 Ulrich Drepper <drepper@gmail.com>
17823
32b63198
UD
17824 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17825
054c0457
UD
17826 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17827 from tree and freeing node.
17828
64031225
JO
178292011-09-25 Jiri Olsa <jolsa@redhat.com>
17830
17831 * nss/nsswitch.c (__nss_database_lookup): Handle
17832 nss_parse_service_list out of memory case.
17833
0490345c
JO
178342011-09-15 Jiri Olsa <jolsa@redhat.com>
17835
17836 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17837 out of memory case.
17838
3a62d00d
AS
178392011-10-04 Andreas Schwab <schwab@redhat.com>
17840
17841 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17842 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17843 pass it down.
17844 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17845 elf_machine_rela, elf_machine_lazy_rel.
17846 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17847 (ELF_DYNAMIC_DO_REL): Likewise.
17848 (ELF_DYNAMIC_DO_RELA): Likewise.
17849 (ELF_DYNAMIC_RELOCATE): Likewise.
17850 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17851 to ELF_DYNAMIC_DO_REL.
17852 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17853 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17854 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17855 elf_machine_rela.
17856 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17857 skip_ifunc, don't call ifunc function if non-zero.
17858 (elf_machine_rela): Likewise.
17859 (elf_machine_lazy_rel): Likewise.
17860 (elf_machine_lazy_rela): Likewise.
17861 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17862 (elf_machine_lazy_rel): Likewise.
17863 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17864 Likewise.
17865 (elf_machine_lazy_rel): Likewise.
17866 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17867 Likewise.
17868 (elf_machine_lazy_rel): Likewise.
17869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17870 (elf_machine_lazy_rel): Likewise.
17871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17872 (elf_machine_lazy_rel): Likewise.
17873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17874 (elf_machine_lazy_rel): Likewise.
17875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17876 (elf_machine_lazy_rel): Likewise.
17877 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17878 (elf_machine_lazy_rel): Likewise.
17879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17880 (elf_machine_lazy_rel): Likewise.
17881
68577918
UD
178822011-09-28 Ulrich Drepper <drepper@gmail.com>
17883
17884 * nss/nss_files/files-init.c (_nss_files_init): Use static
17885 initialization for all the *_traced_file variables.
17886
68822d74
AS
178872011-09-28 Andreas Schwab <schwab@redhat.com>
17888
17889 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17890
2056100b
RM
178912011-09-27 Roland McGrath <roland@hack.frob.com>
17892
17893 [BZ #13226]
17894 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17895
32c76b63
AS
178962011-09-27 Andreas Schwab <schwab@redhat.com>
17897
17898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17899 Reread the line before reparsing it.
17900
bf972c9d
AS
179012011-09-26 Andreas Schwab <schwab@redhat.com>
17902
17903 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17904
e057a1b5
JM
179052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17906 Maxim Kuvyrkov <maxim@codesourcery.com>
17907 Joseph Myers <joseph@codesourcery.com>
17908
17909 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17910 if needed for __stack_chk_guard.
17911
bc7e1c36
RM
179122011-09-19 Roland McGrath <roland@hack.frob.com>
17913
ecb1482f
RM
17914 * sysdeps/posix/spawni.c (script_execute): Always define it.
17915 It will be optimized away if unused.
17916 (maybe_script_execute): New function.
17917 (__spawni): Call it.
17918
bc7e1c36
RM
17919 * Makerules: Don't include tls.make.
17920 (config-tls): Always set to thread.
17921 * tls.make.c: File removed.
17922
1c3b002b
MF
179232011-09-19 Mike Frysinger <vapier@gentoo.org>
17924
17925 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17926 * config.make.in (CPPFLAGS-config): New substituted variable.
17927
2840865d
UD
179282011-09-15 Ulrich Drepper <drepper@gmail.com>
17929
88738eb6
UD
17930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17931
cbf645a6 17932 [BZ #13192]
2840865d
UD
17933 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17934 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17935
b402e91a
RM
179362011-09-15 Roland McGrath <roland@hack.frob.com>
17937
17938 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17939 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17941 (CALL_FAIL): Likewise.
17942 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17943 (CALL_FAIL): Macro removed.
17944 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17945
4c1a1f71
UD
179462011-09-15 Ulrich Drepper <drepper@gmail.com>
17947
17948 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17949 for __FINITE_MATH_ONLY__ == 1.
17950
edc121be
AS
179512011-09-15 Andreas Schwab <schwab@redhat.com>
17952
17953 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17954 __ieee754_sqrt instead of sqrt.
17955 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17956 __ieee754_sqrtf instead of sqrtf.
17957 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17958 __floorf instead of floorf.
17959 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17960 __floorf, __truncf instead of floorf, truncf.
17961
cd205654
UD
179622011-09-14 Ulrich Drepper <drepper@gmail.com>
17963
ee4d0315
UD
17964 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17965
cd205654
UD
17966 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17967 __extern_always_inline.
17968 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17969 32-bit.
17970
48b67d71
AS
179712011-09-14 Andreas Schwab <schwab@redhat.com>
17972
17973 * elf/rtld.c (dl_main): Also relocate in dependency order when
17974 doing symbol dependency testing.
17975
1ae12c75
AS
179762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17979 Always define `refsym'.
17980
995a80df
AS
179812011-09-13 Andreas Schwab <schwab@redhat.com>
17982
e529793b
AS
17983 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17984 (__FD_ELT): Renamed from __FDELT.
17985 * misc/bits/select2.h (__FD_ELT): Likewise.
17986 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17987 __FD_MASK instead of __FDELT, __FDMASK.
17988 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17989 Likewise.
17990 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17991 Likewise.
17992
52d4fef8
AS
17993 * elf/Makefile (gen-ldd): Fix pattern.
17994
995a80df
AS
17995 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17996 (init_tls): Likewise.
17997
8682f8b0
UD
179982011-09-12 Ulrich Drepper <drepper@gmail.com>
17999
18000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18001
de82006d
AS
180022011-09-12 Andreas Schwab <schwab@redhat.com>
18003
a7c8e6a1
AS
18004 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18005 `struct cmsghdr *' instead of `void *'.
18006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18007 Likewise.
18008
0f31fe77
AS
180092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18010
18011 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18012 if non-absolute.
18013 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18014 ldd_rewrite_script.
0f31fe77 18015
32b4c839
UD
180162011-09-11 Ulrich Drepper <drepper@gmail.com>
18017
83cd1420
UD
18018 * configure.in: Remove --with-tls option.
18019 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18020 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18021 out in case it is missing.
18022 * sysdeps/ia64/elf/configure.in: Likewise.
18023 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18024 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18025 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18026 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18027 * sysdeps/sh/elf/configure.in: Likewise.
18028 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18029 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18030 * sysdeps/x86_64/elf/configure.in: Likewise.
18031 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18032 * sysdeps/mach/hurd/tls.h: Likewise.
18033
633f745d
UD
18034 [BZ #13067]
18035 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18036
f318beb8
UD
18037 [BZ #13090]
18038 * configure.in: Fix use of AC_INIT.
18039
32b4c839
UD
18040 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18041
3ce1f295
UD
180422011-09-10 Ulrich Drepper <drepper@gmail.com>
18043
bb016596
UD
18044 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18045 __set_errno.
8e58439c
UD
18046 * malloc/hooks.c: Likewise.
18047
aebae053 18048 [BZ #11929]
02d46fc4
UD
18049 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18050 variables statically.
18051 (narenas): Initialize.
18052 (list_lock): Initialize.
bb016596
UD
18053 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18054 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18055 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18056 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18057 Add initializers to main_arena and mp_.
18058 (malloc_state): Remove pagesize member. Change all users to use
18059 GLRO(dl_pagesize).
18060
18061 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18062 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18063 is always initialized.
18064
22a89187
UD
18065 * malloc/malloc.c: Removed unused configurations and dead code.
18066 * malloc/arena.c: Likewise.
18067 * malloc/hooks.c: Likewise.
02d46fc4 18068 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18069
d063d164
UD
18070 * include/tls.h: Removed. USE___THREAD must always be defined.
18071 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18072 * elf/dl-libc.c: Likewise.
18073 * elf/dl-tsd.c: Likewise.
18074 * include/errno.h: Likewise.
18075 * include/netdb.h: Likewise.
18076 * include/resolv.h: Likewise.
18077 * inet/herrno-loc.c: Likewise.
18078 * inet/herrno.c: Likewise.
18079 * malloc/arena.c: Likewise.
18080 * malloc/hooks.c: Likewise.
18081 * malloc/malloc.c: Likewise.
18082 * resolv/res-state.c: Likewise.
18083 * resolv/res_libc.c: Likewise.
18084 * sysdeps/i386/dl-machine.h: Likewise.
18085 * sysdeps/ia64/dl-machine.h: Likewise.
18086 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18087 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18088 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18089 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18090 * sysdeps/sh/dl-machine.h: Likewise.
18091 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18092 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18093 * sysdeps/unix/i386/sysdep.S: Likewise.
18094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18095 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18100 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18104 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18105 * sysdeps/x86_64/dl-machine.h: Likewise.
18106 * tls.make.c: Likewise.
18107
3ce1f295
UD
18108 * configure.in: Remove --with-__thread option. Make tests for
18109 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18110 tls_model attribute fail if no support is available. Remove
18111 USE_IN_LIBIO.
18112 * Makeconfig: Adjust for dropped configure option. All features are
18113 now mandatory.
18114 * Makerules: Likewise.
18115 * Versions.def: Likewise.
18116 * argp/argp-fmtstream.c: Likewise.
18117 * argp/argp-fmtstream.h: Likewise.
18118 * argp/argp-help.c: Likewise.
18119 * assert/assert.c: Likewise.
18120 * config.h.in: Likewise.
18121 * config.make.in: Likewise.
18122 * configure: Likewise.
18123 * configure.in: Likewise.
18124 * csu/Versions: Likewise.
18125 * csu/init.c: Likewise.
18126 * elf/tst-audit2.c: Likewise.
18127 * elf/tst-tls10.c: Likewise.
18128 * elf/tst-tls10.h: Likewise.
18129 * elf/tst-tls11.c: Likewise.
18130 * elf/tst-tls12.c: Likewise.
18131 * elf/tst-tls14.c: Likewise.
18132 * elf/tst-tlsmod11.c: Likewise.
18133 * elf/tst-tlsmod12.c: Likewise.
18134 * elf/tst-tlsmod13.c: Likewise.
18135 * elf/tst-tlsmod13a.c: Likewise.
18136 * elf/tst-tlsmod14a.c: Likewise.
18137 * elf/tst-tlsmod15b.c: Likewise.
18138 * elf/tst-tlsmod16a.c: Likewise.
18139 * elf/tst-tlsmod16b.c: Likewise.
18140 * elf/tst-tlsmod7.c: Likewise.
18141 * elf/tst-tlsmod8.c: Likewise.
18142 * elf/tst-tlsmod9.c: Likewise.
18143 * gmon/gmon.c: Likewise.
18144 * grp/fgetgrent_r.c: Likewise.
18145 * grp/putgrent.c: Likewise.
18146 * hurd/fopenport.c: Likewise.
18147 * include/libc-symbols.h: Likewise.
18148 * include/tls.h: Likewise.
18149 * intl/gettextP.h: Likewise.
18150 * intl/loadinfo.h: Likewise.
18151 * locale/global-locale.c: Likewise.
18152 * locale/localeinfo.h: Likewise.
18153 * mach/devstream.c: Likewise.
18154 * malloc/arena.c: Likewise.
18155 * malloc/set-freeres.c: Likewise.
18156 * misc/err.c: Likewise.
18157 * misc/getttyent.c: Likewise.
18158 * misc/mntent_r.c: Likewise.
18159 * posix/getopt.c: Likewise.
18160 * posix/wordexp.c: Likewise.
18161 * pwd/fgetpwent_r.c: Likewise.
18162 * resolv/Versions: Likewise.
18163 * resolv/res_hconf.c: Likewise.
18164 * shadow/fgetspent_r.c: Likewise.
18165 * shadow/putspent.c: Likewise.
18166 * stdio-common/printf_fphex.c: Likewise.
18167 * stdio-common/tmpfile.c: Likewise.
18168 * stdlib/abort.c: Likewise.
18169 * stdlib/fmtmsg.c: Likewise.
18170 * sunrpc/auth_unix.c: Likewise.
18171 * sunrpc/clnt_perr.c: Likewise.
18172 * sunrpc/clnt_tcp.c: Likewise.
18173 * sunrpc/clnt_udp.c: Likewise.
18174 * sunrpc/clnt_unix.c: Likewise.
18175 * sunrpc/openchild.c: Likewise.
18176 * sunrpc/svc_simple.c: Likewise.
18177 * sunrpc/svc_tcp.c: Likewise.
18178 * sunrpc/svc_udp.c: Likewise.
18179 * sunrpc/svc_unix.c: Likewise.
18180 * sunrpc/xdr.c: Likewise.
18181 * sunrpc/xdr_array.c: Likewise.
18182 * sunrpc/xdr_rec.c: Likewise.
18183 * sunrpc/xdr_ref.c: Likewise.
18184 * sunrpc/xdr_stdio.c: Likewise.
18185
1248c1c4
PB
181862011-09-09 Ulrich Drepper <drepper@gmail.com>
18187
18188 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18189
181902011-07-03 Andreas Jaeger <aj@suse.de>
18191
18192 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18193 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18194 regenerate with gen-libm-tests.pl.
18195
181962010-05-12 Petr Baudis <pasky@suse.cz>
18197
18198 [BZ #11589]
18199 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18200 around j0() zero points by switching to j1().
18201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18205
f22e1074
UD
182062011-09-09 Ulrich Drepper <drepper@gmail.com>
18207
f19009c1
UD
18208 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18209 instead of 0.
18210 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18211 instead of 0. .
18212 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18213 Patch in part by Pavel Roskin <proski@gnu.org>.
18214
3f8cc204
UD
18215 [BZ #13138]
18216 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18217 realloc.
18218 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18219 Free memory block if necessary.
18220
f22e1074
UD
18221 [BZ #12847]
18222 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18223 be NULL. Don't lock in this case.
18224
0a2349f9
RM
182252011-09-09 Roland McGrath <roland@hack.frob.com>
18226
18227 * elf/elf.h (ELFOSABI_GNU): New macro.
18228 (ELFOSABI_LINUX): Define to that.
18229
f3cdd467
DZ
182302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18231
18232 * string/strncat.c (strncat): Undef the symbol in case it has been
18233 defined in bits/string.h.
18234
74718d13
UD
182352011-09-09 Ulrich Drepper <drepper@gmail.com>
18236
633e9e0f
UD
18237 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18238
0a2349f9 18239 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18240 link map.
18241
f9924780
AJ
182422011-08-17 Andreas Jaeger <aj@suse.de>
18243
18244 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18245
7f5517aa
PP
182462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18247 Ian Lance Taylor <iant@google.com>
18248
18249 * math/libm-test.inc (lround_test): New testcase.
18250 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18251
762011fe
UD
182522011-09-08 Ulrich Drepper <drepper@gmail.com>
18253
92963737
UD
18254 * Makefile: Remove support for automatic cvs check-ins.
18255 * Makerules: Likewise.
18256 * config.make.in: Likewise.
18257 * configure.in: Likewise.
18258 * intl/Makefile: Likewise.
18259 * locale/Makefile: Likewise.
18260 * po/Makefile: Likewise.
18261 * posix/Makefile: Likewise.
18262 * sysdeps/gnu/Makefile: Likewise.
18263 * sysdeps/mach/hurd/Makefile: Likewise.
18264 * sysdeps/sparc/sparc32/Makefile: Likewise.
18265
b0727fd8
JS
18266 [BZ #13118]
18267 * posix/Makefile (bug-regex32-ENV): Define.
18268 Patch by John Stanley <jpsinthemix@verizon.net>.
18269
a0f33f99
UD
18270 * misc/Makefile (headers): Add bits/select2.h.
18271 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18272 * misc/bits/select2.h: New file.
18273 * include/bits/select2.h: New file.
18274 * debug/Makefile (routines): Add fdelt_chk.
18275 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18276 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18277 FD_ISSET.
18278 * debug/fdelt_chk.c: New file.
18279
762011fe
UD
18280 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18281 * wcsmbs/test-wmemcmp.c: Likewise.
18282 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18283 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18284
182852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18286
18287 * string/Makefile (strop-tests): Add memcmp.
18288 * string/test-wmemcmp.c: New file.
18289 * string/test-memcmp.c: Add wmemcmp support.
18290
7f513ec8
RM
182912011-09-08 Roland McGrath <roland@hack.frob.com>
18292
0442afb4
RM
18293 [BZ #13153]
18294 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18295 2011-07-19 change.
18296
7f513ec8
RM
18297 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18298 garbage value in a __mach_port_mod_refs call in the cases of the
18299 task-self and thread-self ports.
18300
a12b2239
ST
183012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18302
18303 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18304
610f9ab4
AS
183052011-09-08 Andreas Schwab <schwab@redhat.com>
18306
7f513ec8 18307 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18308
48882a1a
LD
183092011-09-07 Ulrich Drepper <drepper@gmail.com>
18310
b49865be
UD
18311 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18312
fdc86bc9
UD
18313 * elf/dl-libc.c (dlerror_run): Pass back error code from
18314 dl_catch_error.
18315
c966526a
UD
18316 [BZ #13123]
18317 * elf/dl-load.c (lose): Free l_origin if it is valid.
18318
48882a1a
LD
18319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18320 names.
18321 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18322 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18323 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18324 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18325 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18326 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18327
77a2a8b4
AZ
183282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18329
18330 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18331 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18332 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18333 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18334 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18335 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18336 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18337 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18338 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18339 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18340
24f579d8
AM
183412011-08-15 Alan Modra <amodra@gmail.com>
18342
18343 [BZ #13092]
18344 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18345 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18346 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18347 ppc_mcount to static-only-routines.
18348 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18349 __mcount_internal.
18350 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18351 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18352
3d4837df
UD
183532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18354
18355 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18356 for finite and infinity parameters.
18357
22700377
WS
183582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18359
18360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18361 and add nop instructions for throughput optimization.
18362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18363
5025581e
WS
183642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18365
18366 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18367 aligned copy for power7 with vector-scalar instructions.
18368 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18369
08a300c9
L
183702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18371
18372 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18373 AVX check.
18374
59178ef9
AS
183752011-09-07 Andreas Schwab <schwab@redhat.com>
18376
18377 [BZ #13144]
18378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18379 last change.
18380
e38ba7ab
UD
183812011-09-07 Ulrich Drepper <drepper@gmail.com>
18382
18383 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18384 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18385 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18386 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18387 clock_gettime.
18388
d53a73ac
UD
183892011-09-06 Ulrich Drepper <drepper@gmail.com>
18390
fc8bffcc
UD
18391 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18392 Forgot to demangle the pointer.
18393
ceaa0c5d
UD
18394 * sysdeps/i386/sysdep.h: Define atom_text_section.
18395 * sysdeps/x86_64/sysdep.h: Likewise.
18396 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18397 section with atom_text_section.
18398 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18399 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18400 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18402 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18403
a77d3c17
UD
18404 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18405 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18406 already be defined. Change to take two parameters and don't assign
18407 result to variable. Adjust all users.
18408 Define INTERNAL_GETTIME if not already defined.
18409 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18410 call.
18411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18412 HAVE_CLOCK_GETTIME_VSYSCALL.
18413 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18414
d53a73ac
UD
18415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18416 gettimeofday vsyscall, just use time.
18417
a8f84144
AS
184182011-09-06 Andreas Schwab <schwab@redhat.com>
18419
18420 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18421 <errno.h>.
18422
ef606249
UD
184232011-09-06 Ulrich Drepper <drepper@gmail.com>
18424
18425 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18426 syscall on x86-64.
18427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18428 syscall.
18429 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18431 syscall if possible.
18432
6585cb60
UD
184332011-09-05 Ulrich Drepper <drepper@gmail.com>
18434
18435 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18436 e_ident. Don't pass to find_mapsXX.
18437 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18438
a5f524e4
LD
184392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18440
18441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18442 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18443 * sysdeps/x86_64/multiarch/strchr.S: Update.
18444 Check bit_slow_BSF bit.
18445 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18446 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18447 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18448
554881ef
UD
184492011-09-05 Ulrich Drepper <drepper@gmail.com>
18450
d96de963
UD
18451 [BZ #13134]
18452 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18453 before glibc 2.15.
18454 (tryshell): Define.
18455 (__spawni): Change last parameter to be flag. Test
18456 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18457 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18458 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18459 * posix/spawni.c: Likewise.
18460 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18461 * posix/spawnp.c: Likewise. Change normal version to use
18462 SPAWN_XFLAGS_USE_PATH.
18463 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18464 SPAWN_XFLAGS_TRY_SHELL.
18465
d48e5868
UD
18466 [BZ #13150]
18467 * posix/glob.h: Remove gcc 1.x support.
18468
554881ef
UD
18469 [BZ #13068]
18470 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18471
693fb948
LD
184722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18473
18474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18475 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18476 strrchr-sse2-bsf
18477 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18478 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18479 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18480 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18483
1b48c537
UD
184842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18485
49d42c37
UD
18486 * sysdeps/x86_64/wcscmp.S: New file.
18487
1b48c537
UD
18488 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18489 wcscmp-c wcscmp-sse2
18490 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18491 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18492 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18493 * wcsmbs/wcscmp.c: Allow renaming.
18494
15c95c5d
DM
184952011-09-05 David S. Miller <davem@davemloft.net>
18496
18497 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18498 stack slot, rather than the struct return pointer slot.
18499 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18500 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18502 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18503
2f0ad8f3
UD
185042011-09-05 Ulrich Drepper <drepper@gmail.com>
18505
d88ae418
UD
18506 * po/ja.po: Update from translation team.
18507
2f0ad8f3
UD
18508 [BZ #13144]
18509 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18510 kernel in 64-bit binaries.
18511
5f4318d1
DM
185122011-09-01 David S. Miller <davem@davemloft.net>
18513
18514 * elf/elf.h (HWCAP_SPARC_*): Move to..
18515 * sysdeps/sparc/sysdep.h: this new file and add new values.
18516 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18517 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18518 _DL_HWCAP_COUNT to 24.
18519 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18520 entries.
18521 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18522 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18523 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18525 instead of magic constants.
18526 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18527
3ba57516
DM
185282011-08-31 David S. Miller <davem@davemloft.net>
18529
18530 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18531 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18532 Reimplement to do errno handling inline.
18533 (SYSCALL_ERROR_HANDLER): New macro.
18534 (__SYSCALL_STRING): Do not do errno handling in asm.
18535 (__CLONE_SYSCALL_STRING): Delete.
18536 (__INTERNAL_SYSCALL_STRING): Delete.
18537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18538 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18539 (PSEUDO): Reimplement to do errno handling inline.
18540 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18541 (SYSCALL_ERROR_HANDLER): New macro.
18542 (__SYSCALL_STRING): Do not do errno handling in asm.
18543 (__CLONE_SYSCALL_STRING): Delete.
18544 (__INTERNAL_SYSCALL_STRING): Delete.
18545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18546 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18547 i386.
18548 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18549 (inline_syscall*): Add 'err' argument.
18550 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18551 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18552 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18553 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18554
18555 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18556 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18557
2bc17433
AS
185582011-08-30 Andreas Schwab <schwab@redhat.com>
18559
18560 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18561
fbeb5f4d
JO
185622011-08-29 Jiri Olsa <jolsa@redhat.com>
18563
18564 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18565 directive.
18566
ad69cc26
DM
185672011-08-24 David S. Miller <davem@davemloft.net>
18568
18569 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18570
39dd69df
AS
185712011-08-24 Andreas Schwab <schwab@redhat.com>
18572
18573 * elf/Makefile: Add rules to build and run unload8 test.
18574 * elf/unload8.c: New file.
18575 * elf/unload8mod1.c: New file.
18576 * elf/unload8mod1x.c: New file.
18577 * elf/unload8mod2.c: New file.
18578 * elf/unload8mod3.c: New file.
18579
18580 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18581 it wasn't used.
18582
2c0b250a
DM
185832011-08-23 David S. Miller <davem@davemloft.net>
18584
18585 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18586 subtract stack bias.
18587 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18588 %sp not %fp in calculations.
18589 (_JMPBUF_UNWINDS_ADJ): Likewise.
18590
22044b48
DM
18591 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18592 (aio_suspend): Call it to force an exception region around the
18593 AIO_MISC_WAIT() invocation.
18594
2cae4995
AS
185952011-08-23 Andreas Schwab <schwab@redhat.com>
18596
18597 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18598 backslash.
18599
873a772e
AJ
186002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18601
18602 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18603 protection macro.
18604 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18605 and <dl-machine.h>.
18606 (Elf64_FuncDesc): Remove.
18607
25ad0df1
DM
186082011-08-22 David S. Miller <davem@davemloft.net>
18609
18610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18611 sigaltstack check, add missing cfi directives.
18612 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18613 missing cfi directives, and sigaltstack handling.
18614
e888bcbe
AS
186152011-08-16 Andreas Schwab <schwab@redhat.com>
18616
18617 [BZ #11724]
18618 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18619 object is seen twice.
18620 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18621
18622 * elf/Makefile (distribute): Add tst-initorder2.c.
18623 (tests): Add tst-initorder2.
18624 (modules-names): Add tst-initorder2a tst-initorder2b
18625 tst-initorder2c tst-initorder2d. Add rules to build them.
18626 ($(objpfx)tst-initorder2.out): New rule.
18627 * elf/tst-initorder2.c: New file.
18628 * elf/tst-initorder2.exp: New file.
18629
87162f46
AS
186302011-08-22 Andreas Schwab <schwab@redhat.com>
18631
70538b7f
AS
18632 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18633
f55ffe58
AS
18634 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18635 dependencies back to end of function.
18636
87162f46
AS
18637 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18638 $(elfobjdir)/ld.so.
18639
91b392a4
UD
186402011-08-21 Ulrich Drepper <drepper@gmail.com>
18641
18642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18643 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18645 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18646 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18647 of __vdso_gettimeofday.
18648 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18649 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18650 attribute_hidden.
18651 (_libc_vdso_platform_setup): Remove initialization of
18652 __vdso_gettimeofday and __vdso_time.
18653
5c43483f
UD
186542011-08-20 Ulrich Drepper <drepper@gmail.com>
18655
775a77e7
UD
18656 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18657 and fgetc_unlocked.
18658 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18659 getc_unlocked.
89f447ed 18660
49c74ba9
UD
18661 * elf/dl-open.c (add_to_global): Report additions to the global scope
18662 for LD_DEBUG=scopes.
18663 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18664 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18665
5c43483f
UD
18666 [BZ #13114]
18667 * stdio-common/Makefile (tests): Add bug24.
18668 * stdio-common/bug24.c: New file.
18669
a101b025
AJ
186702011-08-19 Andreas Jaeger <aj@suse.de>
18671
18672 [BZ #13114]
18673 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18674 non-existant file when using close-on-exec mode.
18675
c88f1766
UD
186762011-08-20 Ulrich Drepper <drepper@gmail.com>
18677
0276a718
UD
18678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18679 the very first instruction.
18680
c88f1766
UD
18681 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18682 the CFI state in the end.
18683 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18684 inclusion of dl-trampoline.h.
18685 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18686
51ccffa0
AS
186872011-08-19 Andreas Schwab <schwab@redhat.com>
18688
94d7165f
AS
18689 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18690 expectations for long double.
18691
51ccffa0
AS
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18693 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18694
fd708658 186952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18696
18697 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18698 artificual limit depends upon the system page size.
18699
44f0a71e
UD
187002011-08-17 Ulrich Drepper <drepper@gmail.com>
18701
18702 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18703 * resolv/Makefile: Define CFLAGS-libresolv.
18704
8de79a24
AS
187052011-08-17 Andreas Schwab <schwab@redhat.com>
18706
18707 * nss/makedb.c (compute_tables): Make variables used in nested
18708 function static.
18709
27724598
UD
187102011-08-17 Ulrich Drepper <drepper@gmail.com>
18711
c5305d88
UD
18712 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18713 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18714 if buffer was too small.
18715
27724598
UD
18716 * elf/pldd.c (main): Attach to all threads in the process.
18717 Rewrite /proc handling to use *at functions.
18718
076fe015
UD
187192011-08-16 Ulrich Drepper <drepper@gmail.com>
18720
174baab3
UD
18721 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18722 specifies first scope to show.
18723 (dl_open_worker): Update callers. Move printing scope of new
18724 object to before the relocation.
44f0a71e 18725 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18726 * sysdeps/generic/ldsodefs.h: Update declaration.
18727
076fe015
UD
18728 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18729 string for the scope number.
18730
a60df2c3
UD
187312011-08-14 Ulrich Drepper <drepper@gmail.com>
18732
18733 * nscd/servicescache.c (cache_addserv): Make sure written is always
18734 initialized.
18735
5e4287d1
RM
187362011-08-14 Roland McGrath <roland@hack.frob.com>
18737
85ae0589
RM
18738 * sysdeps/i386/i486/bits/atomic.h
18739 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18740 statement expression, so as to suppress "set but not used" warning.
18741 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18742
69f63097
RM
18743 * string/strncat.c (STRNCAT): Use prototype definition.
18744
675456ef
RM
18745 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18746 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18747 -Iprograms here.
18748 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18749 (localedef-modules): Add localedef.
18750 (locale-modules): Add locale.
18751
5e4287d1
RM
18752 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18753 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18754 to avoid a warning.
18755
9c96ff23
DM
187562011-08-14 David S. Miller <davem@davemloft.net>
18757
18758 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18759 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18760
f9ddf089
UD
187612011-08-13 Ulrich Drepper <drepper@gmail.com>
18762
44f0a71e 18763 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18764 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18765 * elf/rtld.c (dl_main): Set l_name of vDSO.
18766 Call _dl_show_scope when DL_DEBUG_SCOPES.
18767 (process_dl_debug): Recognize scopes flag and also set it for all.
18768 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18769 Declare _dl_show_scope.
18770
1dc27704
UD
18771 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18772 (do_dlopen): Pass caller_dlopen to dl_open.
18773 (__libc_dlopen_mode): Initialize caller_dlopen.
18774
f9ddf089
UD
18775 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18776 of libc. Make tolower call locale-independent. Optimize a bit by
18777 using isdigit instead of isalnum.
18778 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18779
9ac533d3
UD
187802011-08-12 Ulrich Drepper <drepper@gmail.com>
18781
18782 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18783 was a dependency or dynamically loaded.
18784
89edf2e9
UD
187852011-08-11 Ulrich Drepper <drepper@gmail.com>
18786
8e999d29
UD
18787 * intl/l10nflist.c: Allow architecture-specific pop function.
18788 * sysdeps/x86_64/l10nflist.c: New file.
18789
89edf2e9
UD
18790 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18791 classification.
18792
14d96785
AS
187932011-08-10 Andreas Schwab <schwab@redhat.com>
18794
18795 * include/dirent.h: Add libc_hidden_proto for scandirat and
18796 scandirat64. Don't declare __scandirat64.
18797 * dirent/scandirat.c: Add libc_hidden_def.
18798 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18799 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18800
6761ac04
DM
188012011-08-10 David S. Miller <davem@davemloft.net>
18802
18803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18804 enum.
18805 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18806 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18808
c55fbd1e
UD
188092011-08-09 Ulrich Drepper <drepper@gmail.com>
18810
18811 * Versions.def [libc]: Add GLIBC_2.15.
18812 * dirent/Makefile (routines): Add scandirat and scandirat64.
18813 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18814 GLIBC_2.15.
18815 * dirent/dirent.h: Declare scandirat and scandirat64.
18816 * dirent/scandirat.c: New file.
18817 * dirent/scandirat64.c: New file.
18818 * sysdeps/wordsize-64/scandirat.c: New file.
18819 * sysdeps/wordsize-64/scandirat64.c: New file.
18820 * dirent/opendir.c: Define opendirat.
18821 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18822 using scandirat.
18823 * dirent/scandir64.c: Adjust for scandir.c change.
18824 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18825 __scandirat64, and __scandir_cancel_handler.
18826 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18827 additional parameter and use openat instead of open (outside of ld.so).
18828 Add new __opendir as wrapper around __opendirat.
18829 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18830 here without requiring old scandirat implementation.
18831
879165f2
UD
188322011-08-08 Ulrich Drepper <drepper@gmail.com>
18833
18834 * dirent/scandir.c (cancel_handler): Renamed to
18835 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18836 defined. Adjust users.
18837 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18838 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18839
cb7e923b
UD
188402011-08-04 Ulrich Drepper <drepper@gmail.com>
18841
16292edd
UD
18842 * string/test-string.h (IMPL): Use __STRING to expand name and then
18843 stringify it.
18844
cb7e923b
UD
18845 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18846 of cleanups.
18847
cff82933
LD
188482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18849
18850 * string/Makefile: Update.
18851 (strop-tests): Append strncat.
18852 * string/test-wcscmp.c: New file.
18853 New comprehensive test for wcscmp.
18854 * string/test-strcmp.c: Update.
18855 (WIDE): New define.
18856
9be9bfcc
AS
188572011-07-22 Andreas Schwab <schwab@redhat.com>
18858
18859 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18860 line.
18861
2e96f1c7
AS
188622011-07-26 Andreas Schwab <schwab@redhat.com>
18863
18864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18865 encoding to ACE if AI_IDN.
18866
85188888
JJ
188672011-08-01 Jakub Jelinek <jakub@redhat.com>
18868
18869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18870 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18871
5fa16e9b
LD
188722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18873
18874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18875 Fix overflow bug in strncat.
18876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18877
18878 * string/test-strncat.c: Update.
18879 Add new tests for checking overflow bugs.
18880
188812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18882
18883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18884 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18885 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18886 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18887 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18888 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18889 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18890 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18891 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18892
18893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18894 (USE_AS_STRCAT): Define.
18895 Add strcat and strncat support.
18896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18897
8c1a459f
AS
188982011-07-25 Andreas Schwab <schwab@redhat.com>
18899
18900 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18901 __n bigger than INT_MAX+1.
18902 (__strncmp_g): Likewise.
18903
bba33c28
UD
189042011-07-23 Ulrich Drepper <drepper@gmail.com>
18905
798be72d
UD
18906 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18907 * libio/stido.h: Likewise.
18908
8accd4dc
UD
18909 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18910 (AF_NFC): Define.
18911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18912 (AF_NFC): Define.
18913
cbff0d96
UD
18914 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18915 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18917 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18919
9191c04a
UD
18920 [BZ #13021]
18921 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18922 installed.
18923
bba33c28
UD
18924 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18925 typo.
18926 (_dl_x86_64_save_sse): Likewise.
18927
90f139dd
UD
189282011-07-22 Ulrich Drepper <drepper@gmail.com>
18929
1aae088a
UD
18930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18931 OSXSAVE.
18932 (_dl_x86_64_save_sse): Likewise.
18933
8e2045f5
UD
18934 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18935
90f139dd
UD
18936 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18937
1d002f25
AS
189382011-07-21 Andreas Schwab <schwab@redhat.com>
18939
18940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18941 change.
18942 (_dl_x86_64_save_sse): Use correct AVX check.
18943
21137f89
UD
189442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18945
18946 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18947 bug in strncpy/strncat.
18948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18949
a65c0b7a
UD
189502011-07-21 Ulrich Drepper <drepper@gmail.com>
18951
18952 * string/tester.c (test_strcat): Add tests for different alignments
18953 of source and destination.
18954 (test_strncat): Likewise.
18955
6986b98a
UD
189562011-07-20 Ulrich Drepper <drepper@gmail.com>
18957
90bb2039
UD
18958 [BZ #12852]
18959 * posix/glob.c (glob): Check passed in values before using them in
18960 expressions to avoid some overflows.
18961 (glob_in_dir): Likewise.
18962
5644ef54
UD
18963 [BZ #13007]
18964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18965 check for AVX enablement so that we don't crash with old kernels and
18966 new hardware.
18967 * elf/tst-audit4.c: Add same checks here.
18968 * elf/tst-audit6.c: Likewise.
18969
18970 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18971
bfc9dc9b
AS
189722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18973
18974 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18975
702e64bb
UD
189762011-07-20 Ulrich Drepper <drepper@gmail.com>
18977
18978 * po/cs.po: Update from translation team.
18979 * po/bg.po: Likewise.
18980
295e904f
MP
189812011-07-12 Marek Polacek <mpolacek@redhat.com>
18982
18983 * misc/sys/cdefs.h: Add support for const attribute.
18984 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18985 to gnu_dev_{major,minor,makedev} functions.
18986
3ff94596
MP
189872011-07-20 Marek Polacek <mpolacek@redhat.com>
18988
18989 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18990
28b59fca
AS
189912011-07-20 Andreas Schwab <schwab@redhat.com>
18992
18993 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18994 strlen results.
18995
19df733e
AK
189962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18997
18998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18999 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19000 register in order to avoid conflicts with the soft frame pointer
19001 being held in r11 when necessary.
19002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19003 (INTERNAL_VSYSCALL_NCS): Likewise.
19004
c8835729
MP
190052011-07-14 Marek Polacek <mpolacek@redhat.com>
19006
19007 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19008 * elf/dl-fini.c (_dl_fini): Adjust caller.
19009 * elf/dl-close.c (_dl_close_worker): Likewise.
19010 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19011
b902330c
MP
190122011-07-15 Marek Polacek <mpolacek@redhat.com>
19013
8991e135
MP
19014 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19015 "aux_cache->nlibs < 0".
19016
b902330c
MP
19017 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19018 in the reload-count case.
19019
99710781
LD
190202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19021
19022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19023 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19024 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19025 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19026 * sysdeps/x86_64/multiarch/strcat.S: New file.
19027 * sysdeps/x86_64/multiarch/strncat.S: New file.
19028 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19029 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19030 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19031 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19032 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19033 (USE_AS_STRCAT): Define.
19034 Add strcat and strncat support.
19035 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19037 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19038 * string/strncat.c: Update.
19039 (USE_AS_STRNCAT): Define.
19040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19041 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19042 and i7.
19043 * sysdeps/x86_64/multiarch/init-arch.h
19044 (bit_Prefer_PMINUB_for_stringop): New.
19045 (index_Prefer_PMINUB_for_stringop): Likewise.
19046 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19047 bit_Prefer_PMINUB_for_stringop.
19048
7dc6bd90
UD
190492011-07-19 Ulrich Drepper <drepper@gmail.com>
19050
19051 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19052 buffer64.
19053 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19054 of casting of buffer.
19055 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19056 buffer32 and buffer64.
19057 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19058 writes instead of casting of buffer.
19059 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19060 buffer32.
19061 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19062 casting of buffer.
19063
e0e72284
AS
190642011-07-19 Andreas Schwab <schwab@redhat.com>
19065
19066 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19067
feb1eb0b
UD
190682011-07-19 Ulrich Drepper <drepper@gmail.com>
19069
19070 * nscd/nscd.c (termination_handler): Don't do anything for a database
19071 if it has not yet been initialized.
19072
298711ff
UD
190732011-07-18 Ulrich Drepper <drepper@gmail.com>
19074
19075 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19076
190772011-07-15 Marek Polacek <mpolacek@redhat.com>
19078
19079 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19080
f9d68389
UD
190812011-07-18 Ulrich Drepper <drepper@gmail.com>
19082
19083 * po/nl.po: Update from translation team.
19084 * po/sv.po: Likewise.
19085
db290cf5
RM
190862011-07-16 Roland McGrath <roland@hack.frob.com>
19087
19088 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19089 now disallowed by GCC.
5c550700 19090
fd5e21c7
RM
19091 * configure.in (use-default-link): Default to yes if a test -shared
19092 link meets our qualifications.
19093 * configure: Regenerated.
19094
5c550700
RM
19095 * config.make.in (output-format): New variable.
19096 * configure.in: Check for ld --print-output-format support.
19097 * configure: Regenerated.
19098 * Makerules ($(common-objpfx)format.lds)
19099 [$(output-format) != unknown]: Just use $(output-format),
19100 instead of the linker-script munging.
19101
9fa2c032
RM
191022011-07-14 Roland McGrath <roland@hack.frob.com>
19103
a6928d51
RM
19104 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19105 of $(common-objpfx)shlib.lds.
19106 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19107
661607b3
RM
19108 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19109 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19110
9fa2c032
RM
19111 * configure.in (-z relro check): Adjust test code to add a large
19112 writable data section after it.
19113 * configure: Regenerated.
19114
defe9061
RM
191152011-07-11 Roland McGrath <roland@hack.frob.com>
19116
19117 * configure.in (-z relro check): Fix test code to make the variable
19118 truly const.
19119 * configure: Regenerated.
19120
319b9ad4
UD
191212011-07-11 Ulrich Drepper <drepper@gmail.com>
19122
19123 * nscd/nscd.h (struct traced_file): Define.
19124 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19125 elements. Add traced_files.
19126 (inotify_fd): Declare.
19127 (register_traced_file): Declare.
19128 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19129 (inotify_fd): Export.
19130 (resolv_conf_descr): Remove.
19131 (nscd_init): Move inotify descriptor creation to main.
19132 Don't register files for notification here.
19133 (register_traced_file): New function.
19134 (invalidate_cache): Don't use reset_res to determine whether to call
19135 res_init, go through the list of registered files.
19136 (main_loop_poll): The inotify descriptors are now stored in the
19137 structures for the traced files.
19138 (main_loop_epoll): Likewise
19139 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19140 to __nss_disable_nscd.
19141 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19142 for a database anymore. Check the records for all the registered
19143 files instead.
19144 * nss/Makefile (libnss_files-routines): Add files-init.
19145 (libnss_db-routines): Add db-init.
19146 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19147 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19148 * nss/nss_db/db-init.c: New file.
19149 * nss/nss_files/files-init.c: New file.
19150 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19151 __nss_lookup_function.
19152 (__nss_lookup_function): Call nss_load_library.
19153 (nss_load_all_libraries): New function.
19154 (__nss_disable_nscd): Take parameter with callback function for files
19155 to register. Set is_nscd. Load all the DSOs for the NSS modules
19156 used for the cached services.
19157 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19159 options for features to all the files in nscd.
19160
19161 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19162
23bee3e8
RM
191632011-07-10 Roland McGrath <roland@hack.frob.com>
19164
19165 * csu/elf-init.c (__libc_csu_init): Comment typo.
19166
46a5b7f0
UD
191672011-07-09 Ulrich Drepper <drepper@gmail.com>
19168
19169 * po/pl.po: Update from translation team.
19170 * po/ja.po: Likewise.
19171 * po/ru.po: Likewise.
19172 * po/ko.po: Likewise.
19173 * po/fr.po: Likewise.
19174
d30cf5bb
RM
191752011-07-09 Roland McGrath <roland@hack.frob.com>
19176
113ddea4
RM
19177 * configure.in (.ctors/.dtors header and trailer check):
19178 Use an empirical test on a built program.
19179 * configure: Regenerated.
19180
574920b4
RM
19181 * configure.in (-z relro check): Use an empirical test on a built DSO.
19182 Detect, but do not require, on ia64.
19183 * configure: Regenerated.
19184
d30cf5bb
RM
19185 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19186 Update tests that use readelf to use $READELF instead.
19187 * configure: Regenerated.
19188
8538fdb3
UD
191892011-07-08 Ulrich Drepper <drepper@gmail.com>
19190
19191 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19192 if the result is not used.
19193
04d08991
AJ
191942011-07-05 Andreas Jaeger <aj@suse.de>
19195
19196 [BZ#9696]
19197 * stdlib/tst-strtod.c: Add testcase.
19198
de283087
AD
191992011-07-07 Ulrich Drepper <drepper@gmail.com>
19200
4e5f31c8 19201 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19202 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19203 The latter has a higher limit. Take additional parameter to pass to
19204 the new function.
19205 (__pathconf): Pass file to __statfs_link_max.
19206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19207 __statfs_link_max.
19208 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19209 __statfs_link_max.
19210
de283087
AD
19211 [BZ #12868]
19212 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19213 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19214 Handle Lustre.
19215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19216 (__statfs_filesize_max): Likewise.
19217 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19218
c75fa153
AJ
192192011-07-05 Andreas Jaeger <aj@suse.de>
19220
19221 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19222
1a544854
UD
192232011-07-06 Marek Polacek <mpolacek@redhat.com>
19224
19225 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19226 `status' variable.
19227 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19228 Likewise.
19229
6f0eec67
UD
192302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * Makefile (strop-tests): Add strncat.
19233 * string/test-strncat.c: New file.
19234
aae30307
UD
192352011-06-30 Marek Polacek <mpolacek@redhat.com>
19236
19237 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19238
c0cfb5eb
UD
192392011-06-21 Andreas Jaeger <aj@suse.de>
19240
19241 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19242 Copy rule from iconvdata/Makefile.
19243
01636b21
UD
192442011-07-06 Ulrich Drepper <drepper@gmail.com>
19245
19246 [BZ #12922]
19247 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19248 but no long options are defined, just return 'W'.
19249
9895c8bc
UD
192502011-06-22 Marek Polacek <mpolacek@redhat.com>
19251
19252 [BZ #9696]
19253 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19254
5d4cf042
UD
192552011-07-06 Ulrich Drepper <drepper@gmail.com>
19256
19257 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19258 netgroups to read.
960e5535 19259 (innetgr): Likewise.
5d4cf042 19260
751eb97e
RM
192612011-07-05 Roland McGrath <roland@hack.frob.com>
19262
19263 * config.make.in (install_root): Default to $(DESTDIR).
19264
f15f1e45
UD
192652011-07-05 Ulrich Drepper <drepper@gmail.com>
19266
19267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19268
4e34ac6a
RM
192692011-07-02 Roland McGrath <roland@hack.frob.com>
19270
5e9b6af4
RM
19271 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19272
84f9ea0f
RM
19273 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19274 containing directory rather than embedding absolute directory names.
19275
ea5ee9f7
RM
19276 * scripts/check-local-headers.sh: Rewritten using awk.
19277 Match by word, not by line. Print error messages for matches.
19278 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19279
1b74661a
RM
19280 * Makerules [shlib-lds-flags empty]:
19281 ($(common-objpfx)libc_pic.opts): New target.
19282 ($(common-objpfx)libc_pic.os.clean): New target.
19283 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19284
19285 * config.make.in (OBJCOPY): New variable.
19286 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19287 * configure: Regenerated.
19288
f781ef40
RM
19289 * config.make.in (use-default-link): New variable.
19290 * configure.in (use_default_link): Grok --with-default-link to set it.
19291 * configure: Regenerated.
19292 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19293 (shlib-lds, shlib-lds-flags): Define to empty.
19294
2d4fa81e
RM
19295 * Makerules (shlib-lds): New variable.
19296 (shlib-lds-flags): New variable.
19297 (build-shlib, build-moduile, build-module-asneeded): Use it.
19298 ($(common-objpfx)libc.so): Use $(shlib-lds).
19299 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19300 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19301
31fffa6b
RM
19302 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19303 DT_FLAGS/DT_FLAGS_1 with zero flags.
19304
4e34ac6a
RM
19305 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19306 linker script munging.
19307
fcfc776b
UD
193082011-07-02 Ulrich Drepper <drepper@gmail.com>
19309
19310 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19311 as 128-bit value.
19312 * crypt/sha512.c (sha512_process_block): Perform total addition using
19313 128-bit if possible.
19314 (__sha512_finish_ctx): Likewise.
19315 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19316 as 64-bit value.
19317 * crypt/sha256.c (SWAP64): Define.
19318 (sha256_process_block): Perform total addition using 64-bit if
19319 possible.
19320 (__sha256_finish_ctx): Likewise.
19321
99231d9a
UD
193222011-07-01 Ulrich Drepper <drepper@gmail.com>
19323
19324 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19325 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19326 * nscd/hstcache.c (cache_addhst): Likewise.
19327 * nscd/grpcache.c (cache_addgr): Likewise.
19328 * nscd/aicache.c (addhstaiX): Likewise
19329 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19330
445b4a53
TK
193312011-07-01 Thorsten Kukuk <kukuk@suse.de>
19332
19333 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19334 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19335 * nscd/hstcache.c (cache_addhst): Likewise.
19336 * nscd/grpcache.c (cache_addgr): Likewise.
19337 * nscd/aicache.c (addhstaiX): Likewise
19338
6d4d8e8e
AS
193392011-07-01 Andreas Schwab <schwab@redhat.com>
19340
19341 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19342 domain only when needed.
19343
89f654c5
AS
193442011-06-30 Andreas Schwab <schwab@redhat.com>
19345
19346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19347 is always restored.
19348
cf3b23ff
UD
193492011-06-29 Ulrich Drepper <drepper@gmail.com>
19350
19351 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19352 are re-adding the entry.
19353 * nscd/servicescache.c (cache_addserv): Likewise.
19354
751626f9
AJ
193552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19356
19357 * sysdeps/generic/dl-irel.h: fix protection against multiple
19358 inclusions.
19359 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19360
9113ea1f
UD
193612011-06-28 Ulrich Drepper <drepper@gmail.com>
19362
5c0b8d90
UD
19363 [BZ #12935]
19364 * malloc/memusage.sh: Fix quoting in message.
19365 * debug/xtrace.sh: Likewise.
19366
9113ea1f
UD
19367 * configure.in: Remove support for --experimental-malloc option, make
19368 it the default.
19369 * config.make.in: Likewise.
19370 * malloc/Makefile: Likewise.
19371
a4172181
AS
193722011-06-27 Andreas Schwab <schwab@redhat.com>
19373
19374 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19375 two-byte characters.
19376
78a7eee7
RM
193772011-06-27 Roland McGrath <roland@hack.frob.com>
19378
62bede13
RM
19379 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19380 AC_CACHE_CHECK invocation.
19381 * configure: Regenerated.
19382
78a7eee7
RM
19383 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19384
5ce33a62
UD
193852011-06-27 Ulrich Drepper <drepper@gmail.com>
19386
034807a9
UD
19387 [BZ #12350]
19388 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19389 bit from old_res_options.
19390
4902da17
UD
19391 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19392
5ce33a62
UD
19393 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19394 value type for setfct.
19395
c2344f56
L
193962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19397
19398 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19399 __gettimeofday instead of gettimeofday.
19400
68468076
UD
194012011-06-26 Ulrich Drepper <drepper@gmail.com>
19402
19403 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19404
acb0d739
L
194052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19406
19407 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19408
19409 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19410 info.
19411
8912479f
L
194122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19413
19414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19415 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19416 strcpy-sse2-unaligned strncpy-sse2-unaligned
19417 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19418 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19419 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19420 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19421 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19424 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19425 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19426 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19427 (STRCPY): Support SSE2 and SSSE3 versions.
19428
d5495a11
UD
194292011-06-24 Ulrich Drepper <drepper@gmail.com>
19430
19431 [BZ #12874]
19432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19433 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19434 kernels which artificially limit size of requests.
19435
0b1cbaae
L
194362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19437
19438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19439 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19440 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19441 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19442 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19443 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19444 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19445 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19448 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19449 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19450 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19451 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19452 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19454 Enable unaligned load optimization for Intel Core i3, i5 and i7
19455 processors.
19456 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19457 Define.
19458 (index_Fast_Unaligned_Load): Define.
19459 (HAS_FAST_UNALIGNED_LOAD): Define.
19460
07f494a0
MP
194612011-06-23 Marek Polacek <mpolacek@redhat.com>
19462
19463 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19464
fa3fc0fe
UD
194652011-06-22 Ulrich Drepper <drepper@gmail.com>
19466
19467 [BZ #12907]
19468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19469 until it is clear that the information is realy needed.
19470 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19471
e12df166
AS
194722011-06-22 Andreas Schwab <schwab@redhat.com>
19473
19474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19475
852eb34d
UD
194762011-06-22 Ulrich Drepper <drepper@gmail.com>
19477
84e2a551
UD
19478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19479 /sys/devices/system/cpu/online if it is usable.
19480
852eb34d
UD
19481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19482 reading the information from the /proc filesystem to once a second.
19483
6e502e19
UD
194842011-06-21 Andreas Jaeger <aj@suse.de>
19485
19486 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19487 NULL after inclusion of kernel headers.
19488
75d39ff2
UD
194892011-06-21 Ulrich Drepper <drepper@gmail.com>
19490
51f9aa6a
UD
19491 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19492 calls to internal_setent.
19493
c0244a9d
UD
19494 [BZ #12885]
19495 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19496 addresses using gethostbyname4_r ignore IPv4 addresses.
19497
c5e3c2ae
UD
19498 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19499 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19500
75d39ff2
UD
19501 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19502
42675c6f
DM
195032011-06-20 David S. Miller <davem@davemloft.net>
19504
19505 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19506 inclusions.
19507 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19508
19509 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19510 (elf_irel): Use it.
19511 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19512 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19513 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19514 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19515 * sysdeps/x86_64/dl-irel.h: Likewise.
19516
19517 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19518 * elf/dl-sym.c: Likewise.
19519
57912a71
UD
195202011-06-15 Ulrich Drepper <drepper@gmail.com>
19521
19522 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19523 need to dereference resplen2.
19524
ee22793d
AS
195252011-06-14 Andreas Schwab <schwab@redhat.com>
19526
19527 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19528
a9e836b0
UD
195292011-06-15 Ulrich Drepper <drepper@gmail.com>
19530
77fb9117
UD
19531 * Makeconfig: Define vardbdir and inst_vardbdir.
19532 * nss/Makefile: Add rules to install db-Makefile.
19533
40c1b22c
UD
19534 * nss/nss_db/db-XXX.c: Cleanup.
19535
9f2da732
UD
19536 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19537 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19538 GLIBC_PRIVATE.
19539 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19540 * nss/makedb.c: Implement -g option to specify that value strings
19541 are generated and should not be added to table iterated over for
19542 get*ent calls.
19543 * nss/nss_db/db-initgroups.c: New file.
19544
82e9a1f7
UD
19545 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19546 interface.
19547
c41af17e
UD
19548 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19549 (internal_getgrouplist): Adjust to name change.
19550 Update use_initgroups_entry if this is not the first call.
19551 * nss/databases.def: Add initgroups entry.
19552
a9e836b0
UD
19553 * nss/makedb.c (compute_tables): Check result of multiple hash table
19554 sizes to minimize maximum chain length.
19555
2666d441
UD
195562011-06-14 Ulrich Drepper <drepper@gmail.com>
19557
19558 * Versions.def: Add entry for libnss_db.
19559 * shlib-versions: Likewise.
19560 * nss/Makefile: Add rules to build libnss_db.
19561 * nss/Versions: Add libnss_db information. Organize libnss_files
19562 entries better.
19563 * nss/db-Makefile: Add gshadow support. Change rules for the new
19564 makedb progra. Some minor improvements to generate smaller files.
19565 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19566 here from...
19567 * nss/makedb.c: ...here.
19568 Improve database format to be smaller and require less memory at
19569 runtime.
19570 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19571 db anymore.
19572 * nss/nss_db/db-netgrp.c: Likewise.
19573 * nss/nss_db/db-open.c: Likewise.
19574 * nss/nss_files/flies-XXX.x: Adjust comments.
19575 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19576 * nss/nss_files/files-grp.c: Likewise.
19577 * nss/nss_files/files-hosts.c: Likewise.
19578 * nss/nss_files/files-network.c: Likewise.
19579 * nss/nss_files/files-proto.c: Likewise.
19580 * nss/nss_files/files-pwd.c: Likewise.
19581 * nss/nss_files/files-rpc.c: Likewise.
19582 * nss/nss_files/files-service.c: Likewise.
19583 * nss/nss_files/files-sgrp.c: Likewise.
19584 * nss/nss_files/files-spwd.c: Likewise.
19585 * nss/nss_db/db-alias.c: Removed.
19586 * nss/nss_db/dummy-db.h: Removed.
19587
9ee76b5a
UD
195882011-06-02 Ulrich Drepper <drepper@gmail.com>
19589
19590 * nss/makedb.c: Rewritten to not use database library.
19591 * nss/Makefile: Update to build new makedb program.
19592
c71ca1f8
AJ
195932011-06-14 Andreas Jaeger <aj@suse.de>
19594
19595 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19596 memset declaration.
19597
3154bfb8
UD
195982011-06-10 Andreas Schwab <schwab@redhat.com>
19599
19600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19601 tmpbuf.
19602
b350afab
RM
196032011-06-10 Roland McGrath <roland@hack.frob.com>
19604
decd4e50
RM
19605 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19606 * elf/Makefile ($(objpfx)ld.so): Likewise.
19607
5615eaf2
RM
19608 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19609 Don't list ld.so twice in dependencies.
19610
19611 * posix/bug-regex31.c: Include <stdlib.h>.
19612
19613 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19614
19615 * nis/nss_compat/compat-spwd.c
19616 (getspent_next_nss_netgr): Remove unused variable.
19617 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19618
19619 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19620 nonmembers" output to use the right array.
19621
19622 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19623
19624 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19625
19626 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19627 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19628 * catgets/gencat.c (read_input_file): Likewise.
19629 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19630
19631 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19632 variable definition inside #if's controlling its use.
19633
19634 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19635
19636 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19637
19638 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19639
19640 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19641 unreachable code.
19642
19643 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19644
b68e08db
RM
19645 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19646 * configure: Regenerated.
19647
b350afab
RM
19648 * Makerules: Revert last change.
19649 * elf/Makefile: Likewise.
19650
28368601
RM
196512011-06-09 Roland McGrath <roland@hack.frob.com>
19652
19653 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19654 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19655 (reloc-link): Likewise.
19656
11988f8f
UD
196572011-06-09 Ulrich Drepper <drepper@gmail.com>
19658
19659 * elf/Makefile: Add rules to build pldd.
19660 * elf/pldd.c: New file.
19661 * elf/pldd-xx.c: New file.
19662
e80fab37
UD
196632011-06-07 Ulrich Drepper <drepper@gmail.com>
19664
19665 * version.h: Update for 2.15 development version.
19666
9b849836
DM
196672011-06-07 David S. Miller <davem@davemloft.net>
19668
19669 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19670 ifuncs.
19671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19672 elf_machine_lazy_rel): Likewise.
19673 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19675 elf_machine_lazy_rel): Likewise.
19676 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19677 dl_hwcap via passed in argument.
19678 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19679 Likewise.
19680
5a31b283
AK
196812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19682
19683 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19684
069e52f8
RM
196852011-06-06 Roland McGrath <roland@hack.frob.com>
19686
19687 [BZ #12849]
19688 * manual/fdl-1.1.texi: New file, verbatim from:
19689 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19690 * manual/lgpl-2.1.texi: New file, verbatim from:
19691 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19692 * manual/Makefile (licenses): New variable, list those new file names.
19693 (texis): Use it.
19694 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19695
19696 * manual/fdl.texi: File removed.
19697 * manual/lesser.texi: File removed.
19698 * manual/libc.texinfo (Copying, Documentation License):
19699 Use new @include file names, put @appendix directive before @include.
19700
f16846a5
JJ
197012011-06-04 Jakub Jelinek <jakub@redhat.com>
19702
19703 [BZ #12841]
19704 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19705 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19706 (mq_open): Add __NTH.
19707
3d29045b
L
197082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19709
19710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19711 Assume Intel Core i3/i5/i7 processor if AVX is available.
19712
8c297311
UD
197132011-05-31 Ulrich Drepper <drepper@gmail.com>
19714
19715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19716 typo.
19717
c8fc0c91
UD
197182011-05-31 Andreas Schwab <schwab@redhat.com>
19719
19720 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19721 memory. Use alloca_account. Fix memory leak when retrying.
19722
5b27a807
UD
197232011-05-31 Ulrich Drepper <drepper@gmail.com>
19724
356f8bc6
UD
19725 * version.h (RELEASE): Bump for 2.14 release.
19726 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19727
5b27a807
UD
19728 * config.make.in (RANLIB): Remove entry.
19729
01f16ab0
UD
197302011-05-30 Ulrich Drepper <drepper@gmail.com>
19731
41fce8bd
UD
19732 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19733 (libc.pot): Work around missing support for .ksh extension in xgettext.
19734
4769ae77
UD
19735 [BZ #12684]
19736 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19737 if both request failed.
19738 (send_dg): In case of server errors clear resplen or *resplen2.
19739
6b1e7d19
UD
19740 [BZ #12454]
19741 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19742 when there are multiple maps.
19743 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19744 (_dl_fini): Remove test here.
19745
01f16ab0
UD
19746 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19747
b1ebd700
UD
197482011-05-29 Ulrich Drepper <drepper@gmail.com>
19749
7ae22829
UD
19750 [BZ #12350]
19751 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19752 bit from old_res_options.
19753 (gaih_inet): Likewise.
19754
553149f6 19755 [BZ #11099]
18a84741 19756 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19757 as signed.
19758
652ffab1
UD
19759 * resolv/res_init.c (res_setoptions): Make the code more compact.
19760
16985fd0
UD
19761 [BZ #11558]
19762 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19763 set RES_USEVC.
19764
0464f746
UD
19765 [BZ #11634]
19766 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19767
7d17596c
UD
19768 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19769
cf6bbbd7
UD
19770 [BZ #11781]
19771 * malloc/malloc.h: Declare malloc hook variables as volatile.
19772
13f1ab36
UD
19773 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19774 in last patch.
19775
b1ebd700
UD
19776 [BZ #11799]
19777 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19778 raise in the comment.
80e2212d
UD
19779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19781 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19782
ce67228d
UD
197832011-05-28 Ulrich Drepper <drepper@gmail.com>
19784
8887a920
UD
19785 [BZ #12811]
19786 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19787 grow the buffers more if it already has to be sufficient.
19788 (build_wcs_upper_buffer): Likewise.
19789 * posix/regexec.c (check_matching): Likewise.
19790 (clean_state_log_if_needed): Likewise.
19791 (extend_buffers): Don't enlarge buffers beyond size of the input
19792 buffer.
19793 Patches mostly by Emil Wojak <emil@wojak.eu>.
19794 * posix/bug-regex32.c: New file.
19795 * posix/Makefile (tests): Add bug-regex32.
19796
4f031072
UD
19797 * locale/findlocale.c (_nl_find_locale): Return right away if
19798 _nl_explode_name failed.
19799 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19800
d0478f0c
UD
19801 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19802
de81b246
UD
19803 * debug/xtrace.sh: Unify messages.
19804 * malloc/memusage.sh: Likewise.
19805
c738465a
UD
19806 [BZ #12813]
19807 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19808 time symbol from vDSO. Substitute with vsyscall if not available.
19809 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19810 __vdso_time.
19811
f1f929d7
UD
19812 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19813 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19814 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19815 Add sendmmsg and internal_sendmmsg.
19816 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19817 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19818 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19819
ce67228d
UD
19820 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19821 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19823
e57420c6
UD
198242011-05-27 Ulrich Drepper <drepper@gmail.com>
19825
a8509ca5
UD
19826 [BZ #12813]
19827 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19828 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19829 available.
19830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19831 __vdso_getcpu.
19832
e57420c6
UD
19833 [BZ #12814]
19834 * iconvdata/Makefile (tests): Add bug-iconv9.
19835 * iconvdata/bug-iconv9.c: New file.
19836
4d07db15
AS
198372011-05-27 Andreas Schwab <schwab@redhat.com>
19838
19839 [BZ #12814]
19840 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19841
ea486f69
JJ
198422011-05-25 Jakub Jelinek <jakub@redhat.com>
19843
19844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19845 (struct user_regs_struct): Change intcs field back to cs.
19846
6f038433
UD
198472011-05-25 Ulrich Drepper <drepper@gmail.com>
19848
19849 * po/ja.po: Update from translation team.
19850
67f86a25
UD
198512011-05-23 Ulrich Drepper <drepper@gmail.com>
19852
19853 [BZ #12795]
19854 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19855 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19856
def7fbd6
AS
198572011-05-20 Andreas Schwab <schwab@redhat.com>
19858
19859 * stdlib/longlong.h: Update from GCC.
19860
f50ef8f1
AS
198612011-05-23 Andreas Schwab <schwab@redhat.com>
19862
19863 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19864 parameter name.
19865 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19866 Add parameter name.
19867 (__sysconf): Pass it down.
19868
de7ce8f1
UD
198692011-05-22 Ulrich Drepper <drepper@gmail.com>
19870
f2962a71
UD
19871 [BZ #12671]
19872 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19873 some situations.
19874 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19875 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19876 add in in __libc_use_alloca calls. Adjust callers.
19877 (glob): Use malloc in some situations.
19878
de7ce8f1
UD
19879 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19880 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19881 pltexit.
19882
aec84f53
UD
198832011-05-21 Ulrich Drepper <drepper@gmail.com>
19884
05bb4a68
UD
19885 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19886 and CLOCK_BOOTTIME_ALARM.
19887
7ea72f99
UD
19888 [BZ #12782]
19889 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19890 is returned.
19891
7e4afad5
UD
19892 * string/_strerror.c (__strerror_r): Print negative errors as signed
19893 numbers.
19894
8e211fec
UD
19895 [BZ #12777]
19896 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19897 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19898 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19899
f7d82dc9
UD
19900 * configure.in: Fix typo in redirection and correct removal of test
19901 files in two cases.
19902
cc9e536d
UD
19903 [BZ #12788]
19904 * locale/setlocale.c (new_composite_name): Fix test to check for
19905 identical name of all categories.
19906
aec84f53
UD
19907 [BZ #12792]
19908 * libio/filedoalloc.c (local_isatty): New function.
19909 (_IO_file_doallocate): Use local_isatty.
19910 * stdio-common/perror.c (perror): In case a new stream is used
19911 forward the stream error.
19912 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19913 error flag.
19914
78e64fdc
RT
199152011-05-20 Ulrich Drepper <drepper@gmail.com>
19916
34a9094f
UD
19917 [BZ #11869]
19918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19919 alloca.
19920 * include/alloca.h (extend_alloca_account): Define.
19921
78e64fdc
RT
19922 [BZ #11857]
19923 * posix/regex.h: Fix comments with documentation of user-accessible
19924 fields after compilation and describe correct free'ing of pattern
19925 after re_compile_pattern.
19926 Patch by Reuben Thomas <rrt@sc3d.org>.
19927
457bddfc
RA
199282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19929
19930 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19931 and -mno-altivec to prevent the compiler from using Altivec and/or
19932 VSX instructions when the corresponding registers are not available.
19933
a4527b51
AS
199342011-05-19 Andreas Schwab <schwab@redhat.com>
19935
19936 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19937
ed690b2f
UD
199382011-05-19 Ulrich Drepper <drepper@gmail.com>
19939
19940 * libio/freopen.c (freopen): Use __dup2, not dup2.
19941 * libio/freopen64.c (freopen64): Likewise.
19942
8db73634
L
199432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19944
19945 [BZ #12775]
19946 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19947 * math/Makefile (tests): Add test-powl.
19948 (CFLAGS-test-powl.c): Define.
19949 * math/test-powl.c: New file.
19950
0a197a9d
L
199512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19952
19953 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19954
ee30c380
UD
199552011-05-17 Ulrich Drepper <drepper@gmail.com>
19956
19957 [BZ #11837]
19958 * iconvdata/gb18030.c: Update to GB18020-2005.
19959
6ce75379
UD
199602011-05-16 Ulrich Drepper <drepper@gmail.com>
19961
a4b89fd8
AR
19962 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19963 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19964 Patch by Aharon Robbins <arnold@skeeve.com>.
19965
ea389b12
UD
19966 [BZ #11892]
19967 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19968 on the stack.
19969
68a3f91f
UD
19970 [BZ #11895]
19971 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19972 through underflows.
19973
15cc7dd1
UD
19974 [BZ #12766]
19975 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19976 point to strings before performing equality test for error_one_per_line
19977 mode.
19978
f3799213
UD
19979 [BZ #11697]
19980 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19981
d79a9c94
UD
19982 [BZ #11820]
19983 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19984 (struct user_fpregs_struct): Avoid __uint*_t types.
19985
56e5eb46
UD
19986 [BZ #6420]
19987 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19988 symbol info. Use it instead of calling _dl_addr locally.
19989 (lock_and_info): New function.
19990 (tr_freehook): Call lock_and_info and pass symbol info as additional
19991 parameter to tr_where.
19992 (tr_mallochook): Likewise.
19993 (tr_reallochook): Likewise.
19994 (tr_memalignhook): Likewise.
19995
6ce75379
UD
19996 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19997 used and couldn't be at all thread-safe.
19998
f8a3b5bf
UD
199992011-05-15 Ulrich Drepper <drepper@gmail.com>
20000
94b7cc37
UD
20001 * libio/freopen.c (freopen): Don't close old file descriptor
20002 before the new one is opened. Instead dup the new file descriptor
20003 to the old one after the new stream is created.
20004 * libio/freopen64.c (freopen64): Likewise.
20005 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20006 * libio/fileops.c (_IO_new_file_close_it): Handle new
20007 _IO_FLAGS2_NOCLOSE flag.
20008 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20009 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20010 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20011 _IO_FLAGS2_NOCLOSE flag.
20012 * include/unistd.h: Add hidden_proto for dup3.
20013 Define __have_dup3.
20014 * io/dup3.c: Define hidden symbol.
20015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20016
bd25564e
UD
20017 [BZ #7101]
20018 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20019 when an incomplete long option is used.
20020 * posix/tst-getopt_long1.c: New file.
20021 * posix/Makefile (tests): Add tst-getopt_long1.
20022
c84cfef4
UD
20023 [BZ #10138]
20024 * scripts/config.guess: Update from autoconf-2.68.
20025 * scripts/config.sub: Likewise.
20026
3b85df27
UD
20027 [BZ #10157]
20028 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20029 tests into ...
20030 (has_cpuclock): ...this. New function.
20031 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20032 macro here based on has_cpuclock code.
20033
15a856b1
UD
20034 [BZ #10149]
20035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20036 First byte (not low byte) is now always NUL.
20037 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20038
05f399e6
UD
20039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20040 Use non-cancelable interfaces.
20041
10a52685 20042 [BZ #9809]
94ecc67d
UD
20043 * locale/iso-639.def: Add entry for Sorani.
20044
f8a3b5bf
UD
20045 [BZ #11901]
20046 * include/stdlib.h: Move include protection to the right place.
20047 Define abort_msg_s. Declare __abort_msg with it.
20048 * stdlib/abort.c (__abort_msg): Adjust type.
20049 * assert/assert.c (__assert_fail_base): New function. Majority
20050 of code from __assert_fail. Allocate memory for __abort_msg with
20051 mmap.
20052 (__assert_fail): Now call __assert_fail_base.
20053 * assert/assert-perr.c: Remove bulk of implementation. Use
20054 __assert_fail_base.
20055 * include/assert.hL Declare __assert_fail_base.
20056 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20057 mmap.
20058 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20059
1af4e298
UD
200602011-05-14 Ulrich Drepper <drepper@gmail.com>
20061
f8a3b5bf 20062 [BZ #11952]
d26dfc60
MG
20063 [BZ #12453]
20064 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20065 until all modules are registered in the DTV.
20066 * elf/Makefile: Add rules to build and run tst-tls19.
20067 * elf/tst-tls19.c: New file.
20068 * elf/tst-tls19mod1.c: New file.
20069 * elf/tst-tls19mod2.c: New file.
20070 * elf/tst-tls19mod3.c: New file.
20071 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20072
2fc54d6f
UD
20073 [BZ #12083]
20074 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20075 correctly.
20076
98d76b46
UD
20077 [BZ #12601]
20078 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20079 two-byte sequence errors.
20080 * iconvdata/Makefile (tests): Add bug-iconv8.
20081 * iconvdata/bug-iconv8.c: New file.
20082
da3c19ef
UD
20083 [BZ #12626]
20084 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20085 buf2 definition.
20086
ca408c15
UD
20087 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20088
d6f67f7d
UD
20089 [BZ #12432]
20090 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20091 (dummy_getcfa): New function.
20092 (init): Get _Unwind_GetCFA address, use dummy if not found.
20093 (backtrace_helper): In recursion check, also check whether CFA changes.
20094 (__backtrace): Completely initialize arg.
20095
1af4e298 20096 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20097 storing incomplete byte sequence in state object. Avoid testing for
20098 guaranteed too small input if we know there is enough data available.
1af4e298 20099
da62f81b
AS
201002011-05-11 Andreas Schwab <schwab@redhat.com>
20101
20102 * Makeconfig (+link-pie): Indent.
20103 * Rules (binaries-pie): Define if $(have-fpie) and
20104 $(build-shared).
20105 (binaries-shared): Also filter out $(binaries-pie).
20106 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20107 * nscd/Makefile (others-pie): Add nscd.
20108 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20109 ($(objpfx)nscd): Remove command override.
20110 * login/Makefile (others-pie): Add pt_chown.
20111 ($(objpfx)pt_chown): Remove command override.
20112 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20113 remove command overrides.
20114
fcabc0f8
UD
201152011-05-13 Ulrich Drepper <drepper@gmail.com>
20116
20030ae6
UD
20117 * libio/tst_putwc.c: Fix error messages.
20118
fcabc0f8
UD
20119 [BZ #12724]
20120 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20121 currently writing and seek to current position when not.
20122 * libio/Makefile (tests): Add bug-fclose1.
20123 * libio/bug-fclose1.c: New file.
20124
320a5dc0
PB
201252011-05-12 Ulrich Drepper <drepper@gmail.com>
20126
20127 [BZ #12511]
20128 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20129 don't set DF_1_NODELETE here.
20130 (do_lookup_x): When entering new entry test for copy relocation
20131 and if necessary set DF_1_NODELETE flag.
20132 * elf/tst-unique4.cc: New file.
20133 * elf/tst-unique4.h: New file.
20134 * elf/tst-unique4lib.cc: New file.
20135 * elf/Makefile: Add rules to build and run tst-unique4.
20136 Patch by Piotr Bury <pbury@goahead.com>.
20137
22836f52
UD
201382011-05-11 Ulrich Drepper <drepper@gmail.com>
20139
f574184a
UD
20140 [BZ #12052]
20141 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20142
e1fb097f
UD
20143 [BZ #12625]
20144 * misc/mntent_r.c (addmntent): Flush the stream after the output
20145
22836f52
UD
20146 [BZ #12393]
20147 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20148 (is_trusted_path_normalize): Skip initial colon. Append slash
20149 to empty buffer. Duplicate is_trusted_path code but allow
20150 constructed patch to be prefix.
20151 (is_dst): Allow $ORIGIN followed by /.
20152 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20153 Correct testing of result of is_trusted_path_normalize
20154 (decompose_rpath): Fix warning.
20155
7b3b0b2a
UD
201562011-05-10 Ulrich Drepper <drepper@gmail.com>
20157
20158 [BZ #11257]
20159 * grp/initgroups.c (internal_getgrouplist): When we found the service
20160 list through the initgroups entry in nsswitch.conf do not always
20161 continue on a successful lookup. Don't always use the
eac80ce2 20162 __nss_group_database value if it is set.
7b3b0b2a
UD
20163 * nss/nsswitch.conf (initgroups): Change action for successful db
20164 lookup to continue for compatibility.
20165
2a81eaa5
UD
201662011-05-09 Ulrich Drepper <drepper@gmail.com>
20167
be97a69e
UD
20168 [BZ #11532]
20169 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20170 and CP774 modules.
20171 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20172 and CP774 modules.
20173 * iconvdata/tst-tables.sh: Likewise.
20174 * iconvdata/cp770.c: New file.
20175 * iconvdata/cp771.c: New file.
20176 * iconvdata/cp772.c: New file.
20177 * iconvdata/cp773.c: New file.
20178 * iconvdata/cp774.c: New file.
20179 * iconvdata/testdata/CP770: New file.
20180 * iconvdata/testdata/CP770..UTF8: New file.
20181 * iconvdata/testdata/CP771: New file.
20182 * iconvdata/testdata/CP771..UTF8: New file.
20183 * iconvdata/testdata/CP772: New file.
20184 * iconvdata/testdata/CP772..UTF8: New file.
20185 * iconvdata/testdata/CP773: New file.
20186 * iconvdata/testdata/CP773..UTF8: New file.
20187 * iconvdata/testdata/CP774: New file.
20188 * iconvdata/testdata/CP774..UTF8: New file.
20189
20190 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20191 END CHARMAP line.
20192 * iconvdata/gen-8bit-gap.sh: Likewise.
20193 * iconvdata/gen-8bit.sh: Likewise.
20194
c1e9e399
UD
20195 * locale/iso-639.def: Add ary entry.
20196
24c55fb3 20197 [BZ #11258]
96b4b1b0
UD
20198 * locale/C-translit.h.in: Add U20A1 transliteration.
20199
bdc2f971
KB
20200 [BZ #12178]
20201 * locale/iso-639.def: Add wae entry.
20202 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20203
2952b117
UD
20204 [BZ #12545]
20205 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20206 for n.
20207
2a81eaa5
UD
20208 [BZ #12711]
20209 * locale/C-translit.h.in: Add entry for U20B9.
20210 Patch by pravin.d.s@gmail.com.
20211
28377d1b
UD
202122011-05-08 Ulrich Drepper <drepper@gmail.com>
20213
7fb90fb8
UD
20214 [BZ #12713]
20215 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20216 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20217 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20218 in rtld. Use *stat64.
7fb90fb8 20219 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20220 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20221 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20222 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20223 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20224 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20225 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20226 __fstatat64 macros.
7fb90fb8
UD
20227 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20228 * dirent/rewinddir.c: Add libc_hidden_def.
20229 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20230 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20231
28377d1b
UD
20232 * include/dirent.h (__alloc_dir): Add flags parameter.
20233 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20234 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20235 __alloc_dir.
20236 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20237 from fdopendir if O_CLOEXEC is already set.
20238
66bdbaa4
AM
202392011-03-15 Alan Modra <amodra@gmail.com>
20240
20241 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20242 l_tls_firstbyte_offset non-zero. Save padding offset in
20243 l_tls_firstbyte_offset for later use.
20244 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20245 freeing static tls block.
20246
95721191
JN
202472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20248
20249 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20250 where #ifdef was intended. The intent is to prevent ARG_MAX from
20251 being defined by the kernel headers.
20252
f87dfb1f
UD
202532011-05-07 Ulrich Drepper <drepper@gmail.com>
20254
20255 [BZ #12734]
20256 * resolv/resolv.h: Define RES_NOTLDQUERY.
20257 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20258 no-tld-query and set RES_NOTLDQUERY.
20259 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20260 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20261 modern BIND to search name as TLD unless forbidden.
20262
47c3cd7a
UD
202632011-05-07 Petr Baudis <pasky@suse.cz>
20264 Ulrich Drepper <drepper@gmail.com>
20265
20266 [BZ #12393]
20267 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20268 (is_trusted_path): ...to here.
c1e9ea35 20269 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20270 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20271 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20272
8a35c912
PP
202732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20274
20275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20276 __BEGIN/__END_DECLS.
20277
acd41f47
UD
202782011-05-06 Ulrich Drepper <drepper@gmail.com>
20279
20280 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20281 NSS_STATUS_NOTFOUND if no record was found.
20282
597df647
AS
202832011-05-05 Andreas Schwab <schwab@redhat.com>
20284
20285 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20286 (headers-not-in-tirpc): Remove rpc/netdb.h
20287 * resolv/netdb.h: Revert last change.
20288
b9af1301
PP
202892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20290
20291 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20292 circular dependency between libgcc.a and libc.a.
20293
4e34d5f5
AS
202942011-05-05 Andreas Schwab <schwab@redhat.com>
20295
20296 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20297 * nis/Makefile: Don't install rpcsvc/*.
20298 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20299 instead of <rpc/types.h>.
20300 (MAXHOSTNAMELEN): Define.
20301
00ee369c
AS
203022011-05-03 Andreas Schwab <schwab@redhat.com>
20303
20304 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20305
0b592a30
MB
203062011-04-28 Maciej Babinski <mbabinski@google.com>
20307
20308 [BZ #12714]
20309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20310 gethostbyname4_r when IPv6 results are possible.
20311
6e04cbbe
UD
203122011-05-02 Ulrich Drepper <drepper@gmail.com>
20313
20314 [BZ #12723]
20315 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20316 _PC_PIPE_BUF handling.
20317
e4ecafe0
BH
203182011-04-30 Bruno Haible <bruno@clisp.org>
20319
20320 [BZ #12717]
20321 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20322 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20323 to 'int'.
20324 * inet/getnameinfo.c (getnameinfo): Likewise.
20325
125ee683
UD
203262011-04-29 Ulrich Drepper <drepper@gmail.com>
20327
20328 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20329 to groups setting in database lookup.
20330 * nss/nsswitch.conf: Add initgroups entry.
20331
b722481a
EB
203322011-04-22 Ulrich Drepper <drepper@gmail.com>
20333
20334 [BZ #12685]
20335 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20336 mode string.
20337 Patch by Eric Blake <eblake@redhat.com>.
20338
4df46dbd
L
203392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20340
20341 * sunrpc/Makefile (need-export-routines): Add svc_run.
20342 (routines): Remove svc_run.
20343 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20344 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20345 * sunrpc/svc_run.c (svc_run): Likewise.
20346 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20347
e84142d2
UD
203482011-04-21 Ulrich Drepper <drepper@gmail.com>
20349
20350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20351 problem in reallocation in last patch.
20352
877175d8
UD
203532011-04-20 Ulrich Drepper <drepper@gmail.com>
20354
20355 * sunrpc/Makefile: Move inclusion of Rules.
20356
ab8eed78
UD
203572011-04-19 Ulrich Drepper <drepper@gmail.com>
20358
20359 * nss/nss_files/files-initgroups.c: New file.
20360 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20361 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20362 _nss_files_initgroups_dyn.
20363
e3d8f584
RS
203642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20365
20366 * elf/elf.h (R_ARM_IRELATIVE): Define.
20367
af190f45
UD
203682011-04-19 Ulrich Drepper <drepper@gmail.com>
20369
20370 * po/ru.po: Update from translation team.
20371
53cf59ef
UD
203722011-04-17 Ulrich Drepper <drepper@gmail.com>
20373
20374 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20375 dependencies.
20376
4c559bcd
MF
203772011-02-06 Mike Frysinger <vapier@gentoo.org>
20378
20379 [BZ #12653]
20380 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20381 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20382 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20385
4420675c
AS
203862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20387
20388 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20389 differing bytes.
20390 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20393
75ea32ab
UD
203942011-04-17 Ulrich Drepper <drepper@gmail.com>
20395
20396 [BZ #12420]
20397 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20398 storing it.
20399 * stdlib/bug-getcontext.c: New file.
20400 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20401
27390476
AK
204022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20403
20404 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20405 instructions into .machine "z9-109".
20406 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20407 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20408
10442705
AK
204092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20410
20411 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20412 between environment variables and auxiliary vector.
20413
7b57bfe5
UD
204142011-04-16 Ulrich Drepper <drepper@gmail.com>
20415
20416 * Makefile: Add rules to build linkobj/libc.so.
20417 * include/libc-symbols.h: Define libc_hidden_nolink.
20418 * include/rpc/auth.h: Mark functions which are to be hidden.
20419 * include/rpc/auth_des.h: Likewise.
20420 * include/rpc/auth_unix.h: Likewise.
20421 * include/rpc/clnt.h: Likewise.
20422 * include/rpc/des_crypt.h: Likewise.
20423 * include/rpc/key_prot.h: Likewise.
20424 * include/rpc/pmap_clnt.h: Likewise.
20425 * include/rpc/pmap_prot.h: Likewise.
20426 * include/rpc/pmap_rmt.h: Likewise.
20427 * include/rpc/rpc_msg.h: Likewise.
20428 * include/rpc/svc.h: Likewise.
20429 * include/rpc/svc_auth.h: Likewise.
20430 * include/rpc/xdr.h: Likewise.
20431 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20432 * nss/Makefile: Likewise.
20433 * sunrpc/Makefile: Don't install headers. Build library with normal
20434 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20435 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20436 for the compat linking library. Remove use of INTDEF/INTUSE.
20437 * sunrpc/auth_none.c: Likewise.
20438 * sunrpc/auth_unix.c: Likewise.
20439 * sunrpc/authdes_prot.c: Likewise.
20440 * sunrpc/authuxprot.c: Likewise.
20441 * sunrpc/clnt_gen.c: Likewise.
20442 * sunrpc/clnt_perr.c: Likewise.
20443 * sunrpc/clnt_raw.c: Likewise.
20444 * sunrpc/clnt_simp.c: Likewise.
20445 * sunrpc/clnt_tcp.c: Likewise.
20446 * sunrpc/clnt_udp.c: Likewise.
20447 * sunrpc/clnt_unix.c: Likewise.
20448 * sunrpc/des_crypt.c: Likewise.
20449 * sunrpc/des_soft.c: Likewise.
20450 * sunrpc/get_myaddr.c: Likewise.
20451 * sunrpc/key_call.c: Likewise.
20452 * sunrpc/key_prot.c: Likewise.
20453 * sunrpc/netname.c: Likewise.
20454 * sunrpc/pm_getmaps.c: Likewise.
20455 * sunrpc/pm_getport.c: Likewise.
20456 * sunrpc/pmap_clnt.c: Likewise.
20457 * sunrpc/pmap_prot.c: Likewise.
20458 * sunrpc/pmap_prot2.c: Likewise.
20459 * sunrpc/pmap_rmt.c: Likewise.
20460 * sunrpc/publickey.c: Likewise.
20461 * sunrpc/rpc_cmsg.c: Likewise.
20462 * sunrpc/rpc_common.c: Likewise.
20463 * sunrpc/rpc_dtable.c: Likewise.
20464 * sunrpc/rpc_prot.c: Likewise.
20465 * sunrpc/rpc_thread.c: Likewise.
20466 * sunrpc/rtime.c: Likewise.
20467 * sunrpc/svc.c: Likewise.
20468 * sunrpc/svc_auth.c: Likewise.
20469 * sunrpc/svc_authux.c: Likewise.
20470 * sunrpc/svc_raw.c: Likewise.
20471 * sunrpc/svc_run.c: Likewise.
20472 * sunrpc/svc_simple.c: Likewise.
20473 * sunrpc/svc_tcp.c: Likewise.
20474 * sunrpc/svc_udp.c: Likewise.
20475 * sunrpc/svc_unix.c: Likewise.
20476 * sunrpc/svcauth_des.c: Likewise.
20477 * sunrpc/xcrypt.c: Likewise.
20478 * sunrpc/xdr.c: Likewise.
20479 * sunrpc/xdr_array.c: Likewise.
20480 * sunrpc/xdr_float.c: Likewise.
20481 * sunrpc/xdr_intXX_t.c: Likewise.
20482 * sunrpc/xdr_mem.c: Likewise.
20483 * sunrpc/xdr_rec.c: Likewise.
20484 * sunrpc/xdr_ref.c: Likewise.
20485 * sunrpc/xdr_sizeof.c: Likewise.
20486 * sunrpc/xdr_stdio.c: Likewise.
20487
e6c61494
UD
204882011-04-10 Ulrich Drepper <drepper@gmail.com>
20489
20490 [BZ #12650]
20491 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20492 * sysdeps/ia64/dl-tls.h: Likewise.
20493 * sysdeps/powerpc/dl-tls.h: Likewise.
20494 * sysdeps/s390/dl-tls.h: Likewise.
20495 * sysdeps/sh/dl-tls.h: Likewise.
20496 * sysdeps/sparc/dl-tls.h: Likewise.
20497 * sysdeps/x86_64/dl-tls.h: Likewise.
20498 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20499
34fe483e
AS
205002011-03-14 Andreas Schwab <schwab@redhat.com>
20501
20502 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20503 rpath element also skip the following colon.
20504 (expand_dynamic_string_token): Add is_path parameter and pass
20505 down to DL_DST_REQUIRED and _dl_dst_substitute.
20506 (decompose_rpath): Call expand_dynamic_string_token with
20507 non-zero is_path. Ignore empty rpaths.
20508 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20509 with zero is_path.
20510
f12a32e6
AS
205112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20512
20513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20514 Make cancelable.
20515
38a7d692
UD
205162011-04-09 Ulrich Drepper <drepper@gmail.com>
20517
20518 [BZ #12655]
20519 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20520 Patch by Filipe David Manana <fdmanana@apache.org>.
20521
e451d22b
AS
205222011-04-07 Andreas Schwab <schwab@redhat.com>
20523
20524 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20525 Maintain aligned stack.
20526 (CHECK_RSP): Remove unused macro.
20527
dedc7c7b
UD
205282011-04-03 Ulrich Drepper <drepper@gmail.com>
20529
20530 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20532
94521213
UD
205332011-04-02 Ulrich Drepper <drepper@gmail.com>
20534
20535 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20536
8cb700c0 20537 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20538
0354e355
L
205392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20540
20541 [BZ #12518]
20542 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20543 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20544 * sysdeps/x86_64/memmove.c: New file.
20545 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20546 (memcpy): Renamed to ...
20547 (__new_memcpy): This.
20548 (memcpy): Provide GLIBC_2_14 memcpy.
20549 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20550 (memcpy): Provide GLIBC_2_2_5 memcpy.
20551
8593482f
UD
205522011-04-01 Ulrich Drepper <drepper@gmail.com>
20553
20554 [BZ #12631]
20555 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20556
81a5726b
AS
205572011-03-30 Andreas Schwab <schwab@redhat.com>
20558
20559 * misc/syncfs.c: New file.
20560 * misc/Makefile (routines): Add syncfs.
20561 * posix/unistd.h: Declare syncfs.
20562 * sysdeps/unix/syscalls.list: Add syncfs.
20563
00e5419f
AS
205642011-04-01 Andreas Schwab <schwab@redhat.com>
20565
20566 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20567 open_by_handle_at.
20568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20569 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20573 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20575
748876bf
UD
205762011-04-01 Ulrich Drepper <drepper@gmail.com>
20577
658e451d
UD
20578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20579 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20581 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20582 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20584 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20585
748876bf
UD
20586 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20587 sync_file_range.c with -fexceptions.
20588 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20589 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20590 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20591 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20592 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20593 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20595 sync_file_range as cancellation point
20596 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20597 now a wrapper around __call_sync_file_range with cancellation handling.
20598 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20599 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20600 function name to __call_sync_file_range.
20601 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20602 Add call_sync_file_range.
748876bf 20603
6e63d5e1
AS
206042011-04-01 Andreas Schwab <schwab@redhat.com>
20605
20606 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20607 bits/timex.h.
6e63d5e1 20608
46998f74
UD
206092011-04-01 Ulrich Drepper <drepper@gmail.com>
20610
4c1423ed
UD
20611 * iconv/iconv.h: Fix typo in comment.
20612 * io/fcntl.h: Likewise.
20613 * libio/stdio.h: Likewise.
20614 * posix/spawn.h: Likewise.
20615 * posix/unistd.h: Likewise.
20616 * stdlib/stdlib.h: Likewise.
20617 * time/time.h: Likewise.
20618 * wcsmbs/wchar.h: Likewise.
20619
158648c0
UD
20620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20621 open_by_handle): Add.
20622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20623 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20624 Augment a few comments.
20625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20629 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20630 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20631 open_by_handle.
20632
46998f74
UD
20633 * io/fcntl.h (AT_EMPTY_PATH): Define.
20634
83fe108b
UD
206352011-03-30 Ulrich Drepper <drepper@gmail.com>
20636
20637 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20638 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20639 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20640 to...
20641 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20642 * Versions.def: Add GLIBC_2.14.
20643 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20644 Export.
83fe108b 20645
bb242059
UD
206462011-03-22 Ulrich Drepper <drepper@gmail.com>
20647
20648 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20649 round counter.
20650 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20651
c97a1282
L
206522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20653
20654 [BZ #12597]
20655 * string/test-strncmp.c (do_page_test): New function.
20656 (check2): Likewise.
20657 (test_main): Call check2.
20658 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20659
2a115601
UD
206602011-03-20 Ulrich Drepper <drepper@gmail.com>
20661
20662 [BZ #12587]
20663 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20664 Handle cache information in CPU leaf 4.
20665 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20666
8126d904
UD
206672011-03-18 Ulrich Drepper <drepper@gmail.com>
20668
042c49c6 20669 [BZ #12583]
8126d904
UD
20670 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20671 character representation.
20672 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20673
ccfe366e
RA
206742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20675
20676 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20677 END(__isnan) to END(__isnanf) to match function entry point/label
20678 EALIGN(__isnanf,...).
20679
c6e13027
JJ
206802011-03-10 Jakub Jelinek <jakub@redhat.com>
20681
20682 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20683
33f85a3f
UD
206842011-03-10 Ulrich Drepper <drepper@gmail.com>
20685
028478fa
UD
20686 [BZ #12510]
20687 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20688 copy from the symbol referenced in the relocation to initialize the
20689 used variable.
20690 Patch by Piotr Bury <pbury@goahead.com>.
20691 * elf/Makefile: Add rules to build and tst-unique3.
20692 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20693 * elf/tst-unique3.cc: New file.
20694 * elf/tst-unique3.h: New file.
20695 * elf/tst-unique3lib.cc: New file.
20696 * elf/tst-unique3lib2.cc: New file.
20697
33f85a3f
UD
20698 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20699
03592fc7
MF
207002011-03-10 Mike Frysinger <vapier@gentoo.org>
20701
20702 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20703 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20704 to _start.
03592fc7 20705
6a5ee102
UD
207062011-03-06 Ulrich Drepper <drepper@gmail.com>
20707
20708 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20709 to-be-loaded object along a path to loader is ld.so.
20710
7e4ba49c
HJ
207112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20712 Ulrich Drepper <drepper@gmail.com>
20713
20714 * sysdeps/x86_64/memset.S: After aligning destination, code
20715 branches to different locations depending on the value of
20716 misalignment, when multiarch is enabled. Fix this.
20717
207182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20719
20720 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20721 Set _x86_64_preferred_memory_instruction for AMD processsors.
20722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20723 Set bit_Prefer_SSE_for_memop for AMD processors.
20724
13a804de
UD
207252011-03-04 Ulrich Drepper <drepper@gmail.com>
20726
20727 * libio/fmemopen.c (fmemopen): Optimize a bit.
20728
9d25c392
AS
207292011-03-03 Andreas Schwab <schwab@redhat.com>
20730
20731 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20732
a5543c6a
RM
207332011-03-03 Roland McGrath <roland@redhat.com>
20734
20735 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20736
012d35f7
DM
207372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20738
7e4ba49c 20739 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20740 __bzero_ultra1 instead of __memset_ultra1.
20741
4bff6e01
AS
207422011-02-23 Andreas Schwab <schwab@redhat.com>
20743 Ulrich Drepper <drepper@gmail.com>
20744
20745 [BZ #12509]
20746 * include/link.h (struct link_map): Add l_orig_initfini.
20747 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20748 returning unsuccessfully.
20749 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20750 close of a file loaded at startup, restore the original l_initfini
20751 list.
20752 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20753 list, store the pointer.
20754 * elf/Makefile ($(objpfx)noload-mem): New rule.
20755 (noload-ENV): Define.
20756 (tests): Add $(objpfx)noload-mem.
20757 * elf/noload.c: Include <memcheck.h>.
20758 (main): Call mtrace. Close all opened handles.
20759
f2092faf
AS
207602011-02-17 Andreas Schwab <schwab@redhat.com>
20761
20762 [BZ #12454]
20763 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20764 dependencies are missing.
20765
6c8a2e88
ST
207662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20767
f2092faf 20768 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20769 Hurd needs munmap.
20770 * sysdeps/mach/hurd/ifreq.h: New file.
20771
84a42118
PB
207722011-01-27 Petr Baudis <pasky@suse.cz>
20773 Ulrich Drepper <drepper@gmail.com>
20774
071f805e 20775 [BZ 12445]#
84a42118
PB
20776 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20777 to extend_alloca().
20778 * stdio-common/bug23.c: New file.
20779 * stdio-common/Makefile (tests): Add bug23.
20780
e23fe25b
AS
207812010-09-28 Andreas Schwab <schwab@redhat.com>
20782 Ulrich Drepper <drepper@gmail.com>
20783
20784 [BZ #12489]
20785 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20786 before performing relro protection. At old place add assertion
20787 to make sure nothing changed.
20788
d3f02e10
NS
207892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20790 Glauber de Oliveira Costa <glommer@gmail.com>
20791
20792 * elf/elf.h: Add new ARM TLS relocs.
20793
d55fd7a5
RA
207942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20795
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20797 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20798 cast from r3.
20799 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20800 'tests' variable.
20801 * sysdeps/wordsize-64/tst-writev.c: New file.
20802
2206397e
RA
208032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20804
20805 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20806 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20807 insns in _dl_start to prevent a TOC reference before relocs are
20808 resolved.
20809
e9433893
UD
208102011-02-15 Ulrich Drepper <drepper@gmail.com>
20811
20812 [BZ #12469]
20813 * Makeconfig: Remove RANLIB definition.
20814 * Makerules: Don't use RANLIB.
20815 * aclocal.m4: Remove ranlib test.
20816 * configure.in: No need to check for ranlib.
20817 * elf/rtld-Rules: Don't use RANLIB.
20818
f75286c6
ST
208192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20820
8e31c82d
ST
20821 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20822 protection macro.
20823 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20824 inclusion protection macro.
20825
f75286c6
ST
20826 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20827 SIGRTMIN and SIGRTMAX and print information in that case only when
20828 SIGRTMIN is defined.
20829
c1d0e639
JJ
208302011-02-11 Jakub Jelinek <jakub@redhat.com>
20831
20832 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20833 arginfo fn returning -1.
20834
20835 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20836 and thousands string is zero terminated.
20837
edf9294e
AS
208382011-02-03 Andreas Schwab <schwab@redhat.com>
20839
20840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20841 sysdeps/unix/sysv/linux/bits/socket.h.
20842
2b7e92df
ST
208432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20844
edf9294e
AS
20845 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20846 (__CPU_COUNT): Remove old macros.
20847 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20848 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20849 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20850 (__sched_cpualloc, __sched_cpufree): Add declarations.
20851
a4c7ea7b
UD
208522011-02-05 Ulrich Drepper <drepper@gmail.com>
20853
20854 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20855 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20856 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20857 (readdhstai): Return value of addhstaiX call.
20858 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20859 (addgrbyX): Return value returned by cache_addgr.
20860 (readdgrbyname): Return value returned by addgrbyX.
20861 (readdgrbygid): Likewise.
20862 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20863 (addpwbyX): Return value returned by cache_addpw.
20864 (readdpwbyname): Return value returned by addhstbyX.
20865 (readdpwbyuid): Likewise.
20866 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20867 (addservbyX): Return value returned by cache_addserv.
20868 (readdservbyname): Return value returned by addservbyX:
20869 (readdservbyport): Likewise.
20870 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20871 (addhstbyX): Return value returned by cache_addhst.
20872 (readdhstbyname): Return value returned by addhstbyX.
20873 (readdhstbyaddr): Likewise.
20874 (readdhstbynamev6): Likewise.
20875 (readdhstbyaddrv6): Likewise.
20876 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20877 (readdinitgroups): Return value returned by addinitgroupsX.
20878 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20879 (prune_cache): Keep track of timeout value of re-added entries.
20880 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20881 * nscd/nscd.h: Adjust prototypes of readd* functions.
20882
a0bf67cc
RM
208832011-02-04 Roland McGrath <roland@redhat.com>
20884
20885 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20886 (nis_stats): Likewise.
20887 * nis/nis_modify.c (nis_modify): Likewise.
20888 * nis/nis_remove.c (nis_remove): Likewise.
20889 * nis/nis_add.c (nis_add): Likewise.
20890
20891 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20892
20893 * posix/fnmatch_loop.c: Add some consts.
20894
20895 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20896
435b95eb
L
208972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20898
20899 [BZ #12460]
20900 * config.make.in (config-cflags-novzeroupper): Define.
20901 * configure.in: Substitute libc_cv_cc_novzeroupper.
20902 * elf/Makefile (AVX-CFLAGS): Define.
20903 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20904 (CFLAGS-tst-auditmod4a.c): Likewise.
20905 (CFLAGS-tst-auditmod4b.c): Likewise.
20906 (CFLAGS-tst-auditmod6b.c): Likewise.
20907 (CFLAGS-tst-auditmod6c.c): Likewise.
20908 (CFLAGS-tst-auditmod7b.c): Likewise.
20909 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20910
8517b15e
UD
209112011-02-02 Ulrich Drepper <drepper@gmail.com>
20912
20913 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20914 function to the callback.
20915 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20916
10a656fe
AS
209172011-02-02 Andreas Schwab <schwab@redhat.com>
20918
20919 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20920 of errno.
20921
968dad0a
UD
209222011-01-19 Ulrich Drepper <drepper@gmail.com>
20923
9f94d2ea 20924 [BZ #11724]
968dad0a
UD
20925 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20926 of constructors.
20927 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20928 of destructors.
20929 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20930
20931 [BZ #11724]
20932 * elf/Makefile: Add rules to build and run new test.
20933 * elf/tst-initorder.c: New file.
20934 * elf/tst-initorder.exp: New file.
20935 * elf/tst-initordera1.c: New file.
20936 * elf/tst-initordera2.c: New file.
20937 * elf/tst-initordera3.c: New file.
20938 * elf/tst-initordera4.c: New file.
20939 * elf/tst-initorderb1.c: New file.
20940 * elf/tst-initorderb2.c: New file.
20941 * elf/tst-order-a1.c: New file.
20942 * elf/tst-order-a2.c: New file.
20943 * elf/tst-order-a3.c: New file.
20944 * elf/tst-order-a4.c: New file.
20945 * elf/tst-order-b1.c: New file.
20946 * elf/tst-order-b2.c: New file.
20947 * elf/tst-order-main.c: New file.
20948 New test case by George Gensure <werkt0@gmail.com>.
20949
86e92359
UD
209502010-10-01 Andreas Schwab <schwab@redhat.com>
20951
20952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20953 decoding ACE if AI_CANONIDN.
20954
5d5732b0
UD
209552011-01-18 Ulrich Drepper <drepper@gmail.com>
20956
20957 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20958
a77e8cbc
UD
209592011-01-17 Ulrich Drepper <drepper@gmail.com>
20960
6392473f
UD
20961 * version.h (RELEASE): Bump for 2.13 release.
20962 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20963
620a0529
UD
20964 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20965
18ba70a5
UD
20966 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20967 MADV_NOHUGEPAGE.
32465c3e
UD
20968 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20969 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20974
c0dafcf1
UD
20975 * posix/getconf.c: Update copyright year.
20976 * catgets/gencat.c: Likewise.
20977 * csu/version.c: Likewise.
20978 * debug/catchsegv.sh: Likewise.
20979 * debug/xtrace.sh: Likewise.
20980 * elf/ldconfig.c: Likewise.
20981 * elf/ldd.bash.in: Likewise.
20982 * elf/sprof.c (print_version): Likewise.
20983 * iconv/iconv_prog.c: Likewise.
20984 * iconv/iconvconfig.c: Likewise.
20985 * locale/programs/locale.c: Likewise.
20986 * locale/programs/localedef.c: Likewise.
20987 * malloc/memusage.sh: Likewise.
20988 * malloc/mtrace.pl: Likewise.
20989 * nscd/nscd.c (print_version): Likewise.
20990 * nss/getent.c: Likewise.
20991
a77e8cbc
UD
20992 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20993 PF_CAIF, and PF_ALG.
20994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20995
77e8bddf
AS
209962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20997
1f20b93a
AS
20998 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20999 (modules-names): Use them.
21000 (ifunc-test-modules, ifunc-pie-tests): Define.
21001 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21002 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21003 (test-extras): Likewise.
21004 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21005 $(compile-command.c).
21006 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21007 (all-built-dso): Define.
21008 (check-textrel.out, check-execstack.out): Depend on it.
21009
77e8bddf
AS
21010 * configure.in: Don't override --enable-multi-arch.
21011
bc425b33
UD
210122011-01-15 Ulrich Drepper <drepper@gmail.com>
21013
21014 [BZ #6812]
21015 * nscd/hstcache.c (tryagain): Define.
21016 (cache_addhst): Return tryagain not notfound for temporary errors.
21017 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21018 failed.
21019
794c3ad3
UD
210202011-01-14 Ulrich Drepper <drepper@gmail.com>
21021
70181fdd
UD
21022 [BZ #10563]
21023 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21024 to make the syscall.
21025 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21026
794c3ad3
UD
21027 [BZ #12378]
21028 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21029 and fall back to matching as normal character if the string ends before
21030 the matching ']' is found. This is what POSIX requires.
21031 * posix/testfnm.c: Adjust test result.
21032 * posix/globtest.sh: Adjust test result. Add new test.
21033 * posix/tst-fnmatch.input: Likewise.
21034 * posix/tst-fnmatch2.c: Add new test.
21035
68dc9497
AS
210362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21037
21038 * elf/Makefile (check-execstack): Revert last change. Depend on
21039 check-execstack.h.
21040 (check-execstack.h): New target.
21041 (generated): Add check-execstack.h.
21042 * elf/check-execstack.c: Include "check-execstack.h".
21043 (main): Revert last change.
21044 (handle_file): Return zero if GNU_STACK is absent and
21045 DEFAULT_STACK_PERMS doesn't include PF_X.
21046
451f001b
UD
210472011-01-13 Ulrich Drepper <drepper@gmail.com>
21048
cfa28e56
UD
21049 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21050 in child fails because the descriptor is already closed.
8cf8ce17
UD
21051 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21052 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21053 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21054
1086d70d
UD
21055 [BZ #12397]
21056 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21057 syscall.
21058
451f001b
UD
21059 [BZ #10484]
21060 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21061 temporary buffer used to handle multi lookups locally.
a85b5cb4 21062 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21063
08769175
UD
210642011-01-12 Ulrich Drepper <drepper@gmail.com>
21065
21066 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21067 loader is ld.so.
21068
5e49c52e
UD
210692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21070
21071 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21072 alignment for SSE2.
21073
60522a5f
UD
210742011-01-12 Ulrich Drepper <drepper@gmail.com>
21075
21076 [BZ #12394]
21077 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21078 characters. When rounding increased number of integer digits recompute
21079 number of groups.
21080 * stdio-common/tst-grouping.c: New file.
21081 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21082
f257bbd7
UD
210832011-01-09 Ulrich Drepper <drepper@gmail.com>
21084
21085 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21086 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21087
21088 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21089 void.
21090 * bits/select.h: Likewise.
21091
fa9c15cb
UD
210922011-01-08 Ulrich Drepper <drepper@gmail.com>
21093
21094 * po/ja.po: Update from translation team.
21095
16c2895f
DM
210962011-01-04 David S. Miller <davem@sunset.davemloft.net>
21097
21098 [BZ #11155]
21099 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21100 implementation just like for lxstat, fxstatat, et al.
21101
2543fef2
JM
211022010-12-27 Jim Meyering <meyering@redhat.com>
21103
21104 [BZ #12348]
21105 * posix/regexec.c (build_trtable): Return failure indication upon
21106 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21107
98727dbe
UD
211082010-12-25 Ulrich Drepper <drepper@gmail.com>
21109
5bd6dc5c
UD
21110 [BZ #12201]
21111 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21112 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21113 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21114 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21115
97983464
UD
21116 [BZ #12207]
21117 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21118
98727dbe
UD
21119 [BZ #12204]
21120 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21121 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21122
4a531bb0
L
211232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21126 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21127 script has SORT_BY_INIT_PRIORITY.
21128 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21129 NO_CTORS_DTORS_SECTIONS is defined.
21130 * elf/soinit.c: Likewise.
21131 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21132 NO_CTORS_DTORS_SECTIONS is defined.
21133 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21134 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21135 * sysdeps/sh/init-first.c: Likewise.
21136 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21137
07eb4b71
UD
211382010-12-24 Ulrich Drepper <drepper@gmail.com>
21139
21140 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21141 always use the slow path.
21142
30950a5f
RA
211432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21144
21145 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21146 similar rule which adds the sysdep directories to the header search in
21147 order to pick up the correct platform stackinfo.h.
21148 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21149 perform test if it is, otherwise return successfully without testing.
21150 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21151 DEFAULT_STACK_PERMS define in stackinfo.h.
21152 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21153 defined in stackinfo.h.
21154 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21155 DEFAULT_STACK_PERMS defined in stackinfo.h.
21156 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21157 * sysdeps/ia64/stackinfo.h: Likewise.
21158 * sysdeps/s390/stackinfo.h: Likewise.
21159 * sysdeps/sh/stackinfo.h: Likewise.
21160 * sysdeps/sparc/stackinfo.h: Likewise.
21161 * sysdeps/x86_64/stackinfo.h: Likewise.
21162 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21163 PF_X for powerpc64. Retain PF_X for powerpc32.
21164
db753e2c
UD
211652010-12-19 Ulrich Drepper <drepper@gmail.com>
21166
14b697f7
UD
21167 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21168 accurately.
db753e2c
UD
21169 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21170 GETDENTS_64BIT_ALIGNED.
21171
28300719
UD
211722010-12-14 Ulrich Drepper <dreper@gmail.com>
21173
14b697f7 21174 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21175
4f197237
AS
211762010-12-10 Andreas Schwab <schwab@redhat.com>
21177
dbb0472f
AS
21178 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21179 _GNU_SOURCE.
21180
4f197237
AS
21181 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21182 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21183 Remove __restrict.
21184 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21185 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21186
fb88ac72
UD
211872010-12-09 Ulrich Drepper <drepper@gmail.com>
21188
21189 [BZ #11655]
21190 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21191 are initialized.
21192
42acbb92
JJ
211932010-12-09 Jakub Jelinek <jakub@redhat.com>
21194
21195 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21196
c038d98d
UD
211972010-12-03 Ulrich Drepper <drepper@gmail.com>
21198
21199 * po/it.po: Update from translation team.
21200
3a4a2499
L
212012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21202
21203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21204 unused codes.
21205
1e24cf6e
UD
212062010-11-30 Ulrich Drepper <drepper@gmail.com>
21207
21208 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21209
a7690819
AS
212102010-11-24 Andreas Schwab <schwab@redhat.com>
21211
21212 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21213 specially.
21214 (gaih_getanswer_slice): Likewise.
21215
3bf8d1b1
JJ
212162010-10-20 Jakub Jelinek <jakub@redhat.com>
21217
21218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21219
6db52fbb
PB
212202010-05-31 Petr Baudis <pasky@suse.cz>
21221
21222 [BZ #11149]
21223 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21224 silently even in the chroot mode.
21225
eaca7569
UD
212262010-11-22 Ulrich Drepper <drepper@gmail.com>
21227
21228 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21229 last patch a bit. Pretty printing
21230
3056dcdb
UD
212312010-05-31 Petr Baudis <pasky@suse.cz>
21232
21233 [BZ #10085]
21234 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21235 initialization of skip_initgroups_dyn.
21236
cf7c9078
UD
212372010-11-19 Ulrich Drepper <drepper@gmail.com>
21238
21239 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21240 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21241
a1fb5e3e
UD
212422010-11-16 Ulrich Drepper <drepper@gmail.com>
21243
21244 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21245
3540d66b
AS
212462010-11-11 Andreas Schwab <schwab@redhat.com>
21247
21248 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21249 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21250 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21251 ($(objpfx)tst-fnmatch-mem): New rule.
21252 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21253 * posix/tst-fnmatch.c (main): Call mtrace.
21254
13b69574
L
212552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21258 Support Intel processor model 6 and model 0x2c.
21259
da93d214
LM
212602010-11-10 Luis Machado <luisgpm@br.ibm.com>
21261
21262 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21263 signed comparison.
21264
8ca52c6e
L
212652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 [BZ #12205]
21268 * string/test-strncasecmp.c (check_result): New function.
21269 (do_one_test): Use it.
21270 (check1): New function.
21271 (test_main): Use it.
21272 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21273 Support strcasecmp and strncasecmp.
21274
69da074d
UD
212752010-11-08 Ulrich Drepper <drepper@gmail.com>
21276
21277 [BZ #12194]
21278 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21280
ff02d528
L
212812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21282
21283 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21284 IFUNC support.
21285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21286 memset-x86-64.
21287 * sysdeps/x86_64/multiarch/bzero.S: New file.
21288 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21289 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21290 * sysdeps/x86_64/multiarch/memset.S: New file.
21291 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21293 Set bit_Prefer_SSE_for_memop for Intel processors.
21294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21295 Define.
21296 (index_Prefer_SSE_for_memop): Define.
21297 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21298
344d0b54
LM
212992010-11-04 Luis Machado <luisgpm@br.ibm.com>
21300
21301 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21302 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21303
c0dde15b
UD
213042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21305
21306 [BZ #12191]
21307 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21308 (__x86_64_raw_data_cache_size_half): Likewise.
21309 (__x86_64_raw_shared_cache_size): Likewise.
21310 (__x86_64_raw_shared_cache_size_half): Likewise.
21311
21312 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21313 (__x86_64_raw_data_cache_size_half): Likewise.
21314 (__x86_64_raw_shared_cache_size): Likewise.
21315 (__x86_64_raw_shared_cache_size_half): Likewise.
21316 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21317 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21318 and __x86_64_raw_shared_cache_size_half. Round
21319 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21320 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21321 to multiple of 256 bytes.
21322
0e516e0e
MS
213232010-11-03 Ulrich Drepper <drepper@gmail.com>
21324
21325 [BZ #12167]
21326 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21327 of inacessible symlinks. Verify result of symlink before returning it.
21328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21329 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21330
0e012e87
ER
213312010-10-28 Erich Ritz <erichritz@gmail.com>
21332
21333 * math/math.h (isinf): Fix typo in comment.
21334
de0ff7bc
UD
213352010-11-01 Ulrich Drepper <drepper@gmail.com>
21336
21337 * po/da.po: Update from translation team.
21338
fa41c84d
UD
213392010-10-26 Ulrich Drepper <drepper@gmail.com>
21340
21341 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21342 is added to the list.
21343
f0967738
AK
213442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21345 Ulrich Drepper <drepper@gmail.com>
21346
21347 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21348 the global list here. Move code to...
21349 (_dl_add_to_namespace_list): ...here. New function.
21350 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21351 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21352 * elf/dl-load.c (lose): Don't remove the element from the list.
21353 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21354 (_dl_map_object): Likewise.
21355
213562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21357
21358 [BZ #12159]
21359 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21360 into all bytes of SSE register.
21361 Patch by Richard Li <richardpku@gmail.com>.
21362
f0967738 213632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21364
21365 [BZ #12140]
21366 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21367 perturbing.
21368
d0b9e94f
MB
213692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21370
21371 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21372 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21373 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21374 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21376 submachine.
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21378
8e9f92e9
AS
213792010-10-22 Andreas Schwab <schwab@redhat.com>
21380
21381 * include/dlfcn.h (__RTLD_SECURE): Define.
21382 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21383 mode & __RTLD_SECURE instead.
21384 (open_path): Rename preloaded parameter to secure.
21385 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21386 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21387 * elf/dl-deps.c (openaux): Likewise.
21388 * elf/rtld.c (struct map_args): Remove is_preloaded.
21389 (map_doit): Don't use it.
21390 (dl_main): Likewise.
21391 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21392 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21393
bc96fbda
AS
213942010-09-09 Andreas Schwab <schwab@redhat.com>
21395
21396 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21397 (sysd-rules-targets): Remove duplicates.
21398 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21399 rtld-%.$o dependency.
21400
22cd1c9b
AS
214012010-10-18 Andreas Schwab <schwab@redhat.com>
21402
21403 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21404 _dl_map_object do it.
21405
18edac48
UD
214062010-10-19 Ulrich Drepper <drepper@gmail.com>
21407
21408 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21409 fast fma builtins, define the macros in the C99 standard.
21410 (FP_FAST_FMAF): Likewise.
21411 (FP_FAST_FMAL): Likewise.
21412 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21413
21414 * bits/mathdef.h: Update copyright year.
21415 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21416
d2050124
MM
214172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21418
21419 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21420 builtins, define the macros in the C99 standard.
21421 (FP_FAST_FMAF): Likewise.
21422 (FP_FAST_FMAL): Likewise.
21423 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21424 multiply/add.
21425 (FP_FAST_FMAF): Likewise.
21426
475facd1
JJ
214272010-10-15 Jakub Jelinek <jakub@redhat.com>
21428
21429 [BZ #3268]
21430 * math/libm-test.inc (fma_test): Some new testcases.
21431 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21432 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21433 y and infinite z. Do multiplication by C already in long double.
21434 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21436 y and infinite z. Do bitwise or of inexact bit into u.d.
21437 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21438 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21439 * sysdeps/i386/fpu/s_fma.S: Removed.
21440 * sysdeps/i386/fpu/s_fmal.S: Removed.
21441
7c08a05c
JJ
214422010-10-16 Jakub Jelinek <jakub@redhat.com>
21443
21444 [BZ #3268]
21445 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21447 computation is not scheduled after fetestexcept. Fix value
21448 of minimum denormal long double.
21449
f3f7372d
JJ
214502010-10-14 Jakub Jelinek <jakub@redhat.com>
21451
21452 [BZ #3268]
21453 * math/libm-test.inc (fma_test): Add some more tests.
21454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21455 correctly.
21456
14d43591
AS
214572010-10-15 Andreas Schwab <schwab@redhat.com>
21458
21459 * scripts/data/localplt-s390-linux-gnu.data: New file.
21460 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21461
5e908464
JJ
214622010-10-13 Jakub Jelinek <jakub@redhat.com>
21463
21464 [BZ #3268]
21465 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21466 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21467 instead of dbl-64.
21468 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21469 inlines.
21470 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21472 if one of x and y is very large and the other is subnormal.
21473 * sysdeps/s390/fpu/s_fmaf.c: New file.
21474 * sysdeps/s390/fpu/s_fma.c: New file.
21475 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21476 * sysdeps/powerpc/fpu/s_fma.S: New file.
21477 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21478 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21479 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21480
214812010-10-12 Jakub Jelinek <jakub@redhat.com>
21482
21483 [BZ #3268]
21484 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21485 fma tests.
21486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21487 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21488 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21489 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21490 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21491 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21492 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21493
b833d51f
UD
214942010-10-12 Ulrich Drepper <drepper@redhat.com>
21495
21496 [BZ #12078]
21497 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21498 * posix/bug-regex31.input: Add test case.
21499
1751705d
UD
215002010-10-11 Ulrich Drepper <drepper@gmail.com>
21501
e9b9cbf5
UD
21502 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21503 * posix/bug-regex31.input: New file.
21504
21505 [BZ #12078]
21506 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21507 (parse_sub_exp): Fix last change, use postorder.
21508
ef06edbe
UD
21509 * posix/bug-regex31.c: New file.
21510 * posix/Makefile: Add rules to build and run bug-regex31.
21511
a129c80d
UD
21512 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21513
21514 [BZ #12078]
21515 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21516
b76b818e
UD
21517 [BZ #12108]
21518 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21519 to have entries in sys_siglist.
21520
1751705d
UD
21521 [BZ #12093]
21522 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21523 be NULL.
21524
9ff8d36f
JJ
215252010-10-07 Jakub Jelinek <jakub@redhat.com>
21526
21527 [BZ #3268]
21528 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21529 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21530 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21531 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21532 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21533 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21534 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21535 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21536 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21537 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21538 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21539 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21540 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21541 * math/ftestexcept.c (fetestexcept): Likewise.
21542 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21543 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21544 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21545 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21546 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21547 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21549
af325969
UD
215502010-10-11 Ulrich Drepper <drepper@gmail.com>
21551
c579b202 21552 [BZ #12107]
af325969
UD
21553 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21554 newline.
21555
67a67b95
UD
215562010-10-06 Ulrich Drepper <drepper@gmail.com>
21557
21558 * string/bug-strstr1.c: New file.
21559 * string/Makefile: Add rules to build and run bug-strstr1.
21560
5fb308bc
EB
215612010-10-05 Eric Blake <eblake@redhat.com>
21562
21563 [BZ #12092]
21564 * string/str-two-way.h (two_way_long_needle): Always clear memory
21565 when skipping input due to the shift table.
21566
45db99c7
UD
215672010-10-03 Ulrich Drepper <drepper@gmail.com>
21568
3b111893
UD
21569 [BZ #12005]
21570 * malloc/mcheck.c: Handle large requests.
21571
45db99c7
UD
21572 [BZ #12077]
21573 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21574 for strncmp and strncasecmp.
21575 * string/stratcliff.c: Add tests for strcmp and strncmp.
21576 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21577
cf7a1eb8
NI
215782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21579
21580 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21581 __set_fpscr.
21582
6484ba5e
AJ
215832010-09-30 Andreas Jaeger <aj@suse.de>
21584
21585 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21586 (CGROUP_SUPER_MAGIC): Define.
21587 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21588 Handle btrfs and cgroup file systems.
21589 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21590 Likewise.
21591
91c42559
LM
215922010-09-27 Luis Machado <luisgpm@br.ibm.com>
21593
21594 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21595 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21596
87a97932
AK
215972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21598
21599 [BZ #12067]
21600 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21601 trying to locate the ELF header.
21602
c21cc9bc
AS
216032010-09-27 Andreas Schwab <schwab@redhat.com>
21604
21605 [BZ #11611]
21606 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21607 Mask out sign-bit copies when constructing f_fsid.
21608
315970f6
PB
216092010-09-24 Petr Baudis <pasky@suse.cz>
21610
21611 * debug/stack_chk_fail_local.c: Add missing licence exception.
21612 * debug/warning-nop.c: Likewise.
21613
1ac7a2c7
JM
216142010-09-15 Joseph Myers <joseph@codesourcery.com>
21615
21616 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21617 implementing getdents64 using getdents syscall, set d_type if
21618 __ASSUME_GETDENTS32_D_TYPE.
21619
56801c50
AS
216202010-09-16 Andreas Schwab <schwab@redhat.com>
21621
21622 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21623 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21624
dda51327
UD
216252010-09-21 Ulrich Drepper <drepper@redhat.com>
21626
21627 [BZ #12037]
21628 * posix/unistd.h: Undo change of feature selection for ftruncate from
21629 2010-01-11.
21630
8ffcee4a
UD
216312010-09-20 Ulrich Drepper <drepper@redhat.com>
21632
a545ecd9 21633 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21634 detection.
21635
e24f0a8b
AS
216362010-09-20 Andreas Schwab <schwab@redhat.com>
21637
21638 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21639 fanotify_mark.
21640 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21641
7291c56f
AS
216422010-09-14 Andreas Schwab <schwab@redhat.com>
21643
21644 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21645 variables after CHECK_SP call.
21646 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21647
bc5fb037
AS
216482010-09-13 Andreas Schwab <schwab@redhat.com>
21649 Ulrich Drepper <drepper@redhat.com>
21650
21651 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21652 re-relocationg ld.so.
21653 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21654 _dl_init_paths call.
21655 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21656 here anymore.
21657
e66e7419
UD
216582010-09-14 Ulrich Drepper <drepper@redhat.com>
21659
21660 * resolv/res_init.c (__res_vinit): Count the default server we added.
21661
c044aa75
CLT
216622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21663 Ulrich Drepper <drepper@redhat.com>
21664
21665 [BZ #11968]
21666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21667 (____longjmp_chk): Use %ebx for saving value across system call.
21668 Add unwind info.
21669
32cf4069
AS
216702010-09-06 Andreas Schwab <schwab@redhat.com>
21671
21672 * manual/Makefile: Don't mix pattern rules with normal rules.
21673
817328ee
AS
216742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21675
21676 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21677 operation.
21678 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21679 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21680 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21681 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21683 Likewise.
21684
29fddf61
UD
216852010-09-04 Ulrich Drepper <drepper@redhat.com>
21686
21687 [BZ #11979]
21688 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21689 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21690
0959ffc9
UD
216912010-09-02 Ulrich Drepper <drepper@redhat.com>
21692
21693 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21694 * sysdeps/x86_64/addmul_1.S: Likewise.
21695 * sysdeps/x86_64/lshift.S: Likewise.
21696 * sysdeps/x86_64/mul_1.S: Likewise.
21697 * sysdeps/x86_64/rshift.S: Likewise.
21698 * sysdeps/x86_64/sub_n.S: Likewise.
21699 * sysdeps/x86_64/submul_1.S: Likewise.
21700
ece29840
ST
217012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21702
0959ffc9
UD
21703 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21704 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21705 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21706 * bits/sched.h [__need_schedparam]
ece29840 21707 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21708 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21709 (__defined_schedparam): Define to 1.
ece29840
ST
21710 (__sched_param): New structure, identical to sched_param.
21711 (__need_schedparam): Undefine.
21712
e53a31fe
MF
217132010-08-31 Mike Frysinger <vapier@gentoo.org>
21714
fdc0c10d
MF
21715 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21716 (epoll_create1): Declare.
21717
e53a31fe
MF
21718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21719
a726d796
AS
217202010-08-31 Andreas Schwab <schwab@redhat.com>
21721
21722 [BZ #7066]
21723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21724 shifting retval into place.
21725
2f3e3dc7
UD
217262010-09-01 Ulrich Drepper <drepper@redhat.com>
21727
f2933da9
UD
21728 * nis/rpcsvc/nis.h: Update copyright notice.
21729 * nis/rpcsvc/nis.x: Likewise.
21730 * nis/rpcsvc/nis_callback.h: Likewise.
21731 * nis/rpcsvc/nis_callback.x: Likewise.
21732 * nis/rpcsvc/nis_object.x: Likewise.
21733 * nis/rpcsvc/nis_tags.h: Likewise.
21734 * nis/rpcsvc/yp.h: Likewise.
21735 * nis/rpcsvc/yp.x: Likewise.
21736 * nis/rpcsvc/ypupd.h: Likewise.
21737 * nis/yp_xdr.c: Likewise.
21738 * nis/ypupdate_xdr.c: Likewise.
21739
2f3e3dc7
UD
21740 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21741 mainly the body of pmap_getport. Add parameters to specify timeouts.
21742 (pmap_getport): Use __libc_rpc_getport.
21743 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21744 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21745 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21746
f3dcc2f9
AS
217472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21748
21749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21750 fanotify_mark.
21751
6d34eb5b
RM
217522010-08-27 Roland McGrath <roland@redhat.com>
21753
21754 * sysdeps/i386/i686/multiarch/Makefile
21755 (CFLAGS-varshift.c): New variable.
21756
9ea3de11
UD
217572010-08-27 Ulrich Drepper <drepper@redhat.com>
21758
c96d23fc
UD
21759 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21760 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21761
9ea3de11
UD
21762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21763
21764 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21765
623aac7f
L
217662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21767
21768 * sysdeps/x86_64/strlen.S: Unroll the loop.
21769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21770 strlen-sse2 strlen-sse2-bsf.
21771 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21772 __strlen_no_bsf if bit_Slow_BSF is set.
21773 (__strlen_sse42): Removed.
21774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21775 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21776
8b2b7715
RM
217772010-08-25 Roland McGrath <roland@redhat.com>
21778
21779 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21780 * sysdeps/x86_64/multiarch/varshift.c: New file.
21781 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21782 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21783 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21784 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21785
e73015f2
L
217862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21789 strlen-sse2 strlen-sse2-bsf.
21790 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21791 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21792 (__strlen_sse2): Removed.
21793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21796 bit_Slow_BSF for Atom.
21797 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21798 (index_Slow_BSF): Define.
21799 (HAS_SLOW_BSF): Define.
21800
df24a73e
UD
218012010-08-25 Ulrich Drepper <drepper@redhat.com>
21802
21803 [BZ #10851]
21804 * resolv/res_init.c (__res_vinit): When no server address at all
21805 is given default to loopback.
21806
f2ac4868
RM
218072010-08-24 Roland McGrath <roland@redhat.com>
21808
09055553
RM
21809 * configure.in: Remove config-name.h generation.
21810 * configure: Regenerated.
21811 * config-name.in: File removed.
21812 * scripts/config-uname.sh: New file.
21813 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21814 ($(objdir)config-name.h): New target.
21815
f2ac4868
RM
21816 * sunrpc/rpc_parse.h: Avoid nested comment.
21817
73f27d5e
RH
218182010-08-24 Richard Henderson <rth@redhat.com>
21819 Ulrich Drepper <drepper@redhat.com>
21820 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21824 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21825 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21826 _mm_alignr_epi8 with _mm_loadu_si128.
21827 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21828 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21829 (__m128i_shift_right): Removed.
21830 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21831 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21832 * sysdeps/x86_64/multiarch/varshift.h: New file.
21833 * sysdeps/x86_64/multiarch/varshift.S: New file.
21834
84b9230c
MF
218352010-08-21 Mike Frysinger <vapier@gentoo.org>
21836
21837 * configure.in: Move assembler checks to before sysdep dir checking.
21838
9bbd0ddc
PB
218392010-08-20 Petr Baudis <pasky@suse.cz>
21840
21841 * LICENSES: Sync the sunrpc license.
21842
9da4bb31
UD
218432010-08-19 Ulrich Drepper <drepper@redhat.com>
21844
a7ab6ec8
UD
21845 * sunrpc/auth_des.c: Update copyright notice once again.
21846 * sunrpc/auth_none.c: Likewise.
21847 * sunrpc/auth_unix.c: Likewise.
21848 * sunrpc/authdes_prot.c: Likewise.
21849 * sunrpc/authuxprot.c: Likewise.
21850 * sunrpc/bindrsvprt.c: Likewise.
21851 * sunrpc/clnt_gen.c: Likewise.
21852 * sunrpc/clnt_perr.c: Likewise.
21853 * sunrpc/clnt_raw.c: Likewise.
21854 * sunrpc/clnt_simp.c: Likewise.
21855 * sunrpc/clnt_tcp.c: Likewise.
21856 * sunrpc/clnt_udp.c: Likewise.
21857 * sunrpc/clnt_unix.c: Likewise.
21858 * sunrpc/des_crypt.c: Likewise.
21859 * sunrpc/des_soft.c: Likewise.
21860 * sunrpc/get_myaddr.c: Likewise.
21861 * sunrpc/getrpcport.c: Likewise.
21862 * sunrpc/key_call.c: Likewise.
21863 * sunrpc/key_prot.c: Likewise.
21864 * sunrpc/openchild.c: Likewise.
21865 * sunrpc/pm_getmaps.c: Likewise.
21866 * sunrpc/pm_getport.c: Likewise.
21867 * sunrpc/pmap_clnt.c: Likewise.
21868 * sunrpc/pmap_prot.c: Likewise.
21869 * sunrpc/pmap_prot2.c: Likewise.
21870 * sunrpc/pmap_rmt.c: Likewise.
21871 * sunrpc/rpc/auth.h: Likewise.
21872 * sunrpc/rpc/auth_unix.h: Likewise.
21873 * sunrpc/rpc/clnt.h: Likewise.
21874 * sunrpc/rpc/des_crypt.h: Likewise.
21875 * sunrpc/rpc/key_prot.h: Likewise.
21876 * sunrpc/rpc/netdb.h: Likewise.
21877 * sunrpc/rpc/pmap_clnt.h: Likewise.
21878 * sunrpc/rpc/pmap_prot.h: Likewise.
21879 * sunrpc/rpc/pmap_rmt.h: Likewise.
21880 * sunrpc/rpc/rpc.h: Likewise.
21881 * sunrpc/rpc/rpc_des.h: Likewise.
21882 * sunrpc/rpc/rpc_msg.h: Likewise.
21883 * sunrpc/rpc/svc.h: Likewise.
21884 * sunrpc/rpc/svc_auth.h: Likewise.
21885 * sunrpc/rpc/types.h: Likewise.
21886 * sunrpc/rpc/xdr.h: Likewise.
21887 * sunrpc/rpc_clntout.c: Likewise.
21888 * sunrpc/rpc_cmsg.c: Likewise.
21889 * sunrpc/rpc_common.c: Likewise.
21890 * sunrpc/rpc_cout.c: Likewise.
21891 * sunrpc/rpc_dtable.c: Likewise.
21892 * sunrpc/rpc_hout.c: Likewise.
21893 * sunrpc/rpc_main.c: Likewise.
21894 * sunrpc/rpc_parse.c: Likewise.
21895 * sunrpc/rpc_parse.h: Likewise.
21896 * sunrpc/rpc_prot.c: Likewise.
21897 * sunrpc/rpc_sample.c: Likewise.
21898 * sunrpc/rpc_scan.c: Likewise.
21899 * sunrpc/rpc_scan.h: Likewise.
21900 * sunrpc/rpc_svcout.c: Likewise.
21901 * sunrpc/rpc_tblout.c: Likewise.
21902 * sunrpc/rpc_util.c: Likewise.
21903 * sunrpc/rpc_util.h: Likewise.
21904 * sunrpc/rpcinfo.c: Likewise.
21905 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21906 * sunrpc/rpcsvc/key_prot.x: Likewise.
21907 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21908 * sunrpc/rpcsvc/mount.x: Likewise.
21909 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21910 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21911 * sunrpc/rpcsvc/rex.x: Likewise.
21912 * sunrpc/rpcsvc/rstat.x: Likewise.
21913 * sunrpc/rpcsvc/rusers.x: Likewise.
21914 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21915 * sunrpc/rpcsvc/spray.x: Likewise.
21916 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21917 * sunrpc/rtime.c: Likewise.
21918 * sunrpc/svc.c: Likewise.
21919 * sunrpc/svc_auth.c: Likewise.
21920 * sunrpc/svc_authux.c: Likewise.
21921 * sunrpc/svc_raw.c: Likewise.
21922 * sunrpc/svc_run.c: Likewise.
21923 * sunrpc/svc_simple.c: Likewise.
21924 * sunrpc/svc_tcp.c: Likewise.
21925 * sunrpc/svc_udp.c: Likewise.
21926 * sunrpc/svc_unix.c: Likewise.
21927 * sunrpc/svcauth_des.c: Likewise.
21928 * sunrpc/xcrypt.c: Likewise.
21929 * sunrpc/xdr.c: Likewise.
21930 * sunrpc/xdr_array.c: Likewise.
21931 * sunrpc/xdr_float.c: Likewise.
21932 * sunrpc/xdr_mem.c: Likewise.
21933 * sunrpc/xdr_rec.c: Likewise.
21934 * sunrpc/xdr_ref.c: Likewise.
21935 * sunrpc/xdr_sizeof.c: Likewise.
21936 * sunrpc/xdr_stdio.c: Likewise.
21937
9da4bb31
UD
21938 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21939 handling.
21940
bdaa77bc
AS
219412010-08-19 Andreas Schwab <schwab@redhat.com>
21942
21943 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21944
fe2f79db
LM
219452010-08-19 Luis Machado <luisgpm@br.ibm.com>
21946
21947 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21949 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21950 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21951 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21952 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21953 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21954 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21956 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21957 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21958 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21959 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21960 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21961
b9b42ee0
AB
219622010-07-26 Anton Blanchard <anton@samba.org>
21963
21964 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21965 * malloc/arena.c (heap_trim): Likewise.
21966
1c06ba31
UD
219672010-08-16 Ulrich Drepper <drepper@redhat.com>
21968
21969 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21970 here. Not...
21971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21972 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21973
f8392f40
L
219742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21975
21976 * sysdeps/i386/elf/Makefile: New file.
21977
3162f12e
AS
219782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21979
21980 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21981 from fanotify_init.
21982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21984
28c90b2c
UD
219852010-08-15 Ulrich Drepper <drepper@redhat.com>
21986
21987 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21988 of strncasecmp_l.
1feccb6c 21989 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21990
ca6bb004
UD
219912010-08-14 Ulrich Drepper <drepper@redhat.com>
21992
e9f82e0d
UD
21993 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21994 strncase_l-nonascii.
21995 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21996 Add strncase_l-ssse3.
21997 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21998 * sysdeps/x86_64/strcmp.S: Likewise.
21999 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22000 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22001 * sysdeps/x86_64/strncase.S: New file.
22002 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22003 * sysdeps/x86_64/strncase_l.S: New file.
22004 * string/Makefile (strop-tests): Add strncasecmp.
22005 * string/test-strncasecmp.c: New file.
22006
22007 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22008 warning.
22009
ca6bb004
UD
22010 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22011 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22012
052fa7b3
AS
220132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22014
22015 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22016
962dba78
UD
220172010-08-12 Ulrich Drepper <drepper@redhat.com>
22018
22019 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22020 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22022
bebff237
AM
220232010-05-01 Alan Modra <amodra@gmail.com>
22024
22025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22026 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22027 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22028 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22029 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22030 tidying. Don't tail-call __sigjmp_save for static lib.
22031 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22032 save location.
22033 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22034 (CALL_MCOUNT): Add eh info, and nop after bl.
22035 (TAIL_CALL_SYSCALL_ERROR): New macro.
22036 (PSEUDO_RET): Use it.
22037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22038 Correct save location of integer regs and cr.
22039 (_dl_profile_resolve): Correct cr save location. Delete nops
22040 after bl when SHARED. Reduce cfi size a little by better
22041 placement of cfi directives.
22042 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22043 make a stack frame. Instead use parm save area as a temp.
22044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22045 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22047 Don't make a stack frame for parent, use parm save area.
22048 Increase child stack frame to 112 bytes. Don't save unused reg,
22049 and adjust reg usage. Set up cfi on error recovery and
22050 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22052 (__makecontext): Add dummy nop after jump to exit.
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22054 Use correct parm save area and cr save, reduce stack frame.
22055 Correct cfi for possible PSEUDO_RET frame setup.
22056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22057 Branch to local label emitted by PSEUDO_RET rather than
22058 __syscall_error.
22059
02637374
AS
220602010-08-12 Andreas Schwab <schwab@redhat.com>
22061
22062 [BZ #11904]
22063 * locale/programs/locale.c (print_assignment): New function.
22064 (show_locale_vars): Use it.
22065
c3e2f19b
UD
220662010-08-11 Ulrich Drepper <drepper@redhat.com>
22067
3cdaa6ad
UD
22068 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22069 field.
22070 (struct statfs64): Likewise.
22071 (_STATFS_F_FLAGS): Define.
22072 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22073 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22074 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22075 (ST_VALID): Define locally.
22076 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22077 __statvfs_getflags, use the provided value.
22078 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22079 __ASSUME_STATFS_F_FLAGS.
22080
754f7da3
UD
22081 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22082
10b3bedc
UD
22083 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22084 Add sys/fanotify.h.
22085 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22086 fanotify_mask for GLIBC_2.13.
22087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22088 fanotify_init and fanotify_mark.
22089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22090 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22091
c08fb0d7
UD
22092 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22093 Add prlimit.
22094 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22095 prlimit64 for GLIBC_2.13.
22096 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22097 prlimit64.
22098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22099 syscall.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22101 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22102 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22105 add prlimit alias.
22106 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22107
15bac72b
UD
22108 [BZ #11903]
22109 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22110 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22111
c3e2f19b
UD
22112 * nss/Makefile: Add rules to build and run tst-nss-test1.
22113 * shlib-versions: Add entry for libnss_test1.
22114 * nss/nss_test1.c: New file.
22115 * nss/tst-nss-test1.c: New file.
22116
22117 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22118 (__nss_configure_lookup): Set appropriate entry in
22119 __nss_configure_lookup to true.
22120 * nss/nsswitch.h: Define enum with indeces of databases in
22121 databases and __nss_database_custom arrays. Declare
22122 __nss_database_custom.
22123 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22124 to avoid using nscd when custom rules are installed.
22125 * nss/getXXbyYY_r.c: Likewise.
22126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22127
22128 * nss/nss_files/files-parse.c: Whitespace fixes.
22129
f15ce4d8
UD
221302010-08-09 Ulrich Drepper <drepper@redhat.com>
22131
22132 [BZ #11883]
22133 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22134 * posix/fnmatch_loop.c: Likewise.
22135
d22e4cc9
AK
221362010-07-17 Andi Kleen <ak@linux.intel.com>
22137
22138 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22139 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22140 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22141 * Versions.def [GLIBC_2.13]: Add.
22142
805bc17d
UD
221432010-08-06 Ulrich Drepper <drepper@redhat.com>
22144
22145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22146 Also fail if tpwd after pwuid call is NULL.
22147
5a42321d
ST
221482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22149
22150 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22151 when converting to ms.
22152
fd3ebeda
ST
221532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22154
22155 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22156 EOPNOTSUPP errors with ENOTTY.
22157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22158 EOPNOTSUPP errors with ENOTTY.
22159
73507d3a
UD
221602010-07-31 Ulrich Drepper <drepper@redhat.com>
22161
22162 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22163 Add strcasecmp_l-ssse3.
22164 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22165 strcasecmp.
22166 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22167 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22168 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22169
fe36dd02
UD
221702010-07-30 Ulrich Drepper <drepper@redhat.com>
22171
66f6765a
UD
22172 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22173
42e08a54
UD
22174 * string/Makefile (strop-tests): Add strcasecmp.
22175 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22176 strcasecmp_l-nonascii.
22177 (gen-as-const-headers): Add locale-defines.sym.
22178 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22179 * sysdeps/x86_64/strcasecmp.S: New file.
22180 * sysdeps/x86_64/strcasecmp_l.S: New file.
22181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22182 * sysdeps/x86_64/locale-defines.sym: New file.
22183 * string/test-strcasecmp.c: New file.
22184
fe36dd02
UD
22185 * string/test-strcasestr.c: Test both ends of the range of characters.
22186 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22187
48cbc0d6
RM
221882010-07-29 Roland McGrath <roland@redhat.com>
22189
76e6d6bc 22190 [BZ #11856]
48cbc0d6
RM
22191 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22192
880113d9
UD
221932010-07-27 Ulrich Drepper <drepper@redhat.com>
22194
22195 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22196 for ld.so.
22197
deb9cabb
AS
221982010-07-27 Andreas Schwab <schwab@redhat.com>
22199
22200 * manual/memory.texi (Malloc Tunable Parameters): Document
22201 M_PERTURB.
22202
1c7570ff
RM
222032010-07-26 Roland McGrath <roland@redhat.com>
22204
22205 [BZ #11840]
22206 * configure.in (-fgnu89-inline check): Set and substitute
22207 gnu89_inline, not libc_cv_gnu89_inline.
22208 * configure: Regenerated.
22209 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22210
24fb0f88
UD
222112010-07-26 Ulrich Drepper <drepper@redhat.com>
22212
22213 * string/test-strnlen.c: New file.
22214 * string/Makefile (strop-tests): Add strnlen.
22215 * string/tester.c (test_strnlen): Add a few more test cases.
22216 * string/tst-strlen.c: Better error reporting.
22217
22218 * sysdeps/x86_64/strnlen.S: New file.
22219
8e96b93a
UD
222202010-07-24 Ulrich Drepper <drepper@redhat.com>
22221
22222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22223 lower-latency instructions.
22224
dbc676d4
UD
222252010-07-23 Ulrich Drepper <drepper@redhat.com>
22226
22227 * string/test-strcasestr.c: New file.
22228 * string/test-strstr.c: New file.
22229 * string/Makefile (strop-tests): Add strstr and strcasestr.
22230 * string/str-two-way.h: Don't undefine MAX.
22231 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22232
f6a31e0e
AS
222332010-07-21 Andreas Schwab <schwab@redhat.com>
22234
22235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22236 strcasestr-nonascii.
22237 (CFLAGS-strcasestr-nonascii.c): Define.
22238 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22239 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22240 Remove unused attribute.
22241
5dbc3b6c
RM
222422010-07-20 Roland McGrath <roland@redhat.com>
22243
22244 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22245 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22246 ld.so.cache was broken. With it, there is no way to disable dsocaps
22247 like LD_HWCAP_MASK can disable hwcaps.
22248
23d101d8
EPM
222492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22250
22251 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22252
cc9f2e47
UD
222532010-07-16 Ulrich Drepper <drepper@redhat.com>
22254
22255 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22256 call in strcasestr.
22257 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22258 __strcasestr_sse42_nonascii.
22259 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22260 strcasestr-nonascii.c.
22261 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22262
77c1b069
LM
222632010-06-15 Luis Machado <luisgpm@br.ibm.com>
22264
22265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22268 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22269
440566c3
UD
222702010-07-09 Ulrich Drepper <drepper@redhat.com>
22271
22272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22273 fcntl.
22274
5be9d05d
AS
222752010-07-06 Andreas Schwab <schwab@redhat.com>
22276
c30b7ee2 22277 [BZ #11577]
5be9d05d
AS
22278 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22279 dl_signal_cerror.
22280
8a492a67
UD
222812010-07-06 Ulrich Drepper <drepper@redhat.com>
22282
22283 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22284 _PC_PIPE_BUF using F_GETPIPE_SZ.
22285
713df3d5
RM
222862010-07-05 Roland McGrath <roland@redhat.com>
22287
22288 * manual/arith.texi (Rounding Functions): Fix rint description
22289 implicit in round description.
22290
702e8f14
UD
222912010-07-02 Ulrich Drepper <drepper@redhat.com>
22292
22293 * elf/Makefile: Fix linking for a few tests to make recent linker
22294 happy.
22295
52ed8be9
AS
222962010-06-30 Andreas Schwab <schwab@redhat.com>
22297
22298 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22299 $(common-objpfx)libc_nonshared.a.
22300
f47c9a11
LM
223012010-06-21 Luis Machado <luisgpm@br.ibm.com>
22302
22303 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22304 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22305 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22306 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22307 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22308 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22309 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22310 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22325 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22326 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22327 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22328 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22329 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22330 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22331 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22332 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22333 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22334 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22335 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22336 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22351
6fb8cbcb
L
223522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22355 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22356 * string/memmove.c (memmove): Renamed to ...
22357 (MEMMOVE): ...this. Default to memmove.
22358 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22359 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22360 (END_CHK): Define.
22361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22362 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22363 mempcpy-ssse3-back memmove-ssse3-back.
22364 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22367 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22368 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22369 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22370 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22371 * sysdeps/x86_64/multiarch/memmove.c: New file.
22372 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22373 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22374 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22375 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22376 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22378 Define.
22379 (index_Fast_Copy_Backward): Define.
22380 (HAS_ARCH_FEATURE): Define.
22381 (HAS_FAST_REP_STRING): Define.
22382 (HAS_FAST_COPY_BACKWARD): Define.
22383
4e733bac 223842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22385
22386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22387 Restore proper fallback handling.
22388
63c4ed22
UD
223892010-06-19 Ulrich Drepper <drepper@redhat.com>
22390
ac2b484c
UD
22391 [BZ #11701]
22392 * posix/group_member.c (__group_member): Correct checking loop.
22393
63c4ed22
UD
22394 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22395 OOM in getpwuid_r correctly. Return error number when the caller
22396 should return, otherwise -1.
22397 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22398 call returning > 0 value.
22399 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22400
765ade4b
AS
224012010-06-07 Andreas Schwab <schwab@redhat.com>
22402
22403 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22404 libc_nonshared.a from targets in modules-names.
22405
80da2e09
KS
224062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22407
22408 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22409 requires it.
22410
158db122
LM
224112010-06-10 Luis Machado <luisgpm@br.ibm.com>
22412
22413 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22414 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22415 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22417
caa78cf8
AS
224182010-06-02 Andreas Schwab <schwab@redhat.com>
22419
22420 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22421
b2ef2c01
UD
224222010-06-14 Ulrich Drepper <drepper@redhat.com>
22423
22424 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22425 and F_GETPIPE_SZ.
22426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22427 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22431 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22432
fbd643b6
RM
224332010-06-14 Roland McGrath <roland@redhat.com>
22434
22435 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22436
f32f2869
JJ
224372010-06-07 Jakub Jelinek <jakub@redhat.com>
22438
22439 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22440 __REDIRECT followed by __THROW.
22441 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22442 * posix/getopt.h (getopt): Likewise.
22443
2a50c078
EPM
224442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22445
22446 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22447 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22448 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22449 in AT_FLAGS.
22450 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22451 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22452
eb5ad2eb
LM
224532010-05-28 Luis Machado <luisgpm@br.ibm.com>
22454
22455 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22456
3c88fe1e
L
224572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 [BZ #11640]
22460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22461 Properly check family and model.
22462
d2f73151
TY
224632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22464
22465 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22466
ebd2e13d
LM
224672010-05-24 Luis Machado <luisgpm@br.ibm.com>
22468
22469 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22470
b32b8b45
UD
224712010-05-21 Ulrich Drepper <drepper@redhat.com>
22472
22473 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22474 symbol reference.
22475
9acbe24d
AS
224762010-05-19 Andreas Schwab <schwab@redhat.com>
22477
22478 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22479 symbol reference.
22480
f0ccf6ea
AS
224812010-05-21 Andreas Schwab <schwab@redhat.com>
22482
3d04ff3a
AS
22483 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22484 and internal_recvmmsg.
22485 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22486 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22487 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22488 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22489
f0ccf6ea
AS
22490 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22491 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22492 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22493
5b08ac57
AS
224942010-05-20 Andreas Schwab <schwab@redhat.com>
22495
22496 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22497
4828935d
LM
224982010-05-17 Luis Machado <luisgpm@br.ibm.com>
22499
22500 POWER7 optimizations.
22501 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22502 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22503
373d545e
UD
225042010-05-19 Ulrich Drepper <drepper@redhat.com>
22505
22506 * version.h: Update for 2.13 development version.
22507
21a2b1ae
AS
225082010-05-12 Andrew Stubbs <ams@codesourcery.com>
22509
22510 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22511 exceptions. Return 0.
22512
3f7dcb2b
RM
225132010-05-07 Roland McGrath <roland@redhat.com>
22514
22515 * elf/ldconfig.c (main): Add a const.
22516
5f24d53a 225172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22518
a160f8d8
UD
22519 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22520 (args_options): Add no-idn option.
22521 (ahosts_keys_int): Add idn_flags to ai_flags.
22522 (parse_option): Handle 'i' option to clear idn_flags.
22523
5f24d53a
UD
22524 * malloc/malloc.c (_int_free): Possible race in the most recently
22525 added check. Only act on the data if no current modification
22526 happened.
265bb1ce
UD
22527
22528See ChangeLog.17 for earlier changes.
This page took 2.919279 seconds and 5 git commands to generate.