]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #13603, 13604, 13698] Three new locales
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e3ea5409
JM
12012-11-14 Joseph Myers <joseph@codesourcery.com>
2
3 * debug/pcprofiledump.c (print_version): Update copyright year.
4 * malloc/memusagestat.c (print_version): Likewise.
5
2e64d265
L
62012-11-14 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #14831]
9 * elf/Makefile (tests): Add tst-audit8.
10 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11 ($(objpfx)tst-audit8.out): New target.
12 (tst-audit8-ENV): New variable.
13 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14 audit if l_reloc_result is NULL.
15 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17 * elf/tst-audit8.c: New file.
18
c485e4d2
MS
192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20
21 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22 * misc/Makefile (CFLAGS-select.c): Define.
23 * posix/Makefile (CFLAGS-pause.c): Define.
24
3a0d900a
DM
252012-11-13 David S. Miller <davem@davemloft.net>
26
27 * crypt/Makefile: Move test targets after toplevel Rules
28 inclusion. Grab any necessary sysdep routines when linking.
29 * crypt/md5.c (md5_process_block): Remove define, we will always
30 name it __md5_process_block.
31 (md5_finish_ctx): Update md5_process_block call.
32 (md5_stream): Likewise.
33 (md5_process_bytes): Likewise.
34 (md5_process_block): Rename to __md5_process_block and move to ...
35 * crypt/md5-block.c: ... here.
36 * crypt/sha256.c (sha256_process_block): Move to ...
37 * crypt/sha256-block.c: ... here.
38 * crypt/sha512.c (sha512_process_block): Move to ...
39 * crypt/sha512-block.c: ... here.
40 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41 path.
42 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43 * sysdeps/sparc/sparc64/multiarch/Makefile
44 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
45 crypt subdir.
46 (localedef-aux): Add md5 crypto assembler when in locale subdir.
47 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48 multiarch changes.
49 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58 file.
59 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61 file.
62 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63
8ca89318
JM
642012-11-13 Joseph Myers <joseph@codesourcery.com>
65
e27d476a
JM
66 * timezone/tzselect.ksh: Update from tzcode git revision
67 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68 * timezone/zdump.c: Likewise.
69 * timezone/zic.c: Likewise.
70 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71 in TZVERSION setting, not $(PKGVERSION).
72 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73 REPORT_BUGS_TO settings.
74
8ca89318
JM
75 [BZ #14838]
76 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
77 macro.
78
47594329
MS
792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
80
81 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
82 detection to immediately after _FP_ROUND().
83 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
84 bits are 0.
85
640ac3f1
DM
862012-11-11 David S. Miller <davem@davemloft.net>
87
88 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
89 inttypes.h
90 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
91 __close rather than their public counterparts.
92
3d2577bb
JM
932012-11-10 Joseph Myers <joseph@codesourcery.com>
94
95 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
96 file.
97 [UNIX98] (sem_timedwait): Do not expect.
98 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
99 [XPG4 || UNIX98] (sockatmark): Do not expect.
100 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
101 (clock_getcpuclockid): Do not expect.
102 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
103 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
104 Do not expect.
105 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
106 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
107 [UNIX98] (vwscanf): Likewise.
108 [UNIX98] (vswscanf): Likewise.
109
fb1ae1ee
JM
1102012-11-09 Joseph Myers <joseph@codesourcery.com>
111
9ec6f8bd
JM
112 * timezone/version.h: Remove file.
113 * timezone/README: Do not refer to version.h.
114 * timezone/Makefile ($(objpfx)zic.o): New dependency on
115 $(objpfx)version.h.
116 ($(objpfx)zdump.o): Likewise.
c3f81911 117 ($(objpfx)version.h): New target.
9ec6f8bd 118
0aa8f8a1
JM
119 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
120 2012i.
121 * timezone/README: Don't mention modification to tzselect.ksh.
122 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
123 work on unmodified tzselect.ksh. Substitute version numbers in
124 tzselect.ksh.
125
4e87147f
JM
126 * Makefile (format-me): Remove.
127 (INSTALL): Adjust indentation. Use commands directly instead of
128 using $(format-me).
129
8b748aed
JM
130 * aclocal.m4 (ACX_PKGVERSION): New macro.
131 (ACX_BUGURL): Likewise.
132 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
133 (PKGVERSION): New AC_DEFINE_UNQUOTED.
134 (REPORT_BUGS_TO): Likewise.
135 * configure: Regenerated.
136 * config.h.in (PKGVERSION): New macro.
137 (REPORT_BUGS_TO): Likewise.
138 * config.make.in (PKGVERSION): New variable.
139 (PKGVERSION_TEXI): Likewise.
140 (REPORT_BUGS_TO): Likewise.
141 (REPORT_BUGS_TEXI): Likewise.
142 * Makefile (format-me): Use -I$(common-objpfx)manual.
143 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
144 ($(common-objpfx)manual/%): New target.
145 (manual/%): Remove target.
146 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
147 (print_version): Use PKGVERSION.
148 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
149 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
150 and REPORT_BUGS_TO.
151 ($(objpfx)xtrace): Likewise.
152 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
153 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
154 (print_version): Use PKGVERSION.
155 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
156 (do_version): Use PKGVERSION.
157 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
158 REPORT_BUGS_TO.
159 (common-ldd-rewrite): Likewise.
160 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
161 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
162 (print_version): Use PKGVERSION.
163 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
164 * elf/pldd.c (argp_program_bug_address): Remove variable.
165 (more_help): New function.
166 (argp): Use more_help.
167 (print_version): Use PKGVERSION.
168 * elf/sln.c (main): Use PKGVERSION.
169 (usage): Use REPORT_BUGS_TO.
170 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
171 (top level): Use PKGVERSION.
172 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
173 (print_version): Use PKGVERSION.
174 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
175 (print_version): Use PKGVERSION.
176 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
177 (print_version): Use PKGVERSION.
178 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
179 (print_version): Use PKGVERSION.
180 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
181 (print_version): Use PKGVERSION.
182 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
183 (print_version): Use PKGVERSION.
184 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
185 and BUGURL.
186 ($(objpfx)memusage): Likewise.
187 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
188 (do_version): Use PKGVERSION.
189 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
190 (print_version): Use PKGVERSION.
191 * malloc/mtrace.pl ($PACKAGE): Remove variable.
192 ($PKGVERSION): New variable.
193 ($REPORT_BUGS_TO): Likewise.
194 (usage): Use $REPORT_BUGS_TO.
195 (top level): Use $PKGVERSION.
196 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
197 ($(objpfx)pkgvers.texi): New rule.
198 ($(objpfx)stamp-pkgvers): Likewise.
199 * manual/install.texi: Include pkgvers.texi.
200 (--with-pkgversion): Document new configure option.
201 (--with-bugurl): Likewise.
202 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
203 than necessarily for this particular distribution. Use
204 REPORT_BUGS_TO for where to report bugs.
205 * INSTALL: Regenerated.
206 * manual/libc.texinfo: Include pkgvers.texi.
207 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
208 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
209 (print_version): Use PKGVERSION.
210 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
211 (print_version): Use PKGVERSION.
212 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
213 (print_version): Use PKGVERSION.
214 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
215 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
216 macro.
217 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
218 (print_version): Use PKGVERSION.
219 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
220 (print_version): Use PKGVERSION.
221 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
222 and PKGVERSION.
223
92e4b6a9
JM
224 * timezone/checktab.awk: Update from tzcode 2012i.
225 * timezone/ialloc.c: Likewise.
226 * timezone/private.h: Likewise.
227 * timezone/scheck.c: Likewise.
228 * timezone/tzfile.h: Likewise.
229 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
230 (TZVERSION): Hardcode tzcode version number.
231 * timezone/zdump.c: Update from tzcode 2012i.
232 * timezone/zic.c: Likewise.
233 * timezone/version.h: New file.
234 * timezone/README: Describe version.h. Update upstream location.
235
9bde902c
JM
236 [BZ #14824]
237 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
238 (mktemp): Enable declaration.
239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
243 Likewise.
244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
245 Likewise.
246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
247 Likewise.
248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
249 Likewise.
250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
251 Likewise.
252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
253 Likewise.
254
fb1ae1ee
JM
255 [BZ #14821]
256 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
257 offset in buffer as u_int32_t not u_long. Consistently use memcpy
258 for copies of such integer values.
259 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
260 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
261
2c1adbcb
AJ
2622012-11-09 Andreas Jaeger <aj@suse.de>
263
264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
265 definitions and declarations that are provided by
266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
267
d0f8457e
AK
2682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
269
270 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
271 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
272 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
273 definition.
274
57241e26
MS
2752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
276
277 * elf/elf.h: Update comment before AArch64 relocations.
278
60e8270d
DM
2792012-11-07 David S. Miller <davem@davemloft.net>
280
281 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
282 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
283 (__start_context): Declare.
284 (__makecontext_ret): Delete.
285 (__makecontext): Hook up __start_context instead of
286 __makecontext_ret.
287 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
288 (sysdep_routines): Add __start_context when in stdlib.
289
0fbb0fbc
JM
2902012-11-07 Joseph Myers <joseph@codesourcery.com>
291
292 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
293 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
294 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
295 hardcoded "nm".
296 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
297 (READELF): New variable. Use it instead of hardcoded "readelf".
298
eb48db7e
L
2992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
300
301 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
302 * sysdeps/x86/Makefile: Here.
303 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
304 * sysdeps/x86/tst-xmmymm.sh: This.
305
05bcf62a
JM
3062012-11-07 Joseph Myers <joseph@codesourcery.com>
307
c4b6cf53
JM
308 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
309 expectations.
310 [UNIX98] (pthread_barrier_t): Do not expect.
311 [UNIX98] (pthread_barrierattr_t): Likewise.
312 [UNIX98] (pthread_spinlock_t): Likewise.
313 [UNIX98] (pthread_barrier_destroy): Likewise.
314 [UNIX98] (pthread_barrier_init): Likewise.
315 [UNIX98] (pthread_barrier_wait): Likewise.
316 [UNIX98] (pthread_barrierattr_destroy): Likewise.
317 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
318 [UNIX98] (pthread_barrierattr_init): Likewise.
319 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
320 [UNIX98] (pthread_getcpuclockid): Likewise.
321 [UNIX98] (pthread_mutex_timedlock): Likewise.
322 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
323 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
324 [UNIX98] (pthread_sigmask): Likewise.
325 [UNIX98] (pthread_spin_destroy): Likewise.
326 [UNIX98] (pthread_spin_init): Likewise.
327 [UNIX98] (pthread_spin_lock): Likewise.
328 [UNIX98] (pthread_spin_trylock): Likewise.
329 [UNIX98] (pthread_spin_unlock): Likewise.
330 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
331 Do not expect.
332 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
333 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
334 [XPG3 || XPG4] (pthread_cond_t): Likewise.
335 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
336 [XPG3 || XPG4] (pthread_key_t): Likewise.
337 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
338 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
339 [XPG3 || XPG4] (pthread_once_t): Likewise.
340 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
341 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
342 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
343 [XPG3 || XPG4] (pthread_t): Likewise.
344
cbe6e120
JM
345 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
346 not expect.
347 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
348
1b126443
JM
349 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
350 Change function return type to int.
351
b961a573
JM
352 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
353 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
354 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
355 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
356 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
357 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
358 [!POSIX] (posix_madvise): Likewise.
359 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
360 && !UNIX98].
361 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
362 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
363 (mode_t): Likewise.
364 (posix_mem_offset): Likewise.
365 (posix_typed_mem_get_info): Likewise.
366 (posix_typed_mem_open): Likewise.
367
9e188909
JM
368 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
369 Change condition to [XOPEN2K8].
370
05bcf62a
JM
371 * conform/conformtest.pl: Preprocess allow-header data with -x c
372 instead of from stdin.
373 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
374 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
375 [C99-based standards] (cerfc): Likewise.
376 [C99-based standards] (cexp2): Likewise.
377 [C99-based standards] (cexpm1): Likewise.
378 [C99-based standards] (clog10): Likewise.
379 [C99-based standards] (clog1p): Likewise.
380 [C99-based standards] (clog2): Likewise.
381 [C99-based standards] (clgamma): Likewise.
382 [C99-based standards] (ctgamma): Likewise.
383 [C99-based standards] (cerff): Likewise.
384 [C99-based standards] (cerfcf): Likewise.
385 [C99-based standards] (cexp2f): Likewise.
386 [C99-based standards] (cexpm1f): Likewise.
387 [C99-based standards] (clog10f): Likewise.
388 [C99-based standards] (clog1pf): Likewise.
389 [C99-based standards] (clog2f): Likewise.
390 [C99-based standards] (clgammaf): Likewise.
391 [C99-based standards] (ctgammaf): Likewise.
392 [C99-based standards] (cerfl): Likewise.
393 [C99-based standards] (cerfcl): Likewise.
394 [C99-based standards] (cexp2l): Likewise.
395 [C99-based standards] (cexpm1l): Likewise.
396 [C99-based standards] (clog10l): Likewise.
397 [C99-based standards] (clog1pl): Likewise.
398 [C99-based standards] (clog2l): Likewise.
399 [C99-based standards] (clgammal): Likewise.
400 [C99-based standards] (ctgammal): Likewise.
401 * conform/data/inttypes.h-data [C99-based standards]: Include
402 stdint.h-data. Remove all expectations for stdint.h contents.
403 [C99-based standards] (PRI*): Do not allow.
404 [C99-based standards] (SCN*): Likewise.
405 [C99-based standards] (*_t): Likewise.
406 [C99-based-standards] (PRId8): Expect macro.
407 [C99-based-standards] (PRIi8): Likewise.
408 [C99-based-standards] (PRIo8): Likewise.
409 [C99-based-standards] (PRIu8): Likewise.
410 [C99-based-standards] (PRIx8): Likewise.
411 [C99-based-standards] (PRIX8): Likewise.
412 [C99-based-standards] (SCNd8): Likewise.
413 [C99-based-standards] (SCNi8): Likewise.
414 [C99-based-standards] (SCNo8): Likewise.
415 [C99-based-standards] (SCNu8): Likewise.
416 [C99-based-standards] (SCNx8): Likewise.
417 [C99-based-standards] (PRIdLEAST8): Likewise.
418 [C99-based-standards] (PRIiLEAST8): Likewise.
419 [C99-based-standards] (PRIoLEAST8): Likewise.
420 [C99-based-standards] (PRIuLEAST8): Likewise.
421 [C99-based-standards] (PRIxLEAST8): Likewise.
422 [C99-based-standards] (PRIXLEAST8): Likewise.
423 [C99-based-standards] (SCNdLEAST8): Likewise.
424 [C99-based-standards] (SCNiLEAST8): Likewise.
425 [C99-based-standards] (SCNoLEAST8): Likewise.
426 [C99-based-standards] (SCNuLEAST8): Likewise.
427 [C99-based-standards] (SCNxLEAST8): Likewise.
428 [C99-based-standards] (PRIdFAST8): Likewise.
429 [C99-based-standards] (PRIiFAST8): Likewise.
430 [C99-based-standards] (PRIoFAST8): Likewise.
431 [C99-based-standards] (PRIuFAST8): Likewise.
432 [C99-based-standards] (PRIxFAST8): Likewise.
433 [C99-based-standards] (PRIXFAST8): Likewise.
434 [C99-based-standards] (SCNdFAST8): Likewise.
435 [C99-based-standards] (SCNiFAST8): Likewise.
436 [C99-based-standards] (SCNoFAST8): Likewise.
437 [C99-based-standards] (SCNuFAST8): Likewise.
438 [C99-based-standards] (SCNxFAST8): Likewise.
439 [C99-based-standards] (PRId16): Likewise.
440 [C99-based-standards] (PRIi16): Likewise.
441 [C99-based-standards] (PRIo16): Likewise.
442 [C99-based-standards] (PRIu16): Likewise.
443 [C99-based-standards] (PRIx16): Likewise.
444 [C99-based-standards] (PRIX16): Likewise.
445 [C99-based-standards] (SCNd16): Likewise.
446 [C99-based-standards] (SCNi16): Likewise.
447 [C99-based-standards] (SCNo16): Likewise.
448 [C99-based-standards] (SCNu16): Likewise.
449 [C99-based-standards] (SCNx16): Likewise.
450 [C99-based-standards] (PRIdLEAST16): Likewise.
451 [C99-based-standards] (PRIiLEAST16): Likewise.
452 [C99-based-standards] (PRIoLEAST16): Likewise.
453 [C99-based-standards] (PRIuLEAST16): Likewise.
454 [C99-based-standards] (PRIxLEAST16): Likewise.
455 [C99-based-standards] (PRIXLEAST16): Likewise.
456 [C99-based-standards] (SCNdLEAST16): Likewise.
457 [C99-based-standards] (SCNiLEAST16): Likewise.
458 [C99-based-standards] (SCNoLEAST16): Likewise.
459 [C99-based-standards] (SCNuLEAST16): Likewise.
460 [C99-based-standards] (SCNxLEAST16): Likewise.
461 [C99-based-standards] (PRIdFAST16): Likewise.
462 [C99-based-standards] (PRIiFAST16): Likewise.
463 [C99-based-standards] (PRIoFAST16): Likewise.
464 [C99-based-standards] (PRIuFAST16): Likewise.
465 [C99-based-standards] (PRIxFAST16): Likewise.
466 [C99-based-standards] (PRIXFAST16): Likewise.
467 [C99-based-standards] (SCNdFAST16): Likewise.
468 [C99-based-standards] (SCNiFAST16): Likewise.
469 [C99-based-standards] (SCNoFAST16): Likewise.
470 [C99-based-standards] (SCNuFAST16): Likewise.
471 [C99-based-standards] (SCNxFAST16): Likewise.
472 [C99-based-standards] (PRId32): Likewise.
473 [C99-based-standards] (PRIi32): Likewise.
474 [C99-based-standards] (PRIo32): Likewise.
475 [C99-based-standards] (PRIu32): Likewise.
476 [C99-based-standards] (PRIx32): Likewise.
477 [C99-based-standards] (PRIX32): Likewise.
478 [C99-based-standards] (SCNd32): Likewise.
479 [C99-based-standards] (SCNi32): Likewise.
480 [C99-based-standards] (SCNo32): Likewise.
481 [C99-based-standards] (SCNu32): Likewise.
482 [C99-based-standards] (SCNx32): Likewise.
483 [C99-based-standards] (PRIdLEAST32): Likewise.
484 [C99-based-standards] (PRIiLEAST32): Likewise.
485 [C99-based-standards] (PRIoLEAST32): Likewise.
486 [C99-based-standards] (PRIuLEAST32): Likewise.
487 [C99-based-standards] (PRIxLEAST32): Likewise.
488 [C99-based-standards] (PRIXLEAST32): Likewise.
489 [C99-based-standards] (SCNdLEAST32): Likewise.
490 [C99-based-standards] (SCNiLEAST32): Likewise.
491 [C99-based-standards] (SCNoLEAST32): Likewise.
492 [C99-based-standards] (SCNuLEAST32): Likewise.
493 [C99-based-standards] (SCNxLEAST32): Likewise.
494 [C99-based-standards] (PRIdFAST32): Likewise.
495 [C99-based-standards] (PRIiFAST32): Likewise.
496 [C99-based-standards] (PRIoFAST32): Likewise.
497 [C99-based-standards] (PRIuFAST32): Likewise.
498 [C99-based-standards] (PRIxFAST32): Likewise.
499 [C99-based-standards] (PRIXFAST32): Likewise.
500 [C99-based-standards] (SCNdFAST32): Likewise.
501 [C99-based-standards] (SCNiFAST32): Likewise.
502 [C99-based-standards] (SCNoFAST32): Likewise.
503 [C99-based-standards] (SCNuFAST32): Likewise.
504 [C99-based-standards] (SCNxFAST32): Likewise.
505 [C99-based-standards] (PRId64): Likewise.
506 [C99-based-standards] (PRIi64): Likewise.
507 [C99-based-standards] (PRIo64): Likewise.
508 [C99-based-standards] (PRIu64): Likewise.
509 [C99-based-standards] (PRIx64): Likewise.
510 [C99-based-standards] (PRIX64): Likewise.
511 [C99-based-standards] (SCNd64): Likewise.
512 [C99-based-standards] (SCNi64): Likewise.
513 [C99-based-standards] (SCNo64): Likewise.
514 [C99-based-standards] (SCNu64): Likewise.
515 [C99-based-standards] (SCNx64): Likewise.
516 [C99-based-standards] (PRIdLEAST64): Likewise.
517 [C99-based-standards] (PRIiLEAST64): Likewise.
518 [C99-based-standards] (PRIoLEAST64): Likewise.
519 [C99-based-standards] (PRIuLEAST64): Likewise.
520 [C99-based-standards] (PRIxLEAST64): Likewise.
521 [C99-based-standards] (PRIXLEAST64): Likewise.
522 [C99-based-standards] (SCNdLEAST64): Likewise.
523 [C99-based-standards] (SCNiLEAST64): Likewise.
524 [C99-based-standards] (SCNoLEAST64): Likewise.
525 [C99-based-standards] (SCNuLEAST64): Likewise.
526 [C99-based-standards] (SCNxLEAST64): Likewise.
527 [C99-based-standards] (PRIdFAST64): Likewise.
528 [C99-based-standards] (PRIiFAST64): Likewise.
529 [C99-based-standards] (PRIoFAST64): Likewise.
530 [C99-based-standards] (PRIuFAST64): Likewise.
531 [C99-based-standards] (PRIxFAST64): Likewise.
532 [C99-based-standards] (PRIXFAST64): Likewise.
533 [C99-based-standards] (SCNdFAST64): Likewise.
534 [C99-based-standards] (SCNiFAST64): Likewise.
535 [C99-based-standards] (SCNoFAST64): Likewise.
536 [C99-based-standards] (SCNuFAST64): Likewise.
537 [C99-based-standards] (SCNxFAST64): Likewise.
538 [C99-based-standards] (PRIdMAX): Likewise.
539 [C99-based-standards] (PRIiMAX): Likewise.
540 [C99-based-standards] (PRIoMAX): Likewise.
541 [C99-based-standards] (PRIuMAX): Likewise.
542 [C99-based-standards] (PRIxMAX): Likewise.
543 [C99-based-standards] (PRIXMAX): Likewise.
544 [C99-based-standards] (SCNdMAX): Likewise.
545 [C99-based-standards] (SCNiMAX): Likewise.
546 [C99-based-standards] (SCNoMAX): Likewise.
547 [C99-based-standards] (SCNuMAX): Likewise.
548 [C99-based-standards] (SCNxMAX): Likewise.
549 [C99-based-standards] (PRIdPTR): Likewise.
550 [C99-based-standards] (PRIiPTR): Likewise.
551 [C99-based-standards] (PRIoPTR): Likewise.
552 [C99-based-standards] (PRIuPTR): Likewise.
553 [C99-based-standards] (PRIxPTR): Likewise.
554 [C99-based-standards] (PRIXPTR): Likewise.
555 [C99-based-standards] (SCNdPTR): Likewise.
556 [C99-based-standards] (SCNiPTR): Likewise.
557 [C99-based-standards] (SCNoPTR): Likewise.
558 [C99-based-standards] (SCNuPTR): Likewise.
559 [C99-based-standards] (SCNxPTR): Likewise.
560 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
561 allow.
562 * conform/data/stdint.h-data: Update comments to clarify
563 requirements.
564 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
565 type.
566 [C99-based standards] (INT8_MAX): Likewise.
567 [C99-based standards] (INT16_MIN): Likewise.
568 [C99-based standards] (INT16_MAX): Likewise.
569 [C99-based standards] (INT32_MIN): Likewise.
570 [C99-based standards] (INT32_MAX): Likewise.
571 [C99-based standards] (INT64_MIN): Likewise.
572 [C99-based standards] (INT64_MAX): Likewise.
573 [C99-based standards] (UINT8_MAX): Likewise.
574 [C99-based standards] (UINT16_MAX): Likewise.
575 [C99-based standards] (UINT32_MAX): Likewise.
576 [C99-based standards] (UINT64_MAX): Likewise.
577 [C99-based standards] (INT_LEAST8_MIN): Likewise.
578 [C99-based standards] (INT_LEAST8_MAX): Likewise.
579 [C99-based standards] (INT_LEAST16_MIN): Likewise.
580 [C99-based standards] (INT_LEAST16_MAX): Likewise.
581 [C99-based standards] (INT_LEAST32_MIN): Likewise.
582 [C99-based standards] (INT_LEAST32_MAX): Likewise.
583 [C99-based standards] (INT_LEAST64_MIN): Likewise.
584 [C99-based standards] (INT_LEAST64_MAX): Likewise.
585 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
586 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
587 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
588 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
589 [C99-based standards] (INT_FAST8_MIN): Likewise.
590 [C99-based standards] (INT_FAST8_MAX): Likewise.
591 [C99-based standards] (INT_FAST16_MIN): Likewise.
592 [C99-based standards] (INT_FAST16_MAX): Likewise.
593 [C99-based standards] (INT_FAST32_MIN): Likewise.
594 [C99-based standards] (INT_FAST32_MAX): Likewise.
595 [C99-based standards] (INT_FAST64_MIN): Likewise.
596 [C99-based standards] (INT_FAST64_MAX): Likewise.
597 [C99-based standards] (UINT_FAST8_MAX): Likewise.
598 [C99-based standards] (UINT_FAST16_MAX): Likewise.
599 [C99-based standards] (UINT_FAST32_MAX): Likewise.
600 [C99-based standards] (UINT_FAST64_MAX): Likewise.
601 [C99-based standards] (INTPTR_MIN): Likewise.
602 [C99-based standards] (INTPTR_MAX): Likewise.
603 [C99-based standards] (UINTPTR_MAX): Likewise.
604 [C99-based standards] (INTMAX_MIN): Likewise.
605 [C99-based standards] (INTMAX_MAX): Likewise.
606 [C99-based standards] (UINTMAX_MAX): Likewise.
607 [C99-based standards] (PTRDIFF_MIN): Likewise.
608 [C99-based standards] (PTRDIFF_MAX): Likewise.
609 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
610 [C99-based standards] (SIZE_MAX): Likewise.
611 [C99-based standards] (WCHAR_MAX): Likewise.
612 [C99-based standards] (WINT_MAX): Likewise.
613 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
614 constraint on value.
615 [C99-based standards] (WCHAR_MIN): Likewise.
616 [C99-based standards] (WINT_MIN): Likewise.
617 [C99-based standards] (*_t): Allow.
618 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
619 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
620 Include math.h-data and complex.h-data. Remove all expectations
621 of math.h and complex.h contents.
622 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
623 at end of line.
624 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
625 (struct tm): Expect tag.
626 [C99-based-standards] (wcstof): Expect function.
627 [C99-based-standards] (wcstold): Likewise.
628 [C99-based-standards] (wcstoll): Likewise.
629 [C99-based-standards] (wcstoull): Likewise.
630 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
631 macro-int-constant. Specify type.
632 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
633 constraint on value.
634 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
635 Specify type.
636 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
637 Specify value.
638 [ISO C standards]: Do not allow headers.
639 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
640 wcs[abcdefghijklmnopqrstuvwxyz]*.
641 [ISO C standards] (*_t): Do not allow.
642 * conform/data/wctype.h-data [C99-based standards] (iswblank):
643 Expect function.
644 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
645 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
646 Specify type.
647 [ISO C standards]: Do not allow headers.
648 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
649 is[abcdefghijklmnopqrstuvwxyz]*.
650 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
651 to[abcdefghijklmnopqrstuvwxyz]*.
652 [ISO C standards] (*_t): Do not allow.
653 * conform/data/stdalign.h-data: New file.
654 * conform/data/stdbool.h-data: Likewise.
655 * conform/data/stdnoreturn.h-data: Likewise.
656
01f34a3b
JL
6572012-11-07 Andreas Jaeger <aj@suse.de>
658
659 [BZ #14809]
660 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
661 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
662 guards are changed. Only define if not yet defined, #undef back
663 after including linux/sysctl.h if defined here.
664
7514feb8
RM
6652012-11-07 Roland McGrath <roland@hack.frob.com>
666
667 [BZ #14815]
668 * manual/filesys.texi (Directory Entries): Typo fix.
669 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
670
19b2ecfc
MS
6712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
672
673 * elf/elf.h (EM_AARCH64): New macro.
674 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
675 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
676 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
677 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
678 (R_AARCH64_TLSDESC): Likewise.
679 (NT_ARM_TLS): Likewise.
680 (NT_ARM_HW_BREAK): Likewise.
681 (NT_ARM_HW_WATCH): Likewise.
682
60e235ee
JM
6832012-11-07 Joseph Myers <joseph@codesourcery.com>
684
685 [BZ #14811]
686 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
687 (__ieee754_powl): Saturate nonzero exponents with absolute value
688 below 0x1p-79 to +/- 0x1p-79.
689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
690 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
691 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
692 nonzero exponents with absolute value below 0x1p-32 to +/-
693 0x1p-32.
694 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
695 (__ieee754_powl): Saturate nonzero exponents with absolute value
696 below 0x1p-79 to +/- 0x1p-79.
697 * math/libm-test.inc (pow_test): Add more tests.
698
0ab234b7
AK
6992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
700
701 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
702 _dl_s390_cap_flags with kernel. Increase string length.
703 (_dl_s390_platforms): Add z196 and zEC12.
704
45832f74
JM
7052012-11-07 Joseph Myers <joseph@codesourcery.com>
706
707 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
708 Change XOPEN21K to XOPEN2K.
709
19218757
MK
7102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
711
712 * string/memmove.c: Use memcpy when possible.
713
c5f45721
AJ
7142012-11-06 Andreas Jaeger <aj@suse.de>
715
716 * po/eo.po: Update from translation team.
717
82477c28
JM
7182012-11-06 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #14793]
721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
722 exponent and small x and y exponents, scale x or y up. Increase
723 by 2 the exponent used in scaling up.
724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
726 * math/libm-test.inc (fma_test): Add more tests.
727 (fma_test_towardzero): Likewise.
728 (fma_test_downward): Likewise.
729 (fma_test_upward): Likewise.
730
99252c8c
JM
7312012-11-05 Joseph Myers <joseph@codesourcery.com>
732
acfa885f
JM
733 [BZ #14805]
734 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
735 fenv_t *.
736
99252c8c
JM
737 [BZ #14801]
738 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
739 namespace for names of struct fields.
740 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
741 fenv_t fields.
742 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
743 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
744
d6d98dea
ST
7452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
746
747 [BZ #3665]
748 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
749
e10bb107
TS
7502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
751
752 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
753 PTR_DEMANGLE.
754
755 [BZ #5246]
756 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
757 PTR_DEMANGLE.
758
a0c2940d
JM
7592012-11-04 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #14797]
762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
763 definitely overflow as x * y not x * y + z.
764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
766 * math/libm-test.inc (fma_test): Add more tests.
767 (fma_test_towardzero): Likewise.
768 (fma_test_downward): Likewise.
769 (fma_test_upward): Likewise.
770
b830319d
TS
7712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
772
773 [BZ #157]
774
775 * include/stub-tag.h: Remove file.
776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
777 '#include' of it.
778 * manual/maint.texi (Porting): Don't reference it.
779 * Makerules ($(objpfx)stubs): Likewise.
780 * dirent/closedir.c: Don't include <stub-tag.h>.
781 * dirent/dirfd.c: Likewise.
782 * dirent/fdopendir.c: Likewise.
783 * dirent/getdents.c: Likewise.
784 * dirent/getdents64.c: Likewise.
785 * dirent/opendir.c: Likewise.
786 * dirent/readdir.c: Likewise.
787 * dirent/readdir64.c: Likewise.
788 * dirent/readdir64_r.c: Likewise.
789 * dirent/readdir_r.c: Likewise.
790 * dirent/rewinddir.c: Likewise.
791 * dirent/seekdir.c: Likewise.
792 * dirent/telldir.c: Likewise.
793 * gmon/profil.c: Likewise.
794 * grp/setgroups.c: Likewise.
795 * inet/if_index.c: Likewise.
796 * io/access.c: Likewise.
797 * io/chdir.c: Likewise.
798 * io/chmod.c: Likewise.
799 * io/chown.c: Likewise.
800 * io/close.c: Likewise.
801 * io/dup.c: Likewise.
802 * io/dup2.c: Likewise.
803 * io/dup3.c: Likewise.
804 * io/euidaccess.c: Likewise.
805 * io/faccessat.c: Likewise.
806 * io/fchdir.c: Likewise.
807 * io/fchmod.c: Likewise.
808 * io/fchmodat.c: Likewise.
809 * io/fchown.c: Likewise.
810 * io/fchownat.c: Likewise.
811 * io/fcntl.c: Likewise.
812 * io/flock.c: Likewise.
813 * io/fstatfs.c: Likewise.
814 * io/fstatfs64.c: Likewise.
815 * io/fstatvfs.c: Likewise.
816 * io/fstatvfs64.c: Likewise.
817 * io/futimens.c: Likewise.
818 * io/fxstat.c: Likewise.
819 * io/fxstat64.c: Likewise.
820 * io/fxstatat.c: Likewise.
821 * io/fxstatat64.c: Likewise.
822 * io/getcwd.c: Likewise.
823 * io/isatty.c: Likewise.
824 * io/lchmod.c: Likewise.
825 * io/lchown.c: Likewise.
826 * io/link.c: Likewise.
827 * io/linkat.c: Likewise.
828 * io/lseek.c: Likewise.
829 * io/lseek64.c: Likewise.
830 * io/lxstat64.c: Likewise.
831 * io/mkdir.c: Likewise.
832 * io/mkdirat.c: Likewise.
833 * io/mkfifo.c: Likewise.
834 * io/mkfifoat.c: Likewise.
835 * io/open.c: Likewise.
836 * io/open64.c: Likewise.
837 * io/openat.c: Likewise.
838 * io/openat64.c: Likewise.
839 * io/pipe.c: Likewise.
840 * io/pipe2.c: Likewise.
841 * io/poll.c: Likewise.
842 * io/posix_fadvise.c: Likewise.
843 * io/posix_fadvise64.c: Likewise.
844 * io/posix_fallocate.c: Likewise.
845 * io/posix_fallocate64.c: Likewise.
846 * io/read.c: Likewise.
847 * io/readlink.c: Likewise.
848 * io/readlinkat.c: Likewise.
849 * io/rmdir.c: Likewise.
850 * io/sendfile.c: Likewise.
851 * io/sendfile64.c: Likewise.
852 * io/statfs.c: Likewise.
853 * io/statfs64.c: Likewise.
854 * io/statvfs.c: Likewise.
855 * io/statvfs64.c: Likewise.
856 * io/symlink.c: Likewise.
857 * io/symlinkat.c: Likewise.
858 * io/ttyname.c: Likewise.
859 * io/ttyname_r.c: Likewise.
860 * io/umask.c: Likewise.
861 * io/unlink.c: Likewise.
862 * io/unlinkat.c: Likewise.
863 * io/utime.c: Likewise.
864 * io/utimensat.c: Likewise.
865 * io/write.c: Likewise.
866 * io/xmknod.c: Likewise.
867 * io/xmknodat.c: Likewise.
868 * io/xstat.c: Likewise.
869 * io/xstat64.c: Likewise.
870 * login/getpt.c: Likewise.
871 * login/grantpt.c: Likewise.
872 * login/unlockpt.c: Likewise.
873 * math/e_acoshl.c: Likewise.
874 * math/e_acosl.c: Likewise.
875 * math/e_asinl.c: Likewise.
876 * math/e_atan2l.c: Likewise.
877 * math/e_atanhl.c: Likewise.
878 * math/e_coshl.c: Likewise.
879 * math/e_expl.c: Likewise.
880 * math/e_fmodl.c: Likewise.
881 * math/e_gammal_r.c: Likewise.
882 * math/e_hypotl.c: Likewise.
883 * math/e_j0l.c: Likewise.
884 * math/e_j1l.c: Likewise.
885 * math/e_jnl.c: Likewise.
886 * math/e_lgammal_r.c: Likewise.
887 * math/e_log10l.c: Likewise.
888 * math/e_log2l.c: Likewise.
889 * math/e_logl.c: Likewise.
890 * math/e_powl.c: Likewise.
891 * math/e_rem_pio2l.c: Likewise.
892 * math/e_sinhl.c: Likewise.
893 * math/e_sqrtl.c: Likewise.
894 * math/fclrexcpt.c: Likewise.
895 * math/fedisblxcpt.c: Likewise.
896 * math/feenablxcpt.c: Likewise.
897 * math/fegetenv.c: Likewise.
898 * math/fegetexcept.c: Likewise.
899 * math/fegetround.c: Likewise.
900 * math/feholdexcpt.c: Likewise.
901 * math/fesetenv.c: Likewise.
902 * math/fesetround.c: Likewise.
903 * math/feupdateenv.c: Likewise.
904 * math/fgetexcptflg.c: Likewise.
905 * math/fraiseexcpt.c: Likewise.
906 * math/fsetexcptflg.c: Likewise.
907 * math/ftestexcept.c: Likewise.
908 * math/k_cosl.c: Likewise.
909 * math/k_rem_pio2l.c: Likewise.
910 * math/k_sinl.c: Likewise.
911 * math/k_tanl.c: Likewise.
912 * math/s_asinhl.c: Likewise.
913 * math/s_atanl.c: Likewise.
914 * math/s_cbrtl.c: Likewise.
915 * math/s_erfl.c: Likewise.
916 * math/s_expm1l.c: Likewise.
917 * math/s_log1pl.c: Likewise.
918 * math/s_tanhl.c: Likewise.
919 * misc/acct.c: Likewise.
920 * misc/brk.c: Likewise.
921 * misc/chflags.c: Likewise.
922 * misc/chroot.c: Likewise.
923 * misc/fchflags.c: Likewise.
924 * misc/fgetxattr.c: Likewise.
925 * misc/flistxattr.c: Likewise.
926 * misc/fremovexattr.c: Likewise.
927 * misc/fsetxattr.c: Likewise.
928 * misc/fsync.c: Likewise.
929 * misc/ftruncate.c: Likewise.
930 * misc/futimes.c: Likewise.
931 * misc/futimesat.c: Likewise.
932 * misc/getdomain.c: Likewise.
933 * misc/getdtsz.c: Likewise.
934 * misc/gethostid.c: Likewise.
935 * misc/gethostname.c: Likewise.
936 * misc/getloadavg.c: Likewise.
937 * misc/getpagesize.c: Likewise.
938 * misc/getsysstats.c: Likewise.
939 * misc/getxattr.c: Likewise.
940 * misc/gtty.c: Likewise.
941 * misc/ioctl.c: Likewise.
942 * misc/lgetxattr.c: Likewise.
943 * misc/listxattr.c: Likewise.
944 * misc/llistxattr.c: Likewise.
945 * misc/lremovexattr.c: Likewise.
946 * misc/lsetxattr.c: Likewise.
947 * misc/lutimes.c: Likewise.
948 * misc/madvise.c: Likewise.
949 * misc/mincore.c: Likewise.
950 * misc/mlock.c: Likewise.
951 * misc/mlockall.c: Likewise.
952 * misc/mmap.c: Likewise.
953 * misc/mprotect.c: Likewise.
954 * misc/msync.c: Likewise.
955 * misc/munlock.c: Likewise.
956 * misc/munlockall.c: Likewise.
957 * misc/munmap.c: Likewise.
958 * misc/preadv.c: Likewise.
959 * misc/preadv64.c: Likewise.
960 * misc/ptrace.c: Likewise.
961 * misc/pwritev.c: Likewise.
962 * misc/pwritev64.c: Likewise.
963 * misc/readv.c: Likewise.
964 * misc/reboot.c: Likewise.
965 * misc/remap_file_pages.c: Likewise.
966 * misc/removexattr.c: Likewise.
967 * misc/revoke.c: Likewise.
968 * misc/select.c: Likewise.
969 * misc/setdomain.c: Likewise.
970 * misc/setegid.c: Likewise.
971 * misc/seteuid.c: Likewise.
972 * misc/sethostid.c: Likewise.
973 * misc/sethostname.c: Likewise.
974 * misc/setregid.c: Likewise.
975 * misc/setreuid.c: Likewise.
976 * misc/setxattr.c: Likewise.
977 * misc/sstk.c: Likewise.
978 * misc/stty.c: Likewise.
979 * misc/swapoff.c: Likewise.
980 * misc/swapon.c: Likewise.
981 * misc/sync.c: Likewise.
982 * misc/syncfs.c: Likewise.
983 * misc/syscall.c: Likewise.
984 * misc/truncate.c: Likewise.
985 * misc/ualarm.c: Likewise.
986 * misc/usleep.c: Likewise.
987 * misc/ustat.c: Likewise.
988 * misc/utimes.c: Likewise.
989 * misc/vhangup.c: Likewise.
990 * misc/writev.c: Likewise.
991 * posix/_exit.c: Likewise.
992 * posix/alarm.c: Likewise.
993 * posix/execve.c: Likewise.
994 * posix/fexecve.c: Likewise.
995 * posix/fork.c: Likewise.
996 * posix/fpathconf.c: Likewise.
997 * posix/getaddrinfo.c: Likewise.
998 * posix/getegid.c: Likewise.
999 * posix/geteuid.c: Likewise.
1000 * posix/getgid.c: Likewise.
1001 * posix/getgroups.c: Likewise.
1002 * posix/getlogin.c: Likewise.
1003 * posix/getlogin_r.c: Likewise.
1004 * posix/getpgid.c: Likewise.
1005 * posix/getpid.c: Likewise.
1006 * posix/getppid.c: Likewise.
1007 * posix/getresgid.c: Likewise.
1008 * posix/getresuid.c: Likewise.
1009 * posix/getsid.c: Likewise.
1010 * posix/getuid.c: Likewise.
1011 * posix/glob64.c: Likewise.
1012 * posix/nanosleep.c: Likewise.
1013 * posix/pathconf.c: Likewise.
1014 * posix/pause.c: Likewise.
1015 * posix/posix_madvise.c: Likewise.
1016 * posix/pread.c: Likewise.
1017 * posix/pread64.c: Likewise.
1018 * posix/pwrite.c: Likewise.
1019 * posix/pwrite64.c: Likewise.
1020 * posix/sched_getaffinity.c: Likewise.
1021 * posix/sched_getp.c: Likewise.
1022 * posix/sched_gets.c: Likewise.
1023 * posix/sched_primax.c: Likewise.
1024 * posix/sched_primin.c: Likewise.
1025 * posix/sched_rr_gi.c: Likewise.
1026 * posix/sched_setaffinity.c: Likewise.
1027 * posix/sched_setp.c: Likewise.
1028 * posix/sched_sets.c: Likewise.
1029 * posix/sched_yield.c: Likewise.
1030 * posix/setgid.c: Likewise.
1031 * posix/setlogin.c: Likewise.
1032 * posix/setpgid.c: Likewise.
1033 * posix/setresgid.c: Likewise.
1034 * posix/setresuid.c: Likewise.
1035 * posix/setsid.c: Likewise.
1036 * posix/setuid.c: Likewise.
1037 * posix/sleep.c: Likewise.
1038 * posix/spawni.c: Likewise.
1039 * posix/sysconf.c: Likewise.
1040 * posix/times.c: Likewise.
1041 * posix/wait.c: Likewise.
1042 * posix/wait3.c: Likewise.
1043 * posix/wait4.c: Likewise.
1044 * posix/waitpid.c: Likewise.
1045 * resolv/gai_sigqueue.c: Likewise.
1046 * resource/getpriority.c: Likewise.
1047 * resource/getrlimit.c: Likewise.
1048 * resource/getrusage.c: Likewise.
1049 * resource/nice.c: Likewise.
1050 * resource/setpriority.c: Likewise.
1051 * resource/setrlimit.c: Likewise.
1052 * resource/ulimit.c: Likewise.
1053 * rt/aio_cancel.c: Likewise.
1054 * rt/aio_fsync.c: Likewise.
1055 * rt/aio_read.c: Likewise.
1056 * rt/aio_sigqueue.c: Likewise.
1057 * rt/aio_suspend.c: Likewise.
1058 * rt/aio_write.c: Likewise.
1059 * rt/clock_getres.c: Likewise.
1060 * rt/clock_gettime.c: Likewise.
1061 * rt/clock_nanosleep.c: Likewise.
1062 * rt/clock_settime.c: Likewise.
1063 * rt/lio_listio.c: Likewise.
1064 * rt/mq_close.c: Likewise.
1065 * rt/mq_getattr.c: Likewise.
1066 * rt/mq_notify.c: Likewise.
1067 * rt/mq_open.c: Likewise.
1068 * rt/mq_receive.c: Likewise.
1069 * rt/mq_send.c: Likewise.
1070 * rt/mq_setattr.c: Likewise.
1071 * rt/mq_timedreceive.c: Likewise.
1072 * rt/mq_timedsend.c: Likewise.
1073 * rt/mq_unlink.c: Likewise.
1074 * rt/shm_open.c: Likewise.
1075 * rt/shm_unlink.c: Likewise.
1076 * rt/timer_create.c: Likewise.
1077 * rt/timer_delete.c: Likewise.
1078 * rt/timer_getoverr.c: Likewise.
1079 * rt/timer_gettime.c: Likewise.
1080 * rt/timer_settime.c: Likewise.
1081 * setjmp/__longjmp.c: Likewise.
1082 * setjmp/setjmp.c: Likewise.
1083 * signal/kill.c: Likewise.
1084 * signal/killpg.c: Likewise.
1085 * signal/raise.c: Likewise.
1086 * signal/sigaction.c: Likewise.
1087 * signal/sigaltstack.c: Likewise.
1088 * signal/sigblock.c: Likewise.
1089 * signal/sigignore.c: Likewise.
1090 * signal/sigintr.c: Likewise.
1091 * signal/signal.c: Likewise.
1092 * signal/sigpause.c: Likewise.
1093 * signal/sigpending.c: Likewise.
1094 * signal/sigqueue.c: Likewise.
1095 * signal/sigreturn.c: Likewise.
1096 * signal/sigset.c: Likewise.
1097 * signal/sigsetmask.c: Likewise.
1098 * signal/sigstack.c: Likewise.
1099 * signal/sigsuspend.c: Likewise.
1100 * signal/sigtimedwait.c: Likewise.
1101 * signal/sigvec.c: Likewise.
1102 * signal/sigwait.c: Likewise.
1103 * signal/sigwaitinfo.c: Likewise.
1104 * signal/sysv_signal.c: Likewise.
1105 * socket/accept.c: Likewise.
1106 * socket/accept4.c: Likewise.
1107 * socket/bind.c: Likewise.
1108 * socket/connect.c: Likewise.
1109 * socket/getpeername.c: Likewise.
1110 * socket/getsockname.c: Likewise.
1111 * socket/getsockopt.c: Likewise.
1112 * socket/isfdtype.c: Likewise.
1113 * socket/listen.c: Likewise.
1114 * socket/recv.c: Likewise.
1115 * socket/recvfrom.c: Likewise.
1116 * socket/recvmsg.c: Likewise.
1117 * socket/send.c: Likewise.
1118 * socket/sendmsg.c: Likewise.
1119 * socket/sendto.c: Likewise.
1120 * socket/setsockopt.c: Likewise.
1121 * socket/shutdown.c: Likewise.
1122 * socket/sockatmark.c: Likewise.
1123 * socket/socket.c: Likewise.
1124 * socket/socketpair.c: Likewise.
1125 * stdio-common/ctermid.c: Likewise.
1126 * stdio-common/cuserid.c: Likewise.
1127 * stdio-common/remove.c: Likewise.
1128 * stdio-common/rename.c: Likewise.
1129 * stdio-common/renameat.c: Likewise.
1130 * stdio-common/tempname.c: Likewise.
1131 * stdlib/getcontext.c: Likewise.
1132 * stdlib/makecontext.c: Likewise.
1133 * stdlib/setcontext.c: Likewise.
1134 * stdlib/swapcontext.c: Likewise.
1135 * stdlib/system.c: Likewise.
1136 * streams/fattach.c: Likewise.
1137 * streams/fdetach.c: Likewise.
1138 * streams/getmsg.c: Likewise.
1139 * streams/getpmsg.c: Likewise.
1140 * streams/putmsg.c: Likewise.
1141 * streams/putpmsg.c: Likewise.
1142 * sysdeps/unix/bsd/getpt.c: Likewise.
1143 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1144 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1145 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1147 Likewise.
1148 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1149 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1150 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1151 * sysvipc/msgctl.c: Likewise.
1152 * sysvipc/msgget.c: Likewise.
1153 * sysvipc/msgrcv.c: Likewise.
1154 * sysvipc/msgsnd.c: Likewise.
1155 * sysvipc/semctl.c: Likewise.
1156 * sysvipc/semget.c: Likewise.
1157 * sysvipc/semop.c: Likewise.
1158 * sysvipc/semtimedop.c: Likewise.
1159 * sysvipc/shmat.c: Likewise.
1160 * sysvipc/shmctl.c: Likewise.
1161 * sysvipc/shmdt.c: Likewise.
1162 * sysvipc/shmget.c: Likewise.
1163 * termios/tcdrain.c: Likewise.
1164 * termios/tcflow.c: Likewise.
1165 * termios/tcflush.c: Likewise.
1166 * termios/tcgetattr.c: Likewise.
1167 * termios/tcgetpgrp.c: Likewise.
1168 * termios/tcsendbrk.c: Likewise.
1169 * termios/tcsetattr.c: Likewise.
1170 * termios/tcsetpgrp.c: Likewise.
1171 * time/adjtime.c: Likewise.
1172 * time/clock.c: Likewise.
1173 * time/getitimer.c: Likewise.
1174 * time/gettimeofday.c: Likewise.
1175 * time/setitimer.c: Likewise.
1176 * time/settimeofday.c: Likewise.
1177 * time/stime.c: Likewise.
1178 * time/time.c: Likewise.
1179
11802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1181
a20492cf
PT
1182 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1183 /usr/old/bin.
1184
72e182e3
PT
1185 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1186 instead of spaces.
1187 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1188
fbeafede
JM
11892012-11-03 Joseph Myers <joseph@codesourcery.com>
1190
5b5b04d6
JM
1191 [BZ #14796]
1192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1193 FE_TONEAREST before applying Dekker multiplication and Knuth
1194 addition. Clear inexact exceptions and check for exact zero
1195 results afterwards.
1196 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1197 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1198 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1199 * math/libm-test.inc (fma_test): Add more tests.
1200 (fma_test_towardzero): Likewise.
1201 (fma_test_downward): Likewise.
1202 (fma_test_upward): Likewise.
1203 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1204 function.
1205 (libc_fesetround): New macro.
1206 (libc_fesetroundf): Likewise.
1207 (libc_fesetroundl): Likewise.
1208 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1209 function.
1210 (libc_fesetround_387): Likewise.
1211 (libc_fesetroundf): New macro.
1212 (libc_fesetround): Likewise.
1213 (libc_fesetroundl): Likewise.
1214 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1215 function.
1216 (libc_fesetroundf): New macro.
1217 (libc_fesetround): Likewise.
1218 (libc_fesetroundl): Likewise.
1219 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1220 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1221 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1222 libm_hidden_ver.
1223 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1224 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1225 libm_hidden_def.
1226 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1227 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1228 libm_hidden_ver.
1229 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1230 libm_hidden_def.
1231
fbeafede
JM
1232 [BZ #3439]
1233 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1234 integer constant usable in #if and use that to give value to enum
1235 constant.
1236 (FE_DIVBYZERO): Likewise.
1237 (FE_UNDERFLOW): Likewise.
1238 (FE_OVERFLOW): Likewise.
1239 (FE_INVALID): Likewise.
1240 (FE_INVALID_SNAN): Likewise.
1241 (FE_INVALID_ISI): Likewise.
1242 (FE_INVALID_IDI): Likewise.
1243 (FE_INVALID_ZDZ): Likewise.
1244 (FE_INVALID_IMZ): Likewise.
1245 (FE_INVALID_COMPARE): Likewise.
1246 (FE_INVALID_SOFTWARE): Likewise.
1247 (FE_INVALID_SQRT): Likewise.
1248 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1249 (FE_TONEAREST): Likewise.
1250 (FE_TOWARDZERO): Likewise.
1251 (FE_UPWARD): Likewise.
1252 (FE_DOWNWARD): Likewise.
1253 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1254 (FE_DIVBYZERO): Likewise.
1255 (FE_OVERFLOW): Likewise.
1256 (FE_UNDERFLOW): Likewise.
1257 (FE_INEXACT): Likewise.
1258 (FE_TONEAREST): Likewise.
1259 (FE_DOWNWARD): Likewise.
1260 (FE_UPWARD): Likewise.
1261 (FE_TOWARDZERO): Likewise.
1262 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1263 (FE_UNDERFLOW): Likewise.
1264 (FE_OVERFLOW): Likewise.
1265 (FE_DIVBYZERO): Likewise.
1266 (FE_INVALID): Likewise.
1267 (FE_TONEAREST): Likewise.
1268 (FE_TOWARDZERO): Likewise.
1269 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1270 (FE_OVERFLOW): Likewise.
1271 (FE_UNDERFLOW): Likewise.
1272 (FE_DIVBYZERO): Likewise.
1273 (FE_INEXACT): Likewise.
1274 (FE_TONEAREST): Likewise.
1275 (FE_TOWARDZERO): Likewise.
1276 (FE_UPWARD): Likewise.
1277 (FE_DOWNWARD): Likewise.
1278 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1279 (FE_DIVBYZERO): Likewise.
1280 (FE_OVERFLOW): Likewise.
1281 (FE_UNDERFLOW): Likewise.
1282 (FE_INEXACT): Likewise.
1283 (FE_TONEAREST): Likewise.
1284 (FE_DOWNWARD): Likewise.
1285 (FE_UPWARD): Likewise.
1286 (FE_TOWARDZERO): Likewise.
1287
105ca950
CM
12882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1289
1290 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1291
a542b389
AS
12922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1293
1294 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1295 commands. Quote $PWD.
1296 (blacklist_exports): Don't use remove_newlines. Replace "declare
1297 -x" by "export".
1298 (remove_newlines): Remove.
1299
f62c8abc
L
13002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1303 * stdlib/stdlib.h (atof): Moved to ...
1304 * include/bits/stdlib-float.h: Here. New file.
1305 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1306 * stdlib/bits/stdlib-float.h: New file.
1307 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1308 -mno-sse -mno-mmx.
1309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1310 <xmmintrin.h>.
1311
0155d5b2
JM
13122012-11-02 Joseph Myers <joseph@codesourcery.com>
1313
a68d0680
JM
1314 * conform/conformtest.pl (@headers): Add fenv.h.
1315 * conform/data/fenv.h-data: New file.
1316 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1317 include of <math/fenv.h>.
1318
caf7f573
JM
1319 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1320 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1321 && !UNIX98]. Enables tests for XOPEN2K8.
1322 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1323 POSIX2008]: Likewise.
1324
6c073ad6
JM
1325 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1326 (struct rusage): Do not expect type or its members.
1327
0155d5b2
JM
1328 [BZ #3439]
1329 * math/math.h (FP_NAN): Define macro to integer constant usable in
1330 #if and use that to give value to enum constant.
1331 (FP_INFINITE): Likewise.
1332 (FP_ZERO): Likewise.
1333 (FP_SUBNORMAL): Likewise.
1334 (FP_NORMAL): Likewise.
1335
b5dcacb4
AS
13362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1337
1338 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1339 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1340 arguments.
1341
f7934be8
RM
13422012-11-02 Roland McGrath <roland@hack.frob.com>
1343
1344 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1345 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1346 autoconf-time if not.
1347 * configure.in: Remove AC_PREREQ.
1348
d7d08bde
TMQMF
13492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1350
1351 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1352 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1353 of the internal implementation.
1354
dcdae19a
JM
13552012-11-02 Joseph Myers <joseph@codesourcery.com>
1356
1357 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1358 except include of <misc/sys/syslog.h>.
1359
d6cffd3e
AS
13602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1361
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1363 function returns with a NULL context exit with zero.
1364
b3563932
TMQMF
13652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1366
1367 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1368
b288a93d
L
13692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1370
1371 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1372 (run_program_cmd): This.
1373 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1374 (tst_langinfo): New variable. Use it.
1375
a2421a68
SAS
13762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1377
1378 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1379 floating point opcodes.
1380
6f796e1b
TS
13812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1382
7402596b
TS
1383 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1384 variable.
1385
d0d4f868
TS
1386 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1387
6f796e1b
TS
1388 * sysdeps/mach/hurd/powerpc: Remove directory.
1389 * sysdeps/mach/powerpc: Likewise.
1390
4da224a2
AS
13912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1392
1393 * scripts/check-local-headers.sh: Ignore c++ headers.
1394
341dd673
TS
13952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1396
1397 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1398 __libc_cleanup_region_start argument.
1399
473611b2
JM
14002012-11-01 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #14784]
1403 [BZ #14785]
1404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1405 x * y using scaling, not as x * y + z.
1406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1408 * math/libm-test.inc (fma_test): Add more tests.
1409 (fma_test_towardzero): Likewise.
1410 (fma_test_downward): Likewise.
1411 (fma_test_upward): Likewise.
1412
4078da3d
TS
14132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1414
1415 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1416
903252aa
JM
14172012-10-31 Joseph Myers <joseph@codesourcery.com>
1418
1419 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1420 New variable.
1421
cbc818d0
TS
14222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1423
1424 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1425
5a03cb1e
AS
14262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1427
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1429 Fix sort order.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1431 Likewise.
1432
90aff2ff
TMQMF
14332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1434
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1436 Fix the order of the list for glibc 2.17.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1438 Likewise.
1439
1818fcb7
AS
14402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1441
1442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1443
ef82f4da
JM
14442012-10-31 Joseph Myers <joseph@codesourcery.com>
1445
16a0e2ec
JM
1446 [BZ #14610]
1447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1448 for low part of x being zero before using __atanl (y).
1449 * math/libm-test.inc (atan2_test): Add another test.
1450
0eb69512
JM
1451 * manual/install.texi (Configuring and compiling): Document
1452 general use of test-wrapper and test-wrapper-env.
1453 * INSTALL: Regenerated.
1454
ef82f4da
JM
1455 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1456 (__fma): Do not extract and scale down low bits on after-rounding
1457 systems when result rounded to normal precision would have normal
1458 exponent.
1459 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1460 (__fmal): Do not extract and scale down low bits on after-rounding
1461 systems when result rounded to normal precision would have normal
1462 exponent.
1463 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1464 (__fmal): Do not extract and scale down low bits on after-rounding
1465 systems when result rounded to normal precision would have normal
1466 exponent.
1467 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1468 macro.
1469 (fma_test): Add more tests.
1470 (fma_test_towardzero): Likewise.
1471 (fma_test_downward): Likewise.
1472 (fma_test_upward): Likewise.
1473
954ef0d9
L
14742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 * sysdeps/i386/tininess.h: Renamed to ...
1477 * sysdeps/x86/tininess.h: This.
1478 * sysdeps/x86_64/tininess.h: Removed.
1479
df61ffb2
JM
14802012-10-30 Joseph Myers <joseph@codesourcery.com>
1481
1482 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1483 input. Use $(build-program-cmd).
1484 ($(objpfx)tst-array1-static.out): Likewise.
1485 ($(objpfx)tst-array2.out): Likewise.
1486 ($(objpfx)tst-array3.out): Likewise.
1487 ($(objpfx)tst-array4.out): Likewise.
1488 ($(objpfx)tst-array5.out): Likewise.
1489 ($(objpfx)tst-array5-static.out): Likewise.
1490
01767843
CM
14912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1492
47cc1490
CM
1493 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1494 if defined.
1495
01767843
CM
1496 * nss/nsswitch.h (nss_interface_function): Provide new
1497 macro for use with NSS functions.
1498 * grp/initgroups.c: Use new macro.
1499 * nss/getXXbyYY.c: Likewise.
1500 * nss/getXXbyYY_r.c: Likewise.
1501 * nss/getXXent.c: Likewise.
1502 * nss/getXXent_r.c: Likewise.
1503 * sysdeps/posix/getaddrinfo.c: Likewise.
1504
8321aa97
AJ
15052012-10-30 Andreas Jaeger <aj@suse.de>
1506
1507 * po/ru.po: Update Russion translation from translation project.
1508
2a27fd6d
JM
15092012-10-30 Joseph Myers <joseph@codesourcery.com>
1510
8627a232
JM
1511 [BZ #14152]
1512 [BZ #14783]
1513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
1514 result and shift together with sticky bit instead of replicating
1515 round-to-nearest rounding.
1516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1517 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1518 * math/libm-test.inc (fma_test): Add more tests. Do not permit
1519 missing underflow exceptions.
1520 (fma_test_towardzero): Add more tests.
1521 (fma_test_downward): Likewise.
1522 (fma_test_upward): Likewise.
1523
2a27fd6d
JM
1524 [BZ #14047]
1525 * sysdeps/generic/tininess.h: New file.
1526 * sysdeps/i386/tininess.h: Likewise.
1527 * sysdeps/sh/tininess.h: Likewise.
1528 * sysdeps/x86_64/tininess.h: Likewise.
1529 * stdlib/tst-strtod-underflow.c: Likewise.
1530 * stdlib/tst-tininess.c: Likewise.
1531 * stdlib/strtod_l.c: Include <tininess.h>.
1532 (round_and_return): Do not set errno for exact underflow cases.
1533 Force an underflow exception when setting errno for underflow.
1534 Determine underflow based on rounding to normal precision if
1535 TININESS_AFTER_ROUNDING.
1536 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
1537 ERANGE for exact underflow cases.
1538 * stdlib/Makefile (tests): Add tst-tininess and
1539 tst-strtod-underflow.
1540 ($(objpfx)tst-tininess): Use $(link-libm).
1541 ($(objpfx)tst-strtod-underflow): Likewise.
1542
e7170363
AJ
15432012-10-30 Andreas Jaeger <aj@suse.de>
1544
e5088dc6
AJ
1545 [BZ#14767]
1546 * elf/Makefile (tests): Remove conditional for have-initfini-array
1547 since this is now always required and the variable does not exist
1548 anymore.
1549 (tests-static): Likewise.
1550 (modules-names): Likewise.
1551
e7170363 1552 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
1553
1554 * elf/tst-array1.c (fini_array): Make writeable so that it can be
1555 merged with constructor/destructor.
1556 (init_array): Likewise.
1557 * elf/tst-array2dep.c (fini_array): Likewise.
1558 (init_array): Likewise.
1559
60457d8a
MF
15602012-10-29 Mike Frysinger <vapier@gentoo.org>
1561
1562 * manual/message.texi: Delete @cartouche tags.
1563
8bece752
PT
15642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
1565
94ce799f
PT
1566 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
1567 EOPNOTSUPP.
1568 * sysdeps/mach/hurd/fsync.c: Likewise.
1569
8bece752
PT
1570 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
1571 [_POSIX_REALTIME_SIGNALS]: Change condition to
1572 [_POSIX_REALTIME_SIGNALS > 0].
1573
86ebe6b1
AJ
15742012-10-27 Andreas Jaeger <aj@suse.de>
1575
1576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
1577 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
1578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
1579 [__WORDSIZE != 64]: Likewise.
1580
54399c08
L
15812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
1582
1583 * iconvdata/tst-table.sh: Remove ${SHELL}.
1584 * iconvdata/tst-tables.sh: Likewise.
1585
e2211bed
DM
15862012-10-25 David S. Miller <davem@davemloft.net>
1587
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1589 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
1590 of strtoull.
1591
f303f97c
DM
1592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
1593 ifunc-impl-list.c
1594 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1595 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
1596 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
1597 file.
1598
1e9d84cd
RM
15992012-10-25 Roland McGrath <roland@hack.frob.com>
1600
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1602 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
1603 __getdirentries.
1604
df381762
JM
16052012-10-25 Joseph Myers <joseph@codesourcery.com>
1606 Jim Blandy <jimb@codesourcery.com>
1607
1608 * scripts/cross-test-ssh.sh: New file.
1609 * manual/install.texi (Configuring and compiling): Document use of
1610 cross-test-ssh.sh.
1611 * INSTALL: Regenerated.
1612
bff64913
PT
16132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
1614
1615 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
1616 EOPNOTSUPP.
1617
25fe8932
JM
16182012-10-25 Joseph Myers <joseph@codesourcery.com>
1619
1620 * Makeconfig (run-program-prefix): Fix comment.
1621
cc1290d0
JM
16222012-10-24 Joseph Myers <joseph@codesourcery.com>
1623 Jim Blandy <jimb@codesourcery.com>
1624
1625 * Makeconfig (test-wrapper): New variable,
1626 (test-wrapper-env): Likewise.
1627 [$(cross-compiling) = yes && $(test-wrapper) != ""]
1628 (run-built-tests): Define to yes.
1629 (run-program-prefix): Use $(test-wrapper).
1630 (built-program-cmd): Likewise.
1631 * Rules (make-test-out): Use $(test-wrapper-env) and
1632 $(host-built-program-cmd).
1633 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
1634 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
1635 tst-pathopt.sh.
1636 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
1637 $(test-wrapper-env) to tst-rtld-load-self.sh.
1638 ($(objpfx)order2.out): Use $(test-wrapper).
1639 ($(objpfx)tst-initorder.out): Likewise.
1640 ($(objpfx)tst-initorder2.out): Likewise.
1641 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
1642 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
1643 (test_wrapper_env): New variable. Use it to run ld.so.
1644 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
1645 Use it to run ld.so.
1646 (test_wrapper_env): Likewise.
1647 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
1648 $(test-wrapper) to run-iconv-test.sh.
1649 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
1650 (ICONV): Use $test_wrapper.
1651 * posix/Makefile ($(objpfx)globtest.out): Pass
1652 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
1653 globtest.sh, not $(run-program-prefix).
1654 * posix/globtest.sh (run_via_rtld_prefix): New variable.
1655 (test_wrapper): Likewise.
1656 (test_wrapper_env): Likewise. Use it to run globtest with HOME
1657 set together with run_via_rtld_prefix.
1658 (run_program_prefix): Define in terms of test_wrapper and
1659 run_via_rtld_prefix.
1660
6e6249d0
RM
16612012-10-24 Roland McGrath <roland@hack.frob.com>
1662
1663 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
1664 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
1665 Targets removed.
1666
1667 [BZ #14743]
1668 * include/time.h: Remove librt_hidden_proto (clock_gettime).
1669 Declare __clock_getres, __clock_gettime, __clock_settime,
1670 __clock_nanosleep, and __clock_getcpuclockid.
1671 * rt/clock_gettime.c: Define __clock_gettime as an alias.
1672 Remove librt_hidden_def (clock_gettime).
1673 * sysdeps/unix/clock_gettime.c: Likewise.
1674 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
1675 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1676 * rt/clock_getres.c: Define __clock_getres as an alias.
1677 * sysdeps/posix/clock_getres.c: Likewise.
1678 * rt/clock_settime.c: Define __clock_settime as an alias.
1679 * sysdeps/unix/clock_settime.c: Likewise.
1680 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
1681 * sysdeps/unix/clock_nanosleep.c: Likewise.
1682 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1683 * rt/clock-compat.c: New file.
1684 * rt/Makefile (librt-routines): Add clock-compat and move
1685 $(clock-routines) to ...
1686 (routines): ... here, new variable.
1687 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
1688 Don't add get_clockfreq here.
1689 * rt/Versions (libc: GLIBC_2.17): New version set.
1690 Add clock_* symbols here.
1691 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
1692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
1693 (GLIBC_2.17): Add clock_* symbols.
1694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1696 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1705 * NEWS: Mention the move.
1706
1707 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1708 Use __open, __read, __close rather than their public counterparts.
1709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1710 (__get_clockfreq_via_cpuinfo): Likewise.
1711 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
1712 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
1713
1714 * config.h.in (HAVE_IFUNC): New #undef.
1715 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
1716 was successful.
1717 * configure: Regenerated.
1718
0cae3f4b
MF
17192012-10-24 Mike Frysinger <vapier@gentoo.org>
1720
1721 * configure.in: Move READELF check to start of file.
1722 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
1723 libc_cv_asm_gnu_indirect_function in the process.
1724 * configure: Regenerated.
1725
8175a253
MF
17262012-10-24 Mike Frysinger <vapier@gentoo.org>
1727
1728 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
1729 send the output to /dev/null.
1730 (libc_cv_cc_with_libunwind): Likewise.
1731 (libc_cv_as_noexecstack): Likewise.
1732 * configure: Regenerate.
1733
0708a7d1
JM
17342012-10-24 Joseph Myers <joseph@codesourcery.com>
1735
10b40d85
JM
1736 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
1737
0708a7d1
JM
1738 * posix/globtest.sh (TMPDIR): Do not set.
1739 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
1740 (testout): Likewise.
1741
9fddec1a
AJ
17422012-10-24 Andreas Jaeger <aj@suse.de>
1743
3a8db22f
AJ
1744 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
1745 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
1746 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
1747 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
1748 posix_fadvise64, posix_fallocate64.
1749
9fddec1a
AJ
1750 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
1751 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
1752 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
1753 Likewise.
1754 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
1755 Likewise.
1756 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
1757
1758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
1759 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
1760 <bits/fcntl-linux.h>.
1761 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
1762
1763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
1764 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
1765 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
1766 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
1767 [__WORDSIZE != 64]: Likewise.
1768
ebfd1bbd
JM
17692012-10-23 Joseph Myers <joseph@codesourcery.com>
1770
03ac099f
JM
1771 * Makeconfig (run-built-tests): New variable.
1772 * Rules [$(cross-compiling) = yes]: Change condition to
1773 [$(run-built-tests) = no].
1774 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
1775 to [$(run-built-tests) = yes].
1776 * elf/Makefile [$(cross-compiling) = no]: Likewise
1777 * grp/Makefile [$(cross-compiling) = no]: Likewise.
1778 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
1779 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
1780 * intl/Makefile [$(cross-compiling) = no]: Likewise.
1781 * io/Makefile [$(cross-compiling) = no]: Likewise.
1782 * libio/Makefile [$(cross-compiling) = no]: Likewise.
1783 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
1784 * misc/Makefile [$(cross-compiling) = no]: Likewise.
1785 * posix/Makefile [$(cross-compiling) = no]: Likewise.
1786 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
1787 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
1788 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
1789 * string/Makefile [$(cross-compiling) = no]: Likewise.
1790
ebfd1bbd
JM
1791 * posix/Makefile ($(objpfx)globtest.out): Pass
1792 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
1793 $(rtld-installed-name).
1794 * posix/globtest.sh (elf_objpfx): Remove variable.
1795 (rtld_installed_name): Likewise.
1796 (library_path): Likewise.
1797 (run_program_prefix): New variable. Use for running globtest
1798 binary.
1799
166bca24
JB
18002012-10-23 Jim Blandy <jimb@codesourcery.com>
1801 Joseph Myers <joseph@codesourcery.com>
1802
1803 * Makeconfig (host-built-program-cmd): New variable.
1804 * elf/Makefile (tst-stackguard1-ARGS): Use
1805 $(host-built-program-cmd).
1806 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
1807 (tst-spawn-ARGS): Likewise.
1808 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
1809
88866099
JM
18102012-10-23 Joseph Myers <joseph@codesourcery.com>
1811 Jim Blandy <jimb@codesourcery.com>
1812
1813 * Makeconfig (run-via-rtld-prefix): New variable.
1814 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
1815 (built-program-cmd): Likewise.
1816
b4b4c296
AJ
18172012-10-22 Andreas Jaeger <aj@suse.de>
1818
1819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
1820 __O_RSYNC if it exists, otherwise to O_SYNC.
1821
6fb54a22
JB
18222012-10-22 Jim Blandy <jimb@codesourcery.com>
1823 Joseph Myers <joseph@codesourcery.com>
1824
1825 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
1826 /dev/null.
1827 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
1828 from /dev/null
1829 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
1830 /dev/null.
1831
481b90b9
AJ
18322012-10-22 Andreas Jaeger <aj@suse.de>
1833
2a0e2669
AJ
1834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
1835 Define always.
1836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
1837
76e38f9a
AJ
1838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1839 bits/fcntl-linux.h.
1840
7cd37b43
AJ
1841 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
1842 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
1843
481b90b9
AJ
1844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
1845 to __O_LARGEFILE.
1846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
1847 to __O_LARGEFILE.
1848
aba75984
JB
18492012-10-21 Jim Blandy <jimb@codesourcery.com>
1850 Joseph Myers <joseph@codesourcery.com>
1851
1852 * config.make.in (NM): New variable.
1853
88d4247f
AJ
18542012-10-21 Andreas Jaeger <aj@suse.de>
1855
1856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
1857 definitions and declarations that are provided by
1858 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1859
f2eed205
L
18602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 [BZ #14683]
1863 * elf/Makefile (tests-static): Add tst-leaks1-static.
1864 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
1865 ($(objpfx)tst-leaks1-static): New rule.
1866 ($(objpfx)tst-leaks1-static-mem): Likewise.
1867 (tst-leaks1-static-ENV): New macro.
1868 * elf/dl-open.c (dl_open_worker): Check the main application
1869 only if SHARED is defined.
1870 * elf/tst-leaks1-static.c: New file.
1871
335e6931
AJ
18722012-10-20 Andreas Jaeger <aj@suse.de>
1873
1874 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
1875 generic values for Linux.
1876 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
1877 and declarations that are provided by <bits/fcntl-linux.h> and
1878 include <bits/fcntl-linux.h>.
1879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1881
ac5c94d3
RM
18822012-10-20 Roland McGrath <roland@hack.frob.com>
1883
1884 * io/fcntl.h: Move include of <bits/types.h> to the top and
1885 include it unconditionally.
1886
de54b33a
L
18872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
1888
228cfb01
L
1889 * wcsmbs/Makefile (tests-ifunc): New variable.
1890 (tests): Add $(tests-ifunc).
1891 * wcsmbs/test-wcschr-ifunc.c: New file.
1892 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1893 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1894 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1895 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1896 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1897
69f07e5f
L
1898 * string/Makefile (tests-ifunc): New variable.
1899 (tests): Add $(tests-ifunc).
1900 * string/test-memccpy.c (TEST_NAME): New macro.
1901 * string/test-memchr.c (TEST_NAME): Likewise.
1902 * string/test-memcmp.c (TEST_NAME): Likewise.
1903 * string/test-memcpy.c (TEST_NAME): Likewise.
1904 * string/test-memmem.c (TEST_NAME): Likewise.
1905 * string/test-memmove.c (TEST_NAME): Likewise.
1906 * string/test-memset.c (TEST_NAME): Likewise.
1907 * string/test-rawmemchr.c (TEST_NAME): Likewise.
1908 * string/test-stpcpy.c (TEST_NAME): Likewise.
1909 * string/test-stpncpy.c (TEST_NAME): Likewise.
1910 * string/test-strcasecmp.c (TEST_NAME): Likewise.
1911 * string/test-strcasestr.c (TEST_NAME): Likewise.
1912 * string/test-strcat.c (TEST_NAME): Likewise.
1913 * string/test-strchr.c (TEST_NAME): Likewise.
1914 * string/test-strcmp.c(TEST_NAME): Likewise.
1915 * string/test-strcpy.c (TEST_NAME): Likewise.
1916 * string/test-strcspn.c (TEST_NAME): Likewise.
1917 * string/test-strlen.c (TEST_NAME): Likewise.
1918 * string/test-strncasecmp.c (TEST_NAME): Likewise.
1919 * string/test-strncmp.c (TEST_NAME): Likewise.
1920 * string/test-strncpy.c (TEST_NAME): Likewise.
1921 * string/test-strnlen.c (TEST_NAME): Likewise.
1922 * string/test-strpbrk.c (TEST_NAME): Likewise.
1923 * string/test-strrchr.c (TEST_NAME): Likewise.
1924 * string/test-strspn.c (TEST_NAME): Likewise.
1925 * string/test-strstr.c (TEST_NAME): Likewise.
1926 * string/test-bcopy-ifunc.c: New file.
1927 * string/test-bzero-ifunc.c: Likewise.
1928 * string/test-memccpy-ifunc.c: Likewise.
1929 * string/test-memchr-ifunc.c: Likewise.
1930 * string/test-memcmp-ifunc.c: Likewise.
1931 * string/test-memcpy-ifunc.c: Likewise.
1932 * string/test-memmem-ifunc.c: Likewise.
1933 * string/test-memmove-ifunc.c: Likewise.
1934 * string/test-mempcpy-ifunc.c: Likewise.
1935 * string/test-memset-ifunc.c: Likewise.
1936 * string/test-rawmemchr-ifunc.c: Likewise.
1937 * string/test-stpcpy-ifunc.c: Likewise.
1938 * string/test-stpncpy-ifunc.c: Likewise.
1939 * string/test-strcasecmp-ifunc.c: Likewise.
1940 * string/test-strcasestr-ifunc.c: Likewise.
1941 * string/test-strcat-ifunc.c: Likewise.
1942 * string/test-strchr-ifunc.c: Likewise.
1943 * string/test-strchrnul-ifunc.c: Likewise.
1944 * string/test-strcmp-ifunc.c: Likewise.
1945 * string/test-strcpy-ifunc.c: Likewise.
1946 * string/test-strcspn-ifunc.c: Likewise.
1947 * string/test-strlen-ifunc.c: Likewise.
1948 * string/test-strncasecmp-ifunc.c: Likewise.
1949 * string/test-strncat-ifunc.c: Likewise.
1950 * string/test-strncmp-ifunc.c: Likewise.
1951 * string/test-strncpy-ifunc.c: Likewise.
1952 * string/test-strnlen-ifunc.c: Likewise.
1953 * string/test-strpbrk-ifunc.c: Likewise.
1954 * string/test-strrchr-ifunc.c: Likewise.
1955 * string/test-strspn-ifunc.c: Likewise.
1956 * string/test-strstr-ifunc.c: Likewise.
1957
de54b33a
L
1958 * debug/Makefile (tests-ifunc): New variable.
1959 (tests): Add $(tests-ifunc).
1960 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
1961 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
1962 * debug/test-stpcpy_chk-ifunc.c: New file.
1963 * debug/test-strcpy_chk-ifunc.c: Likewise.
1964
88481c16
SP
19652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1966
1967 [BZ #13601]
1968 * elf/dl-load.c (open_verify): Retry read if the entire ELF
1969 header is not read in.
1970
135948bd
JM
19712012-10-19 Joseph Myers <joseph@codesourcery.com>
1972
89f1c388
JM
1973 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
1974 script to $(SHELL) as $<. Pass $(common-objpfx) to script
1975 directly. Pass built executable to script as
1976 $(built-program-cmd).
1977 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
1978 $testprogram without using LD_LIBRARY_PATH and $ldso.
1979
e40a0d21
JM
1980 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
1981 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
1982 $(rtld-installed-name).
1983 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
1984 (rtld_installed_name): Likewise.
1985 (library_path): Likewise.
1986 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
1987 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
1988 $(run-program-prefix) to tst-tables.sh.
1989 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
1990 it to run tst-table-from and tst-table-to.
1991 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
1992 Pass it to tst-table.sh.
1993 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
1994 $(run-program-prefix) to tst-gettext.sh.
1995 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
1996 tst-translit.sh.
1997 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
1998 tst-gettext2.sh.
1999 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2000 to run tst-gettext.
2001 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2002 to run tst-gettext2.
2003 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2004 to run tst-translit.
2005 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2006 $(run-program-prefix) to tst-mtrace.sh.
2007 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2008 to run tst-mtrace.
2009 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2010 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2011 $(rtld-installed-name).
2012 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2013 (rtld_installed_name): Likewise.
2014 (run_program_prefix): New variable. Use it to run wordexp-test.
2015
728e272a
JM
2016 * Makeconfig (ARCH): Remove all definitions.
2017 (machine): Likewise.
2018 [ARCH]: Remove conditional code.
2019 [!objdir]: Give error.
2020 [!objdir] (objpfx): Remove.
2021 [!objdir] (common-objpfx): Likewise.
2022 [!objdir] (common-objdir): Likewise.
2023 * configure.in (config_makefile): Remove. Hardcode Makefile in
2024 AC_CONFIG_FILES call.
2025 * configure: Regenerated.
2026
d528cdcf
JM
2027 [BZ #13888]
2028 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2029 or TMPDIR.
2030 (testout): Likewise.
2031
135948bd
JM
2032 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2033 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2034 $(rtld-installed-name).
2035 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2036 (rtld_installed_name): Likwise.
2037 (runit): Remove function.
2038 (run_getconf): New variable, Use it for running getconf binary.
2039
38c78296
L
20402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 [BZ #14716]
2043 * string/test-memmem.c (check_result): New function.
2044 (do_one_test): Use it.
2045 (check1): New function.
2046 (test_main): Use it.
2047
d077f65f
MT
20482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2049
2050 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2051
ced52c71
JM
20522012-10-18 Joseph Myers <joseph@codesourcery.com>
2053
2054 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2055 (_G_LSEEK64): Likewise.
2056 (_G_MMAP64): Likewise.
2057 (_G_FSTAT64): Likewise.
2058 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2059 (_G_LSEEK64): Likewise.
2060 (_G_MMAP64): Likewise.
2061 (_G_FSTAT64): Likewise.
2062 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2063 unconditional. Call __mmap64 directly.
2064 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2065 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2066 __lseek64 directly.
2067 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2068 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2069 __mmap64 directly.
2070 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2071 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2072 __lseek64 directly.
2073 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2074 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2075 __lseek64 directly.
2076 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2077 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2078 __lseek64 directly.
2079 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2080 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2081 __fxstat64 directly.
2082 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2083 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2084 unconditional.
2085 (freopen64) [!_G_OPEN64]: Remove conditional code.
2086 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2087 unconditional.
2088 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2089 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2090 unconditional.
2091 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2092 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2093 unconditional.
2094 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2095 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2096 unconditional.
2097 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2098 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2099 unconditional.
2100 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2101 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2102 unconditional.
2103 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2104 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2105 unconditional.
2106 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2107
b741de23
SP
21082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2109
2110 [BZ #12140]
2111 * manual/memory.texi (Malloc Tunable Parameters): Add note
2112 about free list pointers overwriting some perturb bytes.
2113 Wording suggested by Roland McGrath.
2114
f9b9d9c9
JM
21152012-10-17 Joseph Myers <joseph@codesourcery.com>
2116
2117 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2118 (lgamma_test): Likewise.
2119 (tgamma_test): Likewise.
2120
172a631a
FW
21212012-10-16 Florian Weimer <fweimer@redhat.com>
2122
2123 [BZ #14700]
2124 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2125 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2126
e9f37252
MK
21272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2128
2129 * NEWS: Mention BZ #14716.
2130 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2131 when removing AVAILABLE1_USES_J macro.
2132
d394eb74
L
21332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2136 (__bswap_64): __uint64_t for unsigned 64-bit int.
2137
ca38dc17
AS
21382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 * include/string.h (memmem): Declare libc hidden alias.
2141 * string/memmem.c (memmem): Define libc hidden alias.
2142 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2143 __read, __close instead of open, read, close.
2144
9a387d1f
L
21452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2146
ac49ecaf
L
2147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2148 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2149 global and hidden.
2150 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2151 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2152 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2153 Likewise.
2154 (__rawmemchr_sse2): Likewise.
2155 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2156 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2157 (__strchr_sse2): Likewise.
2158 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2159 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2160 (__strcasecmp_sse2): Likewise.
2161 (__strncasecmp_sse2): Likewise.
2162 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2163 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2164 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2165 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2166 (__strrchr_sse2): Likewise.
2167 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2168 ifunc-impl-list.c.
2169 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2170 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2171 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2172 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2173 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2175 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2176 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2177 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2178 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2179 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2180 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2181 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2182 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2183 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2184 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2185 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2186 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2187 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2188 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2189 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2190 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2191 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2192 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2193 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2194 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2195 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2196 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2197 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2198 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2199
b090e8ea
L
2200 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2201 global and hidden.
2202 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2203 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2204 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2205 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2206 Likewise.
2207 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2208 Likewise.
2209 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2210 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2211 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2212 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2213 ifunc-impl-list.c.
2214 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2215 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2216 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2217 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2218 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2219 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2220 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2221 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2222 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2223 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2224 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2225 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2226 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2227 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2228 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2229 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2230 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2232 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2233 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2234 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2235 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2236 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2237 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2248 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2255
11dd4af6
L
2256 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2257 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2258 * include/ifunc-impl-list.h: New file.
2259 * misc/ifunc-impl-list.c: Likewise.
2260 * misc/Makefile (routines): Add ifunc-impl-list.
2261 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2262 * string/test-string.h: Include <ifunc-impl-list.h>.
2263 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2264 impl_array): New variables.
2265 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2266 are defined.
2267 (test_init): Call __libc_ifunc_impl_list to initialize
2268 func_list if TEST_IFUNC and TEST_NAME are defined.
2269
9a387d1f
L
2270 * string/Makefile (strop-tests): Add bcopy and bzero.
2271 * string/test-bcopy.c: New file.
2272 * string/test-bzero.c: Likewise.
2273 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2274 defined.
2275 * string/test-memset.c: Support bzero test if TEST_BZERO is
2276 defined.
2277 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2278 __libc_memmove.
2279 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2280 __libc_memset.
2281 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2282 of memset.
2283
472371b9
JM
22842012-10-10 Joseph Myers <joseph@codesourcery.com>
2285
1e4a9536
JM
2286 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2287 * configure: Regenerated.
2288
d173d12e
JM
2289 * Makeconfig (+link-static-before-libc): Don't include
2290 $(link-static-libc).
2291
472371b9
JM
2292 * libio/libio.h (_IO_pos_t): Remove.
2293
89a3ad0b
AO
22942012-10-10 Alexandre Oliva <aoliva@redhat.com>
2295
2296 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2297 McGrath.
2298
e7451425
AO
22992012-10-10 Alexandre Oliva <aoliva@redhat.com>
2300
2301 * crypt/crypt-entry.c: Include fips-private.h.
2302 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2303 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2304 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2305 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2306
4ba74a35
AO
23072012-10-10 Alexandre Oliva <aoliva@redhat.com>
2308
2309 * crypt/crypt-private.h: Include stdbool.h.
2310 (_ufc_setup_salt_r): Return bool.
2311 * crypt/crypt-entry.c: Include errno.h.
2312 (__crypt_r): Return NULL with EINVAL for bad salt.
2313 * crypt/crypt_util.c (bad_for_salt): New.
2314 (_ufc_setup_salt_r): Check that salt is long enough and within
2315 the specified alphabet.
2316 * crypt/badsalttest.c: New file.
2317 * crypt/Makefile (tests): Add it.
2318 ($(objpfx)badsalttest): New.
2319
f96f1242
MK
23202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2321
2322 * NEWS: Add entry for BZ #14602.
2323
0e8e0c1c
JM
23242012-10-09 Joseph Myers <joseph@codesourcery.com>
2325
2326 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2327 type-generic.
2328 * math/libm-test.inc: Update comment listing what functions and
2329 macros are tested.
2330 (isgreater_test): New function.
2331 (isgreaterequal_test): Likewise.
2332 (isless_test): Likewise.
2333 (islessequal_test): Likewise.
2334 (islessgreater_test): Likewise.
2335 (isunordered_test): Likewise.
2336 (main): Call the new functions.
2337
273edc5e
RM
23382012-10-09 Roland McGrath <roland@hack.frob.com>
2339
b8493de0
RM
2340 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2341 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2342 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2343 * sysdeps/i386/configure: Regenerated.
2344 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2345 * sysdeps/mach/configure: Regenerated.
2346 * sysdeps/mach/hurd/configure: Regenerated.
2347 * sysdeps/powerpc/configure: Regenerated.
2348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2350 * sysdeps/s390/s390-32/configure: Regenerated.
2351 * sysdeps/s390/s390-64/configure: Regenerated.
2352 * sysdeps/sh/configure: Regenerated.
2353 * sysdeps/sparc/configure: Regenerated.
2354 * sysdeps/unix/sysv/linux/configure: Regenerated.
2355 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2356 * sysdeps/x86_64/configure: Regenerated.
2357
273edc5e
RM
2358 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2359 defined. Don't check if MAP is NULL.
2360
c8450f70
JM
23612012-10-09 Joseph Myers <joseph@codesourcery.com>
2362
2363 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2364 (_G_stat64): Likewise.
2365 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2366 (_G_stat64): Likewise.
2367 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2368 instead of struct _G_stat64.
2369 * libio/fileops.c (mmap_remap_check): Likewise.
2370 (decide_maybe_mmap): Likewise.
2371 (_IO_new_file_seekoff): Likewise.
2372 (_IO_file_stat): Likewise.
2373 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2374 _G_off64_t.
2375 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2376 instead of struct _G_stat64.
2377 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2378
57e605ba
MK
23792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2380
2381 [BZ #14602]
2382 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2383 Replace with ...
2384 (CHECK_EOL): New macro.
2385 (two_way_short_needle): Check beginning of haystack for EOL. Use
2386 CHECK_EOL.
2387 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2388 Replace with CHECK_EOL.
2389 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2390 Replace with CHECK_EOL.
2391
ef1bb361
JM
23922012-10-08 Joseph Myers <joseph@codesourcery.com>
2393
2394 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2395 type-generic.
2396 * math/libm-test.inc: Update comment listing what functions and
2397 macros are tested.
2398 (finite_test): New function.
2399 (isinf_test): Likewise.
2400 (isnan_test): Likewise.
2401 (fpclassify_test): Test subnormal input.
2402 (isfinite_test): Likewise.
2403 (isnormal_test): Likewise.
2404 (main): Call the new functions.
2405
55f11534
JN
24062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2407
2408 [BZ #14660]
2409 * Makerules (%.dynsym): Force C locale when running
2410 $(OBJDUMP) --dynamic-syms.
2411
1ab29350
AS
24122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2413
2414 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2415 <stdint.h>.
2416
f1ecb7ef
DM
24172012-10-06 David S. Miller <davem@davemloft.net>
2418
2419 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2420 upper 32-bits of the length value in %o2 since we use branch-on-register
2421 tests which consider the entire 64-bit register.
2422
5d41d91a
L
24232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2424
2425 * string/test-strstr.c (check2): Add a test for page boundary.
2426
3baddb72
DM
24272012-10-05 David S. Miller <davem@davemloft.net>
2428
2429 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2431 file.
2432 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2433 sysdep_routines.
2434 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2435 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2436 and bzero when HWCAP_SPARC_CRYPTO is present.
2437
9cee5585
L
24382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2439
d7e0dab9
L
2440 [BZ #14602]
2441 * string/test-strstr.c (check2): New function.
2442 (test_main): Call check2.
2443
03759f47
L
2444 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2445 and bug-strchr1.
2446 * string/bug-strcasestr1.c (do_test): Moved to ...
2447 * string/test-strcasestr.c (check1): Here. New function.
2448 (do_one_test): Break out result checking code into ...
2449 (check_result): This. New function.
2450 (do_one_test): Call check_result.
2451 (test_main): Call check1.
2452 * string/bug-strchr1.c (do_test): Moved to ...
2453 * string/test-strchr.c (check1): Here. New function.
2454 (do_one_test): Break out result checking code into ...
2455 (check_result): This. New function.
2456 (do_one_test): Call check_result.
2457 (test_main): Call check1.
2458 * string/bug-strstr1.c (main): Moved to ...
2459 * string/test-strchr.c (check1): Here. New function.
2460 (do_one_test): Break out result checking code into ...
2461 (check_result): This. New function.
2462 (do_one_test): Call check_result.
2463 (test_main): Call check1.
2464 * string/bug-strcasestr1.c: Removed.
2465 * string/bug-strchr1.c: Likewise.
2466 * string/bug-strstr1.c: Likewise.
2467
53cea63e
L
2468 * elf/Makefile (dl-routines): Add hwcaps.
2469 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2470 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2471 (_dl_important_hwcaps): Moved to ...
2472 * elf/dl-hwcaps.c: Here. New file.
2473 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2474
9cee5585 2475 [BZ #14557]
bb859b06
L
2476 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2477 if IS_IN_rtld isn't defined.
2478
9cee5585
L
2479 * elf/dl-support.c (_dl_sysinfo_map): New.
2480 Include "get-dynamic-info.h" and "setup-vdso.h".
2481 (_dl_non_dynamic_init): Call setup_vdso.
2482 * elf/dynamic-link.h: Don't include <assert.h>.
2483 (elf_get_dynamic_info): Moved to ...
2484 * elf/get-dynamic-info.h: Here. New file.
2485 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2486 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2487 * elf/setup-vdso.h: Here. New file.
2488 * elf/rtld.c: Include "setup-vdso.h".
2489 (dl_main): Call setup_vdso.
2490
23c31b76
JM
24912012-10-05 Joseph Myers <joseph@codesourcery.com>
2492
28234b07
JM
2493 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2494 creal in comment listing functions tested. List finite, isinf,
2495 isnan, isless, islessequal, isgreater, isgreaterequal,
2496 islessgreater, isunordered, lgamma_r and pow10 as functions and
2497 macros not tested. Mention which functions not tested are aliases
2498 for other functions. Fix typo. Note that signs of NaNs are not
2499 tested.
2500
23c31b76
JM
2501 * scripts/config.guess: Update from config.git.
2502 * scripts/config.sub: Likewise.
2503
9043e228
RM
25042012-10-04 Roland McGrath <roland@hack.frob.com>
2505
2506 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2507 * misc/madvise.c (madvise): Renamed to __madvise.
2508 Make madvise a weak alias.
2509 * include/sys/mman.h: Declare __madvise.
2510 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2511 * sysdeps/unix/syscalls.list
2512 (madvise): Make __madvise the strong name, and madvise a weak alias.
2513 * sysdeps/unix/sysv/linux/syscalls.list
2514 (madvise, mmap): Remove redundant entries.
2515 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
2516 * malloc/malloc.c (mtrim): Likewise.
2517 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
2518
f57f8055
RM
25192012-10-03 Roland McGrath <roland@hack.frob.com>
2520
2521 * sysdeps/mach/hurd/dl-cache.c: File removed.
2522 * config.h.in (USE_LDCONFIG): New #undef.
2523 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
2524 * configure: Regenerated.
2525 * elf/Makefile (dl-routines): Add dl-cache only under
2526 [$(use-ldconfig) = yes].
2527 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
2528 cache on [USE_LDCONFIG].
2529 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
2530 [USE_LDCONFIG].
2531 * elf/rtld.c (dl_main): Likewise.
2532
5bb0c10a
PT
25332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
2534
2535 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
2536 _SC_LEVEL4_CACHE_LINESIZE.
2537
010188c6
RM
25382012-10-03 Roland McGrath <roland@hack.frob.com>
2539
2540 * sysdeps/unix/bsd/confstr.h: File removed.
2541
b6c5ec07
AO
25422012-10-02 Alexandre Oliva <aoliva@redhat.com>
2543
2544 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
2545 sys/sdt-config.h.
2546
408223d4
RM
25472012-10-02 Roland McGrath <roland@hack.frob.com>
2548
2549 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
2550 Make 'mapoff' field ElfW(Off) rather than off_t.
2551
bb9510dc
DL
25522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
2553
fc997c6e
DL
2554 * nscd/Makefile: Remove nscd-cflags and all its users.
2555 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
2556 (CFLAGS-nonlib): Add compiler flags for nscd modules.
2557
bb9510dc
DL
2558 [BZ #10631]
2559 * malloc.c (malloc_printerr): Clarify error message.
2560
05699367
L
25612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
2562
2563 [BZ #14648]
2564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2565 Set bit_FMA_Usable if FMA is supported.
2566 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
2567 macro.
2568 (bit_FMA4_Usable): Updated.
2569 (index_FMA_Usable): New macro.
2570 (CPUID_FMA): Likewise
2571 (HAS_FMA): Defined with bit_FMA_Usable.
2572
51367701
RM
25732012-10-01 Roland McGrath <roland@hack.frob.com>
2574
2575 * bits/types.h (__swblk_t): Type removed.
2576 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
2577 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
2578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2579 (__SWBLK_T_TYPE): Likewise.
2580 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2581 (__SWBLK_T_TYPE): Likewise.
2582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2583 (__SWBLK_T_TYPE): Likewise.
2584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2585 (__SWBLK_T_TYPE): Likewise.
2586
4d57bf63 25872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 2588 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
2589
2590 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
2591 (xdr_mapname): Use YPMAXMAP as maxsize.
2592 (xdr_peername): Use YPMAXPEER as maxsize.
2593 (xdr_keydat): Use YPAXRECORD as maxsize.
2594 (xdr_valdat): Use YPMAXRECORD as maxsize.
2595
93c65d43
RM
25962012-10-01 Roland McGrath <roland@hack.frob.com>
2597
497a03d6
RM
2598 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
2599
93c65d43
RM
2600 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
2601 * csu/init-first.c: ... here.
2602 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
2603 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2604 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2605 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2606 * sysdeps/i386/init-first.c: File removed.
2607 * sysdeps/sh/init-first.c: File removed.
2608
bec749fd
JM
26092012-10-01 Joseph Myers <joseph@codesourcery.com>
2610
2611 [BZ #14645]
2612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
2613 if x * y might underflow to zero and z is zero.
2614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2616 * math/libm-test.inc (min_subnorm_value): New variable.
2617 (fma_test): Add more tests.
2618 (fma_test_towardzero): Likewise.
2619 (fma_test_downward): Likewise
2620 (fma_test_upward): Likewise.
2621 (initialize): Set min_subnorm_value.
2622
8ec5b013
JM
26232012-09-29 Joseph Myers <joseph@codesourcery.com>
2624
2625 [BZ #14638]
2626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
2627 0 + 0.
2628 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
2629 mode for addition resulting in exact zero.
2630 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
2631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
2632 exact 0 + 0.
2633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2635 * math/libm-test.inc (fma_test): Add more tests.
2636 (fma_test_towardzero): New function.
2637 (fma_test_downward): Likewise.
2638 (fma_test_upward): Likewise.
2639 (main): Call the new functions.
2640
b1fa802e
DM
26412012-09-28 David S. Miller <davem@davemloft.net>
2642
2643 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2644
d3b9fd9e
RM
26452012-09-28 Roland McGrath <roland@hack.frob.com>
2646
ea4d37b3
RM
2647 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
2648 instead of SIGALRM.
2649
ac51c949
RM
2650 * sysdeps/gnu/_G_config.h: Moved to ...
2651 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
2652 * sysdeps/mach/hurd/_G_config.h: Moved to ...
2653 * sysdeps/generic/_G_config.h: ... here.
2654
28c195f7
RM
2655 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
2656
848917f9
RM
2657 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
2658
6bacf05b
RM
2659 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
2660 Conditionalize target on [libnss_test1.so-version].
2661
91363dbb
RM
2662 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
2663
cc87f7d8
RM
2664 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
2665 (elfobjdir): Move out of conditionals.
2666
b1c608fe
RM
2667 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
2668 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
2669 (__nss_lookup_function): Conditionalize label remove_from_tree on
2670 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 2671
1d9a6d96
DM
26722012-09-28 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
2675 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
2676 file.
2677 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2678 sysdep_routines.
2679 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
2681 when HWCAP_SPARC_CRYPTO is present.
2682
72581615
PT
26832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2684
2685 * io/tst-mknodat.c: Create a FIFO instead of a socket.
2686
715a900c
JL
26872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
2688
2689 [BZ #6530]
2690 * stdio-common/vfprintf.c (process_string_arg): Revert
2691 2000-07-22 change.
2692
26932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
2694
2695 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
2696 for testcase.
2697 * stdio-common/tst-sprintf.c: Include <locale.h>
2698 (main): Test sprintf's handling of incomplete multibyte
2699 characters.
2700
9bac1d86
L
27012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
2702
2703 * elf/dl-runtime.c (VERSYMIDX): Removed.
2704 * elf/dl-version.c (VERSYMIDX): Likewise.
2705 * elf/do-rel.h (VERSYMIDX): Likewise.
2706 (VALIDX): Likewise.
2707 * elf/dynamic-link.h (VERSYMIDX): Likewise.
2708 * elf/rtld.c (VALIDX): Likewise.
2709 (ADDRIDX): Likewise.
9bac1d86
L
2710 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
2711 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
2712 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
2713 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
2714 (VALIDX): Likewise.
2715 (ADDRIDX): Likewise.
9bac1d86 2716
b31606c0
PT
27172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2718
2719 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
2720
11541177
JL
27212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
2722
2723 [BZ #11438]
2724 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
2725 to global scope.
2726 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
2727 addresses are in the same scope as 192.0.2/24.
2728 * posix/gai.conf: Document new scope table defaults.
2729
adb26fae
SP
27302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2731
2732 [BZ #5298]
2733 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
2734 for ftell. Compute offsets from write pointers instead.
2735 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2736
4573c6b0
SP
27372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2738
2739 [BZ #14543]
2740 * libio/Makefile (tests): New test case tst-fseek.
2741 * libio/tst-fseek.c: New test case to verify that fseek/ftell
2742 combination works in wide mode.
2743 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
2744 state when the external buffer state changes.
2745
aa9bbfe6
DM
27462012-09-27 David S. Miller <davem@davemloft.net>
2747
2748 [BZ #14376]
2749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
2750 pass reloc->r_addend in as the 'high' argument to
2751 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2752
784421e7
DM
2753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2754
c39bc8b8
PT
27552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
2756
2757 * rt/tst-aio2.c: Include <pthread.h>.
2758 * rt/tst-aio3.c: Likewise.
2759
1ccc2399
SE
27602012-09-27 Steve Ellcey <sellcey@mips.com>
2761
2762 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
2763
31ed4153
L
27642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
2765
25f5f885
L
2766 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
2767 contents on [SHARED].
31ed4153 2768
b7bfe116
MP
27692012-09-26 Marek Polacek <polacek@redhat.com>
2770
2771 [BZ #14530]
2772 [BZ #13741]
2773 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
2774 for C++ and GCC <4.3 as well as for non GCC compilers.
2775
43c4edba
MT
27762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2777
2778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2779
6a1bf82f
RM
27802012-09-25 Roland McGrath <roland@hack.frob.com>
2781
2782 * Makefile.in (all, install): Declare with .PHONY.
2783 Reported by Michael Hope <michael.hope@linaro.org>.
2784
8ad11b9a
TMQMF
27852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2786
2787 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
2788 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
2789 system header.
2790 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
2791 Likewise.
2792 (sydep_routines): Add the new and the internal functions.
2793 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
2794 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
2796 (GLIBC_2.17): Add the new function.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2798 (GLIBC_2.17): Likewise.
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2800 (GLIBC_2.17): Likewise.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
2802 (GLIBC_2.17): Likewise.
2803 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
2804
7e2fca8d
AM
28052012-09-25 Alan Modra <amodra@gmail.com>
2806
2807 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
2808 Add release barrier before setting once_control to say
2809 initialisation is done. Add hints on lwarx. Use macro in
2810 place of isync.
2811 (clear_once_control): Add release barrier.
2812
b87c4b24
JM
28132012-09-25 Joseph Myers <joseph@codesourcery.com>
2814
d032e0d2
JM
2815 [BZ #13629]
2816 * math/s_clog.c (__clog): Handle more values close to |z| = 1
2817 specially.
2818 * math/s_clog10.c (__clog10): Likewise.
2819 * math/s_clog10f.c (__clog10f): Likewise.
2820 * math/s_clog10l.c (__clog10l): Likewise.
2821 * math/s_clogf.c (__clogf): Likewise.
2822 * math/s_clogl.c (__clogl): Likewise.
2823 * math/Makefile (libm-calls): Add x2y2m1.
2824 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
2825 (__x2y2m1): Likewise.
2826 (__x2y2m1l): Likewise.
2827 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
2828 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2831 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2832 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
2833 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
2834 * sysdeps/i386/fpu/libm-test-ulps: Update.
2835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2836
b87c4b24
JM
2837 [BZ #14621]
2838 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
2839 int as type of variable DEPTH.
2840 (glob): Use size_t instead of int as type of variables NEWCOUNT
2841 and OLD_PATHC.
2842
6d3bf199
LD
28432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2844
22bf5c17
LD
2845 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2846 Add s_sincosf-sse2.
2847 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
2848 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
2849 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
2850 macros for using routine as __sincosf_ia32.
2851 Use macro for function declaration and weak_alias.
2852 * sysdeps/i386/fpu/libm-test-ulps: Update.
2853
2854 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
2855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2856
2857 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
2858 subnormal argument.
2859 * math/s_cexpf.c (__cexpf): Likewise.
2860 * math/s_csinf.c (__csinf): Likewise.
2861 * math/s_csinhf.c (__csinhf): Likewise.
2862 * math/s_ctanf.c (__ctanf): Likewise.
2863 * math/s_ctanhf.c (__ctanhf): Likewise.
2864 * math/s_ccosh.c (__ccoshf): Likewise.
2865 * math/s_cexp.c (__cexpl): Likewise.
2866 * math/s_csin.c (__csin): Likewise.
2867 * math/s_csinh.c (__csinh): Likewise.
2868 * math/s_ctan.c (__ctan): Likewise.
2869 * math/s_ctanh.c (ctanh): Likewise.
2870 * math/s_ccoshl.c (__ccoshl): Likewise.
2871 * math/s_cexpl.c (__cexpl): Likewise.
2872 * math/s_csinl.c (__csinl): Likewise.
2873 * math/s_csinhl.c (__csinhl): Likewise.
2874 * math/s_ctanl.c (__ctanl): Likewise.
2875 * math/s_ctanhl.c (__ctanhl): Likewise.
2876
203e5603
JM
28772012-09-25 Joseph Myers <joseph@codesourcery.com>
2878
2879 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
2880 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
2881 (_IO_off_t): Define to __off_t, not _G_off_t.
2882 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
2883 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
2884 (_IO_wint_t): Define to wint_t, not _G_wint_t.
2885 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
2886 type of __dummy and __dummy2 fields.
2887 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
2888 (_G_ssize_t): Likewise.
2889 (_G_off_t): Likewise.
2890 (_G_pid_t): Likewise.
2891 (_G_uid_t): Likewise.
2892 (_G_wchar_t): Likewise.
2893 (_G_wint_t): Likewise.
2894 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
2895 (_G_ssize_t): Likewise.
2896 (_G_off_t): Likewise.
2897 (_G_pid_t): Likewise.
2898 (_G_uid_t): Likewise.
2899 (_G_wchar_t): Likewise.
2900 (_G_wint_t): Likewise.
2901 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
2902 (_G_ssize_t): Likewise.
2903 (_G_off_t): Likewise.
2904 (_G_pid_t): Likewise.
2905 (_G_uid_t): Likewise.
2906 (_G_wchar_t): Likewise.
2907 (_G_wint_t): Likewise.
2908
9fab36eb
SP
29092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2910
2911 * malloc/arena.c: Include malloc-sysdep.h.
2912 (shrink_heap): Use check_may_shrink_heap to decide if madvise
2913 is sufficient to shrink the heap or an unmap is needed.
2914 * sysdeps/generic/malloc-sysdep.h: New file. Define
2915 new function check_may_shrink_heap.
2916 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
2917 new function check_may_shrink_heap.
2918
2b4f00d1
SP
29192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2920
2921 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
2922 comments.
2923
9a9028b1
DL
29242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
2925
57c69bef
DL
2926 * catgets/test-gencat.sh: Add "set -e".
2927 * elf/tst-pathopt.sh: Likewise.
2928 * grp/tst_fgetgrent.sh: Likewise.
2929 * iconvdata/run-iconv-test.sh: Likewise.
2930 * intl/tst-gettext.sh: Likewise.
2931 * intl/tst-gettext2.sh: Likewise.
2932 * intl/tst-gettext4.sh: Likewise.
2933 * intl/tst-gettext6.sh: Likewise.
2934 * intl/tst-translit.sh: Likewise.
2935 * io/ftwtest-sh: Likewise.
2936 * libio/test-freopen.sh: Likewise.
2937 * malloc/tst-mtrace.sh: Likewise.
2938 * posix/globtest.sh: Likewise.
2939 * posix/tst-getconf.sh: Likewise.
2940 * posix/wordexp-tst.sh: Likewise.
2941 * stdio-common/tst-printf.sh: Likewise.
2942 * stdio-common/tst-unbputc.sh: Likewise.
2943 * stdlib/tst-fmtmsg.sh: Likewise.
2944 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2945 * catgets/Makefile: Do not specify -e option when running
2946 testsuite shell scripts.
2947 * elf/Makefile: Likewise.
2948 * grp/Makefile: Likewise.
2949 * iconvdata/Makefile: Likewise.
2950 * intl/Makefile: Likewise.
2951 * io/Makefile: Likewise.
2952 * libio/Makefile: Likewise.
2953 * malloc/Makefile: Likewise.
2954 * posix/Makefile: Likewise.
2955 * stdio-common/Makefile: Likewise.
2956 * stdlib/Makefile: Likewise.
2957 * sysdeps/x86_64/Makefile: Likewise.
2958
9a9028b1
DL
2959 * io/ftwtest-sh: Add copyright header.
2960 * posix/globtest.sh: Likewise.
2961 * posix/tst-getconf.sh: Likewise.
2962 * posix/wordexp-tst.sh: Likewise.
2963 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
2964
ced6f16e
L
29652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
2966
94b32c39
L
2967 [BZ #13679]
2968 * Makeconfig (+link): Defined as $(+link-static) if
2969 $(build-shared) isn't yes.
2970 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
2971 isn't yes.
2972 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
2973
189e935b
L
2974 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
2975
ced6f16e
L
2976 [BZ #14562]
2977 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
2978 new chunk size with MALLOC_ALIGN_MASK.
2979
a9f8e53a
JM
29802012-09-24 Joseph Myers <joseph@codesourcery.com>
2981
2982 [BZ #5044]
2983 * stdio-common/printf_fphex.c: Include <stdbool.h> and
2984 <rounding-mode.h>.
2985 (__printf_fphex): Determine rounding using get_rounding_mode and
2986 round_away.
2987 * stdio-common/tst-printf-round.c (struct hex_test): New
2988 structure.
2989 (hex_tests): New variable.
2990 (test_hex_in_one_mode): New function.
2991 (do_test): Also run tests for hex float output.
2992
43153109
JM
29932012-09-21 Joseph Myers <joseph@codesourcery.com>
2994
2995 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2996 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
2997 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
2998 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
2999 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3000 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3001 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3002 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3003
8a26625d
JM
30042012-09-20 Joseph Myers <joseph@codesourcery.com>
3005
3006 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3007 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3008 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3009 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3010
f3fd569c
DL
30112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3012
3013 [BZ #14579]
3014 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3015 mode only.
3016 * elf/tst-rtld-load-self.sh: New test.
3017 * elf/Makefile: Run it.
3018
63bbedd4
JM
30192012-09-18 Joseph Myers <joseph@codesourcery.com>
3020
3021 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3022 (tst-writev-ENV): Remove.
3023 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3024
626f8b6a
CM
30252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3026
3027 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3028
b7aaa4d6
JM
30292012-09-17 Joseph Myers <joseph@codesourcery.com>
3030
3031 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3032 unconditional.
3033 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3034 Likewise.
3035 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3036 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3037 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3038 Likewise.
3039
65513990
L
30402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 [BZ #14587]
3043 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3044 * config.make.in (have-cpp-asm-debuginfo): Removed.
3045 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3046 * configure: Regenerated.
3047
784761be
JM
30482012-09-14 Joseph Myers <joseph@codesourcery.com>
3049
3050 [BZ #5044]
3051 * stdio-common/printf_fp.c: Include <stdbool.h> and
3052 <rounding-mode.h>.
3053 (___printf_fp): Determine rounding using get_rounding_mode and
3054 round_away.
3055 * stdio-common/tst-printf-round.c: New file.
3056 * stdio-common/Makefile (tests): Add tst-printf-round.
3057 (link-libm): New variable.
3058 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3059
9503345f
L
30602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3061
3062 [BZ #14576]
3063 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3064 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3065 Likewise.
3066 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3067 Likewise.
3068
ad35fc00
JM
30692012-09-13 Joseph Myers <joseph@codesourcery.com>
3070
3071 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3072 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3073 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3074 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3075
6c9b0f68
JM
30762012-09-12 Joseph Myers <joseph@codesourcery.com>
3077
3078 [BZ #14518]
3079 * include/rounding-mode.h: New file.
3080 * sysdeps/generic/get-rounding-mode.h: Likewise.
3081 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3082 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3083 (MAX_VALUE): New macro.
3084 (MIN_VALUE): Likewise.
3085 (overflow_value): New function.
3086 (underflow_value): Likewise.
3087 (round_and_return): Use overflow_value and underflow_value to
3088 determine return values in overflow and underflow cases. Use
3089 round_away to determine rounding depending on rounding mode.
3090 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3091 determine return values in overflow and underflow cases.
3092 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3093 (struct test_results): New structure.
3094 (struct test): Use struct test_results to store expected results
3095 for all rounding modes.
3096 (TEST): Include expected results for all rounding modes.
3097 (test_in_one_mode): New function.
3098 (do_test): Use test_in_one_mode to compute and check results.
3099 Check results for all rounding modes.
3100 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3101 $(link-libm).
3102
19fcedd5
AM
31032012-12-09 Allan McRae <allan@archlinux.org>
3104
1e9d84cd 3105 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3106
8bbfd2f1
JM
31072012-09-11 Joseph Myers <joseph@codesourcery.com>
3108
3109 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3110 (_G_int32_t): Likewise.
3111 (_G_uint16_t): Likewise.
3112 (_G_uint32_t): Likewise.
3113 (_G_HAVE_BOOL): Likewise.
3114 (_G_HAVE_ATEXIT): Likewise.
3115 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3116 (_G_HAVE_IO_FILE_OPEN): Likewise.
3117 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3118 (_G_int32_t): Likewise.
3119 (_G_uint16_t): Likewise.
3120 (_G_uint32_t): Likewise.
3121 (_G_HAVE_BOOL): Likewise.
3122 (_G_HAVE_ATEXIT): Likewise.
3123 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3124 (_G_HAVE_IO_FILE_OPEN): Likewise.
3125 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3126 (_G_int32_t): Likewise.
3127 (_G_uint16_t): Likewise.
3128 (_G_uint32_t): Likewise.
3129 (_G_HAVE_BOOL): Likewise.
3130 (_G_HAVE_ATEXIT): Likewise.
3131 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3132 (_G_HAVE_IO_FILE_OPEN): Likewise.
3133
b1dc5912
L
31342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3135
3136 * csu/libc-tls.c: Update copyright years.
3137
0e886ef9
JM
31382012-09-10 Joseph Myers <joseph@codesourcery.com>
3139
28361c5e
JM
3140 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3141 [!_G_USING_THUNKS]: Remove conditional code.
3142 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3143 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3144
0e886ef9
JM
3145 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3146 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3147 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3148 (_G_VTABLE_LABEL_PREFIX): Likewise.
3149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3150 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3151 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3152 (_G_VTABLE_LABEL_PREFIX): Likewise.
3153 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3154 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3155 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3156 (_G_VTABLE_LABEL_PREFIX): Likewise.
3157 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3158
bcba7aa2
L
31592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3160
3161 * libio/Makefile: Include ../Makeconfig before tests.
3162 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3163 only if $(build-shared) is yes.
3164
06585ee8
L
3165 * iconv/gconv_db.c: Update copyright years.
3166
80ccd52c
LD
31672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3168
3169 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3170 unwind info if defined PIC. Fix special cases description.
3171 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3172
3173 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3174 DP_HI_MASK entry.
3175 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3176
691bc9c1
L
31772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3178
3d9b46b3
L
3179 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3180
de2139a9
L
3181 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3182 is NULL.
3183
5ca78dd0
L
3184 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3185 (LDLIBS-tst-chk4): This.
3186 (LDFLAGS-tst-chk5): Renamed to ...
3187 (LDLIBS-tst-chk5): This.
3188 (LDFLAGS-tst-chk6): Renamed to ...
3189 (LDLIBS-tst-chk6): This.
3190 (LDFLAGS-tst-lfschk4): Renamed to ...
3191 (LDLIBS-tst-lfschk4): This.
3192 (LDFLAGS-tst-lfschk5): Renamed to ...
3193 (LDLIBS-tst-lfschk5): This.
3194 (LDFLAGS-tst-lfschk6): Renamed to ...
3195 (LDLIBS-tst-lfschk6): This.
3196
691bc9c1
L
3197 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3198 on $(common-objpfx)soversions.mk.
3199
65cafb1c
JM
32002012-09-07 Joseph Myers <joseph@codesourcery.com>
3201
3202 [BZ #10014]
3203 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3204 example host name.
3205
c78ab094
SP
32062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3207
3208 * malloc/arena.c (arena_get_retry): New function that gets
3209 another arena for the caller to try its request on.
3210 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3211 current arena cannot fulfill the request.
3212 (__libc_memalign): Likewise.
3213 (__libc_memalign): Likewise.
3214 (__libc_pvalloc): Likewise.
3215 (__libc_calloc): Likewise.
3216
01f49f59
JT
32172012-09-05 John Tobey <john.tobey@gmail.com>
3218
3219 [BZ #13542]
3220 * manual/arith.texi (Operations on Complex): Fix description
3221 of carg branch cut.
3222
4c23fed5
JM
32232012-09-06 Joseph Myers <joseph@codesourcery.com>
3224
1d3c8572
JM
3225 [BZ #10014]
3226 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3227 host name.
3228
4c23fed5
JM
3229 [BZ #10038]
3230 * manual/memory.texi (Memory): Make order of menu items match
3231 order of sections.
3232
04570aaa
L
32332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3234
3235 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3236 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3237 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3238
b80af2f4
L
32392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3240
3241 * csu/libc-tls.c (static_dtv): Renamed to ...
3242 (_dl_static_dtv): This. Make it global.
3243 (_dl_initial_dtv): Removed.
3244 (__libc_setup_tls): Updated.
3245 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3246 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3247 DL_INITIAL_DTV.
3248
2abe9f15
PM
32492012-09-06 Petr Machata <pmachata@redhat.com>
3250
3251 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3252 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3253 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3254 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3255
0948c3af
L
32562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3257
3258 [BZ #14545]
3259 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3260 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3261 freeing dtv[-1].
3262
a5055ad1
L
32632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 [BZ #14544]
3266 * Makeconfig (link-static-before-libc): Replace $(+prector)
3267 with $(+prectorT).
3268 (link-static-after-libc): Replace $(+postctor) with
3269 $(+postctorT).
3270 (link-bounded): Replace $(+prector)/$(+postctor) with
3271 $(+prectorT)/$(+postctorT).
3272 (+prectorT): New macro.
3273 (+postctorT): Likewise.
3274
ed8c2ecd
JM
32752012-09-06 Joseph Myers <joseph@codesourcery.com>
3276
3277 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3278 (round_str): Handle values above the maximum for IBM long double
3279 as inexact.
3280 * stdlib/tst-strtod-round.c (tests): Regenerated.
3281
14c996c8
AK
32822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3283
3284 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3285 assembler flag.
3286 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3287 zarch_nohighgprs around the zarch optimized routines.
3288 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3289 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3290 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3291 for zarch.
3292
430d6ce6
DM
32932012-09-05 David S. Miller <davem@davemloft.net>
3294
3295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3296
ff04dda4
DM
3297 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3298 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3299 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3300 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3301 entries.
3302
24d4e01b
AO
33032012-09-05 Alexandre Oliva <aoliva@redhat.com>
3304
3305 * malloc/arena.c: Fold copyright years.
3306 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3307
61d58174
AO
33082012-09-05 Alexandre Oliva <aoliva@redhat.com>
3309
3310 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3311
20196a5e
AO
33122012-09-05 Alexandre Oliva <aoliva@redhat.com>
3313
3314 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3315
5c447383
AO
33162012-09-05 Alexandre Oliva <aoliva@redhat.com>
3317
3318 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3319 change internal state upon failure.
3320
fad64255
AO
33212012-09-05 Alexandre Oliva <aoliva@redhat.com>
3322
3323 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3324 * malloc/memusage.c (mmap): Likewise.
3325 (mmap64, mremap): Likewise. Adjust name in comment.
3326
1ffb8c90
SP
33272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3328
3329 * libio/fileops.c: Fix typos in comments.
3330 * libio/oldfileops.c: Likewise.
3331 * libio/wfileops.c: Likewise.
3332
6ef9cc37
SP
33332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3334
3335 [BZ #1349]
3336 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3337 (tst-malloc-usable-ENV): Set environment for test case.
3338 * malloc/hooks.c (malloc_check_get_size): New function to get
3339 requested size.
3340 * malloc/malloc.c (musable): Use malloc_check_get_size.
3341 * malloc/tst-malloc-usable.c: New test case.
3342
4d038ae3
AS
33432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3344
3345 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3346
c4e85184
AM
33472012-09-05 Allan McRae <allan@archlinux.org>
3348
b9dafc56 3349 [BZ #13966]
c4e85184
AM
3350 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3351 determine header location.
3352 * configure: Regenerated.
3353
e1343020
AS
33542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3355
3356 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3357 float format.
3358 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3359 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3360 format.
e1343020
AS
3361 (test): Regenerate.
3362
0a9f1987
DM
33632012-09-04 David S. Miller <davem@davemloft.net>
3364
3365 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3366 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3367 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3368
29237804
FW
33692012-09-04 Florian Weimer <fweimer@redhat.com>
3370
3371 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3372 failures.
3373
edb3cb88
FW
3374 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3375
60160d83
JM
33762012-09-04 Joseph Myers <joseph@codesourcery.com>
3377
3378 [BZ #9914]
3379 * libio/iogetdelim.c: Include <limits.h>.
3380 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3381 + len + 1 would overflow.
3382
bcd6c8dc
AJ
33832012-09-03 Andreas Jaeger <aj@suse.de>
3384
3385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3386 * sysdeps/i386/fpu/libm-test-ulps: Update.
3387
4ffffbd2
LD
33882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3389
3390 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3391 Add s_sinf-sse2, s_conf-sse2.
3392
3393 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3394 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3395 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3396 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3397
3398 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3399 for using routine as __sinf_ia32.
3400 Use macro for function declaration and weak_alias.
3401 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3402 for using routine as __cosf_ia32.
3403 Use macro for function declaration and weak_alias.
3404
3405 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3406 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3407
3408 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3409 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3411
3412 * math/libm-test.inc (cos_test): Add more test cases.
3413 (sin_test): Likewise.
3414 (sincos_test): Likewise.
3415
511fa286
AK
34162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3417
3418 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3419 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3420 hidden.
3421 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3422
5f30cfec
L
34232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 [BZ #14538]
3426 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3427 first element of the GOT.
3428 (elf_machine_load_address): Return the difference between
3429 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3430
0786794f
AM
34312012-09-01 Allan McRae <allan@archlinux.org>
3432
5f30cfec
L
3433 [BZ #13412]
3434 * configure.in (AWK): Require gawk version 3.0 or later.
3435 * configure: Regenerated.
0786794f 3436
26889eac
JM
34372012-09-01 Joseph Myers <joseph@codesourcery.com>
3438
3439 * sysdeps/unix/sysv/linux/kernel-features.h
3440 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3442 [__NR_clock_getres]: Make code unconditional.
3443 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3444 (clock_getcpuclockid): Remove code left unreachable by removal of
3445 conditionals.
3446 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3447 code unconditional.
3448 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3449 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3450 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3451 Make code unconditional.
3452 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3453 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3454 * sysdeps/unix/sysv/linux/clock_settime.c
3455 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3456 conditional code.
3457 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3458 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3459
d22e28b0
L
34602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 [BZ #14476]
3463 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3464 scripts/test-installation.pl.
3465
3466 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3467 and $ld_so_version if it is set.
3468
050af9c4
SP
34692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3470
3471 [BZ #14516]
3472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3473 failure if reading from procfs failed.
3474 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3475
ad845c0b
JM
34762012-08-27 Joseph Myers <joseph@codesourcery.com>
3477
3478 * sysdeps/unix/sysv/linux/kernel-features.h
3479 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3480 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3481 Remove conditional code.
3482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3483 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3484 Remove conditional code.
3485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3486 * sysdeps/unix/sysv/linux/i386/fxstat.c
3487 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3488 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3489 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3490 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3492 * sysdeps/unix/sysv/linux/i386/lxstat.c
3493 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3495 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3496 Remove conditional code.
3497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3498 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3499 Remove conditional code.
3500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3502 <kernel-features.h>.
3503 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3504 Remove.
3505 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3506 Remove conditional code.
3507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3508 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3509 Remove conditional.
3510
5dbf56af
MF
35112012-08-27 Mike Frysinger <vapier@gentoo.org>
3512
3513 [BZ #5400]
3514 * NEWS: Add fixed bug number.
3515
d6e70f43
JM
35162012-08-27 Joseph Myers <joseph@codesourcery.com>
3517
7efb4737
JM
3518 [BZ #14519]
3519 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
3520 underflowing exponent in case of negative sign.
3521 * stdlib/tst-strtod-round-data: Add more tests.
3522 * stdlib/tst-strtod-round.c (tests): Regenerated.
3523
af92131a
JM
3524 [BZ #3479]
3525 * stdlib/strtod_l.c (NDIG): Remove.
3526 (HEXNDIG): Likewise.
3527 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
3528 smallest representable value.
3529 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
3530 lie within an exact representation of 1/2 ulp of the result.
3531 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
3532 unconditionally.
3533 (TENS_P9_IDX): Define unconditionally.
3534 (TENS_P9_SIZE): Likewise.
3535 (TENS_P10_IDX): Likewise.
3536 (TENS_P10_SIZE): Likewise.
3537 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
3538 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
3539 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
3540 entries for 10^2^13 and 10^2^14.
3541 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
3542 (TENS_P13_IDX): Define.
3543 (TENS_P13_SIZE): Likewise.
3544 (TENS_P14_IDX): Likewise.
3545 (TENS_P14_SIZE): Likewise.
3546 (_fpioconst_pow10): Change array size to
3547 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
3548 unconditional.
3549 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
3550 1024]: Add entries for 10^2^13 and 10^2^14.
3551 [LAST_POW10 > _LAST_POW10]: Remove #error.
3552 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
3553 (_fpioconst_pow10): Change array size to
3554 FPIOCONST_POW10_ARRAY_SIZE.
3555 * stdlib/gen-fpioconst.c: New file.
3556 * stdlib/gen-tst-strtod-round.c: Likewise.
3557 * stdlib/tst-strtod-round-data: Likewise.
3558 * stdlib/tst-strtod-round.c: Likewise.
3559 * stdlib/Makefile (tests): Add tst-strtod-round.
3560
d6e70f43
JM
3561 [BZ #14459]
3562 * stdlib/strtod_l.c: Include <stdint.h>.
3563 (NDEBUG): Do not define.
3564 (round_and_return): Change EXPONENT parameter to type intmax_t.
3565 Rearrange calculations to avoid internal overflow possibilities.
3566 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
3567 Rearrange calculations to avoid internal overflow possibilities.
3568 Assert that number fits inside MPNSIZE limbs.
3569 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
3570 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
3571 calculations and add assertions to avoid internal overflow
3572 possibilities. Add casts to avoid signed/unsigned operations.
3573 * stdlib/tst-strtod-overflow.c: New file.
3574 * stdlib/Makefile (tests): Add tst-strtod-overflow.
3575
1f529f7d
MP
35762012-08-25 Marek Polacek <polacek@redhat.com>
3577
3578 * time/time.h: Fix some typos in comments.
3579
59a629f1
RM
35802012-08-23 Roland McGrath <roland@hack.frob.com>
3581
3582 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
3583 * posix/tst-rfc3484-2.c: Likewise.
3584 * posix/tst-rfc3484-3.c: Likewise.
3585
d3bafbc9
SM
35862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
3587
3588 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
3589 (EF_ARM_ABI_FLOAT_HARD): Likewise.
3590
4efcc022
JM
35912012-08-23 Joseph Myers <joseph@codesourcery.com>
3592
3593 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
3594 #include of fxstatat64.c.
3595
3cc3ef96
RM
35962012-08-22 Roland McGrath <roland@hack.frob.com>
3597
f04e2132
RM
3598 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
3599 * shadow/getspent_r.c: Likewise.
3600 * shadow/getspnam.c: Likewise.
3601 * shadow/getspnam_r.c: Likewise.
3602 * gshadow/getsgent.c: Likewise.
3603 * gshadow/getsgent_r.c: Likewise.
3604 * gshadow/getsgnam.c: Likewise.
3605 * gshadow/getsgnam_r.c: Likewise.
3606 * inet/getnetbyad.c: Likewise.
3607 * inet/getnetbyad_r.c: Likewise.
3608 * inet/getnetbynm.c: Likewise.
3609 * inet/getnetbynm_r.c: Likewise.
3610 * inet/getnetent.c: Likewise.
3611 * inet/getnetent_r.c: Likewise.
3612 * inet/getproto.c: Likewise.
3613 * inet/getproto_r.c: Likewise.
3614 * inet/getprtent.c: Likewise.
3615 * inet/getprtent_r.c: Likewise.
3616 * inet/getprtname.c: Likewise.
3617 * inet/getprtname_r.c: Likewise.
3618 * inet/getrpcbyname.c: Likewise.
3619 * inet/getrpcbyname_r.c: Likewise.
3620 * inet/getrpcbynumber.c: Likewise.
3621 * inet/getrpcbynumber_r.c: Likewise.
3622 * inet/getrpcent.c: Likewise.
3623 * inet/getrpcent_r.c: Likewise.
3624 * inet/getaliasent.c: Likewise.
3625 * inet/getaliasent_r.c: Likewise.
3626 * inet/getaliasname.c: Likewise.
3627 * inet/getaliasname_r.c: Likewise.
3628 * nscd/getgrgid_r.c: Likewise.
3629 * nscd/getgrnam_r.c: Likewise.
3630 * nscd/gethstbyad_r.c: Likewise.
3631 * nscd/gethstbynm3_r.c: Likewise.
3632 * nscd/getpwnam_r.c: Likewise.
3633 * nscd/getpwuid_r.c: Likewise.
3634 * nscd/getsrvbynm_r.c: Likewise.
3635 * nscd/getsrvbypt_r.c: Likewise.
3636 * nscd/gai.c: Likewise.
3637
c53d909c
RM
3638 * configure.in (build_nscd): New substituted variable, set
3639 by --disable-build-nscd and defaults to $use_nscd.
3640 * configure: Regenerated.
3641 * config.make.in (build-nscd): New substituted variable.
3642 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
3643 Change conditional to require [$(build-nscd) = yes] as well.
3644 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
3645
3cc3ef96
RM
3646 [BZ# 13696]
3647 * configure.in (use_nscd): New substituted variable, set by
3648 --disable-nscd. If enabled, define USE_NSCD.
3649 * configure: Regenerated.
3650 * config.h.in: Add USE_NSCD.
3651 * config.make.in (use-nscd): New substituted variable.
3652 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
3653 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
3654 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
3655 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
3656 (CFLAGS-getgrnam_r.c): Likewise.
3657 (CFLAGS-initgroups.c): Likewise.
3658 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
3659 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
3660 Variables removed.
3661 * inet/getnetgrent_r.c
3662 (nscd_setnetgrent): New function, broken out of ...
3663 (setnetgrent): ... here. Call it.
3664 (innetgr): Conditionalize nscd bits on [USE_NSCD].
3665 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
3666 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
3667 * nscd/Makefile (routines, aux): Move definitions after include of
3668 Makeconfig. Conditionalize on [$(use-nscd) != no].
3669 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
3670 Conditionalize on [USE_NSCD].
3671 (is_nscd, nscd_init_cb): Likewise.
3672 (nss_load_library): Conditionalize init callback on [USE_NSCD].
3673 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
3674 * nss/nss_db/db-init.c: Likewise.
3675 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
3676 [USE_NSCD].
3677 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
3678 (make_request): Use it.
3679 (cache_valid_p): New function.
3680 (__check_pf): Use it.
3681 * NEWS: Add item for --disable-nscd.
3682
07e51550
DL
36832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
3684
3685 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
3686 to support sed >= 4.2.1-20-ga9bf076.
3687 * configure: Regenerated.
3688
35a5b08b
RM
36892012-08-22 Roland McGrath <roland@hack.frob.com>
3690
3691 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
3692 Conditionalize whole body on [IREL].
3693
8479f23a
JL
36942012-08-22 Jeff Law <law@redhat.com>
3695
3696 [BZ #14505]
3697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
3698 if the family is PF_UNSPEC.
3699
48da0b21
MF
37002012-08-22 Mike Frysinger <vapier@gentoo.org>
3701
3702 * Makerules (lib-version): Rename from V.
3703 (install-lib-nosubdir): Change V to lib-version.
3704
15d0da8c
WS
37052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
3706
3707 [BZ #14252]
3708 * powerpc32/power6/wcschr.c: New file.
3709 * powerpc32/power6/wcscpy.c: New file.
3710 * powerpc32/power6/wcsrchr.c: New file.
3711 * powerpc64/power6/wcschr.c: New file.
3712 * powerpc64/power6/wcscpy.c: New file.
3713 * powerpc64/power6/wcsrchr.c: New file.
3714
bcca0895
MK
37152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3716
3717 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
3718 (two_way_short_needle): Use it.
5a4aaa33
RM
3719 * string/strstr.c (AVAILABLE1_USES_J): Define.
3720 * string/strcasestr.c: Likewise.
99677e57
MK
3721
3722 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
3723 array references.
3724 * string/strcasestr.c (TOLOWER): Make side-effect safe.
3725
400726de
MK
3726 [BZ #11607]
3727 * NEWS: Add an entry.
3728 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
3729 define their defaults.
3730 (two_way_short_needle): Detect end-of-string on-the-fly.
3731 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
3732 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
3733 * string/bug-strcasestr1.c: New test.
3734 * string/Makefile: Run it.
3735
20a71f2c
MK
37362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
3737
3738 [BZ #11607]
3739 * string/str-two-way.h (two_way_short_needle): Optimize matching of
3740 the first character.
3741
21ad0558
RM
37422012-08-21 Roland McGrath <roland@hack.frob.com>
3743
3744 * csu/elf-init.c (__libc_csu_irel): Function removed.
3745 * csu/libc-start.c (apply_irel): New function.
3746 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
3747
0e1d9911
JM
37482012-08-21 Joseph Myers <joseph@codesourcery.com>
3749
3750 * sysdeps/unix/sysv/linux/kernel-features.h
3751 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
3752 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3753 <kernel-features.h>.
3754 [__NR_fadvise64_64]: Make code unconditional.
3755 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
3756 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3757 !__NR_fadvise64_64)]: Likewise.
3758 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
3759 !__NR_fadvise64_64))]: Likewise.
3760 [__NR_fadvise64]: Make code unconditional.
3761 [!__NR_fadvise64]: Remove conditional code.
3762 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
3763 <kernel-features.h>.
3764 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3765 unconditional.
3766 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3767 conditional code.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
3769 not include <kernel-features.h>.
3770 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3771 unconditional.
3772 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3773 conditional code.
3774 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
3775 include <kernel-features.h>.
3776 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
3777 unconditional.
3778 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
3779 conditional code.
3780
14a50c9d
WS
37812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3782
3783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
3784 slight instruction rearrangements per scrollpipe analysis.
3785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3786
c0f4faf0
RM
37872012-08-20 Roland McGrath <roland@hack.frob.com>
3788
696da859
RM
3789 * manual/syslog.texi (syslog; vsyslog, closelog):
3790 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
3791 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
3792
c0f4faf0
RM
3793 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
3794 DSOCAPS to match condition on defining it.
3795
348363b2
JM
37962012-08-20 Joseph Myers <joseph@codesourcery.com>
3797
a35cbf28
JM
3798 * sysdeps/unix/sysv/linux/kernel-features.h
3799 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
3800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
3801 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3802 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
3804 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3805 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
3807 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
3808 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
3809
445f7ecd
JM
3810 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
3811 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
3812
348363b2
JM
3813 * sysdeps/unix/sysv/linux/kernel-features.h
3814 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
3815 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
3816 unconditional.
3817 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3818 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
3819 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3820 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3821 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
3822 Make code unconditional.
3823 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3824 (__mmap64) [!__NR_mmap2]: Likewise.
3825 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
3826 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
3827 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3828 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
3829 [__NR_mmap2]: Make code unconditional.
3830 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
3831 (__mmap64) [!__NR_mmap2]: Likewise.
3832
bc5bc0e5
AK
38332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3834
3835 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
3836
88d506de
AJ
38372012-08-18 Andreas Jaeger <aj@suse.de>
3838
3839 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
3840
493387d2
MF
38412012-08-18 Mike Frysinger <vapier@gentoo.org>
3842
3843 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
3844 * include/unistd.h (__have_sock_cloexec): Likewise.
3845 (__have_pipe2): Likewise.
3846 (__have_dup3): Likewise.
3847
a277af22
MF
38482012-08-18 Mike Frysinger <vapier@gentoo.org>
3849
3850 [BZ #9685]
3851 * include/unistd.h (__have_pipe2): Change define into an extern int.
3852 (__have_dup3): Likewise.
3853 * socket/have_sock_cloexec.c: Include fcntl.h.
3854 (__have_pipe2): New variable.
3855 (__have_dup3): Likewise.
3856
fdab8fd3
MF
38572012-08-17 Mike Frysinger <vapier@gentoo.org>
3858
3859 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
3860
31035e80
MP
38612012-08-17 Marek Polacek <polacek@redhat.com>
3862
3863 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
3864 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
3865
3bd9e993
RM
38662012-08-17 Roland McGrath <roland@hack.frob.com>
3867
c91c505f
RM
3868 * configure.in: Add AC_SUBST for sysheaders.
3869 * configure: Regenerated.
3870 * config.make.in (sysheaders): New substituted variable.
3871
7c6f9d53
RM
3872 * sysdeps/unix/mkfifo.c: Moved ...
3873 * sysdeps/posix/mkfifo.c: ... here.
3874 * sysdeps/unix/mkfifoat.c: Moved ...
3875 * sysdeps/posix/mkfifoat.c: ... here.
3876
3877 * sysdeps/unix/utime.c: Moved ...
3878 * sysdeps/posix/utime.c: ... here.
3879
3880 * sysdeps/unix/time.c: Moved ...
3881 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
3882 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
3883 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
3884
3885 * sysdeps/unix/nice.c: Moved ...
3886 * sysdeps/posix/nice.c: ... here.
3887
3888 * sysdeps/unix/alarm.c: Moved ...
3889 * sysdeps/posix/alarm.c: ... here.
3890
3bd9e993
RM
3891 * intl/Makefile ($(codeset_mo)): Depend on the input file.
3892
d1f09384
JL
38932012-08-17 Jeff Law <law@redhat.com>
3894
3895 * intl/Makefile (codeset_mo): New variable.
3896 ($(codeset_mo)): New target.
3897 (tst-codeset.out): Depend on that. Remove explicit rule.
3898 (tst-gettext3.out, tst-gettext5.out): Likewise.
3899 (LOCPATH-ENV, tst-codeset-ENV): New variables.
3900 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
3901 * intl/tst-codeset.sh: Remove.
3902 * intl/tst-gettext3.sh: Likewise.
3903 * intl/tst-gettext5.sh: Likewise.
3904
2ae1ae5c
RM
39052012-08-17 Roland McGrath <roland@hack.frob.com>
3906
c31fdb83
RM
3907 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
3908 * sysdeps/unix/syscalls.list: ... here.
3909
a0844057
RM
3910 * sysdeps/posix/getaddrinfo.c
3911 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
3912 (gaiconf_init, gaiconf_reload): Use them.
3913 [!_STATBUF_ST_NSEC]
3914 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
3915 Define using time_t rather than struct timespec.
3916
750c1f2a
RM
3917 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
3918 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
3919 Macros removed.
3920 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
3921 [!NO_THREADS].
3922 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
3923 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
3924 Likewise.
3925
2ae1ae5c
RM
3926 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
3927 __libc_cleanup_push argument.
3928
e66a42f5
RM
3929 * bits/param.h: New file.
3930 * misc/sys/param.h: New file.
3931 * include/sys/param.h: New file.
3932 * misc/Makefile (headers): Add bits/param.h.
3933 * sysdeps/generic/sys/param.h: File removed.
3934 * sysdeps/unix/sysv/linux/bits/param.h: New file.
3935 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
3936 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 3937 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 3938
b7c08a66
RM
3939 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
3940 last change.
3941
b2e1c562
RM
3942 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
3943 [_IO_MTSAFE_IO].
3944 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
3945 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
3946 New macros.
3947
c75ccd4c
RM
3948 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
3949 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
3950 rather than -D_IO_MTSAFE_IO conditionally.
3951 * stdio-common/Makefile (CPPFLAGS): Likewise.
3952 * wcsmbs/Makefile (CPPFLAGS): Likewise.
3953 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
3954 Use $(libio-mtsafe).
3955 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
3956 of -D_IO_MTSAFE_IO.
3957 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
3958 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
3959 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
3960 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
3961 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
3962 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
3963 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
3964 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
3965 (CFLAGS-fread_u_chk.c): Likewise.
3966 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
3967 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
3968 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
3969 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
3970 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
3971 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
3972 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
3973 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
3974 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
3975
3976 * libio/Makefile: Test [$(libc-reentrant) = yes]
3977 instead of [$(filter %REENTRANT, $(defines)) nonempty].
3978
3979 * Makeconfig
3980 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
3981 * sysdeps/pthread/configure: File removed.
3982 * sysdeps/pthread/Makeconfig: New file.
3983 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
3984 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
3985
d9195db8
GB
39862012-08-16 Gary Benson <gbenson@redhat.com>
3987
3988 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
3989 unmapping the first object in a namespace.
3990
86466cd9
RM
39912012-08-16 Roland McGrath <roland@hack.frob.com>
3992
3993 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
3994 (__internal_setnetgrent): ... this. Add internal_function to
3995 definition. Add libc_hidden_def.
3996 (setnetgrent): Update caller.
3997 (internal_endnetgrent): Renamed to ...
3998 (__internal_endnetgrent): ... this. Add internal_function to
3999 definition. Add libc_hidden_def.
4000 (endnetgrent): Update caller.
4001 (internal_getnetgrent_r): Renamed to ...
4002 (__internal_getnetgrent_r): ... this. Add internal_function to
4003 definition. Add libc_hidden_def.
4004 (__getnetgrent_r): Update caller.
4005 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4006
c3c8283c
JM
40072012-08-16 Joseph Myers <joseph@codesourcery.com>
4008
4009 * stdlib/longlong.h: Update from GCC.
4010
db1ee0a8
RM
40112012-08-16 Roland McGrath <roland@hack.frob.com>
4012
4013 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4014 on _QL, which is set by umul_ppmm but never used.
4015 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4016 variables, which are set by GMP macros but never used.
4017 * stdio-common/_itowa.c (_itowa): Likewise.
4018 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4019 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4020
30f69637
CD
40212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4022
4023 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4024 struct La_sh_regs is not constant.
4025 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4026 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4027 and struct La_sparc64_regs are not constant.
4028
93a78ac4
JM
40292012-08-16 Joseph Myers <joseph@codesourcery.com>
4030
4031 * sysdeps/unix/sysv/linux/kernel-features.h
4032 (__ASSUME_POSIX_TIMERS): Remove.
4033 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4034 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4035 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4036 Make code unconditional.
4037 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4038 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4039 Make code unconditional.
4040 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4041 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4042 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4043 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4044 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4045 Make code unconditional.
4046 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4047 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4048 (__libc_missing_posix_timers): Remove.
4049
dd924cd7
RM
40502012-08-15 Roland McGrath <roland@hack.frob.com>
4051
4b4f2771
RM
4052 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4053 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4054
601c888b
RM
4055 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4056
176790a7
RM
4057 * elf/dl-sym.c: Include <stdlib.h>.
4058
329bc018
RM
4059 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4060 constants, which avoids warnings in 32-bit builds.
4061
e04e272d
RM
4062 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4063 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4064
952bf94a
RM
4065 * misc/lseek.c: File moved to ...
4066 * io/lseek.c: ... here.
4067
7c99b50a
RM
4068 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4069
dd924cd7
RM
4070 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4071 shifting LEN more than 31 bits at once.
4072
b3f479a8
LD
40732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4074
4075 [BZ #14195]
8c4ae0d4
RM
4076 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4077 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4078 * string/test-strncasecmp.c (check1): Renamed to...
4079 (bz12205): ...this.
4080 (bz14195): Add new testcase for two empty input strings and N > 0.
4081 (test_main): Call new testcase, adapt for renamed function.
4082
9c55864e
AJ
40832012-08-15 Andreas Jaeger <aj@suse.de>
4084
4085 [BZ #14090]
4086 * crypt/md5test2.c: New test, based on test supplied by Serge
4087 Belyshev <belyshev@depni.sinp.msu.ru>.
4088 * crypt/Makefile (xtests): Add md5test-giant..
4089 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4090
02dcb6c5
PE
40912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4092
4093 [BZ #14090]
4094 * crypt/md5.c (md5_process_block): Don't assume the buffer
4095 length is less than 2**32.
4096 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4097 length is less than 2**64.
4098
a3f95dcc
RM
40992012-08-15 Roland McGrath <roland@hack.frob.com>
4100
be75d758
RM
4101 * string/str-two-way.h: Include <sys/param.h>.
4102 (MAX): Macro removed.
4103
7312ca90
RM
4104 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4105 Move #define and #undef of memmove to just before and after
4106 including <string.h>.
4107
9a0a5486
RM
4108 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4109 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4110 and after including <string.h>. Move declarations of
4111 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4112 to before #include "string/memmove.c".
4113
67cc348d
RM
4114 * include/dirent.h: Declare __getdirentries.
4115
a3f95dcc
RM
4116 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4117 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4118
ca98e171
MF
41192012-08-14 Mike Frysinger <vapier@gentoo.org>
4120
4121 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4122 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4123 * sysdeps/i386/configure: Regenerated.
4124 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4125 STABS_CURRENT_FILE, and STABS_FUN.
4126 (END): Remove call to STABS_FUN_END.
4127 (STABS_CURRENT_FILE1): Delete.
4128 (STABS_CURRENT_FILE): Likewise.
4129 (STABS_FUN): Likewise.
4130 (STABS_FUN_END): Likewise.
4131 (STABS_FUN2): Likewise.
4132 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4133 * sysdeps/x86_64/configure: Regenerated.
4134
5908bf46
RM
41352012-08-14 Roland McGrath <roland@hack.frob.com>
4136
4137 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4138 * elf/dl-lookup.c: Likewise.
5908bf46 4139
f2c05b9e
JM
41402012-08-14 Joseph Myers <joseph@codesourcery.com>
4141
4142 * sysdeps/unix/sysv/linux/kernel-features.h
4143 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4144 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4145 unconditionally.
4146 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4147 unconditionally.
4148 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4149 condition on __ASSUME_CLONE_THREAD_FLAGS.
4150
e11f5155
AJ
41512012-08-14 Andreas Jaeger <aj@suse.de>
4152
4153 * sysdeps/i386/fpu/libm-test-ulps: Update.
4154
51a9ba86
MK
41552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4156
2fdd4f78
AJ
4157 * include/atomic.h (atomic_exchange_and_add): Split into ...
4158 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4159 New atomic macros.
51a9ba86 4160
ba6cba9e
MT
41612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4162
4163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4164
42443a47
JL
41652012-08-13 Jeff Law <law@redhat.com>
4166
4167 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4168 null byte in the output string.
4169
121dce05
JM
41702012-08-10 Joseph Myers <joseph@codesourcery.com>
4171
4172 * sysdeps/unix/sysv/linux/kernel-features.h
4173 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4174 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4175 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4176 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4177 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4178 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4179 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4180
bf51f568
JL
41812012-08-09 Jeff Law <law@redhat.com>
4182
4183 [BZ #13939]
4184 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4185 When avoid_arena is set, don't retry in the that arena. Pick the
4186 next one, whatever it might be.
4187 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4188 (arena_lock): Pass in new parameter to arena_get2.
4189 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4190 arena_get2.
4191 (__libc_malloc): Unify retrying after main arena failure with
4192 __libc_memalign version.
4193 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4194
f85fa270
L
41952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4196
4197 [BZ #14166]
4198 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4199 to __redirect_strstr.
4200 (__strstr_sse42): Use typeof __redirect_strstr.
4201 (__strstr_ia32): Likewise.
4202 (__libc_strstr): New prototype.
4203 (strstr): Renamed to ...
4204 (__libc_strstr): This.
4205 (strstr): New strong alias of __libc_strstr.
4206 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4207 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4208 __redirect_time.
4209 Include <time.h>.
4210 (__libc_time): New prototype.
4211 (time_ifunc): Replace time with __libc_time.
4212 (time): New strong alias and hidden definition of __libc_time.
4213 (__GI_time): Remove strong alias.
4214 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4215 Include <stddef.h>.
4216 (memmove): Redefined to __redirect_memmove.
4217 (__memmove_sse2): Use typeof __redirect_memmove.
4218 (__memmove_ssse3): Likewise.
4219 (__memmove_ssse3_back): Likewise.
4220 (__libc_memmove): New prototype.
4221 (memmove): Renamed to ...
4222 (__libc_memmove): This.
4223 (memmove): New strong alias of __libc_memmove.
4224
33b4a91e
MS
42252012-08-08 Mark Salter <msalter@redhat.com>
4226
4227 * elf/elf.h
4228 (R_MN10300_TLS_GD): Define.
4229 (R_MN10300_TLS_LD): Likewise.
4230 (R_MN10300_TLS_LDO): Likewise.
4231 (R_MN10300_TLS_GOTIE): Likewise.
4232 (R_MN10300_TLS_IE): Likewise.
4233 (R_MN10300_TLS_LE): Likewise.
4234 (R_MN10300_TLS_DTPMOD): Likewise.
4235 (R_MN10300_TLS_DTPOFF): Likewise.
4236 (R_MN10300_TLS_TPOFF): Likewise.
4237 (R_MN10300_SYM_DIFF): Likewise.
4238 (R_MN10300_ALIGN): Likewise.
4239 (R_MN10300_NUM): Update.
4240
b36137f1
JM
42412012-08-08 Joseph Myers <joseph@codesourcery.com>
4242
4243 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4244 Remove.
4245
cdd915fd
RM
42462012-08-08 Roland McGrath <roland@hack.frob.com>
4247
a2433aac
RM
4248 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4249
cdd915fd
RM
4250 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4251 sysdeps/unix -> sysdeps/posix move.
4252 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4253
bf9b740a
AM
42542012-08-07 Allan McRae <allan@archlinux.org>
4255
4256 [BZ #14303]
4257 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4258 (SUNOS_CPP): Likewise.
4259 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4260 not found.
4261 (open_input): Call CPP using execvp.
4262
93df14ee
JM
42632012-08-07 Joseph Myers <joseph@codesourcery.com>
4264
4265 * sysdeps/unix/sysv/linux/kernel-features.h
4266 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4267 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4268 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4269 (__ASSUME_WAITID_SYSCALL): Likewise.
4270 * sysdeps/unix/sysv/linux/dl-execstack.c
4271 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4272 code unconditional.
4273 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4274 conditional code.
4275 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4276 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4277 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4278 code.
4279 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4280 unconditional.
4281 [__ASSUME_WAITID_SYSCALL]: Likewise.
4282 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4283
d34689de
RM
42842012-08-07 Roland McGrath <roland@hack.frob.com>
4285
a281decc
RM
4286 * sysdeps/unix/closedir.c: Renamed to ...
4287 * sysdeps/posix/closedir.c: ... here.
4288 * sysdeps/unix/dirfd.c: Renamed to ...
4289 * sysdeps/posix/dirfd.c: ... here.
4290 * sysdeps/unix/dirstream.h: Renamed to ...
4291 * sysdeps/posix/dirstream.h: ... here.
4292 * sysdeps/unix/fdopendir.c: Renamed to ...
4293 * sysdeps/posix/fdopendir.c: ... here.
4294 * sysdeps/unix/opendir.c: Renamed to ...
4295 * sysdeps/posix/opendir.c: ... here.
4296 * sysdeps/unix/readdir.c: Renamed to ...
4297 * sysdeps/posix/readdir.c: ... here.
4298 * sysdeps/unix/readdir_r.c: Renamed to ...
4299 * sysdeps/posix/readdir_r.c: ... here.
4300 * sysdeps/unix/rewinddir.c: Renamed to ...
4301 * sysdeps/posix/rewinddir.c: ... here.
4302 * sysdeps/unix/seekdir.c: Renamed to ...
4303 * sysdeps/posix/seekdir.c: ... here.
4304 * sysdeps/unix/telldir.c: Renamed to ...
4305 * sysdeps/posix/telldir.c: ... here.
4306 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4307 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4308 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4309 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4310
22895b47
RM
4311 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4312 * bits/fcntl.h: ... here.
4313
707a53b6
RM
4314 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4315 not 0.
4316 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4317 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4318 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4319 (struct flock): Move l_start, l_len to the beginning.
4320 Use __pid_t for l_pid.
4321 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4322 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4323 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4324 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4325 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4326 [__USE_LARGEFILE64] (struct flock64): New type.
4327 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4328
f0bd3e25
RM
4329 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4330 * bits/dirent.h: ... here.
4331
d34689de
RM
4332 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4333 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4334
6dad2c06
JM
43352012-08-07 Joseph Myers <joseph@codesourcery.com>
4336
4337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4338 Change from 2.6.0 to 2.6.16.
4339 * sysdeps/unix/sysv/linux/configure: Regenerated.
4340 * sysdeps/unix/sysv/linux/kernel-features.h
4341 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4342 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4343 version.
4344 (__ASSUME_UTIMES): Likewise.
4345 (__ASSUME_CLONE_STOPPED): Remove.
4346 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4347 architectures, not kernel version.
4348 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4349 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4350 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4351 (__ASSUME_WAITID_SYSCALL): Likewise.
4352 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4353 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4354 * README: State 2.6.16 as minimum Linux kernel version. Do not
4355 refer to older versions.
4356
03af9520
RM
43572012-08-06 Roland McGrath <roland@hack.frob.com>
4358
8e49df1d
RM
4359 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4360 Define alphasort64 as an alias.
4361 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4362 Define versionsort64 as an alias.
4363 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4364 Define scandir64 as an alias.
4365 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4366 Define scandirat64 as an alias.
4367 * dirent/alphasort64.c (alphasort64):
4368 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4369 * dirent/versionsort64.c: Likewise.
4370 * dirent/scandir64.c: Likewise.
4371 * dirent/scandirat64.c: Likewise.
4372 * sysdeps/wordsize-64/alphasort.c: File removed.
4373 * sysdeps/wordsize-64/alphasort64.c: File removed.
4374 * sysdeps/wordsize-64/scandir.c: File removed.
4375 * sysdeps/wordsize-64/scandir64.c: File removed.
4376 * sysdeps/wordsize-64/scandirat.c: File removed.
4377 * sysdeps/wordsize-64/scandirat64.c: File removed.
4378 * sysdeps/wordsize-64/versionsort.c: File removed.
4379 * sysdeps/wordsize-64/versionsort64.c: File removed.
4380 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4381 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4383 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4385 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4386 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4387 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4388
4389 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4391 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4393 [defined __arch64__ || defined __sparcv9]
4394 (__INO_T_MATCHES_INO64_T): New macro.
4395 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4396 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4397 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4398 * sysdeps/unix/sysv/linux/bits/dirent.h
4399 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4400 (_DIRENT_MATCHES_DIRENT64): New macro.
4401
03af9520
RM
4402 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4403 Define lockf64 as an alias.
4404 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4405 Define fseeko64 as an alias.
4406 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4407 Define ftello64 as an alias.
4408 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4409 Define _IO_fgetpos64 and fgetpos64 as aliases.
4410 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4411 Define _IO_fsetpos64 and fsetpos64 as aliases.
4412 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4413 Conditionalize body on this.
4414 * libio/fseeko64.c: Likewise.
4415 * libio/ftello64.c: Likewise.
4416 * libio/iofgetpos64.c: Likewise.
4417 * libio/iofsetpos64.c: Likewise.
4418 * sysdeps/wordsize-64/lockf.c: File removed.
4419 * sysdeps/wordsize-64/lockf64.c: File removed.
4420 * sysdeps/wordsize-64/fseeko.c: File removed.
4421 * sysdeps/wordsize-64/fseeko64.c: File removed.
4422 * sysdeps/wordsize-64/ftello.c: File removed.
4423 * sysdeps/wordsize-64/ftello64.c: File removed.
4424 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4425 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4426 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4427 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4429 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4430 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4432 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4434 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4435 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4436 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4437 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4438
4439 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4441 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4442 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4443 [defined __arch64__ || defined __sparcv9]
4444 (__OFF_T_MATCHES_OFF64_T): New macro.
4445 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4446 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4448 (__OFF_T_MATCHES_OFF64_T): New macro.
4449
c5757acd
L
44502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 * stdlib/secure-getenv.c (__secure_getenv): Replace
4453 GLIBC_2_16 with GLIBC_2_17.
4454
3a31811e
L
44552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4456
4457 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4458 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4459
faa2bccb
DM
44602012-08-03 David S. Miller <davem@davemloft.net>
4461
4462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4463
85fe1997
JM
44642012-08-03 Joseph Myers <joseph@codesourcery.com>
4465
4466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4467 Remove.
4468 (__ASSUME_CORRECT_SI_PID): Likewise.
4469 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4470 (__ASSUME_TMPFS_NAME): Likewise.
4471 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4472 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4473 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4474 (HAVE_AUX_SECURE): Make definition unconditional.
4475 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4476 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4477
4f75b7a0
RM
44782012-08-03 Roland McGrath <roland@hack.frob.com>
4479
4480 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4481 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4482 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4483 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4484 __eloop_threshold instead of SYMLOOP_MAX.
4485
4486 * sysdeps/generic/eloop-threshold.h: New file.
4487 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4488 of MAXSYMLINKS.
4489 * elf/chroot_canon.c (chroot_canon): Likewise.
4490
7aab07e4
JM
44912012-08-03 Joseph Myers <joseph@codesourcery.com>
4492
4493 [BZ #13717]
4494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4495 Change to 2.6.0 everywhere.
4496 * sysdeps/unix/sysv/linux/configure: Regenerated.
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4499 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4500 kernel versions.
4501 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4502 (__ASSUME_FUTEX_REQUEUE): Remove.
4503 (__ASSUME_STATFS64): Define unconditionally.
4504 (__ASSUME_AT_SECURE): Likewise.
4505 (__ASSUME_CORRECT_SI_PID): Likewise.
4506 (__ASSUME_TGKILL): Define without depending on kernel version for
4507 i386.
4508 (__ASSUME_UTIMES): Likewise.
4509 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4510 kernel version.
4511 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4512 (__ASSUME_TMPFS_NAME): Likewise.
4513 * README: Update reference to Linux kernel versions.
4514
b67e9372
MP
45152012-08-02 Marek Polacek <polacek@redhat.com>
4516
1f529f7d 4517 [BZ# 14150]
b67e9372
MP
4518 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
4519 libc_cv_asm_type_prefix with %.
4520 * configure: Regenerated.
d2441631
RM
4521 * include/libc-symbols.h: Remove comment about
4522 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
4523 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
4524 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
4525 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
4526 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
4527 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
4528 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
4529 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
4530 * elf/tst-unique2mod1.c: Likewise.
4531 * elf/tst-unique1mod2.c: Likewise.
4532 * elf/tst-unique1mod1.c: Likewise.
4533 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
4534 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
4535 Replace ASM_TYPE_DIRECTIVE with .type.
4536 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4537 * sysdeps/i386/sysdep.h: Likewise.
4538 * sysdeps/x86_64/sysdep.h: Likewise.
4539 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4541 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 4542 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
4543 * sysdeps/powerpc/powerpc32/sysdep.h:
4544 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
4545 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4546 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4547 * sysdeps/i386/fpu/e_powf.S: Likewise.
4548 * sysdeps/i386/fpu/e_expl.S: Likewise.
4549 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4550 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4551 * sysdeps/i386/fpu/e_pow.S: Likewise.
4552 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4553 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4554 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4555 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4556 * sysdeps/i386/fpu/e_log2.S: Likewise.
4557 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4558 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4559 * sysdeps/i386/fpu/e_powl.S: Likewise.
4560 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4561 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4562 * sysdeps/i386/fpu/e_logl.S: Likewise.
4563 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4564 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4565 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4566 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4567 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4568 * sysdeps/i386/fpu/e_log.S: Likewise.
4569 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4570 * sysdeps/i386/fpu/e_logf.S: Likewise.
4571 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4573 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4574 * sysdeps/i386/fpu/e_log10.S: Likewise.
4575 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4576 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4577 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4578 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4579 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4580 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
4581 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4582 * sysdeps/i386/i686/strtok.S: Likewise.
4583 * sysdeps/i386/i386-mcount.S: Likewise.
4584 * sysdeps/i386/strtok.S: Likewise.
4585 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
4586 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4587 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4588 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4589 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4590 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4591 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4592 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4593 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4594 * sysdeps/x86_64/_mcount.S: Likewise.
4595 * sysdeps/x86_64/strtok.S: Likewise.
4596 * sysdeps/sh/_mcount.S: Likewise.
4597
2747bf9a
RM
45982012-08-01 Roland McGrath <roland@hack.frob.com>
4599
4600 * libio/iofopen.c: Include <fcntl.h>.
4601 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
4602 (_IO_fopen64, fopen64): Define as aliases.
4603 * libio/iofopen64.c: Include <fcntl.h>.
4604 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
4605 Conditionalize body on this.
4606 * sysdeps/wordsize-64/iofopen.c: File removed.
4607 * sysdeps/wordsize-64/iofopen64.c: File removed.
4608
3fb791b8
MP
46092012-08-01 Marek Polacek <polacek@redhat.com>
4610
4611 * libc/Makeconfig: Use elf in place of binfmt-subdir.
4612 Use dlfcn directly instead of a variable.
4613 (binfmt-subdir): Do not define.
4614 (dlfcn): Likewise.
4615
a9f1039f
JM
46162012-08-01 Joseph Myers <joseph@codesourcery.com>
4617
23bddc06
JM
4618 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
4619 Remove all definitions.
4620 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
4621 <kernel-features.h>.
4622 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4623 (miss_F_GETOWN_EX): Remove all definitions.
4624 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
4625 macro definition.
4626 [!__ASSUME_FCNTL64]: Remove conditional code.
4627 [__ASSUME_FCNTL64]: Make code unconditional.
4628 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
4629 <kernel-features.h>.
4630 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
4631 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
4632 (lockf64) [__NR_fcntl64]: Make code unconditional.
4633 (lockf64) [__ASSUME_FCNTL64]: Likewise.
4634
a9f1039f
JM
4635 * sysdeps/unix/sysv/linux/kernel-features.h
4636 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
4637 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
4638 Make code unconditional.
4639 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4640 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
4642 [__NR_vfork]: Make code unconditional.
4643 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4644 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
4646 [__NR_vfork]: Make code unconditional.
4647 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
4648 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
4649
09c0ee5f
RM
46502012-08-01 Roland McGrath <roland@hack.frob.com>
4651
48aec5b9
RM
4652 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
4653 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
4654
cd97c966
RM
4655 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4656 Define mkstemp64 as an alias.
3f55550c
RM
4657 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4658 Define mkstemps64 as an alias.
cd97c966
RM
4659 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4660 Define mkostemp64 as an alias.
b8625cfc
RM
4661 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
4662 Define mkostemps64 as an alias.
cd97c966
RM
4663 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
4664 Conditionalize body on this.
4665 * misc/mkostemp64.c: Likewise.
b8625cfc 4666 * misc/mkostemps64.c: Likewise.
3f55550c 4667 * misc/mkstemps64.c: Likewise.
cd97c966
RM
4668 * sysdeps/wordsize-64/mkstemp64.c: File removed.
4669 * sysdeps/wordsize-64/mkostemp64.c: File removed.
4670 * sysdeps/wordsize-64/mkostemp.c: File removed.
4671 * sysdeps/wordsize-64/mkstemp.c: File removed.
4672 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
4673 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
4674 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
4675 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
4676
09c0ee5f
RM
4677 [BZ #14138]
4678 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
4679 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
4680 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
4681 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
4682
4683 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
4684 compat_symbol macros from <shlib-compat.h> rather than the underlying
4685 default_symbol_version and symbol_version macros, so that DEFAULT
4686 lines in shlib-versions are respected.
4687 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
4688
7e66ee51
FW
46892012-08-01 Florian Weimer <fweimer@redhat.com>
4690
4691 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
4692 Declare with warn_unused_result.
4693 (setgid, setregid, setegid, setresgid): Likewise.
4694 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
4695 Likewise.
4696 * WUR-REPORT: Remove set*id functions.
4697
d2a54255
PT
46982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
4699
4700 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
4701
7ecdb005
RM
47022012-07-31 Roland McGrath <roland@hack.frob.com>
4703
789bd351
RM
4704 * include/sys/socket.h (__libc_accept, __libc_accept4):
4705 Add attribute_hidden.
4706 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
4707
40ce302d
RM
4708 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
4709 use of PTR_MANGLE.
4710 * inet/getnetgrent_r.c (setup): Likewise.
4711
7ecdb005
RM
4712 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
4713
e2eabb2c
DM
47142012-07-31 David S. Miller <davem@davemloft.net>
4715
4716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4717
d0419dbf
JM
47182012-07-31 Joseph Myers <joseph@codesourcery.com>
4719
4720 [BZ #13629]
4721 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
4722 value between 1.0 and 2.0 and smaller part has absolute value less
4723 than 1.0.
4724 * math/s_clog10.c (__clog10): Likewise.
4725 * math/s_clog10f.c (__clog10f): Likewise.
4726 * math/s_clog10l.c (__clog10l): Likewise.
4727 * math/s_clogf.c (__clogf): Likewise.
4728 * math/s_clogl.c (__clogl): Likewise.
4729 * math/libm-test.inc (clog_test): Add more tests.
4730 (clog10_test): Likewise.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4733
2bc13872
FW
47342012-07-31 Florian Weimer <fweimer@redhat.com>
4735
4736 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
4737 Exit with zero in case no suitable GID is found, and write a
4738 message to standard error.
4739
bea9b193
RM
47402012-07-30 Roland McGrath <roland@hack.frob.com>
4741
4742 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
4743 rather than to 1.
4744 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
4745 (MAXPATHLEN): Removed.
4746 (NOGROUP, NODEV): New macros.
4747 (setbit, clrbit, isset, isclr): New macros.
4748 (howmany, roundup, powerof2): New macros.
4749 (DEV_BSIZE): New macro.
4750
4751 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
4752 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
4753
4754 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
4755 definition on [!__NO_LONG_DOUBLE_MATH].
4756
4757 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
4758 PTR_MANGLE and PTR_DEMANGLE.
4759
4760 * socket/accept4.c (accept4): Rename to __libc_accept4.
4761 Define accept4 as a weak alias.
4762
4763 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
4764 on [_DIRENT_HAVE_D_TYPE].
4765 * io/ftw.c (ftw_dir): Likewise.
4766
4767 * io/xmknod.c (__xmknod): Don't check PATH for being null.
4768
4769 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
4770
4771 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
4772 Use the BSD numbers rather than the arbitrary ones we had.
4773 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
4774 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
4775 (SIGXCPU, SIGXFSZ): New macros.
4776 (_NSIG): Now 32.
4777
4778 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
4779 initializer on [_LIBC_REENTRANT].
4780
4781 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
4782 definitions inside [_POSIX_MAPPED_FILES].
4783
4784 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
4785
4786 * dirent/opendir.c: Include <fcntl.h>.
4787
4788 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
4789 (__libc_getspecific): Likewise.
4790 (__libc_key_create): Likewise.
4791
4792 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
4793 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
4794 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
4795 (tmpfile64): Define as alias.
4796 * sysdeps/wordsize-64/tmpfile.c: File removed.
4797 * sysdeps/wordsize-64/tmpfile64.c: File removed.
4798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
4800
4801 * stdio-common/vfscanf.c: Include <stdbool.h>.
4802 * nss/makedb.c: Likewise.
4803 * stdio-common/_i18n_number.h: Likewise.
4804 * argp/argp-help.c: Likewise.
4805 * posix/wordexp.c: Likewise.
4806 * sysdeps/posix/spawni.c: Likewise.
4807 * nss/nss_files/files-initgroups.c: Likewise.
4808 * stdio-common/reg-modifier.c: Include <stdlib.h>.
4809 * nss/nss_files/files-initgroups.c: Likewise.
4810 * nss/nss_db/db-netgrp.c: Likewise.
4811 * nss/nss_db/db-initgroups.c: Likewise.
4812 * io/fchmodat.c: Include <sys/stat.h>.
4813
4814 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
4815 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
4816
4817 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
4818 [HAVE_MMAP].
4819
4820 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
4821 Add multiple inclusion protection.
4822
e5abc686
DM
48232012-07-27 David S. Miller <davem@davemloft.net>
4824
4825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4826
815e6fa3
GB
48272012-07-27 Gary Benson <gbenson@redhat.com>
4828
4829 [BZ #14298]
4830 * elf/rtld.c: Include <stap-probe.h>.
4831 (dl_main): Added static probes "init_start" and "init_complete".
4832 * elf/dl-load.c: Include <stap-probe.h>.
4833 (lose): Take new parameter "nsid".
4834 Added static probe "map_failed".
4835 (_dl_map_object_from_fd): Pass namespace id to lose.
4836 Added static probe "map_start".
4837 (open_verify): Pass namespace id to lose.
4838 * elf/dl-open.c: Include <stap-probe.h>.
4839 (dl_open_worker) Added static probes "map_complete", "reloc_start"
4840 and "reloc_complete".
4841 * elf/dl-close.c: Include <stap-probe.h>.
4842 (_dl_close_worker): Added static probes "unmap_start" and
4843 "unmap_complete".
4844 * elf/rtld-debugger-interface.txt: New file documenting the above.
4845
9f98c16c
RM
48462012-07-26 Roland McGrath <roland@hack.frob.com>
4847
4848 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
4849 rather than a string variable.
4850 * sunrpc/rpc_main.c (h_output): Likewise.
4851 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
4852
f3c22df3
PT
48532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
4854
4855 * inet/check_native.c: New file.
4856
3129cfc6
JM
48572012-07-26 Joseph Myers <joseph@codesourcery.com>
4858
da865e95
JM
4859 [BZ #13629]
4860 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
4861 if larger part has absolute value 1.0.
4862 * math/s_clog10.c (__clog10): Likewise.
4863 * math/s_clog10f.c (__clog10f): Likewise.
4864 * math/s_clog10l.c (__clog10l): Likewise.
4865 * math/s_clogf.c (__clogf): Likewise.
4866 * math/s_clogl.c (__clogl): Likewise.
4867 * math/libm-test.inc (clog_test): Add more tests.
4868 (clog10_test): Likewise.
4869 * sysdeps/i386/fpu/libm-test-ulps: Update.
4870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871
3129cfc6
JM
4872 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
4873 (pltexit): Likewise.
4874 (La_regs): Likewise.
4875 (La_retval): Likewise.
4876 (int_retval): Likewise.
4877 Update #error for removed macros to refer only to definitions in
4878 tst-audit.h.
4879 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
4880 macro.
4881 (pltexit): Likewise.
4882 (La_regs): Likewise.
4883 (La_retval): Likewise.
4884 (int_retval): Likewise.
4885 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
4886 macro.
4887 (pltexit): Likewise.
4888 (La_regs): Likewise.
4889 (La_retval): Likewise.
4890 (int_retval): Likewise.
4891 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
4892 macro.
4893 (pltexit): Likewise.
4894 (La_regs): Likewise.
4895 (La_retval): Likewise.
4896 (int_retval): Likewise.
4897 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
4898 macro.
4899 (pltexit): Likewise.
4900 (La_regs): Likewise.
4901 (La_retval): Likewise.
4902 (int_retval): Likewise.
4903 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
4904 macro.
4905 (pltexit): Likewise.
4906 (La_regs): Likewise.
4907 (La_retval): Likewise.
4908 (int_retval): Likewise.
4909 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
4910 macro.
4911 (pltexit): Likewise.
4912 (La_regs): Likewise.
4913 (La_retval): Likewise.
4914 (int_retval): Likewise.
4915 * sysdeps/generic/tst-audit.h: Update comment to refer only to
4916 macro definitions in tst-audit.h.
4917 * sysdeps/i386/tst-audit.h: New file.
4918 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
4919 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
4920 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
4921 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
4922 * sysdeps/sh/tst-audit.h: Likewise.
4923 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
4924 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
4925 * sysdeps/x86_64/tst-audit.h: Likewise.
4926
bfc07087
AJ
49272012-07-26 Andreas Jaeger <aj@suse.de>
4928
b1b2aaf8
AJ
4929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
4930 ptrace.
4931
4932 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
4933 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
4934 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
4935 PTRACE_O_MASK.
4936 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
4938 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
4939
bfc07087
AJ
4940 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
4941 value.
4942
4943 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
4944 _sigsys.
4945 (si_call_addr, si_syscall, si_arch): Define new macro.
4946 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
4947 _sigsys.
4948 (si_call_addr, si_syscall, si_arch): Define new marcro.
4949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
4950 _sigsys.
4951 (si_call_addr, si_syscall, si_arch): Define new macro.
4952 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
4953 _sigsys.
4954 (si_call_addr, si_syscall, si_arch): Define new macro.
4955
89b4b02f
JM
49562012-07-25 Joseph Myers <joseph@codesourcery.com>
4957
4958 [BZ #13717]
4959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4960 Change to 2.4.21 where previously 2.4.1.
4961 * sysdeps/unix/sysv/linux/configure: Regenerated.
4962 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
4963 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
4964 Linux kernel version.
4965 (__ASSUME_STD_AUXV): Remove.
4966 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
4967 kernel version.
4968 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
4969 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
4970 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
4971 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
4972 (__ASSUME_NETLINK_SUPPORT): Likewise.
4973 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
4974 (__no_netlink_support): Remove conditional definition.
4975 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
4976 Remove.
4977 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4978 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
4979 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
4980 (if_nameindex_ioctl): Remove.
4981 (if_nameindex_netlink): Do not handle __no_netlink_support.
4982 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4983 code.
4984 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
4985 Remove conditional code.
4986 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
4987 code.
4988 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
4989 unconditional.
4990 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
4991 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
4992 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
4993 Remove.
4994 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
4995 [!__ASSUME_STD_AUXV]: Remove conditional code.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
4997 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
4998 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5000 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5001 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5002 code.
5003 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5005 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5006 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5007 conditional code.
5008 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5010 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5011 code.
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5013 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5014 conditional code.
5015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5016 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5017 code unconditional.
5018 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5019 conditional code.
5020 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5021 unconditional.
5022 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5023 conditional code.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5025 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5026 unconditional.
5027 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5028 conditional code.
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5030 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5031 code unconditional.
5032 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5033 conditional code.
5034 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5035 unconditional.
5036 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5037 conditional code.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5039 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5040 code unconditional.
5041 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5042 conditional code.
5043 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5044 unconditional.
5045 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5046 conditional code.
5047
842a39cd
AS
50482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5049
5050 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5051 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5052 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5053 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5054 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5055 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5056 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5057 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5059 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5060 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5061 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5062 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5063 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5064 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5068 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5070 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5071 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5073
84b3fd84
FW
50742012-07-25 Florian Weimer <fweimer@redhat.com>
5075
5076 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5077 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5078 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5079 Introduce __libc_secure_getenv.
0c7936d5
FW
5080 * stdlib/Versions (2.17): Add secure_getenv
5081 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5082 * stdlib/secure-getenv.c: Rename __secure_getenv to
5083 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5084 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5085 * stdlib/tst-secure-getenv.c: New.
5086 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5087 * manual/startup.texi (Environment Access): Document
5088 secure_getenv.
84b3fd84
FW
5089 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5090 __libc_secure_getenv.
5091 * inet/ruserpass.c (ruserpass): Likewise.
5092 * malloc/mtrace.c (mtrace): Likewise.
5093 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5094 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5095 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5096 * sysdeps/posix/tempname.c: Likewise. Evaluate
5097 HAVE_SECURE_GETENV.
5098 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5099 __secure_getenv to __libc_secure_getenv.
84b3fd84 5100 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5104 Likewise.
5105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5112
56e49b71
JM
51132012-07-25 Joseph Myers <joseph@codesourcery.com>
5114
5115 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5116 (struct La_i86_retval): Likewise.
5117 (struct La_x86_64_regs): Likewise.
5118 (struct La_x86_64_retval): Likewise.
5119 (struct La_x32_regs): Likewise.
5120 (struct La_x32_retval): Likewise.
5121 (struct La_ppc32_regs): Likewise.
5122 (struct La_ppc32_retval): Likewise.
5123 (struct La_ppc64_regs): Likewise.
5124 (struct La_ppc64_retval): Likewise.
5125 (struct La_sh_regs): Likewise.
5126 (struct La_sh_retval): Likewise.
5127 (struct La_s390_32_regs): Likewise.
5128 (struct La_s390_32_retval): Likewise.
5129 (struct La_s390_64_regs): Likewise.
5130 (struct La_s390_64_retval): Likewise.
5131 (struct La_sparc32_regs): Likewise.
5132 (struct La_sparc32_retval): Likewise.
5133 (struct La_sparc64_regs): Likewise.
5134 (struct La_sparc64_retval): Likewise.
5135 (struct audit_ifaces): Remove architecture-specific pltenter and
5136 pltexit members.
5137 * sysdeps/i386/ldsodefs.h: New file.
5138 * sysdeps/powerpc/ldsodefs.h: Likewise.
5139 * sysdeps/s390/ldsodefs.h: Likewise.
5140 * sysdeps/sh/ldsodefs.h: Likewise.
5141 * sysdeps/sparc/ldsodefs.h: Likewise.
5142 * sysdeps/x86_64/ldsodefs.h: Likewise.
5143
354691b7
MP
51442012-07-25 Marek Polacek <polacek@redhat.com>
5145
5146 [BZ #6808]
5147 * math/libm-test.inc (yn_test): Add another test.
5148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5149 to ERANGE when the result is +-Inf.
5150 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5151 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5152 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5153 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5154
bf9e2071
JM
51552012-07-24 Joseph Myers <joseph@codesourcery.com>
5156
5157 * conform/data/time.h-data (NULL): Use macro-constant. Require
5158 equal to 0.
5159 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5160 clock_t.
5161 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5162
57633811
TS
51632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5164
5165 * configure.in <sysdeps resolving>: Correct printing
5166 Implies_before.
5167 * configure: Regenerate.
5168
c23c33b0
TS
51692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5170
5171 * math/w_ilogb.c: Include <limits.h>.
5172 * math/w_ilogbl.c: Likewise.
5173
b5982523
JM
51742012-07-20 Joseph Myers <joseph@codesourcery.com>
5175
5176 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5177 va_copy. Document allowing for unavailable va_copy only as
5178 pre-C99 compatibility.
5179 * manual/string.texi (Copying and Concatenation): Use va_copy
5180 instead of __va_copy in concat example.
5181
ac4ea442
PT
51822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5183
5184 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5185 (__sendto): Use create_address_port. Initialize APORT and deallocate
5186 it if not null.
5187
f98eafbd
PT
5188 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5189 with O_NOLINK passed to __file_name_lookup.
5190
898c7aab
PT
5191 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5192 with O_NOLINK passed to __file_name_lookup.
5193
0ced335a
PT
5194 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5195 negative N or less than NGIDS.
5196
b3404dbd
PT
5197 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5198 type to string_t. Set ERANGE as errno and return it if NAME is not big
5199 enough. Use memcpy instead of strncpy.
5200
0f48659e
JM
52012012-07-20 Joseph Myers <joseph@codesourcery.com>
5202
5203 * elf/Makefile (check-data): Remove.
5204 (localplt.data): New vpath directive.
5205 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5206 instead of $(check-data).
5207 * scripts/data/localplt-generic.data: Move to ...
5208 * sysdeps/generic/localplt.data: ... here.
5209 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5210 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5211 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5213 ... here.
5214 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5216 ... here.
5217 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5219 ... here.
5220 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5222 ... here.
5223 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5225 ... here.
5226 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5228 ... here.
5229
d37cbdaa
AZ
52302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5231
5232 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5233 PPC32 and PPC64 files.
5234 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5235 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5236
46f85fc2
AK
52372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5238
5239 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5240 __makecontext_ret to ...
5241 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5242 ... here and call exit if uc_link is NULL. New file.
5243 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5244 __makecontext_ret.S.
5245 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5246 __makecontext_ret to ...
5247 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5248 ... here and call exit if uc_link is NULL. New file.
5249 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5250 __makecontext_ret.S.
5251
08f43f9b
AK
52522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5253
5254 * elf/elf.h (R_390_IRELATIVE): New definition.
5255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5256 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5257 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5258 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5259 (elf_machine_lazy_rel): Likewise.
5260 * sysdeps/s390/dl-irel.h: New file.
5261 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5262 * sysdeps/s390/s390-64/memset.S: New asm code.
5263 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5264 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5265 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5266 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5267 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5268 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5270 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5271 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5272 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5273 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5274 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5275 * sysdeps/s390/s390-32/memset.S: New asm code.
5276 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5277
3b05db33
MP
52782012-07-17 Marek Polacek <polacek@redhat.com>
5279
5280 [BZ #14349]
5281 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5282 * sysdeps/s390/s390-64/configure.in: Likewise.
5283 * sysdeps/sparc/configure.in: Likewise.
5284 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5285 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5286 * sysdeps/i386/configure.in: Likewise.
5287 * sysdeps/x86_64/configure.in: Likewise.
5288 * sysdeps/sh/configure.in: Likewise.
5289 * sysdeps/s390/s390-32/configure: Regenerated.
5290 * sysdeps/s390/s390-64/configure: Likewise.
5291 * sysdeps/x86_64/configure: Likewise.
5292 * sysdeps/sh/configure: Likewise.
5293 * sysdeps/powerpc/powerpc64/configure: Likewise.
5294 * sysdeps/powerpc/powerpc32/configure: Likewise.
5295 * sysdeps/sparc/configure: Likwise.
5296 * sysdeps/i386/configure: Likewise.
5297
a66877c6
MP
5298 * elf/dl-open.c: Comment fixes.
5299
cfc82fd8
JM
53002012-07-17 Joseph Myers <joseph@codesourcery.com>
5301
bd29910a
JM
5302 * Makefile [CXX] (check-data): Remove.
5303 [CXX] (c++-types.data): New vpath directive.
5304 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5305 vpath. Do not allow for C++ type data being missing.
5306 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5307 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5308 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5309 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5310 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5311 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5312 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5314 ... here.
5315 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5317 ... here.
5318 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5320 ... here.
5321 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5323 ... here.
5324 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5326 ... here.
5327 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5329 ... here.
5330 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5332 ... here.
5333 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5335
cfc82fd8
JM
5336 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5337 definitions to architecture-specific files.
5338 (TLS_IE): Likewise.
5339 (TLS_LD): Likewise.
5340 (TLS_GD): Likewise.
5341 * sysdeps/i386/tls-macros.h: New file.
5342 * sysdeps/powerpc/tls-macros.h: Likewise.
5343 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5344 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5345 * sysdeps/sh/tls-macros.h: Likewise.
5346 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5347 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5348 * sysdeps/x86_64/tls-macros.h: Likewise.
5349
f7db3170
TS
53502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5351
07cbfc23
TS
5352 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5353 zero value for regular exit case.
5354
f7db3170
TS
5355 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5356 (__start_context): Preserve zero value for regular exit case.
5357
dc97c227
TS
53582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5359 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5360
5361 * manual/setjmp.texi (setcontext): Clarify normal process
5362 termination when uc_link is the null pointer.
5363 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5364 exit call.
5365
d0cd7d02
AS
53662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5367
5368 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5369 preprocessor. Test for each exception mask separately.
5370
dd318934
AJ
53712012-07-16 Andreas Jaeger <aj@suse.de>
5372
5373 * po/ru.po: Update from translation team.
5374
8048311a
JM
53752012-07-15 Joseph Myers <joseph@codesourcery.com>
5376
5377 * conform/data/string.h-data (NULL): Use macro-constant. Require
5378 equal to 0.
5379 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5380 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5381 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5382 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5383 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5384
b637d46e
AJ
53852012-07-13 Andreas Jaeger <aj@suse.de>
5386
5387 * po/fr.po: Update from translation team.
5388
541428fe
MP
53892012-07-12 Marek Polacek <polacek@redhat.com>
5390
5391 [BZ #14173]
5392 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5393 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5394 loop condition.
5395
ec332e94
JM
53962012-07-12 Joseph Myers <joseph@codesourcery.com>
5397
5398 [BZ #13717]
5399 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5400 Change to 2.4.1 where previously 2.4.0.
5401 * sysdeps/unix/sysv/linux/configure: Regenerated.
5402 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5403 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5404 version.
5405 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5406 (__ASSUME_AT_CLKTCK): Remove.
5407 (__ASSUME_AT_PAGESIZE): Likewise.
5408 (__ASSUME_AT_XID): Likewise.
5409 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5410 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5411 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5412 unconditionally.
5413 (HAVE_AUX_PAGESIZE): Likewise.
5414 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5415 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5416 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5417
7b6e99be
JB
54182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5419
5420 [BZ #14307]
5421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5422 the temporary buffer used to invoke __gethostbyname2_r,
5423 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5424 host_data / struct gaih_addrtuple.
5425 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5426 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5427 header file nss/nsswitch.h.
5428 * nss/nsswitch.h (global scope): Add definition of implementation
5429 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5430 resolv/nss_dns/dns-host.c).
5431
608404eb
AJ
54322012-07-11 Andreas Jaeger <aj@suse.de>
5433
5434 * po/fr.po: Update from translation team.
5435
71220aca
AJ
5436 * po/sv.po: Update from translation team
5437 * po/fr.po: Another update from translation team.
5438
28cfe843
AZ
54392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5442 for subnormals or multiply small sinh result by itself.
5443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5445
6b90f981
DM
54462012-07-11 David S. Miller <davem@davemloft.net>
5447
5448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5449
c6825772
AS
54502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5451
5452 [BZ #14347]
5453 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5454 (INTERNAL_MARK): Shift it here.
5455
7b8e0d49
MP
54562012-07-10 Marek Polacek <polacek@redhat.com>
5457
5458 [BZ #14151]
5459 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5460 libc_cv_asm_global_directive with .globl.
5461 * configure: Regenerated.
5462 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5463 with .globl.
5464 * sysdeps/i386/configure: Regenerated.
5465 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5466 with .globl.
5467 * sysdeps/x86_64/configure: Regenerated.
5468 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5469 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5470 * elf/tst-unique2mod2.c: Likewise.
5471 * elf/tst-unique2mod1.c: Likewise.
5472 * elf/tst-unique1mod2.c: Likewise.
5473 * elf/tst-unique1mod1.c: Likewise.
5474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5475 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5476 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5477 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5478 * sysdeps/mach/sysdep.h: Likewise.
5479 * sysdeps/i386/sysdep.h: Likewise.
5480 * sysdeps/i386/i386-mcount.S: Likewise.
5481 * sysdeps/x86_64/_mcount.S: Likewise.
5482 * sysdeps/x86_64/sysdep.h: Likewise.
5483 * sysdeps/sh/_mcount.S: Likewise.
5484 * sysdeps/sh/sysdep.h: Likewise.
5485 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5486 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5487 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5488 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5489 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5490 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5491 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5492 * locale/localeinfo.h: Likewise.
5493 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5494 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5495
6c55cda3
RM
54962012-07-09 Roland McGrath <roland@hack.frob.com>
5497
5498 [BZ #14336]
5499 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5500 system".
5501 * manual/message.texi (The Uniforum approach): Likewise.
5502 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5503 (glibc iconv Implementation): Likewise.
5504
638a572e
JM
55052012-07-09 Joseph Myers <joseph@codesourcery.com>
5506
5507 [BZ #14337]
5508 * math/s_clog.c (__clog): Avoid scaling a value down where that
5509 could result in underflow.
5510 * math/s_clog10.c (__clog10): Likewise.
5511 * math/s_clog10f.c (__clog10f): Likewise.
5512 * math/s_clog10l.c (__clog10l): Likewise.
5513 * math/s_clogf.c (__clogf): Likewise.
5514 * math/s_clogl.c (__clogl): Likewise.
5515 * math/libm-test.inc (clog_test): Add more tests.
5516 (clog10_test): Likewise.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519
261f4859
AS
55202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5521
0abaf3e4
AS
5522 [BZ #14283]
5523 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
5524 by 7 not 8 to examine high bit of fractional part.
5525
261f4859
AS
5526 [BZ #14042]
5527 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
5528 for call to __mcount_internal.
5529 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
5530 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
5531 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
5532
f17ac40d
JM
55332012-07-06 Joseph Myers <joseph@codesourcery.com>
5534
9ad63c23
JM
5535 [BZ #14154]
5536 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
5537 approximation for values within 0x1p-13f of an odd multiple of
5538 pi/4.
5539 * math/libm-test.inc (tan_test): Do not allow spurious underflow
5540 exception. Add more tests.
5541 * sysdeps/i386/fpu/libm-test-ulps: Update.
5542
f17ac40d
JM
5543 [BZ #6778]
5544 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
5545 inputs and return -1 for them. Do not check for +Inf in case not
5546 reachable for +Inf.
5547 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5548 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
5549 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5550 and return -1 for them. Do not check for +Inf in case not
5551 reachable for +Inf.
5552 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
5553 define.
5554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
5555 and return -1 for them. Do not check for +Inf in case not
5556 reachable for +Inf.
5557 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
5558 spurious underflow.
5559 * sysdeps/i386/fpu/libm-test-ulps: Update.
5560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561
fb21f89b
MF
55622012-07-06 Mike Frysinger <vapier@gentoo.org>
5563
5564 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
5565
cdfe2c5e
JM
55662012-07-05 Joseph Myers <joseph@codesourcery.com>
5567
5568 [BZ #14157]
5569 [BZ #14331]
5570 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
5571 could result in spurious underflow. Scale down values above
5572 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
5573 * math/s_csqrtf.c (__csqrtf): Likewise.
5574 * math/s_csqrtl.c (__csqrtl): Likewise.
5575 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
5576 spurious underflow.
5577 * sysdeps/i386/fpu/libm-test-ulps: Update.
5578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5579
70d35b67
AS
55802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
5581
704bc459
AS
5582 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
5583 xopen-msg.sed.
5584 * catgets/xopen-msg.awk: New file.
5585 * catgets/xopen-msg.sed: Removed.
5586
70d35b67
AS
5587 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
5588 po2text.sed.
5589 * intl/po2test.awk: New file.
5590 * intl/po2test.sed: Removed.
5591
ca61cf32
JM
55922012-07-04 Joseph Myers <joseph@codesourcery.com>
5593
5594 [BZ #14328]
5595 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
5596 or multiply small sinh result by itself.
5597 * math/s_ctanf.c (__ctanf): Likewise.
5598 * math/s_ctanh.c (__ctanh): Likewise.
5599 * math/s_ctanhf.c (__ctanhf): Likewise.
5600 * math/s_ctanhl.c (__ctanhl): Likewise.
5601 * math/s_ctanl.c (__ctanl): Likewise.
5602 * math/libm-test.inc (ctan_test_tonearest): New function.
5603 (ctan_test_towardzero): Likewise.
5604 (ctan_test_downward): Likewise.
5605 (ctan_test_upward): Likewise.
5606 (ctanh_test_tonearest): Likewise.
5607 (ctanh_test_towardzero): Likewise.
5608 (ctanh_test_downward): Likewise.
5609 (ctanh_test_upward): Likewise.
5610 (main): Call these new functions.
5611 * sysdeps/i386/fpu/libm-test-ulps: Update.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613
ca48a46a
MF
56142012-07-03 Mike Frysinger <vapier@gentoo.org>
5615
5616 * .gitignore: Delete /ports entry.
5617
9d63d37d
AJ
56182012-07-03 Andreas Jaeger <aj@suse.de>
5619
5620 * po/bg.po: Update from translation team.
5621 * po/cs.po: Likewise.
5622 * po/de.po: Likewise.
5623 * po/hr.po: Likewise.
5624 * po/nl.pl: Likewise.
5625 * po/pl.po: Likewise.
5626 * po/vi.po: Likewise.
5627
370ca3d2
JM
56282012-07-03 Joseph Myers <joseph@codesourcery.com>
5629
95f5a9a8
JM
5630 * Makeconfig [!+link] (+link-before-libc): New variable.
5631 [!+link] (+link-after-libc): Likewise.
5632 [!+link] (+link-tests): Likewise.
5633 [!+link] (+link): Define in terms of $(+link-before-libc) and
5634 $(+link-after-libc).
5635 [!+link-static] (+link-static-before-libc): New variable.
5636 [!+link-static] (+link-static-after-libc): Likewise.
5637 [!+link-static] (+link-static-tests): Likewise.
5638 [!+link-static] (+link-static): Define in terms of
5639 $(+link-static-before-libc) and $(+link-static-after-libc).
5640 [build-shared] (link-libc-before-gnulib): New variable.
5641 [build-shared] (link-libc-tests): Likewise.
5642 [build-shared] (link-libc): Define in terms of
5643 $(link-libc-before-gnulib).
5644 [!build-shared] (link-libc-tests): New variable.
5645 (link-libc-static-tests): New variable.
5646 [!gnulib] (gnulib-arch): New variable.
5647 [!gnulib] (gnulib-tests): Likewise.
5648 [!gnulib] (static-gnulib-arch): Likewise.
5649 [!gnulib] (static-gnulib-tests): Likewise.
5650 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
5651 Define with "=" instead of ":=".
5652 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
5653 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
5654 * Rules (binaries-all-notests): New variable.
5655 (binaries-all-tests): Likewise.
5656 (binaries-static-notests): Likewise.
5657 (binaries-static-tests): Likewise.
5658 (binaries-all): Define using $(binaries-all-notests) and
5659 $(binaries-all-tests).
5660 (binaries-static): Define using $(binaries-static-notests) and
5661 $(binaries-static-tests).
5662 (binaries-shared-tests): New variable.
5663 (binaries-shared-notests): Likewise.
5664 (binaries-shared): Remove variable.
5665 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
5666 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
5667 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
5668 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
5669 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
5670 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
5671 * elf/Makefile (sln-modules): New variable.
5672 (extra-objs): Add $(sln-modules:=.o).
5673 (ldconfig-modules): Add static-stubs.
5674 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
5675 * elf/static-stubs.c: New file.
5676
7a845b2c
JM
5677 [BZ #14283]
5678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
5679 by 7 not 8 to examine high bit of fractional part. Use volatile
5680 variables when splitting into final array of floats if
5681 __FLT_EVAL_METHOD__ != 0.
5682 * math/libm-test.inc (cos_test): Add another test.
5683 (sin_test): Likewise.
5684 * sysdeps/i386/fpu/libm-test-ulps: Update.
5685
e2283f38
JM
5686 [BZ #14273]
5687 * math/libm-test.inc (cosh_test): Add more tests.
5688
370ca3d2
JM
5689 * version.h (RELEASE): Set to "development".
5690 (VERSION): Set to "2.16.90".
5691
ee9247c3
CD
56922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
5693
5694 * NEWS: Update copyright. Remove last-updated date.
5695 Mention math library bug fixes and timezone data changes.
5696 * README: Mention GNU/Hurd, x32, and HPPA support status.
5697
4648c381
TS
56982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
5699
5700 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
5701
aac78a43
AJ
57022012-06-27 Andreas Jaeger <aj@suse.de>
5703
5704 * manual/contrib.texi (Contributors): Add Samuel Thibault.
5705
ed3dbfad
AJ
57062012-06-25 Andreas Jaeger <aj@suse.de>
5707
5708 * sysdeps/s390/fpu/libm-test-ulps: Update.
5709
4d0ee855
AS
57102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
5711 Thomas Schwinge <thomas@codesourcery.com>
5712
5713 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
5714 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
5715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
5716 fanotify_mark.
5717
af1bce34
TS
57182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
5719
a9fa33ba
TS
5720 * sysdeps/mach/start.c: Remove file.
5721 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
5722 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
5723 * sysdeps/sh/init-first.c: Likewise.
5724
58f902b8
TS
5725 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
5726 registers for frame unwinding purposes, add CFI directives.
5727 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5728 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
5729 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
5730 Likewise.
5731
1518f58b
TS
5732 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
5733 __fortify_fail returning.
5734 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
5735
db9b5059
TS
5736 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
5737 sysdeps/sh/____longjmp_chk.S.
5738 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
5739 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
5740 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
5741 (gen-as-const-headers): Append sigaltstack-offsets.sym.
5742
967705fe
TS
5743 * sysdeps/sh/abort-instr.h: New file.
5744 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
5745 process in case exit returns.
5746
a9def8c4
TS
5747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
5748 initialize the GOT register before use.
5749
2a649725
TS
5750 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
5751 calculation of ARGC > 4.
5752
af1bce34
TS
5753 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
5754 meaningful names to some local labels.
5755
d230f50a
KK
57562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5757 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5758
5759 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
5760 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
5761 (__arch_compare_and_exchange_val_16_acq): Likewise.
5762 (__arch_compare_and_exchange_val_32_acq): Likewise.
5763 (atomic_exchange_and_add): Fix gUSA sequence.
5764 (atomic_add): Likewise.
5765 (atomic_add_negative): Likewise.
5766 (atomic_add_zero): Likewise.
5767 (atomic_bit_test_set): Likewise.
5768
0479b305
AS
57692012-06-22 Andreas Schwab <schwab@redhat.com>
5770
5771 [BZ #13579]
5772 * include/link.h (struct link_map): Add l_free_initfini.
5773 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
5774 l_initfini.
5775 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
5776 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
5777 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
5778 set.
5779
0e3933b9
CD
57802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
5781
5782 * configure.in: Use AC_LANG_SOURCE.
5783 * configure: Regenerate.
5784
4248b1b1
RM
57852012-06-22 Roland McGrath <roland@hack.frob.com>
5786
5787 * configure.in (libc_cv_localstatedir): New substituted variable.
5788 * configure: Regenerated.
5789 * config.make.in (localstatedir): New variable, substituted from
5790 libc_cv_localstatedir.
5791 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
5792 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
5793 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
5794 * sysdeps/gnu/configure: Regenerated.
5795
006dd861
JL
57962012-06-21 Jeff Law <law@redhat.com>
5797
5798 [BZ #14277]
5799 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
5800 free. Simplify list management for _LIBC case.
5801
79662d42
JM
58022012-06-21 Joseph Myers <joseph@codesourcery.com>
5803
b7abb4bf
JM
5804 [BZ #14273]
5805 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5806 Clear sign bit of 64-bit integer value before comparing against
5807 overflow value.
5808
79662d42
JM
5809 * sysdeps/mach/configure: Regenerated.
5810
1f150908
L
58112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
5812
5813 [BZ #14278]
5814 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
5815
28363bbf
JL
58162012-06-21 Jeff Law <law@redhat.com>
5817
5818 [BZ #13882]
5819 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
5820 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 5821 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
5822 * elf/dl-open.c (dl_open_worker): Likewise.
5823
09615db4
CD
58242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
5825
5826 * scripts/list-sources.sh: Scan PORTS for translations.
5827 * po/libc.pot: Regenerated.
5828
2174c6dd
AJ
58292012-06-21 Andreas Jaeger <aj@suse.de>
5830
5831 [BZ #12194]
5832 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
5833 warning.
5834 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
5835 * bits/byteswap-16.h (__bswap_16): Likewise.
5836 * bits/byteswap.h (__bswap_constant_16): Likewise.
5837
3ee947b1
L
58382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
5839
5840 [BZ #14117]
a2f34833
L
5841 * sysdeps/i386/fpu_control.h: Removed.
5842 * sysdeps/x86_64/fpu_control.h: Moved to ...
5843 * sysdeps/x86/fpu_control.h: Here.
5844
3ee947b1
L
5845 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
5846 (_FPU_SETCW): Likewise.
5847
ed1825f8
L
58482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
5849
25f1282a
L
5850 [BZ #14117]
5851 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
5852 * sysdeps/x86/fpu/bits/mathinline.h: This.
5853 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
5854
ed1825f8
L
5855 [BZ #14050]
5856 [BZ #14117]
5857 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
5858 functions if __x86_64__ is defined.
5859
36d54b74
CLT
58602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
5861
5862 * string/endian.h: Add !__ASSEMBLER__ condition for including
5863 conversion interfaces.
5864
10285c21
JM
58652012-06-15 Joseph Myers <joseph@codesourcery.com>
5866
5867 [BZ #14241]
5868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
5869 of ABS(x) in calculating zero to negative powers other than odd
5870 integers.
5871 * math/libm-test.inc (pow_test): Add more tests.
5872
06c5abbd
AJ
58732012-06-15 Andreas Jaeger <aj@suse.de>
5874
5875 * manual/contrib.texi (Contributors): Update entry of Liubov
5876 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
5877 Machado Filho.
5878
a3aeac40
CH
58792012-06-15 Cyril Hrubis <metan@ucw.cz>
5880
5881 * string/string.h: Add __wur to GNU version of strerror_r.
5882
49bdf4c1
L
58832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
5884
5885 [BZ #14229]
5886 * string/Makefile (tests): Add tst-strtok_r.
5887 * string/tst-strtok_r.c: New file.
5888 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
5889 RAX_LP/RDX_LP on SAVE_PTR.
5890
834f9b8d
RM
58912012-06-14 Roland McGrath <roland@hack.frob.com>
5892
5893 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
5894
75fa1921
JM
58952012-06-14 Joseph Myers <joseph@codesourcery.com>
5896
5897 * libm_test.inc (csqrt_test): Allow more spurious underflow
5898 exceptions.
5899 (j0_test): Likewise.
5900 (j1_test): Likewise.
5901 (y0_test): Likewise.
5902 (y1_test): Likewise.
5903
771766df
CD
59042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
5905
5906 * po/Makefile (libc.pot): Use UTF-8 charset.
5907
ceb9e56b
PP
59082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5909
5910 [BZ #14210]
5911 Suppress sign-conversion warning from FD_SET.
5912 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
5913 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
5914 not unsigned long int.
5915 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
5916
ddb28975
L
59172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
5918
5919 [BZ #14050]
5920 [BZ #14117]
5921 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
5922 __extern_always_inline instead of __extern_inline.
5923 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
5924 (__signbit): Likewise.
5925 (__signbitl): Support C++ namespace.
5926 (lrintf): New inline function.
5927 (lrint): Likewise.
5928 (llrintf): Likewise.
5929 (llrint): Likewise.
5930 (fmaxf): Likewise.
5931 (fmax): Likewise.
5932 (fminf): Likewise.
5933 (fmin): Likewise.
5934 (rint): Likewise.
5935 (rintf): Likewise.
5936 (ceil): Likewise.
5937 (ceilf): Likewise.
5938 (floor): Likewise.
5939 (floorf): Likewise.
5940 (nearbyint): Likewise.
5941 (nearbyintf): Likewise.
5942
d7b4fb26
TS
59432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
5944
5945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
5946 non-default versions.
5947
eb55f5c2
RM
59482012-06-11 Roland McGrath <roland@hack.frob.com>
5949
5950 [BZ #14218]
5951 * manual/argp.texi (Argp): Reword argp_parse description slightly.
5952
366af02c
TS
59532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
5954
99ff6e5c
TS
5955 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
5956 (FE_UPWARD, FE_DOWNWARD): Don't define.
5957 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
5958 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5959
366af02c
TS
5960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
5961 reading it.
5962 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5963 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5964
793ea851
KK
59652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5966
5967 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5968 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
5969 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
5970 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
5971
a728a38f
L
59722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
5973
5974 [BZ #14117]
c08010c7
L
5975 * sysdeps/i386/fpu/bits/fenv.h: Removed.
5976 * sysdeps/i386/fpu/Implies: New file.
5977 * sysdeps/x86_64/fpu/Implies: Likewise.
5978 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
5979 * sysdeps/x86/fpu/bits/fenv.h: This.
5980
a728a38f
L
5981 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
5982 __SSE_MATH__.
5983
6e230d11
SP
59842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
5986 [BZ #14134]
5987 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
5988 character 0xffff that matches the last element of the
5989 conversion table.
5990
1b671feb
AZ
59912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992
5993 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
5994 fmodl commit.
5995
6043738b
AZ
59962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997
5998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
5999 values higher than 25.6283.
6000
34ae0b32
AZ
60012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6004 subnormal exponent extraction and add some __builtin_expect.
6005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6006 Fix for subnormal mantissa calculation.
6007
1214ec8f
MF
60082012-06-04 Mike Frysinger <vapier@gentoo.org>
6009
6010 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6011 cpu2 is -1 and errno is not ENOSYS.
6012
f3d1f93c
L
60132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6014
6015 [BZ #14117]
0e4a3cd7
L
6016 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6017 * sysdeps/x86/bits/string.h: This.
6018 * sysdeps/x86_64/bits/string.h: Removed.
6019
6704c645
L
6020 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6021 if not compiling for x86-64, but compiling for >= i486.
6022
48495318
L
6023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6024 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6025
14adcbfc
L
6026 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6027 New macro from Linux kernel 3.4.0.
6028 (FP_XSTATE_MAGIC2): Likewise.
6029 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6030 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6031 (struct _fpx_sw_bytes): New struct.
6032 (struct _xsave_hdr): Likewise.
6033 (struct _ymmh_state): Likewise.
6034 (struct _xstate): Likewise.
6035
68e408ab
L
6036 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6037 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6038 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6039 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6040 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6041 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6042
f3d1f93c
L
6043 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6044 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6045 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6046 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6047 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6048 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6049
d9dc34cd
TMQMF
60502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6051
6052 [BZ #13743]
6053 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6054 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6055 (sysdep_headers): Include sys/platform/ppc.h.
6056 * sysdeps/powerpc/test-gettimebase.c: Test for
6057 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6058 * manual/Makefile (appendices): Include platform.texi.
6059 * manual/contrib.texi (Contributors): Update @node pointers.
6060 * manual/maint.texi (Maintenance): Likewise.
6061 (Platform): New node.
6062 * manual/platform.texi: New file. Document the new features.
6063
4af3879c
SP
60642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6065 Jakub Jelinek <jakub@redhat.com>
6066
6067 [BZ #14188]
6068 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6069 where __builtin_expect is unavailable.
6070
2fd6ff13
DM
60712012-06-03 David S. Miller <davem@davemloft.net>
6072
6073 * stdlib/longlong.h: Updated from GCC.
6074
173f7220
AS
60752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6076
6077 [BZ #14042]
6078 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6079 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6080 __mcount_internal.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6082 (GLIBC_2.16): Likewise.
6083
f34a1c6f
L
60842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6085
6086 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6087
88a4576f
JM
60882012-06-01 Joseph Myers <joseph@codesourcery.com>
6089
ea32bcdd
JM
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6091 (default-abi): New variable.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6094 variable.
6095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6096 Likewise.
6097 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6098 Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6100 Likewise.
6101
88a4576f
JM
6102 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6103 definition. Document in comment.
6104
402fe938
DM
61052012-06-01 David S. Miller <davem@davemloft.net>
6106
6107 * stdlib/longlong.h: Updated from GCC.
6108
3553723f
L
61092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6110
6111 [BZ #14117]
3bd872c4
L
6112 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6113 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6114 sys/debugreg.h sys/io.h here.
6115 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6116 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6117 sys/io.h.
6118 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6119 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6120 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6121 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6122 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6123 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6124
3553723f
L
6125 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6126 Define only if __x86_64__ is defined.
6127
4842e4fe
JM
61282012-06-01 Joseph Myers <joseph@codesourcery.com>
6129
c5bfe3d5
JM
6130 [BZ #14048]
6131 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6132 Use int64_t for variable i.
6133 * math/libm-test.inc (fmod_test): Add more tests.
6134
4842e4fe
JM
6135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6136 z computation is not scheduled after fetestexcept.
6137 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6138 Use math_force_eval instead of asm to ensure calculation scheduled
6139 before exception test.
6140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6141 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6142
efb73488
AJ
61432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6144
6145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6146 computation is not scheduled after fetestexcept.
6147
29bcce7c
L
61482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6149
6150 [BZ #14117]
6151 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6152 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6153
73a68f94
AZ
61542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155
6156 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6158
67b6df78
L
61592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6160
edf2933a 6161 [BZ #14117]
ebc64a18
L
6162 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6163 <bits/wordsize.h>.
6164 (__WCHAR_MIN): Support __WORDSIZE == 64.
6165 (__WCHAR_MAX): Likewise.
6166
edf2933a
L
6167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6168 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6169
57c6cf40
L
6170 [BZ #14183]
6171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6172 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6173
67b6df78 6174 [BZ #14117]
8eb6281e
L
6175 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6176 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6177
aac639f4
L
6178 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6179 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6180
67b6df78
L
6181 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6182 Defined to 1 if __x86_64__ isn't defined.
6183 (_STAT_VER_LINUX_OLD): New.
6184 (st_atime): Remove duplicate.
6185 (st_mtime): Likewise.
6186 (st_ctime): Likewise.
6187
1c2cfe81
DM
61882012-05-31 David S. Miller <davem@davemloft.net>
6189
6190 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6191 entries.
6192
5be8418c
AS
61932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6194
e7725326
AS
6195 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6196 gen-libm-test.pl.
6197
5be8418c
AS
6198 [BZ #14132]
6199 * elf/dl-reloc.c: Include <_itoa.h>.
6200 (_dl_reloc_bad_type): Remove use of INTUSE.
6201 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6202 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6203 * stdio-common/psiginfo.c (psiginfo): Likewise.
6204 * stdio-common/psignal.c (psignal): Likewise.
6205 * string/strsignal.c (strsignal): Likewise.
6206 * include/signal.h (_sys_siglist): Declare hidden proto.
6207 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6208 INTVARDEF with libc_hidden_data_def.
6209 * stdio-common/itoa-udigits.c: Likewise.
6210 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6211 (_itoa_lower_digits_internal): Remove declaration.
6212 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6213 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6214 (_sys_sigabbrev_internal): Remove aliases.
6215 (_sys_siglist): Define hidden alias.
6216
507352f1
MT
62172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6218
6219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6220 bits/sysctl.h.
6221
42bbb1c3
L
62222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6223
6224 [BZ #14117]
6bd784b6
L
6225 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6226 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6227
8bca20f0
L
6228 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6229 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6230 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6231 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6232 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6233 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6234
f9e890a9
L
6235 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6236 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6237 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6238
471101a1
L
6239 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6240 with __addr.
6241 (insw): Likewise.
6242 (insl): Likewise.
6243 (outsb): Likewise.
6244 (outsw): Likewise.
6245 (outsl): Likewise.
6246
6451c862
L
6247 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6248 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6249 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6250
a254b8c9
L
6251 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6252 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6254 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6255 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6256 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6257
b8dfdd92
L
6258 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6259 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6260
578cd270
L
6261 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6262 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6263
de662f5f
L
6264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6266 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6267
25653439
L
6268 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6269 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6270 to ...
6271 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6272
6bad24a0
L
6273 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6274 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6275 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6276
42bbb1c3
L
6277 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6278 for x86-64.
6279 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6280
2d10d547
JM
62812012-05-31 Joseph Myers <joseph@codesourcery.com>
6282
6283 * math/math.h (M_El): Use two more decimal places.
6284 (M_LOG2El): Likewise.
6285 (M_LOG10El): Likewise.
6286 (M_LN2l): Likewise.
6287 (M_LN10l): Likewise.
6288 (M_PIl): Likewise.
6289 (M_PI_2l): Likewise.
6290 (M_PI_4l): Likewise.
6291 (M_1_PIl): Likewise.
6292 (M_2_PIl): Likewise.
6293 (M_2_SQRTPIl): Likewise.
6294 (M_SQRT2l): Likewise.
6295 (M_SQRT1_2l): Likewise.
6296
f230c29b
DM
62972012-05-31 David S. Miller <davem@davemloft.net>
6298
6299 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6300 values between float registers.
6301 * sysdeps/sparc/sparc64/memset.S: Likewise.
6302 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6303
fed806c3
MF
63042012-05-31 Mike Frysinger <vapier@gentoo.org>
6305
6306 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6307 -D_FORTIFY_SOURCE=1.
6308 (CPPFLAGS-tst-longjmp_chk.c): Define.
6309 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6310 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6311 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6312 CFLAGS-tst-wchar-h.c.
6313
30917259
MP
63142012-05-31 Marek Polacek <polacek@redhat.com>
6315
6316 [BZ #14132]
6317 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6318 __endmntent_internal): Remove declaration.
6319 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6320 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6321 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6322
1c58d5dc
DM
63232012-05-30 David S. Miller <davem@davemloft.net>
6324
6325 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6326 (___Q_simulate_exceptions): Use real FP ops rather than writing
6327 into the %fsr.
6328 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6329 Likewise.
6330
7dc00e0d
L
63312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6332
6333 [BZ #14117]
0bd53985
L
6334 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6335 * sysdeps/x86/bits/xtitypes.h: This.
6336
3a257e66
L
6337 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6338 * sysdeps/x86/bits/wordsize.h: This.
6339
62f62904
L
6340 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6341 * sysdeps/x86/bits/huge_vall.h: This.
6342
404fe9d9
L
6343 * sysdeps/i386/bits/select.h: Removed.
6344 * sysdeps/x86_64/bits/select.h: Renamed to ...
6345 * sysdeps/x86/bits/select.h: This.
6346
d48d0446
L
6347 * sysdeps/i386/bits/setjmp.h: Removed.
6348 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6349 * sysdeps/x86/bits/setjmp.h: This.
6350
7dc00e0d
L
6351 * sysdeps/i386/bits/mathdef.h: Removed.
6352 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6353 * sysdeps/x86/bits/mathdef.h: This.
6354
03277f8f
AS
63552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6356
6357 [BZ #14132]
6358 * include/sys/socket.h (__connect_internal)
6359 (__libc_sa_len_internal): Remove declaration.
6360 (__connect, __libc_sa_len): Declare hidden_proto.
6361 (SA_LEN): Remove use of INTUSE.
6362 * socket/connect.c: Add libc_hidden_def.
6363 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6364 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6365 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6366 alias.
6367 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6368 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6369 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6370 of adding _internal alias.
6371
13764867
L
63722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6373
6374 [BZ #14117]
6bd97696
L
6375 * sysdeps/i386/bits/link.h: Removed.
6376 * sysdeps/i386/bits/linkmap.h: Likewise.
6377 * sysdeps/x86_64/bits/link.h: Renamed to ...
6378 * sysdeps/x86/bits/link.h: This.
6379 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6380 * sysdeps/x86/bits/linkmap.h: This.
6381
f726f0bb
L
6382 * sysdeps/i386/bits/endian.h: Removed.
6383 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6384 * sysdeps/x86/bits/endian.h: This.
6385
13764867
L
6386 * sysdeps/i386/bits/byteswap.h: Removed.
6387 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6388 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6389 * sysdeps/x86/bits/byteswap.h: This.
6390 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6391 * sysdeps/x86/bits/byteswap-16.h: This.
6392 * sysdeps/i386/Implies: Add x86.
6393 * sysdeps/x86_64/Implies: Likewise.
6394
ae251b0b
DM
63952012-05-30 David S. Miller <davem@davemloft.net>
6396
6397 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6398 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6399 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6400 (FP_TRAPPING_EXCEPTIONS): Define.
6401 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6402 (FP_TRAPPING_EXCEPTIONS): Define.
6403 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6404 subnormals only when inexact has been signalled or underflow
6405 exceptions are enabled.
6406 (_FP_PACK_CANONICAL): Likewise.
6407
d5c90867
L
64082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6409
6410 [BZ #14183]
6411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6412 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6413
63f1549e
RH
64142012-05-30 Richard Henderson <rth@twiddle.net>
6415
8d8f2279
RH
6416 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6417 with #ifndef NOT_IN_libc.
6418
63f1549e
RH
6419 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6420 marked to avoid plt entry.
6421
0ab0291b
L
64222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6423
6424 [BZ #14112]
6425 * Makeconfig (default-abi): New macro.
6426 (abi-includes): Likewise.
6427 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6428 $(abi-$(default-abi)-lib-soname) for soname if defined.
6429 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6430 abi-variants.
6431 * Makefile (installed-stubs): Likewise.
6432 * include/stubs-biarch.h: Removed.
6433 * scripts/lib-names.awk: Only handle one library at a time.
6434 * scripts/soversions.awk: Remove WORDSIZE support.
6435 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6436 entries.
6437 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6438 Removed.
6439 (syscall-list-default-condition): Likewise.
6440 (syscall-list-default-condition): Likewise.
6441 (syscall-list-includes): Likewise.
6442 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6443 syscall-list-* with abi-*. Handle undefined abi-variants.
6444 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6445 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6446 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6447 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6448 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6449 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6450 Removed.
6451 (syscall-list-32-options): Likewise.
6452 (syscall-list-32-condition): Likewise.
6453 (syscall-list-64-options): Likewise.
6454 (syscall-list-64-condition): Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6456 macro.
6457 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6458 Renamed to ...
6459 (abi-*): This.
6460 (abi-64-ld-soname): New macro.
6461 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6462 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6463 Renamed to ...
6464 (abi-*): This.
6465 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6466 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6467
4da0431d
JM
64682012-05-30 Joseph Myers <joseph@codesourcery.com>
6469
3a85279c
JM
6470 * sysdeps/unix/sysv/linux/kernel-features.h
6471 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6472 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6473 include <kernel-features.h>.
6474 [!__NR_ftruncate64]: Remove conditional code.
6475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6476 [__NR_ftruncate64]: Make code unconditional.
6477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6478 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6479 include <kernel-features.h>.
6480 [!__NR_ftruncate64]: Remove conditional code.
6481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6482 [__NR_ftruncate64]: Make code unconditional.
6483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6485 include <kernel-features.h>.
6486 [!__NR_ftruncate64]: Remove conditional code.
6487 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6488 [__NR_ftruncate64]: Make code unconditional.
6489 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6491 include <kernel-features.h>.
6492 [!__NR_ftruncate64]: Remove conditional code.
6493 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6494 [__NR_ftruncate64]: Make code unconditional.
6495 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6496
4da0431d
JM
6497 * configure.in (libc_cv_fpie): Weaken to a compile test using
6498 LIBC_TRY_CC_OPTION.
6499 * configure: Regenerated.
6500
11ef492c
AK
65012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6502
6503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6507 Refreshed.
6508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6514 Refreshed.
6515
d66ef399
DM
65162012-05-27 David S. Miller <davem@davemloft.net>
6517
6518 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
6519 (___Q_zero): New.
6520 (__Q_simulate_exceptions): Return void. Change to simulate
6521 exceptions by writing into the %fsr.
6522 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
6523 (__Qp_handle_exceptions): Likewise.
6524 (numbers): Delete.
6525 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
6526 __Qp_handle_exceptions.
6527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
6528 __Qp_handle_exceptions.
6529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6530 as unused and give dummy FP_RND_NEAREST initializer.
6531 (FP_INHIBIT_RESULTS): Define.
6532 (___Q_simulate_exceptions): Update declaration.
6533 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
6534 formatting.
6535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
6536 as unused and give dummy FP_RND_NEAREST initializer.
6537 (__Qp_handle_exceptions): Update declaration.
6538 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
6539 formatting.
6540
04fb54b5
TS
65412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
6542
6543 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
6544 the temporary FPU control word.
6545 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6546 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
6547 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6548 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6549 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6550 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6551 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6552 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6553 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6554 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6556
3f99608f
KK
65572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6558
6559 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
6560 fields.
6561
65a4de4e
CLT
65622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
6563
6564 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
6565 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
6566 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
6567 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
6568 Likewise.
6569 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
6570 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
6571 Likewise.
6572
15749d40
UD
65732012-05-27 Ulrich Drepper <drepper@gmail.com>
6574
6575 * po/h.po: Update from translation team.
6576
25dbcb27
AS
65772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
6578
3d3f8e55
AS
6579 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
6580
25dbcb27
AS
6581 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
6582 handling of denormals.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6584 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6586 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
6589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
6590 Likewise.
6591
7ad47a80 65922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
6593
6594 [BZ #14152]
6595 * math/libm-test.inc (fma_test): Don't always expect underflow
6596 exception.
6597
9c6ea9fa
SP
65982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6599
6600 [BZ #12416]
6601 * elf/tst-execstack.c: Include stackinfo.h.
6602 (do_test): Adjust test case to ensure that pthread_getattr_np
6603 behaviour remains the same after marking stack executable.
6604
a8239222
JM
66052012-05-25 Joseph Myers <joseph@codesourcery.com>
6606
6607 * sysdeps/unix/sysv/linux/kernel-features.h
6608 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
6609 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
6610 kernel-features.h.
6611 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6612 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6613 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
6614 kernel-features.h.
6615 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
6616 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
6617
918b5606
L
66182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
6619
6620 * configure.in: Define the default includes to being none.
6621 * configure: Regenerated.
6622
3a097cc7
RM
66232012-05-25 Roland McGrath <roland@hack.frob.com>
6624
8422c9a5
RM
6625 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
6626 * sysdeps/x86_64/setjmp.S: Likewise.
6627 * sysdeps/i386/bsd-setjmp.S: Likewise.
6628 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6629 * sysdeps/i386/setjmp.S: Likewise.
6630 * sysdeps/i386/__longjmp.S: Likewise.
6631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6632 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
6633
3a097cc7
RM
6634 * include/stap-probe.h: New file.
6635 * configure.in: Handle --enable-systemtap.
6636 * configure: Regenerated.
6637 * config.h.in (USE_STAP_PROBE): New #undef.
6638 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
6639 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
6640 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6641
21708942
JM
66422012-05-25 Joseph Myers <joseph@codesourcery.com>
6643
6644 [BZ #13717]
6645 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6646 to 2.4.0 where earlier.
6647 * sysdeps/unix/sysv/linux/configure: Regenerated.
6648 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6649 <kernel-features.h>.
6650 [__ASSUME_32BITUIDS]: Make code unconditional.
6651 [!__ASSUME_32BITUIDS]: Remove conditional code.
6652 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
6653 <kernel-features.h>.
6654 [__ASSUME_32BITUIDS]: Make code unconditional.
6655 [!__ASSUME_32BITUIDS]: Remove conditional code.
6656 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
6657 [__ASSUME_32BITUIDS]: Make code unconditional.
6658 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
6659 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
6660 <kernel-features.h>.
6661 [__ASSUME_32BITUIDS]: Make code unconditional.
6662 [!__ASSUME_32BITUIDS]: Remove conditional code.
6663 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
6664 <kernel-features.h>.
6665 [__ASSUME_32BITUIDS]: Make code unconditional.
6666 [!__ASSUME_32BITUIDS]: Remove conditional code.
6667 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
6668 <kernel-features.h>.
6669 [__ASSUME_32BITUIDS]: Make code unconditional.
6670 [!__ASSUME_32BITUIDS]: Remove conditional code.
6671 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
6672 <kernel-features.h>.
6673 [__ASSUME_32BITUIDS]: Make code unconditional.
6674 [!__ASSUME_32BITUIDS]: Remove conditional code.
6675 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6676 <kernel-features.h>.
6677 [__ASSUME_32BITUIDS]: Make code unconditional.
6678 [!__ASSUME_32BITUIDS]: Remove conditional code.
6679 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6680 <kernel-features.h>.
6681 [__ASSUME_32BITUIDS]: Make code unconditional.
6682 [!__ASSUME_32BITUIDS]: Remove conditional code.
6683 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
6684 <kernel-features.h>.
6685 [__ASSUME_32BITUIDS]: Make code unconditional.
6686 [!__ASSUME_32BITUIDS]: Remove conditional code.
6687 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6688 <kernel-features.h>.
6689 [__ASSUME_32BITUIDS]: Make code unconditional.
6690 [!__ASSUME_32BITUIDS]: Remove conditional code.
6691 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6692 <kernel-features.h>.
6693 [__ASSUME_32BITUIDS]: Make code unconditional.
6694 [!__ASSUME_32BITUIDS]: Remove conditional code.
6695 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
6696 <kernel-features.h>.
6697 [__ASSUME_32BITUIDS]: Make code unconditional.
6698 [!__ASSUME_32BITUIDS]: Remove conditional code.
6699 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
6700 <kernel-features.h>.
6701 [__NR_setresgid] (__setresgid): Do not declare.
6702 [__ASSUME_32BITUIDS]: Make code unconditional.
6703 [!__ASSUME_32BITUIDS]: Remove conditional code.
6704 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
6705 <kernel-features.h>.
6706 [__NR_setresuid] (__setresuid): Do not declare.
6707 [__ASSUME_32BITUIDS]: Make code unconditional.
6708 [!__ASSUME_32BITUIDS]: Remove conditional code.
6709 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
6710 <kernel-features.h>.
6711 [__ASSUME_32BITUIDS]: Make code unconditional.
6712 [!__ASSUME_32BITUIDS]: Remove conditional code.
6713 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
6714 <kernel-features.h>.
6715 [__ASSUME_32BITUIDS]: Make code unconditional.
6716 [!__ASSUME_32BITUIDS]: Remove conditional code.
6717 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
6718 <kernel-features.h>.
6719 [__ASSUME_32BITUIDS]: Make code unconditional.
6720 [!__ASSUME_32BITUIDS]: Remove conditional code.
6721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
6722 <kernel-features.h>.
6723 [__ASSUME_32BITUIDS]: Make code unconditional.
6724 [!__ASSUME_32BITUIDS]: Remove conditional code.
6725 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
6726 <kernel-features.h>.
6727 [__ASSUME_32BITUIDS]: Make code unconditional.
6728 [!__ASSUME_32BITUIDS]: Remove conditional code.
6729 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
6730 <kernel-features.h>.
6731 [__ASSUME_32BITUIDS]: Make code unconditional.
6732 [!__ASSUME_32BITUIDS]: Remove conditional code.
6733 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
6734 <kernel-features.h>.
6735 [__ASSUME_32BITUIDS]: Make code unconditional.
6736 [!__ASSUME_32BITUIDS]: Remove conditional code.
6737 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
6738 <kernel-features.h>.
6739 [__ASSUME_32BITUIDS]: Make code unconditional.
6740 [!__ASSUME_32BITUIDS]: Remove conditional code.
6741 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
6742 <kernel-features.h>.
6743 [__ASSUME_32BITUIDS]: Make code unconditional.
6744 [!__ASSUME_32BITUIDS]: Remove conditional code.
6745 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6746 <kernel-features.h>.
6747 [__ASSUME_32BITUIDS]: Make code unconditional.
6748 [!__ASSUME_32BITUIDS]: Remove conditional code.
6749 * sysdeps/unix/sysv/linux/kernel-features.h
6750 (__ASSUME_SETRESUID_SYSCALL): Remove.
6751 (__ASSUME_SETRESGID_SYSCALL): Likewise.
6752 (__ASSUME_32BITUIDS): Likewise.
6753 (__ASSUME_LDT_WORKS): Likewise.
6754 (__ASSUME_O_DIRECTORY): Likewise.
6755 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
6756 architecture but not kernel version.
6757 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6758 (__ASSUME_MMAP2_SYSCALL): Likewise.
6759 (__ASSUME_STAT64_SYSCALL): Likewise.
6760 (__ASSUME_IPC64): Likewise.
6761 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
6762 <kernel-features.h>.
6763 [__ASSUME_32BITUIDS]: Make code unconditional.
6764 [!__ASSUME_32BITUIDS]: Remove conditional code.
6765 * sysdeps/unix/sysv/linux/opendir.c: Do not include
6766 <kernel-features.h>.
6767 [__ASSUME_O_DIRECTORY]: Make code unconditional.
6768 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
6769 132096]: Remove conditional code.
6770 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
6771 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6772 <kernel-features.h>.
6773 [__ASSUME_32BITUIDS]: Make code unconditional.
6774 [!__ASSUME_32BITUIDS]: Remove conditional code.
6775 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6776 <kernel-features.h>.
6777 [__ASSUME_32BITUIDS]: Make code unconditional.
6778 [!__ASSUME_32BITUIDS]: Remove conditional code.
6779 * sysdeps/unix/sysv/linux/setegid.c: Do not include
6780 <kernel-features.h>.
6781 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
6782 unconditional.
6783 (__setresgid): Do not declare.
6784 [__ASSUME_32BITUIDS]: Make code unconditional.
6785 [!__ASSUME_32BITUIDS]: Remove conditional code.
6786 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
6787 <kernel-features.h>.
6788 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
6789 unconditional.
6790 (__setresuid): Do not declare.
6791 [__ASSUME_32BITUIDS]: Make code unconditional.
6792 [!__ASSUME_32BITUIDS]: Remove conditional code.
6793 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6794 <kernel-features.h>.
6795 [__ASSUME_32BITUIDS]: Make code unconditional.
6796 [!__ASSUME_32BITUIDS]: Remove conditional code.
6797 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
6798 <kernel-features.h>.
6799 [__ASSUME_32BITUIDS]: Make code unconditional.
6800 [!__ASSUME_32BITUIDS]: Remove conditional code.
6801
a386f1cc
RH
68022012-05-25 Richard Henderson <rth@twiddle.net>
6803
6804 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
6805 dl_hwcap to ifunc resolver.
6806 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
6807 elf_ifunc_invoke.
6808 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
6809 dl_hwcap to ifunc resolver.
6810 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
6811
b6550497
JM
68122012-05-24 Joseph Myers <joseph@codesourcery.com>
6813
6814 [BZ #14153]
6815 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
6816 for |x| <= 2**-26, not 2**-57.
6817 * math/libm-test.inc (acos_test): Do not allow spurious underflow
6818 exception.
6819
b0bc23a1
JL
68202012-05-24 Jeff Law <law@redhat.com>
6821
6822 * stdio-common/Makefile (tests): Add bug25.
6823 * stdio-common/bug25.c: New test.
6824
347c92e9
L
68252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
6826
6827 [BZ #13576]
6828 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
6829 multiple of MALLOC_ALIGNMENT in size.
6830 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
6831
6bcc8b3f
JM
68322012-05-24 Joseph Myers <joseph@codesourcery.com>
6833
6834 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
6835 Require >= 256.
6836 (FILENAME_MAX): Use macro-int-constant.
6837 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
6838 (_IOFBF): Use macro-int-constant.
6839 (_IOLBF): Likewise.
6840 (_IONBF): Likewise.
6841 (SEEK_CUR): Likewise.
6842 (SEEK_END): Likewise.
6843 (SEEK_SET): Likewise.
6844 (TMP_MAX): Likewise.
6845 (EOF): Use macro-int-constant. Require < 0.
6846 (NULL): Use macro-constant. Require == 0.
6847 (stdin): Require type to be FILE *.
6848 (stdout): Likewise.
6849 (stderr): Likewise.
6850 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
6851 macro-int-constant.
6852 (EXIT_SUCCESS): Likewise.
6853 (NULL): Use macro-constant. Require == 0.
6854 (RAND_MAX): Use macro-int-constant.
6855 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
6856 [C99-based standards] (strtof): Require function.
6857 [C99-based standards] (strtold): Likewise.
6858 [C99-based standards] (strtoll): Likewise.
6859 [C99-based standards] (strtoull): Likewise.
6860 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6861 [ISO || ISO99 || ISO11] (limits.h): Likewise.
6862 [ISO || ISO99 || ISO11] (math.h): Likewise.
6863 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
6864 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6866
d18ea0c5
AS
68672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
6868
6869 [BZ #14132]
56d25bb8
AS
6870 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
6871 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
6872 * intl/dgettext.c (DCGETTEXT): Likewise.
6873 * intl/gettext.c (DCGETTEXT): Likewise.
6874 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
6875 * posix/regex_internal.h (gettext): Likewise.
6876 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
6877 Remove declaration.
6878 * include/argz.h (__argz_count_internal)
6879 (__argz_stringify_internal): Remove declaration.
6880 (__argz_count, __argz_stringify): Declare hidden proto.
6881 * intl/dcgettext.c: Remove use of INTDEF.
6882 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
6883 * string/argz-stringify.c: Likewise.
6884 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6885 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6886 Declare hidden proto.
d18ea0c5
AS
6887 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
6888 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
6889 Declare hidden proto.
6890 * include/stdio.h (__asprintf_internal): Don't declare.
6891 (__asprintf): Don't define as macro. Declare hidden proto.
6892 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
6893 (__fsetlocking): Declare hidden proto.
6894 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
6895 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
6896 hidden proto.
6897 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
6898 (_IO_setlinebuf): Remove use of INTUSE.
6899 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
6900 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
6901 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
6902 Remove declaration.
6903 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
6904 (_IO_do_flush): Remove use of INTUSE.
6905 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
6906 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
6907 (_IO_adjust_column, _IO_least_wmarker)
6908 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
6909 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
6910 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
6911 (_IO_default_doallocate, _IO_wdefault_doallocate)
6912 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
6913 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
6914 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
6915 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
6916 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
6917 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
6918 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
6919 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
6920 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
6921 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
6922 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
6923 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
6924 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
6925 proto.
6926 (_IO_flush_all_internal, _IO_adjust_column_internal)
6927 (_IO_default_uflow_internal, _IO_default_finish_internal)
6928 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
6929 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
6930 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
6931 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
6932 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
6933 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
6934 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
6935 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
6936 (_IO_file_close_internal, _IO_file_close_it_internal)
6937 (_IO_file_underflow_internal, _IO_file_overflow_internal)
6938 (_IO_file_init_internal, _IO_file_attach_internal)
6939 (_IO_file_fopen_internal, _IO_file_read_internal)
6940 (_IO_file_sync_internal, _IO_file_seek_internal)
6941 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
6942 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
6943 (_IO_str_underflow_internal, _IO_str_overflow_internal)
6944 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
6945 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
6946 (_IO_list_all_internal, _IO_link_in_internal)
6947 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
6948 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
6949 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
6950 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
6951 (_IO_do_write_internal, _IO_padn_internal)
6952 (_IO_getline_info_internal, _IO_getline_internal)
6953 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
6954 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
6955 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
6956 (_IO_vfscanf_internal, _IO_vfprintf_internal)
6957 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
6958 (_IO_init_internal, _IO_un_link_internal): Don't declare.
6959 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
6960 with libc_hidden_ver, remove use of INTUSE.
6961 * libio/genops.c: Likewise.
6962 * libio/freopen.c: Likewise.
6963 * libio/freopen64.c: Likewise.
6964 * libio/iofclose.c: Likewise.
6965 * libio/iofdopen.c: Likewise.
6966 * libio/iofflush.c: Likewise.
6967 * libio/iofflush_u.c: Likewise.
6968 * libio/iofgets.c: Likewise.
6969 * libio/iofgets_u.c: Likewise.
6970 * libio/iofopen.c: Likewise.
6971 * libio/iofopncook.c: Likewise.
6972 * libio/iofread.c: Likewise.
6973 * libio/iofread_u.c: Likewise.
6974 * libio/ioftell.c: Likewise.
6975 * libio/iofwrite.c: Likewise.
6976 * libio/iogetline.c: Likewise.
6977 * libio/iogets.c: Likewise.
6978 * libio/iogetwline.c: Likewise.
6979 * libio/iopadn.c: Likewise.
6980 * libio/iopopen.c: Likewise.
6981 * libio/ioseekoff.c: Likewise.
6982 * libio/ioseekpos.c: Likewise.
6983 * libio/iosetbuffer.c: Likewise.
6984 * libio/iosetvbuf.c: Likewise.
6985 * libio/ioungetc.c: Likewise.
6986 * libio/ioungetwc.c: Likewise.
6987 * libio/iovdprintf.c: Likewise.
6988 * libio/iovsprintf.c: Likewise.
6989 * libio/iovsscanf.c: Likewise.
6990 * libio/memstream.c: Likewise.
6991 * libio/obprintf.c: Likewise.
6992 * libio/oldfileops.c: Likewise.
6993 * libio/oldiofclose.c: Likewise.
6994 * libio/oldiofdopen.c: Likewise.
6995 * libio/oldiofopen.c: Likewise.
6996 * libio/oldiopopen.c: Likewise.
6997 * libio/oldstdfiles.c: Likewise.
6998 * libio/putc.c: Likewise.
6999 * libio/setbuf.c: Likewise.
7000 * libio/setlinebuf.c: Likewise.
7001 * libio/stdfiles.c: Likewise.
7002 * libio/strops.c: Likewise.
7003 * libio/vasprintf.c: Likewise.
7004 * libio/vscanf.c: Likewise.
7005 * libio/vsnprintf.c: Likewise.
7006 * libio/vswprintf.c: Likewise.
7007 * libio/wfiledoalloc.c: Likewise.
7008 * libio/wfileops.c: Likewise.
7009 * libio/wgenops.c: Likewise.
7010 * libio/wmemstream.c: Likewise.
7011 * libio/wstrops.c: Likewise.
7012 * libio/__fpurge.c: Likewise.
7013 * libio/__fsetlocking.c: Likewise.
7014 * assert/assert.c: Likewise.
7015 * debug/fgets_chk.c: Likewise.
7016 * debug/fgets_u_chk.c: Likewise.
7017 * debug/fread_chk.c: Likewise.
7018 * debug/fread_u_chk.c: Likewise.
7019 * debug/gets_chk.c: Likewise.
7020 * debug/obprintf_chk.c: Likewise.
7021 * debug/vasprintf_chk.c: Likewise.
7022 * debug/vdprintf_chk.c: Likewise.
7023 * debug/vsnprintf_chk.c: Likewise.
7024 * debug/vsprintf_chk.c: Likewise.
7025 * malloc/mtrace.c: Likewise.
7026 * misc/error.c: Likewise.
7027 * misc/syslog.c: Likewise.
7028 * stdio-common/asprintf.c: Likewise.
7029 * stdio-common/fxprintf.c: Likewise.
7030 * stdio-common/getw.c: Likewise.
7031 * stdio-common/isoc99_fscanf.c: Likewise.
7032 * stdio-common/isoc99_scanf.c: Likewise.
7033 * stdio-common/isoc99_vfscanf.c: Likewise.
7034 * stdio-common/isoc99_vscanf.c: Likewise.
7035 * stdio-common/isoc99_vsscanf.c: Likewise.
7036 * stdio-common/printf-prs.c: Likewise.
7037 * stdio-common/printf_fp.c: Likewise.
7038 * stdio-common/printf_fphex.c: Likewise.
7039 * stdio-common/printf_size.c: Likewise.
7040 * stdio-common/putw.c: Likewise.
7041 * stdio-common/scanf.c: Likewise.
7042 * stdio-common/sprintf.c: Likewise.
7043 * stdio-common/tmpfile.c: Likewise.
7044 * stdio-common/vfprintf.c: Likewise.
7045 * stdio-common/vfscanf.c: Likewise.
7046 * stdlib/strfmon_l.c: Likewise.
7047 * sunrpc/openchild.c: Likewise.
7048 * sunrpc/xdr_stdio.c: Likewise.
7049 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7050 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7051
d6c33fda
RM
70522012-05-24 Roland McGrath <roland@hack.frob.com>
7053
c1487492
RM
7054 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7055
7056 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7057 in the third column, to generate for the shared library an IFUNC
7058 that uses _dl_vdso_vsym.
7059 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7060 * Makeconfig (object-suffixes-noshared): New variable.
7061
7062 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7063 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7064 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7065 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7066
d6c33fda
RM
7067 [BZ #14132]
7068 * include/sys/time.h (__gettimeofday): Remove macro.
7069 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7070 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7071 Remove INTDEF.
7072 (__gettimeofday): Add libc_hidden_def.
7073 (gettimeofday): Add libc_hidden_weak.
7074 * sysdeps/mach/gettimeofday.c: Likewise.
7075 * sysdeps/posix/gettimeofday.c: Likewise.
7076 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7077 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7079 (__gettimeofday_internal): Remove strong_alias.
7080 (__gettimeofday): Add libc_hidden_def.
7081 (gettimeofday): Add libc_hidden_weak.
7082 * sysdeps/unix/syscalls.list (gettimeofday):
7083 Remove __gettimeofday_internal alias.
7084
b5a2bbe6
L
70852012-05-24 Daniel Jacobowitz <drow@false.org>
7086 H.J. Lu <hongjiu.lu@intel.com>
7087
7088 [BZ #12495]
7089 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7090 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7091 (largebin_index_32_big): New.
7092 (largebin_index): Use it for 16-byte alignment.
7093 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7094 correction with front_misalign.
7095
cfba4fda
L
70962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7097
7f907421
L
7098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7100 Likewise.
7101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7102 Likewise.
7103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7104 Likewise.
7105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7106 Likewise.
7107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7108 Likewise.
7109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7110 Likewise.
7111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7112 Likewise.
7113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7114 Likewise.
7115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7116 Likewise.
7117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7118 Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7122 Likewise.
7123
cfba4fda
L
7124 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7125 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7126
80bad0cc
JM
71272012-05-24 Joseph Myers <joseph@codesourcery.com>
7128
7a25eb06
JM
7129 [BZ #10846]
7130 [BZ #14036]
7131 * math/libm-test.inc (exp_test): Add test from bug 14036.
7132 (pow_test): Add test from bug 10846.
7133
795405f9
JM
7134 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7135 and other flags.
7136 (special_function): Do not include flags in test name.
7137 (parse_args): Likewise.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7140 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143
80bad0cc
JM
7144 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7145 exceptions.
7146 * math/libm-test.inc ("Philosophy"): Update comment about
7147 exception testing.
7148 (UNDERFLOW_EXCEPTION): New macro.
7149 (UNDERFLOW_EXCEPTION_OK): Likewise.
7150 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7151 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7152 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7153 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7154 (INVALID_EXCEPTION_OK): Update value.
7155 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7156 (OVERFLOW_EXCEPTION_OK): Likewise.
7157 (IGNORE_ZERO_INF_SIGN): Likewise.
7158 (test_exceptions): Handle underflow exceptions.
7159 (acos_test): Update for underflow exception expectations.
7160 (cexp_test): Likewise.
7161 (clog_test): Likewise.
7162 (clog10_test): Likewise.
7163 (csqrt_test): Likewise.
7164 (ctan_test): Likewise.
7165 (ctanh_test): Likewise.
7166 (exp_test): Likewise.
7167 (exp10_test): Likewise.
7168 (exp2_test): Likewise.
7169 (expm1_test): Likewise.
7170 (fma_test): Likewise.
7171 (j0_test): Likewise.
7172 (jn_test): Likewise.
7173 (nexttoward_test): Likewise.
7174 (pow_test): Likewise.
7175 (scalbn_test): Likewise.
7176 (scalbln_test): Likewise.
7177 (tan_test): Likewise.
7178 (y1_test): Likewise.
7179 * sysdeps/i386/fpu/libm-test-ulps: Update.
7180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7181
9e0e3d0b
DM
71822012-05-23 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7185 (__libc_sigaction): Remove unused local variables.
7186
ccd0a08f
L
71872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7188
7189 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7190
62bdf9a6
PE
71912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7192
f8591f80
PE
7193 mktime: avoid signed integer overflow
7194 * time/mktime.c (__mktime_internal): Do not mishandle the case
7195 where diff == INT_MIN.
7196
94c7d826
PE
7197 mktime: simplify computation of average
7198 * time/mktime.c (ranged_convert): Use new time_t_avg function
7199 instead of rolling our own (probably-slower) code.
7200
ce73d683
PE
7201 mktime: do not assume signed right shift propagates sign bit
7202 * time/mktime.c (isdst_differ): New static function.
7203 (__mktime_internal): No need to normalize tm_isdst now.
7204 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7205 tm_isdst values.
7206
72a22e59
PE
7207 mktime: merge another wrapv change from gnulib
7208 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7209 from some compilers.
7210
68605433
PE
7211 mktime: remove incorrect attempt at unusual arithmetics
7212 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7213 The code didn't really work on such machines anyway.
7214 (TYPE_MINIMUM): Assume two's complement.
7215 (twos_complement_arithmetic): Verify that long_int and time_t
7216 are two's complement (or unsigned, in the latter case).
7217
03cf7fe3
PE
7218 mktime: check signed shifts on long_int and time_t, too
7219 * time/mktime.c (SHR): Check that shifts work as desired
7220 on the types long_int and time_t too, as SHR is used on
7221 such types.
7222
f04dfbc2
PE
7223 mktime: do not assume 'long' is wide enough
7224 * time/mktime.c (verify): Move decl up.
7225 (long_int): New type.
7226 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7227 to remove assumption in the code that 'long' is wide enough to
7228 store year values. This assumption is not true on x32 and on
7229 some non-glibc platforms.
7230
62bdf9a6
PE
7231 mktime: merge wrapv change from gnulib
7232 * time/mktime.c (WRAPV): New macro.
7233 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7234 (guess_time_tm, __mktime_internal): Do not assume that signed
7235 integer overflow wraps around; modern compilers generate code
7236 where this assumption is no longer valid.
7237
5e292e4f
L
72382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7239
7240 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7241 Replace "jmp L(pseudo_end)" with "ret".
7242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7243 Likewise.
7244
8caf8c87
AJ
72452012-05-23 Andreas Jaeger <aj@suse.de>
7246
7247 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7248 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7249
1a09dc56
AJ
72502012-05-23 Andreas Jaeger <aj@suse.de>
7251 Maximilian Attems <max@stro.at>
7252
7253 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7254 New macros.
7255
1c87aba0
L
72562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7259 code so that pseudo_end is just ret and the stack pointer is
7260 correct also for static library in error case.
7261
40e45bd5
JM
72622012-05-23 Joseph Myers <joseph@codesourcery.com>
7263
c2670533
JM
7264 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7265 move to syscalls.list.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7270
40e45bd5
JM
7271 * manual/install.texi (Running make install): Do not mention Linux
7272 kernel version for which pt_chown is not needed.
7273 (Linux): Do not mention problems with nscd with 2.0 kernels.
7274 * INSTALL: Regenerated.
7275
be08eda5
AJ
72762012-05-23 Andreas Jaeger <aj@suse.de>
7277
7278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7279 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7280 macro.
7281 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7282 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7283 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7284 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7285 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7286 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7288 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7290 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7291 * sysdeps/unix/sysv/linux/bits/in.h
7292 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7293
a6a056bb
RM
72942012-05-22 Roland McGrath <roland@hack.frob.com>
7295
7296 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7297 (PREPARE_VERSION): Just use assert instead, it will be elided
7298 under [NDEBUG] anyway.
7299
c9009328
L
73002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7301
7302 * sysdeps/unix/sysv/linux/Makefile: Include
7303 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7304 (sysdep_routines): Remove sysctl.
c9009328
L
7305 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7306 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7308 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7309 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7310
73338355
AJ
73112012-05-22 Andreas Jaeger <aj@suse.de>
7312
7313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7314 that pseudo_end is just ret and the stack pointer is correct also
7315 for static library in error case.
7316
d44638b0
PP
73172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7318
7319 [BZ #14122]
7320 * nss/nsswitch.c (defconfig_entries): New variable.
7321 (__nss_database_lookup): Don't leak defconfig entries.
7322 (nss_parse_service_list): Don't leak on error paths.
7323 (free_database_entries): New function.
7324 (free_defconfig): New function.
7325 (free_mem): Move common code to free_database_entries.
7326
31a39bd8
L
73272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7328
da0331a8
L
7329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7330 Add arch_prctl.
7331 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7332
31a39bd8
L
7333 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7334 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7336 New macro.
7337 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7338 (INTERNAL_SYSCALL_TYPES): Likewise.
7339 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7340 (LOAD_REGS_TYPES_[1-6]): Likewise.
7341 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7342 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7343
45470df3
AZ
73442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345
7346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7347 copysignl for GLIBC_2_0.
7348 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7349 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7351 logbl for GLIBC_2_0.
7352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7353 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7354
98a61bcb
L
73552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7356
a4f6e481
L
7357 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7358 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7359
f63d5db6
L
7360 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7361 Use "neg %eax".
7362
98a61bcb
L
7363 * time/mktime.c: Update copyright years.
7364
95770f14
PE
73652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7366
6226efbd
PE
7367 mktime: merge comment-quoting-style change from gnulib
7368 * time/mktime.c: Quote 'like this' in comments.
7369 The GNU coding standards suggest that we no longer quote `like this',
7370 as "`" and "'" are typically rendered asymmetrically nowadays.
7371 The typical gnulib style is to quote 'like this' when quoting
7372 code, and "like this" when quoting English.
7373
b99e4f78
PE
7374 * time/mktime.c (compile-command): Add "-I.".
7375
643e01e6
PE
7376 mktime: merge mktime-internal.h change from gnulib
7377 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7378
2554247d
PE
7379 mktime: merge time_r change from gnulib
7380 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7381
826dd0ab
PE
7382 mktime: merge DEBUG change from gnulib
7383 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7384 case system <time.h> has a #define.
7385
bd83aabe
PE
7386 mktime: merge <sys/types.h> change from gnulib
7387 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7388 since <time.t> is now guaranteed to define time_t.
7389
95770f14
PE
7390 mktime: merge HAVE_CONFIG_H change from gnulib
7391 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7392
5e1a27a9
L
73932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7394
0e44a77e
L
7395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7396 Use "neg %eax".
7397
5e1a27a9
L
7398 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7399 __rlim_t cast.
7400 (struct rusage): Use anonymous union to pad each field to
7401 __syscall_slong_t.
7402
46259bec
DM
74032012-05-21 David S. Miller <davem@davemloft.net>
7404
7405 * Makefules (o-iterator): Remove .s cases.
7406 (compile-command.s): Delete.
7407 (COMPILE.s): Delete.
7408 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7409
59f0c22e
JM
74102012-05-21 Joseph Myers <joseph@codesourcery.com>
7411
7412 * configure.in (libc_cv_predef_stack_protector): Only consider
7413 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7414 * configure: Regenerated.
7415
20c07380
L
74162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7417
bbb3154b
L
7418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7419 New macro. Use R*LP on int and pointer.
7420 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7421 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7422 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7423 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7424
20c07380
L
7425 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7426 [__WORDSIZE_TIME64_COMPAT32] instead of
7427 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7428 (struct utmp): Likewise.
7429 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7430 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7431 Renamed to ...
7432 (__WORDSIZE_TIME64_COMPAT32): This.
7433 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7434 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7435 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7436 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7437 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7438 (__WORDSIZE_TIME64_COMPAT32): New macro.
7439
d8d1017e
AJ
74402012-05-21 Andreas Jaeger <aj@suse.de>
7441
7442 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7443 only if [SHARED]. Add prototype for __wcschr_ia32.
7444
6c7fb145
RM
74452012-05-21 Roland McGrath <roland@hack.frob.com>
7446
7447 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7448 of %rbp unmolested in the jmp_buf while mangling the low bits.
7449 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7450 unmolested high bits of %rbp while demangling the low bits.
7451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7452
66274218
AJ
74532012-05-21 Andreas Jaeger <aj@suse.de>
7454
07c58f8f
AJ
7455 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7456 * sunrpc/svc_simple.c: Use it for registerrpc.
7457 * sunrpc/xcrypt.c: Use it for passwd2des.
7458
66274218
AJ
7459 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7460
61f65140
L
74612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7462
7463 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7464 Don't define if [__SYSCALL_WORDSIZE != 32].
7465 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7466 New macro.
7467
5fefb436
AJ
74682012-05-21 Bruno Haible <bruno@clisp.org>
7469 Andreas Jaeger <aj@suse.de>
7470
7471 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7472 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7473 inptr and inend for must_buffer_ch.
7474 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7475 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7476 * stdio-common/Makefile (tests): Remove bug15.
7477 (bug15-ENV): Remove macro.
7478 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7479 anymore.
7480
d8e272ab
AJ
74812012-05-19 Andreas Jaeger <aj@suse.de>
7482 Roland McGrath <roland@hack.frob.com>
7483
7484 * manual/contrib.texi: Completely rewritten. It contains now an
7485 alphabetical list of contributors and their contributions.
7486
4a56a162
RH
74872012-05-21 Richard Henderson <rth@twiddle.net>
7488
7489 * misc/getauxval.c (__getauxval): Use unsigned long int.
7490 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7491 (getauxval): Use unsigned long int.
7492
d024d23c
L
74932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7494
7495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7496
cbc00a03
RM
74972012-05-21 Roland McGrath <roland@hack.frob.com>
7498
7499 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7500 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7501 __alignof__ (long double).
7502
478143fa
AZ
75032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7504
7505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7506
c7683a6d
RH
75072012-05-20 Richard Henderson <rth@twiddle.net>
7508
7509 * misc/getauxval.c: New file.
7510 * misc/sys/auxv.h: New file.
7511 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7512 (routines): Add getauxval.
7513 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
7514 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
7515 * elf/dl-sysdep.c (_dl_auxv): Remove.
7516 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
7517 * elf/dl-support.c (_dl_auxv): New variable.
7518 (_dl_aux_init): Initialize it.
7519 * manual/startup.texi (Auxiliary Vector): New node.
7520 * sysdeps/generic/bits/hwcap.h: New file.
7521 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
7522 * sysdeps/powerpc/sysdep.h: ... here. Include it.
7523 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
7524 * sysdeps/sparc/sysdep.h: ... here. Include it.
7525 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
7526 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7528 Update.
c7683a6d
RH
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
7531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
7532 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
7533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
7535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
7536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
7537
a6f1845d
AZ
75382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7539
7540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7541
cbcbe830
DM
75422012-05-19 David S. Miller <davem@davemloft.net>
7543
7544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7545
e0b16cc2
JM
75462012-05-19 Joseph Myers <joseph@codesourcery.com>
7547
7548 [BZ #14123]
7549 * math/s_ccosh.c: Include <float.h>
7550 (__ccosh): Avoid internal overflow calculating sinh and cosh
7551 values before multiplying by sin and cos values.
7552 * math/s_ccoshf.c: Likewise.
7553 * math/s_ccoshl.c: Likewise.
7554 * math/s_csin.c: Likewise.
7555 * math/s_csinf.c: Likewise.
7556 * math/s_csinl.c: Likewise.
7557 * math/s_csinh.c: Likewise.
7558 * math/s_csinhf.c: Likewise.
7559 * math/s_csinhl.c: Likewise.
7560 * math/libm-test.inc (ccos_test): Add more tests.
7561 (ccosh_test): Likewise.
7562 (csin_test): Likewise.
7563 (csinh_test): Likewise.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
6ad13e08
L
75672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
7568
f66f0ce8
L
7569 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
7570 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7571
6ad13e08
L
7572 * sysdeps/x86_64/x32/_itoa.h: Add comment.
7573
b1d072a7
JM
75742012-05-19 Joseph Myers <joseph@codesourcery.com>
7575
7576 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
7577 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
7578 * sysdeps/powerpc/soft-fp/Versions: Likewise.
7579 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
7580 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
7581 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
7582 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
7583 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
7584 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
7585 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
7586 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
7587 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
7588 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
7589 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
7590 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
7591 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
7592 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
7593 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
7594 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
7595 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
7596 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
7597 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
7598 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
7599 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
7600 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
7601 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
7602 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
7603 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
7604 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
7605 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
7606 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
7607
9eae47cb
AJ
76082012-05-18 Andreas Jaeger <aj@suse.de>
7609
7610 * csu/.gitignore: Delete.
7611
bb07f69f
L
76122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7613
7614 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
7615 (timex): Use __syscall_slong_t.
7616
e6bdb741
AJ
76172012-05-18 Andreas Jaeger <aj@suse.de>
7618 Carlos O'Donell <carlos_odonell@mentor.com>
7619
7620 * manual/install.texi (Configuring and compiling): Update
7621 description about files modified in the source directory.
d6c33fda 7622 * INSTALL: Regenerated.
e6bdb741 7623
1b74487e
L
76242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
7627 value. Use "or" to set return value to -1.
7628 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
7629 negate return value.
7630
a88b64b9
TMQMF
76312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7632
7633 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
7634 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
7635 failure if the compiler has Graphite support disabled.
7636 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
7637 Likewise.
7638 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
7639 CFLAGS-memmove.c): Likewise.
7640 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
7641 Likewise.
7642
3707636e
L
76432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
7644
610b8622
L
7645 * sysdeps/x86_64/x32/_itoa.h: New file.
7646
7cd195df
L
7647 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
7648 getdents system call only if kernel and user dirents have the
7649 same d_ino and d_off.
7650
94b07d20
L
7651 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7652 LLONG_MAX != LONG_MAX.
7653 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7654 (_fitoa_word): Likewise.
7655
18298070
L
7656 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
7657 years.
7658 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
7659 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
7660 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
7661
553c7ea4
L
7662 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
7663 include <bits/wordsize.h>. Check __x86_64__ instead of
7664 __WORDSIZE.
7665 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
7666 if __x86_64__ is defined. Use anonymous union on fpstate.
7667
3707636e
L
7668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
7669 anonymous union.
7670
b53ef01a
AS
76712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
7672
37fb1dc0
AS
7673 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7674 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
7675 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
7676 Refer to _rtld_local_ro instead of _rtld_global_ro.
7677 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
7678 Likewise.
7679 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
7680 Likewise.
7681 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
7682 Likewise.
7683 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
7684 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
7685 of _rtld_global, and rtld_progname instead of _dl_argv[0].
7686
b53ef01a
AS
7687 * sysdeps/powerpc/powerpc32/dl-machine.c
7688 (__elf_machine_runtime_setup) [PROF]: Don't reference
7689 _dl_prof_resolve.
7690
7a185db2
AJ
76912012-05-18 Andreas Jaeger <aj@suse.de>
7692
7693 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
7694 function only available for GCCs before 3.4 since GCC 3.4
7695 introduced a builtin.
7696 (lrint): Likewise.
7697 (llrintf): Likewise.
7698 (llrint): Likewise.
7699 (fmaxf): Likewise.
7700 (fmax): Likewise.
7701 (fminf): Likewise.
7702 (fmin): Likewise.
7703 (rint): Likewise.
7704 (rintf): Likewise.
7705 (nearbyint): Likewise.
7706 (nearbyintf): Likewise.
7707 (ceil): Likewise.
7708 (ceilf): Likewise.
7709 (floor): Likewise.
7710 (floorf): Likewise.
7711
3e5aef87
L
77122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7713
428bd707
L
7714 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
7715 on both fields and cast pointer to __syscall_ulong_t.
7716
3e5aef87
L
7717 * bits/types.h (__fsword_t): New type.
7718 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
7719 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
7720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7721 (__FSWORD_T_TYPE): Likewise.
7722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7723 (__FSWORD_T_TYPE): Likewise.
7724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7725 (__FSWORD_T_TYPE): Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
7727 (__FSWORD_T_TYPE): Likewise.
7728 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
7729 __SWORD_TYPE with __fsword_t.
7730 (statfs64): Likewise.
7731
1ba7c3dc
DM
77322012-05-17 David S. Miller <davem@davemloft.net>
7733
7734 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
7735
59910343
AJ
77362012-05-17 Andreas Jaeger <aj@suse.de>
7737
7738 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
7739 warning.
7740
2e4c1e9e
L
77412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7742
7743 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
7744
de7f5ce7
AJ
77452012-05-17 Andreas Jaeger <aj@suse.de>
7746
7747 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
7748 when it is used.
7749
286abc3d
CM
77502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7751
7752 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
7753
477cc68e
L
77542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
7757 * sysdeps/x86_64/tst-mallocalign1.c: New file.
7758
1a0994f5
CD
77592012-05-17 Andreas Jaeger <aj@suse.de>
7760 Carlos O'Donell <carlos_odonell@mentor.com>
7761
7762 [BZ #14059]
7763 * sysdeps/x86_64/multiarch/init-arch.h
7764 (bit_YMM_Usable): Rename to...
7765 (bit_AVX_Usable): ... this.
7766 (bit_FMA4_Usable): New macro.
7767 (bit_XMM_state): New macro.
7768 (bit_YMM_state): New macro.
7769 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
7770 [__ASSEMBLER__] (index_AVX_Usable): ... this.
7771 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
7772 (CPUID_OSXSAVE): New macro.
7773 (CPUID_AVX): New macro.
7774 (CPUID_FMA4): New macro.
7775 (index_YMM_Usable): Rename to...
7776 (index_AVX_Usable): ... this.
7777 (HAS_AVX): Use HAS_ARCH_FEATURE.
7778 (HAS_FMA4): Likewise.
7779 (HAS_YMM_USABLE): Remove.
7780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7781 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
7782 are present.
7783 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
7784 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
7785 * sysdeps/x86_64/multiarch/Makefile: Likewise.
7786 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
7787 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
7788
0af797de
CM
77892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
7790
7791 * math/libm-test.c: Support platforms without multiple rounding modes.
7792 * math/bug-nextafter.c: Support platforms without FP exceptions.
7793 * math/bug-nexttoward.c: Likewise.
7794 * math/test-fenv.c: Likewise.
7795 * math/test-misc.c: Likewise.
7796 * stdlib/bug-getcontext.c: Likewise.
7797
e39745ff
AJ
77982012-05-17 Andreas Jaeger <aj@suse.de>
7799
7800 * manual/examples/search.c (critter_cmp): Change signature to
7801 avoid warnings.
7802 * manual/string.texi (Collation Functions): Likewise.
7803
48970aba
L
78042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7805
7806 * bits/types.h: Fold copyright years.
7807 * bits/typesizes.h: Likewise.
7808 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
7809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
7812 * time/time.h: Likewise.
7813
bedee953
PP
78142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7815
7816 [BZ #208]
7817 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
7818 in instead of returning them. Return void.
7819 (__libc_mallinfo): Accumulate over all arenas.
7820 (__malloc_stats): Adjust for change in int_mallinfo interface.
7821
61653dfb
RM
78222012-05-16 Roland McGrath <roland@hack.frob.com>
7823
30b99d79
RM
7824 [BZ #10375]
7825 * configure.in (NM): Add AC_CHECK_TOOL for it.
7826 (libc_extra_cflags): New substituted variable.
7827 Check for -fstack-protector being used implicitly.
7828 * configure: Regenerated.
7829 * config.make.in (config-extra-cflags): New variable,
7830 gets @libc_extra_cflags@.
7831 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
7832
61653dfb
RM
7833 [BZ #10375]
7834 * configure.in: Check for _FORTIFY_SOURCE being predefined.
7835 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
7836 * configure: Regenerated.
7837 * config.make.in (CPPUNDEFS): New substituted variable.
7838 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
7839 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
7840 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
7841
661768bb
L
78422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7843
7844 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
7845 (mq_attr): Use __syscall_slong_t.
7846
d4261567
L
78472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
7850 Check __x86_64__ instead of __WORDSIZE.
7851 (_STAT_VER_LINUX): Likewise.
7852 (stat): Check __x86_64__ instead of __WORDSIZE. Use
7853 __syscall_ulong_t and __syscall_slong_t.
7854 (stat64): Likewise.
7855
cf3ff365
L
78562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
7859
76cf3e4d
L
78602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7861
7862 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
7863
a637753a
L
78642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7865
7866 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
7867 __syscall_ulong_t.
7868
d5e05119
L
7869 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
7870 include <bits/wordsize.h>. Check __x86_64__ instead of
7871 __WORDSIZE.
7872 (greg_t): Use "__extension__ long long int" if __x86_64__ is
7873 defined.
7874 (mcontext_t): Replace "unsigned long" with "unsigned long long".
7875
f62ee380
L
7876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
7877 include <bits/wordsize.h>. Check __x86_64__ instead of
7878 __WORDSIZE.
7879 (user_regs_struct): Use "__extension__ unsigned long long"
7880 instead of "unsigned long" if __x86_64__ is defined.
7881 (user): Likewise. Pad after pointer field if __ILP32__ is
7882 defined.
7883
4e124ced
JM
78842012-05-16 Joseph Myers <joseph@codesourcery.com>
7885
6a3951a0
JM
7886 * configure.in (makeinfo): Require version 4.5 or later. Allow
7887 versions 5 to 9.
7888 * configure: Regenerated.
7889 * manual/install.texi (texinfo): Increase version requirement to
7890 4.5 or later.
7891 * INSTALL: Regenerated.
7892
4e124ced
JM
7893 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
7894
953ca31a
L
78952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
7896
7897 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
7898
617aca05
L
7899 * sysdeps/x86_64/x32/ffs.c: New file.
7900
5762f7ae
L
7901 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
7902 __syscall_ulong_t.
7903 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
7904 defined. Use __syscall_ulong_t.
7905 (shminfo): Use __syscall_ulong_t.
7906 (shm_info): Likewise.
7907
a26b6856
L
7908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
7909 __syscall_ulong_t.
7910
cb2b9ef7
L
7911 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
7912 <bits/wordsize.h>.
7913 (msgqnum_t): Use __syscall_ulong_t.
7914 (msglen_t): Likewise.
7915 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
7916 __syscall_ulong_t.
7917
34683bb0
L
7918 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
7919 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7920
84a68786
L
7921 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
7922
48baa5f1
L
7923 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
7924 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
7925
180be88b
L
7926 * sysvipc/sys/msg.h (msgbuf): Replace long int with
7927 __syscall_slong_t.
7928
5e90c8ad
L
7929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
7930 include <bits/wordsize.h>. Check __x86_64__ instead of
7931 __WORDSIZE.
7932
23dfb58b
L
7933 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
7934 "unsigned long long int" if __x86_64__ is defined.
7935 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
7936
ce5d54b0
L
7937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
7938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7939 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
7940
13dc9eac
L
7941 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
7942 <stdint.h>.
7943 (GET_PC): Cast to uintptr_t first.
7944 (GET_FRAME): Likewise.
7945 (GET_STACK): Likewise.
7946
a7895d15
L
7947 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
7948 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
7949 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
7950 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
7951 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
7953 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
7954 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
7955 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
7956 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
7957 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
7958 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
7959 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
7961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
7964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
7965 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
7967 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
7968 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
7969 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
7970 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
7971 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
7972 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
7973 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
7974 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
7975 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
7976
656416c9
AS
79772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
7978
5bd66283
AS
7979 * Makerules (+depfiles): Also collect depfiles from .oS in
7980 $(extra-objs).
7981 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
7982 .oS, $(libnldbl-routines)).
7983
656416c9
AS
7984 * Makerules (native-compile-mkdep-flags): Define.
7985 * sunrpc/Makefile (extra-objs): Add $(addprefix
7986 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
7987 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
7988 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
7989 calling $(make-target-directory).
7990
a46f2169
L
79912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 * bits/types.h (__snseconds_t): Removed.
7994 * time/time.h (struct timespec): Replace __snseconds_t with
7995 __syscall_slong_t.
7996 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
7997 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
7998 Likewise.
7999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8000 (__SNSECONDS_T_TYPE): Likewise.
8001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8002 (__SNSECONDS_T_TYPE): Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8004 (__SNSECONDS_T_TYPE): Likewise.
8005
6af6528b
L
80062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8007
8008 * sysdeps/mach/hurd/bits/typesizes.h
8009 (__SYSCALL_SLONG_TYPE): New macro.
8010 (__SYSCALL_ULONG_TYPE): Likewise.
8011
de986b56
L
80122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * bits/types.h (__syscall_slong_t): New type.
8015 (__syscall_ulong_t): Likewise.
8016
8017 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8018 (__SYSCALL_ULONG_TYPE): Likewise.
8019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8020 (__SYSCALL_SLONG_TYPE): Likewise.
8021 (__SYSCALL_ULONG_TYPE): Likewise.
8022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8023 (__SYSCALL_SLONG_TYPE): Likewise.
8024 (__SYSCALL_ULONG_TYPE): Likewise.
8025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8026 (__SYSCALL_SLONG_TYPE): Likewise.
8027 (__SYSCALL_ULONG_TYPE): Likewise.
8028
85736dc7
L
80292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8032 Add sigaltstack-offsets.sym.
8033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8034 <sigaltstack-offsets.h>.
8035 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8036 longjmp_msg pointer.
8037 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8038 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8039 signal stack.
8040 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8041
cc03b296
JM
80422012-05-15 Joseph Myers <joseph@codesourcery.com>
8043
a9538892
JM
8044 * elf/stackguard-macros.h: Remove file.
8045 * sysdeps/generic/stackguard-macros.h: New file.
8046 * sysdeps/i386/stackguard-macros.h: Likewise.
8047 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8048 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8049 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8050 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8051 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8052 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8053 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8054 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8055 <elf/stackguard-macros.h>.
8056
cc03b296
JM
8057 [BZ #14109]
8058 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8059 __aligned__ in attribute.
8060 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8061 (gregset_t): Likewise.
8062
93171016
L
80632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8064
8065 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8066 * sysdeps/x86_64/64/Implies-after: Here. New file.
8067 * sysdeps/x86_64/x32/Implies-after: New file.
8068
d86813a0
L
80692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8070
8071 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8072 and access return value for _dl_profile_fixup. Use R10_LP to
8073 load frame size.
8074
2953ec75
L
80752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8076
8077 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8078
3b550e9e
L
80792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8082 * sysdeps/x86_64/x32/sysdep.h: New file.
8083
eda41706
L
80842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8085
8086 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8087 * sysdeps/x86_64/setjmp.S: Likewise.
8088
9ea01d93
AZ
80892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8090
8091 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8092 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8093 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8095 remove unused global constant.
8096
02a91938
CM
80972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8098
8099 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8100 include of <not-cancel.h>.
8101
6540185f
RM
81022012-05-15 Roland McGrath <roland@hack.frob.com>
8103
8104 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8105
509072a0
AJ
81062012-05-15 Jeff Law <law@redhat.com>
8107 Andreas Jaeger <aj@suse.de>
8108
8109 [BZ #13594]
8110 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8111 out from...
8112 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8113 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8114 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8115 code changing __hst_map_handle.map.
8116
ba75122d
RM
81172012-05-15 Roland McGrath <roland@hack.frob.com>
8118
8119 * configure.in (sysnames): Look for Implies-before and Implies-after
8120 files.
8121 * configure: Regenerated.
8122
890d8bd8
L
81232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8124
8125 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8126 8-byte data alignment with LP_SIZE alignment.
8127
f6ee6623
L
81282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8129
8130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8131 into R10_LP.
8132
ea2626f6
L
81332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8134
8135 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8136
085f715e
L
81372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8138
8139 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8140 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8141 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8142 Likewise.
8143 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8144
be8498fc
L
81452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8146
8147 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8148 (stackinfo_sub_sp): Likewise.
8149
70bc83b9
L
81502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8151
8152 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8153 RAX_LP.
8154
9bc0b730
L
81552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8156
8157 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8158 into R*_LP.
8159
6d2850e7
L
81602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8161
8162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8163 sizes into R*_LP.
8164
3cb84561
L
81652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8166
8167 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8168
54e2ed81
L
81692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8170
8171 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8172 into R11_LP and load __x86_64_shared_cache_size_half into
8173 R8_LP.
8174
8a17f349
L
81752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8178 R8_LP.
8179
777b1eea
AZ
81802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181
8182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8183 logb for POWER7.
8184 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8185 logbf for POWER7.
8186 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8187 logbl for POWER7.
8188 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8189 powerpc32/power7/fpu/s_logb.c via #include.
8190 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8191 powerpc32/power7/fpu/s_logbf.c via #include.
8192 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8193 powerpc32/power7/fpu/s_logbl.c via #include.
8194
d20d4ac2
JM
81952012-05-15 Joseph Myers <joseph@codesourcery.com>
8196
8197 * README.libm: Remove file.
8198
6cdef1ab
L
81992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8200
8201 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8202 count for x32. Use R*_LP and omit operand-size suffix.
8203
0b254d8f
L
82042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8205
8206 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8207 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8208 * sysdeps/x86_64/x32/shlib-versions: New file.
8209
ceb809dc
RM
82102012-05-14 Roland McGrath <roland@hack.frob.com>
8211
8212 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8213 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8214 Use _dl_fatal_printf instead.
8215
37f1abd4
JM
82162012-05-14 Joseph Myers <joseph@codesourcery.com>
8217
8218 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8219 set if not set by the user. Do not allow for being unset.
8220 * sysdeps/unix/sysv/linux/configure: Regenerated.
8221
11de3a33
L
82222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8223
8224 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8225 the `q' suffix from lea and replace .quad with ASM_ADDR.
8226
e02f153a
L
82272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8230 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8231 instead of $17.
8232 (PTR_DEMANGLE): Likewise.
8233
520ae0fd
L
82342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8235
8236 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8237 (LP_OP): Likewise.
8238 (ASM_ADDR): Likewise.
8239 (RAX_LP): Likewise.
8240 (RBP_LP): Likewise.
8241 (RBX_LP): Likewise.
8242 (RCX_LP): Likewise.
8243 (RDI_LP): Likewise.
8244 (RSI_LP): Likewise.
8245 (RSP_LP): Likewise.
8246 (R8_LP): Likewise.
8247 (R9_LP): Likewise.
8248 (R10_LP): Likewise.
8249 (R10_LP): Likewise.
8250 (R11_LP): Likewise.
8251 (R12_LP): Likewise.
8252 (R13_LP): Likewise.
8253 (R14_LP): Likewise.
8254 (R15_LP): Likewise.
8255
b985be81
L
82562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/x86_64/x32/dl-machine.h: New file.
8259
6a4888ff
AJ
82602012-05-14 Andreas Jaeger <aj@suse.de>
8261
8262 * manual/Makefile (subdir): Remove export of subdir.
8263 (all): Remove target.
8264 (.PHONY): Remove all from list.
8265 (mkinstalldirs): Remove.
8266 (.PHONY): Remove installdirs from list.
8267 ($(inst_infodir)/libc.info): Use make-target-directory.
8268 (installdirs): Remove.
8269 (subdir_%): Remove.
8270 (glibc-targets): Remove.
8271 (lib): Remove.
8272 (stubs): Remove.
8273 ($(objpfx)stubs ../po/manual.pot): Remove.
8274 ($(objpfx)stamp%): Remove.
8275 (make-target-directory): Remove.
8276 (subdir_install): Remove.
8277 (routines): Remove.
8278 (aux): Remove.
8279 (sources): Remove.
8280 (objects): Remove.
8281 (headers): Remove.
8282
8283 [BZ #13750]
8284 * manual/.gitignore: Remove, it's not needed anymore.
8285 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8286 all files in it.
8287 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8288 directory.
8289 (texis): Renamed to $(objpfx)texis.
8290 (texis-path): New, contains path to generated files.
8291 (chapters.%): Use texis-path for complete path, add extra argument
8292 libc-texinfo.sh.
8293 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8294 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8295 (summary,texi, stamp-summary): Use complete path of
8296 files. Generate files in build dir.
8297 (dir-add.texi): Build in build dir.
8298 (libm-err.texi,stamp-libm-err): Likewise.
8299 (version.texi, stamp-version): Likewise.
8300 (.%c.texi): Likewise.
8301 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8302 (mostlyclean): Remove target.
8303 (realclean): Remove target.
8304 (generated): Add new variable with contents from mostlyclean and
8305 realclean, remove entries duplicated in common-mostlyclean, add
8306 stamp-libm-err and stamp-version.
8307 (generated-dirs): Add libc directory.
8308 ($(inst_infodir)/libc.info): Install files from build dir.
8309
8310 * manual/install.texi (Configuring and compiling): Adjust since
8311 the info files are not part of the tar ball anymore.
8312
7ac77294
AJ
83132012-05-14 Andreas Jaeger <aj@suse.de>
8314
8315 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8316 variable.
8317
ffb7875d
JM
83182012-05-14 Joseph Myers <joseph@codesourcery.com>
8319
8320 [BZ #13717]
8321 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8322 to 2.2.0 where earlier.
8323 * sysdeps/unix/sysv/linux/configure: Regenerated.
8324 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8325 Remove conditional code.
8326 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8327 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8328 Remove conditional code.
8329 [!__NR_lchown]: Likewise.
8330 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8331 [__NR_lchown]: Likewise.
8332 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8333 comment referencing __ASSUME_LCHOWN_SYSCALL.
8334 * sysdeps/unix/sysv/linux/i386/sigaction.c
8335 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8336 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8337 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8338 Remove conditional code.
8339 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8340 (__protocol_available): Remove #if 0 code.
8341 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8342 conditional code.
8343 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8344 * sysdeps/unix/sysv/linux/kernel-features.h
8345 (__ASSUME_GETCWD_SYSCALL): Don't define.
8346 (__ASSUME_REALTIME_SIGNALS): Likewise.
8347 (__ASSUME_PREAD_SYSCALL): Likewise.
8348 (__ASSUME_PWRITE_SYSCALL): Likewise.
8349 (__ASSUME_POLL_SYSCALL): Likewise.
8350 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8351 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8352 non-SPARC.
8353 (__ASSUME_SIOCGIFNAME): Don't define.
8354 (__ASSUME_MSG_NOSIGNAL): Likewise.
8355 (__ASSUME_SENDFILE): Define unconditionally.
8356 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8357 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8358 conditional code.
8359 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8360 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8361 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8362 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8363 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8364 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8365 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8367 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8370 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8373 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8376 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8379 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8382 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8385 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8388 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8389 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8390 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8391 Remove conditional code.
8392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8393 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8394 Remove conditional code.
8395 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8396 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8397 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8398 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8399 Remove conditional code.
8400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8401 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8402 Remove conditional code.
8403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8404 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8405 Remove conditional code.
8406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8407 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8408 Remove conditional code.
8409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8410 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8411 Remove conditional code.
8412 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8413 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8416 * sysdeps/unix/sysv/linux/sigaction.c
8417 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8418 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8419 * sysdeps/unix/sysv/linux/sigpending.c
8420 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8421 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8422 * sysdeps/unix/sysv/linux/sigprocmask.c
8423 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8424 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8425 * sysdeps/unix/sysv/linux/sigsuspend.c
8426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8429 (__libc_missing_rt_sigs): Remove.
8430 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8431 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8432 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8433 Remove conditional code.
8434 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8435 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8436 return 1.
8437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8438 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8440 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8441
1bfb7291
AJ
84422012-05-14 Andreas Jaeger <aj@suse.de>
8443
caae5a81
AJ
8444 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8445 it's not used in glibc.
8446 (__coshm1): Likewise.
8447 (__acosh1p): Likewise.
8448 (__sgn): Likewise.
8449
1bfb7291
AJ
8450 * manual/string.texi (Copying and Concatenation): Add missing
8451 variable in concat example.
8452 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8453
c044d724
L
84542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8455
144c5467 8456 [BZ #14103]
c044d724
L
8457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8458 __builtin_clzl with __builtin_clzll.
8459
2523c62b
L
84602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 [BZ #14104]
8463 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8464 libc_freeres_ptr.
8465
d7bb4c42
LD
84662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8467
8468 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8469 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8470 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8472
9dc4e1fb
MF
84732012-05-14 Mike Frysinger <vapier@gentoo.org>
8474
8475 * NEWS: Update ia64 info.
8476
c7df0112
AS
84772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8478
8479 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8480 used as bcopy.
8481
dc70356c
TS
84822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8483
8484 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8485 * sysdeps/unix/syscalls.list (dup3): Likewise.
8486 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8487 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8488
9fb1a21f
L
84892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8492 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8493
4822a2a5
L
84942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8497 thread pointer.
8498 (TLS_IE): Use mov/add instead of movq/addq to load thread
8499 pointer.
8500 (TLS_GD_PREFIX): New.
8501 (TLS_GD): Use it.
8502
842b81d6
DM
85032012-05-11 David S. Miller <davem@davemloft.net>
8504
8505 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8506 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8507 (_FPU_SETCW): Likewise.
8508
1cf463cd
L
85092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8512 is 32-byte aligned.
8513
60cc4a18
AS
85142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
8515
8516 [BZ #11837]
8517 * iconvdata/gb18030.c: Update tables.
8518 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
8519 characters specially.
8520 (BODY for TO_LOOP): Add encoding of missing ranges.
8521
febb44a4
TS
85222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
8523
8524 [BZ #13673]
8525 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
8526 * sysdeps/mach/hurd/dup3.c: Likewise.
8527 * sysdeps/mach/hurd/readlinkat.c: Likewise.
8528 * sysdeps/powerpc/memmove.c:: Likewise.
8529
0a10fb9e
L
85302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8531
8532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
8533 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
8534
df8a552f
L
85352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8536
8537 * elf/elf.h (R_X86_64_RELATIVE64): New.
8538 (R_X86_64_NUM): Updated.
8539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8540 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
8541 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
8542 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
8543 tst-quad1pie tst-quad2pie
8544 (modules-names): Add tst-quadmod1 tst-quadmod2.
8545 ($(objpfx)tst-quad1): New dependency.
8546 ($(objpfx)tst-quad2): Likewise.
8547 ($(objpfx)tst-quad1pie): Likewise.
8548 ($(objpfx)tst-quad2pie): Likewise.
8549 * sysdeps/x86_64/tst-quad1.c: New file.
8550 * sysdeps/x86_64/tst-quad1pie.c: New file.
8551 * sysdeps/x86_64/tst-quad2.c: Likewise.
8552 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
8553 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
8554 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
8555 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
8556 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
8557
f34d6f84
ST
85582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8559
f42d41d1
ST
8560 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
8561 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
8562 * streams/stropts.h (t_scalar_t): Define type.
8563
3c3571fc
ST
8564 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
8565 (_PATH_PRESERVE): Set to "/var/lib".
8566 (_PATH_RWHODIR): Set to "/var/spool/rwho".
8567
61f06bd3
ST
8568 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
8569 instead of int.
8570
918d4d71
ST
8571 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
8572 if __dir_mkfile succeeded.
8573
f34d6f84
ST
8574 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
8575 checking for _hurd_dtablesize. Unlock it right after having
8576 finished _hurd_dtable allocation.
8577
10589b4a
TS
85782012-05-10 Thomas Schwinge <thomas@schwinge.name>
8579
674cdbc7
TS
8580 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
8581 * sysdeps/mach/hurd/configure: Regenerated.
8582 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
8583 special-casing to...
8584 * sysdeps/gnu/configure.in: ... this new file.
8585 * sysdeps/unix/sysv/linux/configure: Regenerated.
8586 * sysdeps/gnu/configure: New generated file.
8587
8e41b99f
TS
8588 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
8589 for Linux: use nsec instead of usec, as well as:
8590 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
8591 members of type struct timespec.
8592 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
8593 New macros.
8594 (struct stat64): Likewise.
8595 (_STATBUF_ST_NSEC): New macro.
8596 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
8597
10589b4a
TS
8598 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8599 __strtoul_internal rather than strtoul.
8600
63643c85
PT
86012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8602
8603 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
8604 and reject them.
8605
3faebe6a
ST
86062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8607
8608 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
8609 which preserves existing values.
8610 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
8611
c6474b07
PT
86122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8613
8614 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
8615 TIMEOUT values. Return EINVAL for NFDS values either negative or
8616 greater than FD_SETSIZE.
8617
1043890b
ST
86182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8619
8620 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
8621 allocated, call __vm_protect to finish enabling the existing space, and
8622 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
8623 allocate the remainder.
8624
37ed8b9b
PT
86252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8626
8627 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
8628 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
8629
db653660
ST
86302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8631
37ed8b9b
PT
8632 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
8633 sysdeps/mach/hurd/readlink.c.
b29d4053 8634
db653660
ST
8635 * posix/tst-sysconf.c (posix_options): Only use
8636 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
8637 _POSIX_SYNCHRONIZED_IO when they are defined
8638 * sysdeps/mach/hurd/bits/posix_opt.h:
8639 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
8640 (_XOPEN_REALTIME): Undefine macro.
8641 (_XOPEN_REALTIME_THREADS): Undefine macro.
8642 (_XOPEN_SHM): Undefine macro.
8643 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
8644 macro to -1.
8645 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
8646 macro to -1.
8647 (_POSIX_ASYNC_IO): Undefine macro.
8648 (_POSIX_PRIORITIZED_IO): Undefine macro.
8649 (_POSIX_SPIN_LOCKS): Define macro to -1.
8650
ee16e894
ST
8651 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
8652 SA_NODEFER, SA_RESETHAND.
8653 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
8654 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
8655 F_DUPFD_CLOEXEC.
8656
6103ae3b
TS
86572012-05-10 Thomas Schwinge <thomas@schwinge.name>
8658
8659 * elf/Makefile (pldd-modules): Define unconditionally.
8660
80b4e5f3
TS
86612012-05-10 Thomas Schwinge <thomas@schwinge.name>
8662
8663 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
8664
edadcbd6
ST
86652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8666
8667 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
8668 Return ENOENT when name is empty.
8669 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
8670
80694780
TS
86712012-05-10 Thomas Schwinge <thomas@schwinge.name>
8672
1792c087
TS
8673 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
8674
80694780
TS
8675 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
8676
6b645f0d
ST
86772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8678
80694780
TS
8679 Fix mlock in all cases except non-readable pages.
8680 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
8681 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 8682
6b645f0d
ST
8683 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
8684 (__mkdir): When path is `/', just fail with EEXIST.
8685 * sysdeps/mach/hurd/mkdirat.c: Likewise.
8686
e468f8a3
TS
86872012-05-10 Thomas Schwinge <thomas@schwinge.name>
8688
8689 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
8690 <sys/uio.h> (for writev).
8691 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
8692 and <sys/param.h> (for MIN).
8693
a4186cff
PT
86942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
8695
8696 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
8697 REQUESTED_TIME. Properly set the remaining time and return EINTR
8698 if interrupted.
8699
510bbf14
TS
87002012-05-10 Thomas Schwinge <thomas@schwinge.name>
8701
8702 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
8703 Depend on against $(link-rpcuserlibs).
8704
5d5722e8
ST
87052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8706
a4186cff
PT
8707 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
8708 (__libc_stack_end): Do not use attribute_relro.
8709 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
8710 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 8711 to libthread-provided value.
a4186cff
PT
8712 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
8713 attribute_relro.
5d5722e8 8714
37233df9
TS
87152012-05-10 Thomas Schwinge <thomas@schwinge.name>
8716
be971a2b
TS
8717 [BZ #3748]
8718 * bits/libc-lock.h (__libc_once_get): New macro.
8719 * sysdeps/mach/bits/libc-lock.h: Likewise.
8720 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
8721 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
8722 instead of using implementation details.
8723
37233df9
TS
8724 * libio/fileops.c: Unconditionally include <kernel-features.h>.
8725 * libio/freopen.c: Likewise.
8726 * libio/freopen64.c: Likewise.
8727 * misc/syslog.c: Likewise.
8728 * nscd/connections.c: Likewise.
8729 * nscd/netgroupcache.c: Likewise.
8730 * sysdeps/posix/getcwd.c: Likewise.
8731
38de94a5
RM
87322012-05-10 Roland McGrath <roland@hack.frob.com>
8733
8734 * math/w_ilogbf.c: Add #include <limits.h>.
8735
67530489
ST
87362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8737
a4186cff 8738 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
8739 path instead of returning without unlocking.
8740
67530489
ST
8741 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
8742 immediate-write ioctls.
8743 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
8744
5aa3a74a
TS
87452012-05-10 Thomas Schwinge <thomas@schwinge.name>
8746
18bad2ae
TS
8747 * sysdeps/mach/hurd/i386/init-first.c (init): Use
8748 __builtin_frame_address instead of making assumptions about the
8749 location of the return address relative to DATA. Force early load of
8750 the return address.
8751 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
8752 __builtin_frame_address.
8753
5aa3a74a
TS
8754 dup3 for GNU Hurd.
8755 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
8756 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
8757 implement dup3 and do some further code clean-ups.
8758 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8759 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
8760
ecd0de9a
ST
87612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8762
cd9fa985
ST
8763 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
8764
a4186cff
PT
8765 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
8766 HURD_CRITICAL_END around holding _hurd_dtable_lock.
8767 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
8768 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
8769 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
8770 d->port.lock.
802ca5a5 8771
a4186cff
PT
8772 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
8773 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
8774 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 8775
bcf55240
TS
87762012-05-10 Thomas Schwinge <thomas@schwinge.name>
8777
6960eb42
TS
8778 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
8779 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
8780 definitions.
8781
eb43375f
TS
8782 accept4 for GNU Hurd.
8783 * include/sys/socket.h (__libc_accept4): New prototype.
8784 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
8785 to implement __libc_accept4.
8786 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
8787 __libc_accept4.
8788 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
8789
bcf55240
TS
8790 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
8791 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
8792 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
8793 signal-defines.sym.
8794
6178c55b
ST
87952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8796
a4186cff 8797 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 8798
6f080c2f
TS
87992012-05-10 Thomas Schwinge <thomas@schwinge.name>
8800
8801 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
8802 assertion on O_CLOEXEC flag.
8803 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
8804 * hurd/intern-fd.c: Likewise.
8805 * hurd/port2fd.c: Likewise.
8806
bcfe3a54
ST
88072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
8808
8809 [BZ #3906]
8810 * bits/in.h (IPV6_PKTINFO): Define new macro.
8811 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
8812
89c9aa49
AZ
88132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8814
8815 [BZ #13954]
8816 [BZ #13955]
8817 [BZ #13956]
8818 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
8819 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8820 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
8821 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8823 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8824 * math/libm-test.inc (logb_test) : Additional logb tests.
8825
021db4be
AJ
88262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
8827 Andreas Jaeger <aj@suse.de>
8828
8829 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
8830 * configure: Regenerated.
8831 * config.h.in (LINK_OBSOLETE_RPC): New macro.
8832 * config.make.in (link-obsolete-rpc): New substituted variable.
8833 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
8834 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
8835 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8836 (shared-only-routines): Don't set it under [link-obsolete-rpc],
8837 so that libc.a contains the symbols.
8838 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
8839 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
8840 * sunrpc/auth_none.c: Likewise.
8841 * sunrpc/auth_unix.c: Likewise.
8842 * sunrpc/authdes_prot.c: Likewise.
8843 * sunrpc/authuxprot.c: Likewise.
8844 * sunrpc/clnt_gen.c: Likewise.
8845 * sunrpc/clnt_perr.c: Likewise.
8846 * sunrpc/clnt_raw.c: Likewise.
8847 * sunrpc/clnt_simp.c: Likewise.
8848 * sunrpc/clnt_tcp.c: Likewise.
8849 * sunrpc/clnt_udp.c: Likewise.
8850 * sunrpc/clnt_unix.c: Likewise.
8851 * sunrpc/des_crypt.c: Likewise.
8852 * sunrpc/des_soft.c: Likewise.
8853 * sunrpc/get_myaddr.c: Likewise.
8854 * sunrpc/key_call.c: Likewise.
8855 * sunrpc/key_prot.c: Likewise.
8856 * sunrpc/netname.c: Likewise.
8857 * sunrpc/pm_getmaps.c: Likewise.
8858 * sunrpc/pm_getport.c: Likewise.
8859 * sunrpc/pmap_clnt.c: Likewise.
8860 * sunrpc/pmap_prot.c: Likewise.
8861 * sunrpc/pmap_prot2.c: Likewise.
8862 * sunrpc/pmap_rmt.c: Likewise.
8863 * sunrpc/publickey.c: Likewise.
8864 * sunrpc/rpc_cmsg.c: Likewise.
8865 * sunrpc/rpc_common.c: Likewise.
8866 * sunrpc/rpc_dtable.c: Likewise.
8867 * sunrpc/rpc_prot.c: Likewise.
8868 * sunrpc/rpc_thread.c: Likewise.
8869 * sunrpc/rtime.c: Likewise.
8870 * sunrpc/svc.c: Likewise.
8871 * sunrpc/svc_auth.c: Likewise.
8872 * sunrpc/svc_raw.c: Likewise.
8873 * sunrpc/svc_run.c: Likewise.
8874 * sunrpc/svc_tcp.c: Likewise.
8875 * sunrpc/svc_udp.c: Likewise.
8876 * sunrpc/svc_unix.c: Likewise.
8877 * sunrpc/svcauth_des.c: Likewise.
8878 * sunrpc/xcrypt.c: Likewise.
8879 * sunrpc/xdr.c: Likewise.
8880 * sunrpc/xdr_array.c: Likewise.
8881 * sunrpc/xdr_float.c: Likewise.
8882 * sunrpc/xdr_intXX_t.c: Likewise.
8883 * sunrpc/xdr_mem.c: Likewise.
8884 * sunrpc/xdr_rec.c: Likewise.
8885 * sunrpc/xdr_ref.c: Likewise.
8886 * sunrpc/xdr_sizeof.c: Likewise.
8887 * sunrpc/xdr_stdio.c: Likewise.
8888
b5c086a2
RM
88892012-05-10 Roland McGrath <roland@hack.frob.com>
8890
8891 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
8892 change. Update copyright years.
8893
6d74dd09
JM
88942012-05-10 Joseph Myers <joseph@codesourcery.com>
8895
8896 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
8897
28e72501
MK
88982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
8899 Joseph Myers <joseph@codesourcery.com>
8900 Paul Pluzhnikov <ppluzhnikov@google.com>
8901
8902 [BZ #14012]
8903 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8904 requiring rpcgen.
8905 [cross-compiling] (extra-libs): Likewise.
8906 [cross-compiling] (extra-libs-others): Likewise.
8907 [cross-compiling] (librpcsvc-routines): Likewise.
8908 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
8909 [cross-compiling] (omit-deps): Likewise.
8910 (sunrpc-CPPFLAGS): New variable.
8911 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
8912 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
8913 (cross-rpcgen-objs): New variable.
8914 (extra-objs): Append $(cross-rpcgen-objs).
8915 ($(cross-rpcgen-objs)): New rule.
8916 ($(objpfx)cross-rpcgen): Likewise.
8917 (rpcgen-cmd): Define to use $(built-program-file). Expand
8918 comment.
8919 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
8920 ($(objpfx)x%.stmp): Likewise.
8921 * sunrpc/proto.h [IS_IN_build] (_): Define.
8922 [IS_IN_build] (_libc_intl_domainname): Likewise.
8923
c8c59454
L
89242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
8927 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
8928 and R_X86_64_TPOFF64.
8929
6f27cd16
JM
89302012-05-10 Joseph Myers <joseph@codesourcery.com>
8931
8932 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
8933 sysdeps/unix/sysv/syscalls.list.
8934 (stime): Likewise.
8935 (utime): Likewise.
8936 * sysdeps/unix/sysv/syscalls.list: Remove file.
8937
02467e1c
PE
89382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
8939
8940 [BZ #3440]
8941 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
8942 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
8943 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
8944 (__LC_IDENTIFICATION): Make these macros useful in #if
8945 expressions, as required by C99.
8946
da392631
AS
89472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
8948
8949 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
8950 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
8951 after this.
8952
8115f29b
L
89532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 * stdlib/longlong.h: Updated from GCC.
8956
bdd74070
AJ
89572012-05-09 Andreas Jaeger <aj@suse.de>
8958
edfe0dbe
AJ
8959 * nscd/nscd.c (run_modes): Make named enum, reorder so that
8960 default is first entry.
8961 (run_mode): Set type.
8962 (main): Remove informal message about syslog.
8963 (options): Fix typo.
8964
bcfe3a54
ST
8965 [BZ #14053]
8966 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 8967 to asm.
bcfe3a54
ST
8968 (lrint): Likewise.
8969 (llrintf): Likewise.
8970 (llrint): Likewise.
8971 (rint): Likewise.
8972 (rintf): Likewise.
8973 (nearbyint): Likewise.
8974 (nearbyintf): Likewise.
bdd74070 8975
91d8d69e
AJ
89762012-05-09 Andreas Jaeger <aj@suse.de>
8977 Pedro Alves <palves@redhat.com>
8978
8979 * nscd/nscd.c (run_mode): Use enum.
8980 (main): Cleanup coding style issue.
8981
bb90b80b
AJ
89822012-05-09 Alexandre Oliva <aoliva@redhat.com>
8983 Andreas Jaeger <aj@suse.de>
8984
bcfe3a54
ST
8985 * nscd/nscd.c (go_background): Replaced with...
8986 (run_mode): ... this.
bb90b80b 8987 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
8988 (options): Add -F --foreground.
8989 (main): Implement it.
8990 (parse_opt): Parse it.
bb90b80b 8991
1a4b75a1
AJ
89922012-05-09 Andreas Jaeger <aj@suse.de>
8993
8994 [BZ #14083]
8995 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
8996 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
8997 -Wconversion warning.
8998 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
8999 Likewise.
9000
b1cc2472
JM
90012012-05-09 Joseph Myers <joseph@codesourcery.com>
9002
9003 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9004 == 0.
9005 (LC_ALL): Use macro-int-constant.
9006 (LC_COLLATE): Likewise.
9007 (LC_CTYPE): Likewise.
9008 (LC_MESSAGES): Likewise.
9009 (LC_MONETARY): Likewise.
9010 (LC_NUMERIC): Likewise.
9011 (LC_TIME): Likewise.
9012 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9013 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9015 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9016 Specify type.
9017 [C99-based standards] (float_t): Expect type.
9018 [C99-based standards] (double_t): Expect type.
9019 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9020 type.
9021 [C99-based standards] (HUGE_VALL): Likewise.
9022 [C99-based standards] (INFINITY): Likewise.
9023 [C99-based standards] (NAN): Likewise.
9024 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9025 [C99-based standards] (FP_NAN): Likewise.
9026 [C99-based standards] (FP_NORMAL): Likewise.
9027 [C99-based standards] (FP_SUBNORMAL): Likewise.
9028 [C99-based standards] (FP_ZERO): Likewise.
9029 [C99-based standards] (FP_FAST_FMA): Use
9030 optional-macro-int-constant. Specify type. Require == 1.
9031 [C99-based standards] (FP_FAST_FMAF): Likewise.
9032 [C99-based standards] (FP_FAST_FMAL): Likewise.
9033 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9034 [C99-based standards] (FP_ILOGBNAN): Likewise.
9035 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9036 Specify type.
9037 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9038 [C99-based standards] (math_errhandling): Specify type.
9039 [ISO99 || ISO11] (signgam): Do not allow.
9040 [non-C99-based standards] (copysignf): Do not allow.
9041 [non-C99-based standards] (exp2f): Likewise.
9042 [non-C99-based standards] (log2f): Likewise.
9043 [non-C99-based standards] (modff): Allow.
9044 [non-C99-based standards] (erff): Do not allow.
9045 [non-C99-based standards] (erfcf): Likewise.
9046 [non-C99-based standards] (gammaf): Likewise.
9047 [non-C99-based standards] (hypotf): Likewise.
9048 [non-C99-based standards] (j0f): Likewise.
9049 [non-C99-based standards] (j1f): Likewise.
9050 [non-C99-based standards] (jnf): Likewise.
9051 [non-C99-based standards] (lgammaf): Likewise.
9052 [non-C99-based standards] (tgammaf): Likewise.
9053 [non-C99-based standards] (y0f): Likewise.
9054 [non-C99-based standards] (y1f): Likewise.
9055 [non-C99-based standards] (ynf): Likewise.
9056 [non-C99-based standards] (isnanf): Likewise.
9057 [non-C99-based standards] (acoshf): Likewise.
9058 [non-C99-based standards] (asinhf): Likewise.
9059 [non-C99-based standards] (atanhf): Likewise.
9060 [non-C99-based standards] (cbrtf): Likewise.
9061 [non-C99-based standards] (expm1f): Likewise.
9062 [non-C99-based standards] (ilogbf): Likewise.
9063 [non-C99-based standards] (log1pf): Likewise.
9064 [non-C99-based standards] (logbf): Likewise.
9065 [non-C99-based standards] (nextafterf): Likewise.
9066 [non-C99-based standards] (remainderf): Likewise.
9067 [non-C99-based standards] (rintf): Likewise.
9068 [non-C99-based standards] (scalbf): Likewise.
9069 [non-C99-based standards] (copysignl): Likewise.
9070 [non-C99-based standards] (exp2l): Likewise.
9071 [non-C99-based standards] (log2l): Likewise.
9072 [non-C99-based standards] (modfl): Allow.
9073 [non-C99-based standards] (erfl): Do not allow.
9074 [non-C99-based standards] (erfcl): Likewise.
9075 [non-C99-based standards] (gammal): Likewise.
9076 [non-C99-based standards] (hypotl): Likewise.
9077 [non-C99-based standards] (j0l): Likewise.
9078 [non-C99-based standards] (j1l): Likewise.
9079 [non-C99-based standards] (jnl): Likewise.
9080 [non-C99-based standards] (lgammal): Likewise.
9081 [non-C99-based standards] (tgammal): Likewise.
9082 [non-C99-based standards] (y0l): Likewise.
9083 [non-C99-based standards] (y1l): Likewise.
9084 [non-C99-based standards] (ynl): Likewise.
9085 [non-C99-based standards] (isnanl): Likewise.
9086 [non-C99-based standards] (acoshl): Likewise.
9087 [non-C99-based standards] (asinhl): Likewise.
9088 [non-C99-based standards] (atanhl): Likewise.
9089 [non-C99-based standards] (cbrtl): Likewise.
9090 [non-C99-based standards] (expm1l): Likewise.
9091 [non-C99-based standards] (ilogbl): Likewise.
9092 [non-C99-based standards] (log1pl): Likewise.
9093 [non-C99-based standards] (logbl): Likewise.
9094 [non-C99-based standards] (nextafterl): Likewise.
9095 [non-C99-based standards] (remainderl): Likewise.
9096 [non-C99-based standards] (rintl): Likewise.
9097 [non-C99-based standards] (scalbl): Likewise.
9098 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9099 [non-C99-based standards] (FP_*): Do not allow.
9100 [C99-based standards] (FP_*): Change to
9101 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9102 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9103 allow.
9104 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9105 (SIG_ERR): Likewise.
9106 [X/Open-based standards] (SIG_HOLD): Likewise.
9107 (SIG_IGN): Likewise.
9108 (SIGABRT): Use macro-int-constant. Specify type. Require
9109 positive value.
9110 (SIGFPE): Likewise.
9111 (SIGILL): Likewise.
9112 (SIGINT): Likewise.
9113 (SIGSEGV): Likewise.
9114 (SIGTER): Likewise.
9115 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9116 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9117 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9118 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9119 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9120 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9121 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9122 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9123 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9124 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9125 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9126 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9127 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9128 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9129 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9130 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9131 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9132 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9133 [X/Open-based standards] (SIGTRAP): Likewise.
9134 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9135 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9136 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9137 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9138 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9139 allow.
9140
b9f1922d
IW
91412012-05-08 Ian Wienand <ianw@vmware.com>
9142
9143 [BZ #14080]
9144 * time/tzset.c (__tzset_parse_tz): Update default rules for
9145 daylight time changes in the Energy Policy Act of 2005.
9146
1db86e88
AJ
91472012-05-09 Andreas Jaeger <aj@suse.de>
9148
9149 [BZ #13983]
9150 * elf/ldconfig.c (parse_conf): Change string to make clear that
9151 ldconfig only issued a warning if ld.so.conf does not exist.
9152
dee4a4e3
DM
91532012-05-08 David S. Miller <davem@davemloft.net>
9154
ee0db190
DM
9155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9156 movxtod instead of popping the value on the stack.
9157
dee4a4e3
DM
9158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9159
6a43ec98
CD
91602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9161
9162 * config.h.in: Add HAVE_ARM_PCS_VFP.
9163
05c2c961
RMG
91642012-05-08 Roland Mc Grath <roland@hack.frob.com>
9165
bcfe3a54
ST
9166 [BZ #13979]
9167 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9168 checking but the checks are disabled for any reason.
05c2c961 9169
4b30f61a
L
91702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9171
9172 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9173 and ELF64_R_TYPE with ELFW(R_TYPE).
9174
eee2bc67
JM
91752012-05-08 Joseph Myers <joseph@codesourcery.com>
9176
7ea5391a
JM
9177 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9178 (ulimit): Likewise.
9179
eee2bc67
JM
9180 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9181 (settimeofday): Likewise.
9182
abb66a67
MF
91832012-05-08 Mike Frysinger <vapier@gentoo.org>
9184
9185 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9186 a struct th_u2 inside the union, and move tu_block/tu_code into
9187 a new th_u3 union of tu_block/tu_code inside of that. Move
9188 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9189 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9190 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9191 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9192 (th_stuff): Change to th_u1.tu_stuff.
9193 (th_data): Define.
9194 (th_msg): Change to th_u1.th_u2.tu_data.
9195
7f18b530
DM
91962012-05-07 David S. Miller <davem@davemloft.net>
9197
05760585
DM
9198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9199
7f18b530
DM
9200 [BZ #14074]
9201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9202 (SETUP_PIC_REG): Use it.
9203 (SETUP_PIC_REG_LEAF): Use it.
9204
495fd99f
JM
92052012-05-07 Joseph Myers <joseph@codesourcery.com>
9206
9207 [BZ #13885]
9208 [BZ #13923]
9209 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9210 USE_AS_EXPM1L.
9211 (EXPL_FINITE): Likewise.
9212 (FLDLOG): Likewise.
9213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9214 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9215 e_expl.S.
9216 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9217 USE_AS_EXPM1L.
9218 (EXPL_FINITE): Likewise.
9219 (FLDLOG): Likewise.
9220 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9221 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9222 e_expl.S.
9223 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9224 test of -max_value argument for long double.
9225 * sysdeps/i386/fpu/libm-test-ulps: Update.
9226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227
6693d694
DM
92282012-05-06 David S. Miller <davem@davemloft.net>
9229
9230 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9231 quad soft-float symbols whose references which are compiler
9232 generated.
9233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9234
6c23e11c
JM
92352012-05-06 Joseph Myers <joseph@codesourcery.com>
9236
d8b82cad
JM
9237 [BZ #13884]
9238 [BZ #13914]
9239 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9240 USE_AS_EXP10L.
9241 (EXPL_FINITE): Likewise.
9242 (FLDLOG): Likewise.
9243 (c0): Likewise.
9244 (c1): Likewise.
9245 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9246 Adjust comments for base varying.
9247 (__expl_finite): Change alias to EXPL_FINITE.
9248 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9249 e_expl.S.
9250 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9251 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9252 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9253 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9255 USE_AS_EXP10L.
9256 (EXPL_FINITE): Likewise.
9257 (FLDLOG): Likewise.
9258 (c0): Likewise.
9259 (c1): Likewise.
9260 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9261 Adjust comments for base varying.
9262 (__expl_finite): Change alias to EXPL_FINITE.
9263 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9264 tests for bugs.
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9266
6c23e11c
JM
9267 [BZ #14064]
9268 * math/libm-test.inc (check_float_internal): Correct ulp
9269 calculation for subnormal expected results.
9270
29ba805c
AJ
92712012-05-06 Andreas Jaeger <aj@suse.de>
9272
9273 * Makeconfig (+math-flags): New, set to -frounding-math.
9274 (+cflags): Add +math-flags so that all of glibc gets compiled with
9275 it.
9276
9277 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9278
7b17aeda
JM
92792012-05-05 Joseph Myers <joseph@codesourcery.com>
9280
5779f134
JM
9281 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9282 Disable one test.
9283
41498f4d
JM
9284 [BZ #13787]
9285 [BZ #13922]
9286 [BZ #14036]
9287 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9288 (__ieee754_expl): Allow for and saturate large arguments.
9289 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9290 (u_threshold): Likewise.
9291 (__exp): Call __ieee754_exp before checking for overflow and
9292 underflow.
9293 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9294 (u_threshold): Likewise.
9295 (__expf): Call __ieee754_expf before checking for overflow and
9296 underflow.
9297 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9298 (u_threshold): Likewise.
9299 (__expl): Call __ieee754_expl before checking for overflow and
9300 underflow.
9301 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9302 (__ieee754_expl): Allow for and saturate large arguments.
9303 * math/libm-test.inc (exp_test): Add another test. Do not allow
9304 missing overflow exception on overflow.
9305 (expm1_test): Do not allow missing overflow exception on overflow.
9306
6698b8bf
JM
9307 * sysdeps/i386/fpu/e_expl.c: Move to ...
9308 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9309 rather than using inline asm.
9310 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9311 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9312 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9313
7b17aeda
JM
9314 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9315 (nice): Likewise.
9316 (poll): Likewise.
9317 (signal): Likewise.
9318 (time): Likewise.
9319 (times): Likewise.
9320
f7c85819
JM
93212012-05-04 Joseph Myers <joseph@codesourcery.com>
9322
9323 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9324 sysdeps/unix/common/syscalls.list.
9325 (fchmod): Likewise.
9326 (fchown): Likewise.
9327 (ftruncate): Likewise.
9328 (getrusage): Likewise.
9329 (gettimeofday): Likewise.
9330 (setpgid): Likewise.
9331 (setregid): Likewise.
9332 (setreuid): Likewise.
9333 (sigaction): Likewise.
9334 (truncate): Likewise.
9335 (vhangup): Likewise.
9336 * sysdeps/unix/common/syscalls.list: Remove file.
9337 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9338 * sysdeps/unix/sysv/linux/Implies: Likewise.
9339
336270d0
L
93402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9345 Moved to ...
9346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9347 Here.
9348 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9349 to ...
9350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9351 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9352 to ...
9353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9354 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9355 to ...
9356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9358 to ...
9359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9360 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9361 to ...
9362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9363 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9364 to ...
9365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9367 to ...
9368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9369 Here.
9370 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9371 to ...
9372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9373 Here.
9374 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9375 to ...
9376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9378 Moved to ...
9379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9380 Here.
9381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9382 to ...
9383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9384
d128e450
JM
93852012-05-04 Joseph Myers <joseph@codesourcery.com>
9386
fa8ee516
JM
9387 * sysdeps/unix/common/bits/dirent.h: Remove file.
9388 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9389
d128e450
JM
9390 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9391 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9392 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9393 * sysdeps/unix/bsd/isatty.c: Likewise.
9394 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9395 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9396 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9397
ff8faaf0 93982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9399
62881be4 9400 [BZ #13563]
31dc8730
AZ
9401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9402 long double comparison inaccuracies.
9403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9405
6fef930c
AS
94062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9407
9408 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9410
8f203e6c
JM
94112012-05-04 Joseph Myers <joseph@codesourcery.com>
9412
9413 [BZ #14049]
9414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9415 nonzero digits before rounding a hex value.
9416 * stdlib/tst-strtod.c (tests): Add another test.
9417
5197d9c2
AK
94182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9419
9420 * sysdeps/s390/fpu/libm-test-ulps: Update.
9421
f0c1dedf
AJ
94222012-05-03 Andreas Jaeger <aj@suse.de>
9423
9424 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9425 does not get optimized out.
9426 (malloc_opt_barrier): New.
9427
a65ef2ae 94282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9429 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9430
2b942cb7 9431 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9432 intermediate file deletion.
2b942cb7 9433 (generated): Add .symlist files.
a65ef2ae 9434
54b71e02
JM
94352012-05-03 Joseph Myers <joseph@codesourcery.com>
9436
9437 [BZ #13775]
9438 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9439 Redirect under this condition.
9440 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9441 [__USE_GNU] (__dprintf_chk): Not under this condition.
9442 [__USE_GNU] (__vdprintf_chk): Likewise.
9443 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9444 under this condition.
9445 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9446 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9447 [__USE_XOPEN2K8] (vdprintf): Likewise.
9448 [__USE_GNU] (__dprintf_chk): Not under this condition.
9449 [__USE_GNU] (__vdprintf_chk): Likewise.
9450 [__USE_GNU] (dprintf): Likewise.
9451 [__USE_GNU] (vdprintf): Likewise.
9452
d3dfcc41
RM
94532012-05-03 Roland McGrath <roland@hack.frob.com>
9454
9455 * elf/Makefile (common-generated): Set this instead of generated for
9456 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9457 $(all-built-dso)-derived lists.
9458
7ac30cc5
AJ
94592012-05-03 Andreas Jaeger <aj@suse.de>
9460
0c51e550
AJ
9461 * sysdeps/i386/fpu/libm-test-ulps: Update.
9462
7ac30cc5
AJ
9463 * FAQ: Removed.
9464 * FAQ.in: Likewise.
9465 * scripts/gen-FAQ.pl: Likewise.
9466 * manual/install.texi (Installation): Point to online location of
9467 FAQ.
9468 * Makefile (files-for-dist): Remove FAQ.
9469 (FAQ): Remove.
9470
d4c2917f
AM
94712012-05-02 Allan McRae <allan@archlinux.org>
9472
9473 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9474 (LDFLAGS-reldepmod5.so): Likewise.
9475 (LDFLAGS-reldep6mod1.so): Likewise.
9476 (LDFLAGS-reldep6mod4.so): Likewise.
9477 (LDFLAGS-reldep8mod3.so): Likewise.
9478 (LDFLAGS-unload4mod1.so): Likewise.
9479 (LDFLAGS-unload4mod2.so): Likewise.
9480 (LDFLAGS-tst-initorder): Likewise.
9481 (LDFLAGS-tst-initordera2.so): Likewise.
9482 (LDFLAGS-tst-initordera3.so): Likewise.
9483 (LDFLAGS-tst-initordera4.so): Likewise.
9484 (LDFLAGS-tst-initorderb2.so): Likewise.
9485 (LDFLAGS-noload): Likewise.
9486 (LDFLAGS-next): Likewise.
9487 (LDFLAGS-order2mod1.so): Likewise.
9488 (LDFLAGS-order2mod2.so): Likewise.
9489 (LDFLAGS-tst-initorder2): Likewise.
9490 (LDFLAGS-tst-initorder2a.so): Likewise.
9491 (LDFLAGS-tst-initorder2b.so): Likewise.
9492 (LDFLAGS-tst-initorder2c.so): Likewise.
9493 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9494
d77f993f
DM
94952012-05-02 David S. Miller <davem@davemloft.net>
9496
9497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9498
171a70b4
PP
94992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9500
9501 [BZ #14055]
9502 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9503
0be196ad
AJ
95042012-05-02 Andreas Jaeger <aj@suse.de>
9505
9506 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9507 since we manipulate rounding mode.
9508 (CPPFLAGS-test-idouble.c): Likewise.
9509 (CPPFLAGS-test-ifloat.c): Likewise.
9510 (CFLAGS-test-ldouble.c): Likewise.
9511 (CFLAGS-test-double.c): Likewise.
9512 (CFLAGS-test-float.c): Likewise.
9513 (CFLAGS-test-misc.c): Likewise.
9514 (CFLAGS-test-test-fenv.c): Likewise.
9515
4f9d04aa
AZ
95162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9517
2b942cb7
RM
9518 [BZ #2550]
9519 [BZ #2570]
9520 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
9521 comparisons to determine direction to adjust input.
4f9d04aa 9522
82a79e7d
RM
95232012-05-01 Roland McGrath <roland@hack.frob.com>
9524
f5a01ca9
RM
9525 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
9526 output to the target.
9527
90fe4186
RM
9528 * scripts/localplt.awk: New file.
9529 * elf/Makefile ($(objpfx)check-localplt): Target removed.
9530 (check-localplt-CFLAGS): Variable removed.
9531 ($(all-built-dso:=.jmprel)): New static pattern rule.
9532 (generated): Add those targets.
9533 (localplt-built-dso): New variable.
9534 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
9535
9536 * elf/check-localplt.c: File removed.
9537
82397ed6
RM
9538 * scripts/check-execstack.awk: New file.
9539 * elf/Makefile ($(objpfx)check-execstack): Target removed.
9540 (check-execstack-CFLAGS): Variable removed.
9541 ($(objpfx)check-execstack.h): Target removed.
9542 ($(objpfx)execstack-default): New target.
9543 (generated): Add that instead of check-execstack.h.
9544 ($(all-built-dso:=.phdr)): New static pattern rule.
9545 (generated): Add those targets.
9546 * elf/check-execstack.c: File removed.
9547
82a79e7d
RM
9548 * scripts/check-textrel.awk: New file.
9549 * elf/Makefile ($(objpfx)check-textrel): Target removed.
9550 (check-textrel-CFLAGS): Variable removed.
9551 (all-built-dso): Use := to define.o
9552 ($(all-built-dso:=.dyn)): New static pattern rule.
9553 (generated): Add those targets.
9554 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
9555 * config.make.in (READELF): New substituted variable.
9556 * elf/check-textrel.c: File removed.
9557
62fde54f 95582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 9559
615605c9
JM
9560 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9561 allow.
9562 * conform/data/ctype.h-data [C99-based standards] (isblank):
9563 Expect function.
9564 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
9565 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
9566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9567 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
9568 Specify type. Require positive value.
9569 (EILSEQ): Likewise.
9570 (ERANGE): Likewise.
9571 [ISO || POSIX] (EILSEQ): Do not expect.
9572 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
9573 Specify type. Require positive value.
9574 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
9575 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
9576 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
9577 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
9578 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
9579 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
9580 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
9585 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
9589 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
9590 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
9591 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
9592 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
9593 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
9594 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
9596 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
9597 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
9598 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
9599 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
9600 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
9604 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
9605 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
9611 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
9612 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
9613 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
9614 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
9615 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
9617 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
9619 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
9624 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
9625 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
9626 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
9627 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
9628 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
9629 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
9630 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
9631 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
9632 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
9633 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
9634 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
9635 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
9636 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
9637 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
9638 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
9648 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
9649 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
9650 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
9651 Require >= 2.
9652 (FLT_ROUNDS): Expect as macro, not constant.
9653 (FLT_MANT_DIG): Use macro-int-constant.
9654 (DBL_MANT_DIG): Likewise.
9655 (LDBL_MANT_DIG): Likewise.
9656 (FLT_DIG): Likewise.
9657 (DBL_DIG): Likewise.
9658 (LDBL_DIG): Likewise.
9659 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
9660 (DBL_MIN_EXP): Likewise.
9661 (LDBL_MIN_EXP): Likewise.
9662 (FLT_MAX_EXP): Use macro-int-constant.
9663 (DBL_MAX_EXP): Likewise.
9664 (LDBL_MAX_EXP): Likewise.
9665 (FLT_MAX_10_EXP): Likewise.
9666 (DBL_MAX_10_EXP): Likewise.
9667 (LDBL_MAX_10_EXP): Likewise.
9668 (FLT_MAX): Use macro-constant.
9669 (DBL_MAX): Likewise.
9670 (LDBL_MAX): Likewise.
9671 (FLT_EPSILON): Use macro-constant. Give upper bound.
9672 (DBL_EPSILON): Likewise.
9673 (LDBL_EPSILON): Likewise.
9674 (FLT_MIN): Likewise.
9675 (DBL_MIN): Likewise.
9676 (LDBL_MIN): Likewise.
9677 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
9678 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
9679 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
9680 [ISO11] (FLT_HAS_SUBNORM): Likewise.
9681 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
9682 [ISO11] (DBL_DECIMAL_DIG): Likewise.
9683 [ISO11] (FLT_DECIMAL_DIG): Likewise.
9684 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
9685 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
9686 [ISO11] (FLT_TRUE_MIN): Likewise.
9687 [ISO11] (LDBL_TRUE_MIN): Likewise.
9688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9689 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
9690 (SCHAR_MIN): Use macro-int-constant. Specify type.
9691 (SCHAR_MAX): Likewise.
9692 (UCHAR_MAX): Likewise.
9693 (CHAR_MIN): Likewise.
9694 (CHAR_MAX): Likewise.
9695 (MB_LEN_MAX): Use macro-int-constant.
9696 (SHRT_MIN): Use macro-int-constant. Specify type.
9697 (SHRT_MAX): Likewise.
9698 (USHRT_MAX): Likewise.
9699 (INT_MAX): Likewise.
9700 (INT_MIN): Use macro-int-constant. Specify type. Make upper
9701 bound negative.
9702 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
9703 bound with "U".
9704 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9705 bound with "L".
9706 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
9707 bound negative. Suffix upper bound with "L".
9708 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
9709 bound with "UL".
9710 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
9711 Specify type.
9712 [C99-based standards] (LLONG_MAX): Likewise.
9713 [C99-based standards] (ULLONG_MAX): Likewise.
9714 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
9715 == 0.
9716 [ISO11] (max_align_t): Require type.
9717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9718
c9140a62
JM
9719 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
9720 from $CFLAGS, without defining away __attribute__ calls.
9721 (checknamespace): Use $CFLAGS_namespace.
9722
9af0bf29
JM
9723 * conform/conformtest.pl (@keywords): Only include C99 keywords
9724 for standards based on C99 or C11.
9725
343222a2
JM
9726 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
9727 Disable tests.
9728 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
9729 UNIX98]: Likewise.
9730
661f8cf0
JM
9731 * conform/conformtest.pl: Handle "macro-int-constant" and test for
9732 usability of symbols in #if.
9733
ee74b9cb
JM
9734 * conform/conformtest.pl: If macro or constant types start
9735 "promoted:", expect the symbol to be of the following type
9736 promoted by the integer promotions.
62fde54f 9737
aafc49b3
JM
9738 * conform/conformtest.pl: Parse all "constant" and "macro" lines
9739 in one place. Also handle "macro-constant".
9740
fefdf574
JM
9741 * conform/conformtest.pl: Only accept expected macro values with
9742 "==". Parse all "macro" lines in one place.
9743 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
9744
f2d922fe
JM
9745 * conform/conformtest.pl: Handle braced types on "constant" lines
9746 instead of handling "typed-constant".
9747 * conform/data/signal.h-data: Use "constant" instead of
9748 "typed-constant".
9749
d22956c9
JM
9750 * conform/conformtest.pl: Handle "optional-" at start of lines in
9751 one place rather than duplicating several cases. Handle each
9752 format of "macro" line with initial "optional-".
9753
028e2e38
JM
9754 * conform/conformtest.pl: Only accept expected constant or
9755 optional-constant values with "==". Parse all "constant" lines in
9756 one place. Parse all "optional-constant" lines in one place.
9757 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
9758 * conform/data/fmtmsg.h-data: Likewise.
9759 * conform/data/netinet/in.h-data: Likewise.
9760 * conform/data/tar.h-data: Likewise.
9761 * conform/data/limits.h-data: Use "==" form on "constant" and
9762 "optional-constant" lines.
9763
1b8f2850
JM
9764 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
9765 Use -std=c99 for XOPEN2K.
9766 (@knownproblems): Remove.
9767 (newtoken): Don't check %isknown.
9768
a05a144b
JM
9769 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
9770 Do not expect macro.
9771 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
9772 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
9773 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
9774 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
9775 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
9776 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
9777 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
9778 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
9779 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
9780 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
9781 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
9782 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
9783 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
9784 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
9785 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
9786 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
9787 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
9788 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
9789 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
9790 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
9791 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
9792 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
9793 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
9794 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
9795 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
9796 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
9797 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
9798 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
9799 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
9800 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
9801 [XPG3] (acosh): Likewise.
9802 [XPG3] (asinh): Likewise.
9803 [XPG3] (atanh): Likewise.
9804 [XPG3] (cbrt): Likewise.
9805 [XPG3] (expm1): Likewise.
9806 [XPG3] (ilogb): Likewise.
9807 [XPG3] (log1p): Likewise.
9808 [XPG3] (logb): Likewise.
9809 [XPG3] (nextafter): Likewise.
9810 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
9811 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
9812 [XPG3] (remainder): Likewise.
9813 [XPG3] (rint): Likewise.
9814 [XPG3 || XPG4 || UNIX98] (round): Likewise.
9815 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
9816 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
9817 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
9818 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
9819 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
9820 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
9821 [UNIX98 || XOPEN2K] (scalb): Expect.
9822 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
9823 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
9824 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
9825 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
9826 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
9827 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
9828 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
9829 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
9830 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
9831 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
9832 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
9833 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
9834 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
9835 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
9836 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
9837 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
9838 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
9839 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
9840 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
9841 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
9842 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
9843 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
9844 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
9845 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
9846 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
9847 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
9848 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
9849 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
9850 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
9851 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
9852 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
9853 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
9854 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
9855 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
9856 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
9857 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
9858 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
9859 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
9860 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
9861 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
9862 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
9863 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
9864 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
9865 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
9866 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
9867 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
9868 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
9869 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
9870 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
9871 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
9872 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
9873 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
9874 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
9875 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
9876 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
9877 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
9878 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
9879 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
9880 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
9881 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
9882 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
9883 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
9884 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
9885 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
9886 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
9887 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
9888 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
9889 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
9890 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
9891 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
9892 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
9893 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
9894 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
9895 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
9896 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
9897 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
9898 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
9899 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
9900 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
9901 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
9902 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
9903 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
9904 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
9905 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
9906 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
9907 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
9908 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
9909 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
9910 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
9911 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
9912 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
9913 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
9914 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
9915 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
9916 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
9917 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
9918 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
9919 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
9920 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
9921 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
9922 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
9923 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
9924 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
9925 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
9926 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
9927 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
9928 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
9929 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
9930 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
9931 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
9932 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
9933 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
9934 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
9935 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
9936 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
9937 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
9938 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
9939 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
9940 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
9941 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
9942 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
9943 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
9944 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
9945 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
9946 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
9947 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
9948 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
9949 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
9950 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
9951 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
9952 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
9953 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
9954 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
9955 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
9956 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
9957 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
9958 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
9959
73c5ebe3
JM
9960 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
9961 _XOPEN_SOURCE_EXTENDED for XPG4.
9962
39c33b6c
JM
9963 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
9964
62fde54f
JM
9965 * Makeconfig (localtime): Remove variable.
9966 (inst_localtime-file): Likewise.
9967
0741d64c
AS
99682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
9969
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9971 Update.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9973 Update.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9975 Update.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9977 Update.
9978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9979 Update.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
9981 Update.
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9983 Update.
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
9985 Update.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9987 Update.
9988
7cb029ee
JM
99892012-05-01 Joseph Myers <joseph@codesourcery.com>
9990
9991 [BZ #2550]
9992 [BZ #2570]
9993 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
9994 comparisons to determine direction to adjust input.
9995 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9996 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9998 Likewise.
9999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10000 Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10002 Likewise.
10003 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10004 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10005 Likewise.
10006 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10007 Likewise.
10008 * math/libm-test.inc (nexttoward_test): Add more tests.
10009
412bd966
AS
100102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10011
10012 [BZ #14040]
10013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10014 in version GLIBC_2.1, not GLIBC_2.0.
10015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10016 Likewise.
10017
9568c0c2
JM
100182012-04-30 Joseph Myers <joseph@codesourcery.com>
10019
adfbc8ac
JM
10020 [BZ #13942]
10021 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10022 (1 - x) * (1 + x).
10023 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10024 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10025 * math/libm-test.inc (acos_test): Add more tests.
10026 (asin_test): Likewise.
10027 * sysdeps/i386/fpu/libm-test-ulps: Update.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10029
5ba3cc69
JM
10030 [BZ #14034]
10031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10032 of square root.
10033 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10034 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10035 * math/libm-test.inc (acos_test_tonearest): New function.
10036 (acos_test_towardzero): Likewise.
10037 (acos_test_downward): Likewise.
10038 (acos_test_upward): Likewise.
10039 (asin_test_tonearest): Likewise.
10040 (asin_test_towardzero): Likewise.
10041 (asin_test_downward): Likewise.
10042 (asin_test_upward): Likewise.
10043 (main): Call the new functions.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10046
9568c0c2
JM
10047 [BZ #13884]
10048 [BZ #13924]
10049 * math/e_exp10.c: Include <float.h>.
10050 (__ieee754_exp10): Handle underflow here rather than multiplying
10051 large negative argument by M_LN10.
10052 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10053 of __ieee754_expf.
10054 * math/e_exp10l.c: Include <float.h>.
10055 (__ieee754_exp10l): Handle underflow here rather than multiplying
10056 large negative argument by M_LN10l.
10057 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10058 spurious overflow exception on underflow.
10059
5ac3ea17
MP
100602012-04-29 Marek Polacek <polacek@redhat.com>
10061
10062 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10063 (__fortify_function): New macro.
10064 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10065 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10066 __extern_always_inline.
10067 * libio/bits/stdio2.h: Likewise.
10068 * libio/bits/stdio.h: Likewise.
10069 * string/string.h: Likewise.
10070 * string/bits/string3.h: Likewise.
10071 * include/stdio.h: Likewise.
10072 * stdlib/bits/stdlib.h: Likewise.
10073 * stdlib/stdlib.h: Likewise.
10074 * rt/bits/mqueue2.h: Likewise.
10075 * rt/mqueue.h: Likewise.
10076 * posix/bits/unistd.h: Likewise.
10077 * posix/unistd.h: Likewise.
10078 * io/bits/poll2.h: Likewise.
10079 * io/bits/fcntl2.h: Likewise.
10080 * io/fcntl.h: Likewise.
10081 * io/sys/poll.h: Likewise.
10082 * misc/bits/syslog.h: Likewise.
10083 * misc/bits/syslog-ldbl.h: Likewise.
10084 * misc/sys/syslog.h: Likewise.
10085 * socket/bits/socket2.h: Likewise.
10086 * socket/sys/socket.h: Likewise.
10087 * debug/tst-chk1.c: Likewise.
10088 * wcsmbs/bits/wchar2.h: Likewise.
10089 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10090 * wcsmbs/wchar.h: Likewise.
10091
ecf0ebfb
AJ
100922012-04-29 Andreas Jaeger <aj@suse.de>
10093
10094 * Makerules (tests): Remove enable-check-abi protection.
10095 (check-abi-warn): Remove.
10096 (check-abi-%): Remove check-abi-warn usage.
10097
10098 * configure.in: Remove check-abi configure option.
10099 * configure: Regenerated.
10100 * config.make.in (enable-check-abi): Remove.
10101
6d5c57fa
AS
101022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10103
24c5d07e 10104 [BZ #14033]
ded5180a
AS
10105 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10106 double functions to double *_finite functions.
10107
7e0d315d
AS
10108 [BZ #13941]
10109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10110 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10111 LDBL_MIN_EXP.
10112 * stdio-common/Makefile (tests): Add tst-sprintf3.
10113 * stdio-common/tst-sprintf3.c: New file.
10114
6d5c57fa
AS
10115 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10116 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10117
0749ff8b
JM
101182012-04-28 Joseph Myers <joseph@codesourcery.com>
10119
10120 * conform/conformtest.pl: Remove duplicate typed-constant
10121 handling.
10122
8dbd5d7b
DM
101232012-04-28 David S. Miller <davem@davemloft.net>
10124
10125 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10126 (check-abi-%): Remove AWK script prerequisite and explicit
10127 abilist directory.
10128 (check-abi): Rewrite to just diff the symlist with the abilist.
10129 (config-tls, config-abi-config): Delete, no longer used.
10130 (update-abi-%): Remove AWK script and explicit abilist directory.
10131 (update-abi): Rewrite to simply compare and conditionally copy the
10132 symlist and the sysdep abilist file. Remove update-abi-config
10133 checks.
10134 * abilist/ld.abilist: Remove.
10135 * abilist/libBrokenLocale.abilist: Remove.
10136 * abilist/libanl.abilist: Remove.
10137 * abilist/libcrypt.abilist: Remove.
10138 * abilist/libdl.abilist: Remove.
10139 * abilist/librt.abilist: Remove.
10140 * abilist/libthread_db.abilist: Remove.
10141 * abilist/libutil.abilist: Remove.
10142 * scripts/extract-abilist.awk: Remove.
10143 * scripts/merge-abilist.awk: Remove.
10144 * sysdeps/generic/libcidn.abilist: New file.
10145 * sysdeps/generic/libnss_compat.abilist: New file.
10146 * sysdeps/generic/libnss_db.abilist: New file.
10147 * sysdeps/generic/libnss_dns.abilist: New file.
10148 * sysdeps/generic/libnss_files.abilist: New file.
10149 * sysdeps/generic/libnss_hesiod.abilist: New file.
10150 * sysdeps/generic/libnss_nis.abilist: New file.
10151 * sysdeps/generic/libnss_nisplus.abilist: New file.
10152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10153 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10155 file.
10156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10157 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10158 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10159 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10160 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10161 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10162 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10163 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10164 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10165 file.
10166 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10167 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10168 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10169 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10170 file.
10171 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10172 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10173 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10174 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10176 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10177 file.
10178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10179 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10181 file.
10182 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10184 New file.
10185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10186 New file.
10187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10188 New file.
10189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10190 New file.
10191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10192 New file.
10193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10194 New file.
10195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10196 New file.
10197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10198 New file.
10199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10200 New file.
10201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10202 New file.
10203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10204 New file.
10205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10206 New file.
10207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10208 New file.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10210 file.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10212 New file.
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10214 New file.
10215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10216 file.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10218 New file.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10220 New file.
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10222 file.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10224 New file.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10226 New file.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10228 New file.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10230 New file.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10232 New file.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10234 New file.
10235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10237 file.
10238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10239 New file.
10240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10241 file.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10243 file.
10244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10245 file.
10246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10247 file.
10248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10249 file.
10250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10251 New file.
10252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10253 file.
10254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10255 file.
10256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10257 New file.
10258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10259 file.
10260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10262 file.
10263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10264 New file.
10265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10266 file.
10267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10268 file.
10269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10270 file.
10271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10272 file.
10273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10274 file.
10275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10276 New file.
10277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10278 file.
10279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10280 file.
10281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10282 New file.
10283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10284 file.
10285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10286 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10287 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10288 file.
10289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10290 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10291 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10292 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10293 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10294 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10295 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10297 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10298 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10301 file.
10302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10303 New file.
10304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10305 file.
10306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10307 file.
10308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10309 file.
10310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10311 file.
10312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10313 file.
10314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10315 New file.
10316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10317 New file.
10318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10319 file.
10320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10321 New file.
10322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10323 file.
10324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10326 file.
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10328 New file.
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10330 file.
10331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10332 file.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10334 file.
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10336 file.
10337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10338 file.
10339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10340 New file.
10341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10342 New file.
10343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10344 file.
10345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10346 New file.
10347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10348 file.
10349
41d73a1b
JM
103502012-04-28 Joseph Myers <joseph@codesourcery.com>
10351
10352 * conform/conformtest.pl: Fix typo in handling typed-constant from
10353 allow-header.
10354
28aeeda4
JM
103552012-04-27 Joseph Myers <joseph@codesourcery.com>
10356
adae8f5e
JM
10357 * README: Cut down references to pre-2.6 Linux kernels and
10358 Linuxthreads. Update lists of configurations in libc and ports
10359 and sort alphabetically. Say "or newer" with Linux kernel version
10360 requirements.
10361
28aeeda4
JM
10362 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10363
a462cb63
RA
103642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10365
10366 [BZ #887]
10367 * math/libm-test.inc (logb_test_downward): New test to expose
10368 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10369 rounding mode.
10370
6ad3493e
JM
103712012-04-27 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #14027]
10374 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10375 to be done.
10376 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10377 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10378
2ce4f015
JM
103792012-04-26 Joseph Myers <joseph@codesourcery.com>
10380
5aeb141a
JM
10381 * sysdeps/unix/i386/brk.S: Remove file.
10382 * sysdeps/unix/i386/dl-brk.S: Likewise.
10383 * sysdeps/unix/i386/pipe.S: Likewise.
10384 * sysdeps/unix/i386/sigreturn.S: Likewise.
10385 * sysdeps/unix/i386/syscall.S: Likewise.
10386 * sysdeps/unix/i386/vfork.S: Likewise.
10387 * sysdeps/unix/i386/wait.S: Likewise.
10388
7143acae
JM
10389 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10390 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10391
2ce4f015
JM
10392 * configure.in (arm*-none*): Do not allow without
10393 --enable-hacker-mode.
10394 (netbsd*): Remove case setting base_os.
10395 (386bsd*): Likewise.
10396 (freebsd*): Likewise.
10397 (bsdi*): Likewise.
10398 (osf*): Likewise.
10399 (sunos*): Likewise.
10400 (ultrix*): Likewise.
10401 (newsos*): Likewise.
10402 (dynix*): Likewise.
10403 (*bsd*): Likewise.
10404 (sysv*): Likewise.
10405 (isc*): Likewise.
10406 (esix*): Likewise.
10407 (sco*): Likewise.
10408 (minix*): Likewise.
10409 (irix4*): Likewise.
10410 (irix6*): Likewise.
10411 (solaris[2-9]*): Likewise.
10412 (none): Likewise.
10413 * configure: Regenerated.
10414
0ac229c8
AZ
104152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10416
10417 [BZ #11521]
10418 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10419 overflow or cancellation in calculating denominator.
10420 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10422 down expression to avoid unexpected rounding in newer GCCs.
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10424
33f244f4
DM
104252012-04-26 David S. Miller <davem@davemloft.net>
10426
10427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10428 long-double compat symbols.
10429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10442
cfa1f3e8
DM
104432012-04-25 David S. Miller <davem@davemloft.net>
10444
10445 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10446 HWCAP_* values only after the memory barriers have been defined.
10447 (atomic_full_barrier): Define.
10448 (atomic_read_barrier): Define.
10449 (atomic_write_barrier): Define.
10450
6e236b92
SP
104512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10452
10453 * shlib-versions: Add libgcc_s version information.
10454 * sysdeps/generic/libgcc_s.h: Remove.
10455 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10456 libgcc_s.h.
10457 * sysdeps/gnu/unwind-resume.c: Likewise.
10458 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10459
aab39a09
DM
104602012-04-25 David S. Miller <davem@davemloft.net>
10461
10462 * sysdeps/unix/sparc/brk.S: Delete.
10463 * sysdeps/unix/sparc/dl-brk.S: Delete.
10464 * sysdeps/unix/sparc/pipe.S: Delete.
10465 * sysdeps/unix/sparc/sysdep.S: Delete.
10466 * sysdeps/unix/sparc/sysdep.h: Delete.
10467 * sysdeps/unix/sparc/vfork.S: Delete.
10468 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10469 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10471 ret_ERRVAL, r0, r1, MOVE): Define.
10472 (JUMPTARGET): Remove.
10473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10474 sysdeps/unix/sparc/sysdep.h
10475 (ENTRY, END): Remove.
10476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10477
a3cc4f48
JM
104782012-04-25 Joseph Myers <joseph@codesourcery.com>
10479
2ed8cda2
JM
10480 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10481 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10482 -DIS_IN_build.
10483
35d76d59
JM
10484 * timezone/README: Update upstream location and email address for
10485 tzcode and tzdata.
10486 * timezone/zdump.c: Update from tzcode 2012b.
10487 * timezone/zic.c: Likewise.
10488
a3cc4f48
JM
10489 * configure.in (libc_cv_as_needed): Remove test.
10490 * configure: Regenerated.
10491 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10492 conditional definition.
10493 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10494 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10495 * config.make.in (have-as-needed): Remove variable.
10496
ceab42c3
SP
104972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10498 Paul Pluzhnikov <ppluzhnikov@google.com>
10499
10500 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10501 strings correctly.
10502
3ce2865f
CLT
105032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10504
10505 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10506 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10507 * sysdeps/sh/strlen.S: Likewise.
10508
f37e0d68
JM
105092012-04-24 Joseph Myers <joseph@codesourcery.com>
10510
ae186e9a
JM
10511 * sysdeps/unix/fork.S: Remove file.
10512 * sysdeps/unix/i386/fork.S: Likewise.
10513 * sysdeps/unix/sparc/fork.S: Likewise.
10514
b96914af
JM
10515 * sysdeps/unix/system.c: Remove file.
10516 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
10517
f37e0d68
JM
10518 * sysdeps/unix/getegid.S: Remove file.
10519 * sysdeps/unix/geteuid.S: Likewise.
10520
87ef29ca
RM
105212012-04-24 Roland McGrath <roland@hack.frob.com>
10522
83bcd236
RM
10523 * scripts/check-localplt.awk: New file.
10524 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
10525 of diff.
10526 * scripts/data/localplt-generic.data: Add a comment.
10527
87ef29ca
RM
10528 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
10529 NODE when __dir_mkfile failed.
10530 * sysdeps/mach/hurd/symlinkat.c: Likewise.
10531 Reported by Ludovic Courtès <ludo@gnu.org>.
10532
e5a6e567
AJ
105332012-04-24 Andreas Jaeger <aj@suse.de>
10534
10535 * Makerules (common-clean): Also remove gen-as-const-headers
10536 files.
10537
c1820385
JM
105382012-04-24 Joseph Myers <joseph@codesourcery.com>
10539
10540 * Makerules (native-compile): Do not change working directory for
10541 build. Use $(OUTPUT_OPTION) in command.
10542 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
10543
94e02fc4
AZ
105442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10545
10546 [BZ #13886]
10547 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
10548 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
10549 * math/libm-test.inc (floor_test): Add more tests.
10550 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
10551
3a533ca3
JM
105522012-04-24 Joseph Myers <joseph@codesourcery.com>
10553
940ab4b3
JM
10554 * sysdeps/unix/getdents.c: Remove file.
10555 * sysdeps/unix/sysv/getdents.c: Likewise.
10556 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
10557
90e037bd
JM
10558 * sysdeps/unix/syscalls.list (madvise): Add syscall from
10559 sysdeps/unix/mman/syscalls.list.
10560 (mmap): Likewise.
10561 (mprotect): Likewise.
10562 (msync): Likewise.
10563 (munmap): Likewise.
10564 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
10565 * sysdeps/unix/mman/syscalls.list: Remove.
10566 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
10567
3a533ca3
JM
10568 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
10569 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
10570 * configure: Regenerated.
10571 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
10572 $(libgcc_s_suffix).
10573 * config.make.in (libgcc_s_suffix): Remove variable.
10574
1ad743de
JM
105752012-04-23 Joseph Myers <joseph@codesourcery.com>
10576
4ad451e2
JM
10577 * sysdeps/unix/sysv/gethostname.c: Move to ...
10578 * sysdeps/posix/gethostname.c: ... here.
10579
5e37ce39
JM
10580 * sysdeps/unix/execve.S: Remove file.
10581
1ad743de
JM
10582 * sysdeps/unix/_exit.S: Remove file.
10583
4e681b5b
AJ
105842012-04-23 Andreas Jaeger <aj@suse.de>
10585
10586 [BZ #13739]
10587 * manual/Makefile: Remove make dist support, there's no
10588 need for a stand-alone documentation tar ball.
10589 (TEXI2DVI): Define always, it's not in Makeconfig.
10590 (dist): Removed.
10591 (tar-it): Removed.
10592 (edition): Removed.
10593 (glibc-doc-$(edition).tar): Removed
10594 (%.Z): Removed.
10595 (%.gz): Removed.
10596 (%.uu): Removed.
10597 (ETAGS): Remove, it's in Makeconfig.
10598 (move-if-change): Remove, it's in Makeconfig.
10599
c0baea34
PE
106002013-04-23 Paul Eggert <eggert@cs.ucla.edu>
10601
10602 [BZ #13970]
10603 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
10604 (strtod, strtof, strtold, strtol, strtoul, strtoq)
10605 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
10606 (strtod_l, strtof_l, strtold_l): Remove __wur.
10607 It is not necessarily an error to ignore strtol's return value.
10608 One can reliably look at the stored endptr to decide whether
10609 the number had valid syntax.
10610
7c0616fa
AJ
106112012-04-21 Andreas Jaeger <aj@suse.de>
10612
803cb6b7 10613 [BZ #13739]
7c0616fa
AJ
10614 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
10615
b0fe253f
JM
106162012-04-21 Joseph Myers <joseph@codesourcery.com>
10617
10618 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
10619 * sysdeps/unix/sysv/Versions: Remove file.
10620
8280f22d
MT
106212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
10622
10623 [BZ #13927]
10624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10625
75ce411f 106262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
10627
10628 [BZ #7064]
10629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10630 version from __vm86.
10631
097d59fa
JM
106322012-04-20 Joseph Myers <joseph@codesourcery.com>
10633
a90f3bcb
JM
10634 * sysdeps/unix/common/lxstat.c: Remove file.
10635 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
10636
edc7ea78
JM
10637 * sysdeps/unix/sysv/Makefile: Remove file.
10638
cb78c221
JM
10639 * sysdeps/unix/sysv/direct.h: Remove file.
10640
efa6a45f
JM
10641 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
10642 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
10643 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
10644 * sysdeps/unix/sysv/bits/signum.h: Likewise.
10645 * sysdeps/unix/sysv/bits/stat.h: Likewise.
10646 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
10647 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
10648
9c9f2d0c
JM
10649 * sysdeps/unix/sysv/setrlimit.c: Remove file.
10650
4541c83b
JM
10651 * sysdeps/unix/xmknod.c: Remove file.
10652 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
10653
f5d153a0
JM
10654 * sysdeps/unix/sysv/settimeofday.c: Remove file.
10655
aa746595
JM
10656 * sysdeps/unix/sysv/i386/time.S: Remove file.
10657
cce5905e
JM
10658 * sysdeps/unix/fxstat.c: Remove file.
10659 * sysdeps/unix/xstat.c: Likewise.
10660 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
10661
37fa3841
JM
10662 * sysdeps/unix/sysv/sigaction.c: Remove file.
10663
ff1962a3
JM
10664 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
10665 (sysdep_headers): Remove variable.
10666 [termio.h not in sysdep_headers] (generated): Likewise.
10667 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
10668 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
10669 * sysdeps/unix/sysv/tcdrain.c: Likewise.
10670 * sysdeps/unix/sysv/tcflow.c: Likewise.
10671 * sysdeps/unix/sysv/tcflush.c: Likewise.
10672 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
10673 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
10674 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
10675 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
10676 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
10677
e7740d31
JM
10678 * sysdeps/unix/siglist.c: Remove file.
10679
ee06f18b
JM
10680 * sysdeps/unix/getppid.S: Remove file.
10681
097d59fa
JM
10682 * sysdeps/unix/mkdir.c: Remove file.
10683 * sysdeps/unix/rmdir.c: Likewise.
10684
ff3d51ec
AS
106852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
10686
10687 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
10688 ERR_MAX value.
10689 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
10690 errlist-compat value.
10691
50f81fd7
DM
106922012-04-18 David S. Miller <davem@davemloft.net>
10693
10694 * sysdeps/generic/memcopy.h (reg_char): Delete.
10695 * debug/strcat_chk.c: Use char, not reg_char.
10696 * debug/strcpy_chk.c: Likewise.
10697 * debug/strncat_chk.c: Likewise.
10698 * debug/strncpy_chk.c: Likewise.
10699 * string/memchr.c: Likewise.
10700 * string/memrchr.c: Likewise.
10701 * string/rawmemchr.c: Likewise.
10702 * string/strcat.c: Likewise.
10703 * string/strchr.c: Likewise.
10704 * string/strchrnul.c: Likewise.
10705 * string/strcmp.c: Likewise.
10706 * string/strcpy.c: Likewise.
10707 * string/strncat.c: Likewise.
10708 * string/strncmp.c: Likewise.
10709 * string/strncpy.c: Likewise.
10710
8ff41c46
WS
107112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10712
10713 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
10714 __builtin_memcopy is called when src and dest ranges are known to not
10715 overlap.
10716
6b652f46
WS
107172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10718
10719 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
10720 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
10721 fwd_align_merge macro call.
10722 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
10723 bwd_align_merge macro call.
10724 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10725
b282631e
WS
107262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
10727
10728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
10729 bwd_align_merge macros.
10730 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
10731 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
10732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
10733
95aa737c
DM
107342012-04-18 David S. Miller <davem@davemloft.net>
10735
10736 * sysdeps/sparc/sparc64/memcopy.h: Delete.
10737
7a99a614
AJ
107382012-04-18 Andreas Jaeger <aj@suse.de>
10739
10740 [BZ# 6794]
10741 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
10742 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
10743 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10744
10745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
10746 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
10747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10748
10749 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
10750 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
10751 Adjust for changed ldbl-128 files.
10752
10753 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
10754 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
10755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
10756
e5270c23
DM
107572012-04-17 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/sparc/sparc32/memcopy.h: Delete.
10760
fb5e92c9
AS
107612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
10762
10763 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
10764 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
10765 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
10766 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
10767 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10768 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
10769
76da7265
AZ
107702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771
10772 [BZ #6794]
10773 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
10774 * math/libm-test.inc: Add ilogb errno and exception tests.
10775 * math/w_ilogb.c: New file: ilogb wrapper.
10776 * math/w_ilogbf.c: New file: ilogbf wrapper.
10777 * math/w_ilogbl.c: New file: ilogbl wrapper.
10778 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
10779 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
10780 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
10781 exception being thrown with 0.0 as argument.
10782 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
10783 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
10784 exception being thrown with 0.0 as argument.
10785 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
10786 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10787 exception being thrown with 0.0 as argument.
10788 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
10789 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
10790 exception being thrown with 0.0 as argument.
10791 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
10792 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 10793 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
10794 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
10795 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
10796 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
10797 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
10798 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
10799 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
10800
0396e69d
PB
108012012-04-17 Petr Baudis <pasky@ucw.cz>
10802
10803 * include/sys/uio.h: Change __vector to __iovec to avoid clash
10804 with altivec.
10805
750b5926
MP
108062012-04-16 Marek Polacek <polacek@redhat.com>
10807
10808 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
10809
751728a1
MP
108102012-04-16 Marek Polacek <polacek@redhat.com>
10811
10812 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
10813 operands of fdivp instruction.
10814
34a27407
L
108152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
10818 * elf/tst-auditmod3b.c: Likewise.
10819 * elf/tst-auditmod4b.c: Likewise.
10820 * elf/tst-auditmod5b.c: Likewise.
10821 * elf/tst-auditmod6b.c: Likewise.
10822 * elf/tst-auditmod6c.c: Likewise.
10823 * elf/tst-auditmod7b.c: Likewise.
10824 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
10825 * sysdeps/x86_64/preconfigure.in: Likewise.
10826 * sysdeps/x86_64/preconfigure: Regenerated.
10827
7e73e17d
L
108282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
10831 __ILP32__.
10832
c7a6ab72
AB
108332012-04-13 Antoine Balestrat <merkil33@gmail.com>
10834
10835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10836 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
10837
a9e8e0e0
CL
108382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
10839
10840 [BZ #13973]
10841 * locale/iso-639.def: Fix gl language name. Spotted by
10842 Yaron Shahrabani.
10843
ec98af7d
RM
108442012-04-12 Roland McGrath <roland@hack.frob.com>
10845
10846 [BZ #2074]
10847 * libio/libio.h (__io_write_fn): Update comment.
10848
247c3ede
PB
108492012-04-12 Petr Baudis <pasky@ucw.cz>
10850
10851 [BZ #2074]
10852 * stdio.texi (Hook Functions): The user provided writer function
10853 is not allowed to return -1.
10854
55939d6d
DM
108552012-04-11 David S. Miller <davem@davemloft.net>
10856
10857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10858
90020f5a
MF
108592012-04-11 Mike Frysinger <vapier@gentoo.org>
10860
10861 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
10862 Add a leading slash to rtkaio.
10863
288f9098
JM
108642012-04-11 Jim Meyering <meyering@redhat.com>
10865
90020f5a
MF
10866 [BZ #11959]
10867 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
10868 It is not necessarily an error to ignore fwrite's return
10869 value. One can reliably use ferror to test for errors after
10870 the fact.
288f9098 10871
4be2b570
L
108722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 * bits/types.h (__snseconds_t): New type.
10875 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
10876
10877 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
10878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10879 (__SNSECONDS_T_TYPE): Likewise.
10880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10881 (__SNSECONDS_T_TYPE): Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10883 (__SNSECONDS_T_TYPE): Likewise.
10884
288f9098 108852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
10886
10887 [BZ #2636]
10888 * manual/time.texi (Processor Time): Return type of times is
10889 elapsed real time since an arbitrary point in the past.
10890 (CPU Time): Move CLK_TCK from here...
10891 (Processor Time): ...to here. Correct description.
10892 * manual/conf.texi (Constants for Sysconf): Correct description of
10893 _SC_CLK_TCK.
10894
d7dd4413
DM
108952012-04-10 David S. Miller <davem@davemloft.net>
10896
10897 [BZ #13967]
10898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
10899 where the is a gap between DT_REL(A) and DT_JMPREL.
10900
b46068fc
L
109012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
10902
10903 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10904 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
10905 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
10906
73d65cc3
SP
109072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10908
10909 * elf/dl-support.c (_dl_inhibit_cache): New variable.
10910 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
10911 (dl_main): Handle --inhibit-cache.
10912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
10913 _dl_inhibit_cache.
10914 * elf/dl-load.c (_dl_map_object): Use it.
10915 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10916
bcc8d661
JM
109172012-04-09 Joseph Myers <joseph@codesourcery.com>
10918
8f9a2fae
JM
10919 [BZ #13872]
10920 * sysdeps/i386/fpu/e_powl.S (p78): New object.
10921 (__ieee754_powl): Saturate large exponents rather than testing for
10922 overflow of y*log2(x).
10923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10924 * math/libm-test.inc (pow_test): Do not permit spurious overflow
10925 exceptions.
10926
bcc8d661
JM
10927 [BZ #11521]
10928 * math/s_ctan.c: Include <float.h>.
10929 (__ctan): Avoid internal overflow or cancellation in calculating
10930 denominator.
10931 * math/s_ctanf.c: Likewise.
10932 * math/s_ctanl.c: Likewise.
10933 * math/s_ctanh.c: Likewise.
10934 * math/s_ctanhf.c: Likewise.
10935 * math/s_ctanhl.c: Likewise.
10936 * math/libm-test.inc (ctan_test): Add more tests.
10937 (ctanh_test): Likewise.
10938 * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10940
823fbbb4
AJ
109412012-04-09 Andreas Jaeger <aj@suse.de>
10942
03879793
AJ
10943 [BZ #6894]
10944 * manual/filesys.texi (Directory Entries): Mention that d_namlen
10945 is an optional BSD extension.
10946
823fbbb4
AJ
10947 [BZ #10254]
10948 * manual/stdio.texi (Opening Streams): Document additional fopen
10949 parameters.
10950
8de131cb
RM
109512012-04-09 Roland McGrath <roland@hack.frob.com>
10952
10953 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
10954 %eax without telling the compiler.
10955
c0ed9d7d
CD
109562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
10957
10958 [BZ # 13963]
10959 * manual/install.texi: Use sourceware.org.
10960
c483f6b4
JM
109612012-04-09 Joseph Myers <joseph@codesourcery.com>
10962
d7dd9453
JM
10963 [BZ #13873]
10964 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
10965 (__ieee754_pow): Generate overflow and underflow using huge*huge
10966 and tiny*tiny rather than just returning constant infinity or zero
10967 for large exponents.
10968 * math/libm-test.inc (pow_test): Require overflow exceptions for
10969 applicable cases of large exponents.
10970
c483f6b4
JM
10971 [BZ #706]
10972 * sysdeps/i386/fpu/e_pow.S (p10): New object.
10973 (__ieee754_pow): Use iterative multiplication algorithm only for
10974 integer exponents with absolute value below 1024. Check for odd
10975 integer exponents when using algorithm for real exponents.
10976 * math/libm-test.inc (pow_test): Add more tests.
10977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10978
d2de7579
JM
109792012-04-08 Joseph Myers <joseph@codesourcery.com>
10980
10981 [BZ #13705]
10982 * math/libm-test.inc (exp_test): Do not allow overflow exception
10983 on underflow test.
10984
f77f1232
AJ
109852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
10986
10987 [BZ #13705]
10988 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
10989 instead of __kernel_standard_f.
10990
3884932b
MF
109912012-04-08 Mike Frysinger <vapier@gentoo.org>
10992
10993 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
10994 * sysdeps/x86_64/memset_chk.S: Likewise.
10995
54472e9c
AJ
109962012-04-08 Andreas Jaeger <aj@suse.de>
10997
6ab0fbfc
AJ
10998 [BZ #10153]
10999 * manual/startup.texi (Environment Access): Describe return value
11000 for putenv and setenv.
11001
61efba8c
AJ
11002 [BZ #6895]
11003 * manual/filesys.texi (Directory Entries): Add description for
11004 DT_LNK.
11005
95c3f29a
AJ
11006 [BZ #6890]
11007 * manual/filesys.texi (Directory Entries): Clarify that it's file
11008 system not operating system in the description of DT_UNKNOWN.
11009
54472e9c
AJ
11010 [BZ #6578]
11011 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11012
624254b1
SC
110132012-04-08 Stephen Compall <s11@member.fsf.org>
11014
11015 [BZ #6649]
11016 * manual/llio.texi (Opening and Closing Files): Add cross
11017 reference to explain mode argument.
11018
1e4920e0
MF
110192012-04-07 Mike Frysinger <vapier@gentoo.org>
11020
11021 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11022 * sysdeps/x86_64/memset_chk.S: Likewise.
11023
5ed848f3
DM
110242012-04-07 David S. Miller <davem@davemloft.net>
11025
11026 * elf/elf.h (R_SPARC_WDISP10): Define.
11027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11028 R_SPARC_SIZE32.
11029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11030 R_SPARC_SIZE64 and R_SPARC_H34.
11031
96154cd8
CD
110322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11033
11034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11035 conditions and remove no longer applicable assertion.
11036
9904dc47
L
110372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * bits/byteswap.h: Include <features.h>.
11040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11042
f8887d0a
L
110432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * bits/byteswap.h (__bswap_16): Removed.
11046 Include <bits/byteswap-16.h> to get __bswap_16.
11047 * sysdeps/i386/bits/byteswap.h: Likewise.
11048 * sysdeps/s390/bits/byteswap.h: Likewise.
11049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11050 * bits/byteswap-16.h: New file.
11051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11052 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11053 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11054 * string/Makefile (headers): Add bits/byteswap-16.h.
11055
62470f60
PP
110562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11057
11058 [BZ #13895]
11059 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11060 extra indirection.
11061 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11062 * nss/tst-nss-static.c: New.
11063
4dad7bab
RM
110642012-04-06 Robert Millan <rmh@gnu.org>
11065
11066 [BZ #6486]
11067 * manual/llio.texi (File Position Primitive): lseek
11068 refers to WHENCE when it really means OFFSET.
11069
e9142a17
AJ
110702012-04-06 Andreas Jaeger <aj@suse.de>
11071
2c040eff
AJ
11072 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11073 strncmp declarations.
11074
e9142a17
AJ
11075 * abilist/libc.abilist: Add __poll and __ppoll.
11076
ff9f1c5f
DM
110772012-04-05 David S. Miller <davem@davemloft.net>
11078
dcd2ae90
DM
11079 * scripts/check-local-headers.sh: Accept a host triplet in the
11080 path matched by the exclude regexp.
11081
993eb054
DM
11082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11083 definition.
11084 * sysdeps/powerpc/powerpc32/dl-machine.h
11085 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11086 * sysdeps/s390/s390-32/dl-machine.h
11087 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11088 * sysdeps/sparc/sparc32/dl-machine.h
11089 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11090 * sysdeps/sparc/sparc64/dl-machine.h
11091 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11092
ff9f1c5f
DM
11093 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11094 lazy binding.
48e2e132 11095 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11096 undefined symbol errors.
11097
48e2e132 11098 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11099 DT_NEEDED entries.
11100
e80d6f94
MM
111012012-04-05 Michael Matz <matz@suse.de>
11102
11103 [BZ #13592]
11104 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11105
349fa79f
AJ
111062012-04-05 Andreas Jaeger <aj@suse.de>
11107
11108 [BZ #13908]
11109 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11110 comment.
11111
f402708f
KK
111122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11113
11114 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11115 which ROUND is no valid rounding mode.
11116
2ecccfc9
KK
111172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11118
11119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11120 read again.
11121 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11122
8a53f50f
KK
111232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11124
11125 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11126 an exception using FPU order intentionally.
11127
111282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11129
11130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11131 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11132 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11133 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11134
d653abb7
SJ
111352012-04-05 Simon Josefsson <simon@josefsson.org>
11136
11137 [BZ #12340]
11138 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11139 EINVAL when BUFLEN is too smal.
11140
c3b1bf7d
TS
111412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11142
11143 [BZ #13553]
11144 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11145 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11146
b1aa60f3
AJ
111472012-04-03 Andreas Jaeger <aj@suse.de>
11148
c3b1bf7d 11149 [BZ #13938]
67f60a26
AJ
11150 * manual/setjmp.texi (System V contexts): Fix sentence.
11151
b1aa60f3
AJ
11152 [BZ #13926]
11153 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11154 New macro for this case.
11155 [!__GNUC__] (__bswap_64): New inline function for this case.
11156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11157 * bits/byteswap.h: Likewise.
11158 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11159 ull, guard with __GLIBC_HAVE_LONG_LONG.
11160
11161 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11162 __GLIBC_HAVE_LONG_LONG.
11163
11164 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11165 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11166
39c59c35
TMQMF
111672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11168
11169 [BZ #13691]
11170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11171 inptr and inend, rather than using last_ch.
11172
135ffda8
DM
111732012-04-02 David S. Miller <davem@davemloft.net>
11174
11175 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11176 * stdio-common/printf-parse.h (read_int): Change return type to
11177 'int', return -1 on INT_MAX overflow.
11178 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11179 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11180 overflows INT_MAX. Check for overflow of in-format-string precision
11181 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11182 SIZE_MAX not INT_MAX for integer overflow test.
11183 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11184 skip the construct in the format string but do not record anything.
11185 * stdio-common/bug22.c: Adjust to test both width/prevision
11186 INT_MAX overflow as well as total length INT_MAX overflow. Check
11187 explicitly for proper errno values.
11188
228c019e
TS
111892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11190
302cadd3
TS
11191 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11192 CHAR_MAX.
11193 * string/test-strcmp.c [! WIDE]: Likewise.
11194 * time/tst-mktime2.c: Likewise for INT_MAX.
11195 * string/test-string.h: #include <sys/param.h> for MIN.
11196
228c019e
TS
11197 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11198 * sysdeps/i386/init-first.c (init): Likewise.
11199 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11200 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11201 * sysdeps/sh/init-first.c (init): Likewise.
11202
cfa633f5
UD
112032012-04-01 Ulrich Drepper <drepper@gmail.com>
11204
11205 * po/ru.po: Update from translation team.
d1635ef8 11206 * po/vi.po: Likewise.
cfa633f5 11207
6cd0a5ea
SP
112082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11209
11210 * resolv/nss_dns/dns-host.c: Merge copyright years.
11211
4b43400f
LD
112122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11213
11214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11215 Optimize memcpy with prefetch if
11216 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11217 src, dst pointers have unequal 16 byte alignments.
11218
48c41d04
SP
112192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11220
11221 [BZ #13928]
11222 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11223 from a CNAME entry and return the minimum ttl for the query.
11224 (gaih_getanswer_slice): Likewise.
11225
b8dc394d
JL
112262012-03-30 Jeff Law <law@redhat.com>
11227
11228 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11229 due to long keys.
11230 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11231 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11232
2f5a5ed0
JL
11233 * resolv/nss_dns/dns-host.c: Update copyright year.
11234
1d39e359
UD
112352012-03-30 Ulrich Drepper <drepper@gmail.com>
11236
c030f70c 11237 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11238 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11239
1d39e359
UD
11240 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11241 comments for sendmmsg.
11242
112432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11244
11245 [BZ #13691]
11246 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11247 with only 1 character between 0x0041 and 0x01b0.
11248 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11249 * wcsmbs/tst-mbsnrtowcs.c: New file.
11250
20fde227
DM
112512012-03-29 David S. Miller <davem@davemloft.net>
11252
11253 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11254 small copies by hand.
11255
984a4237
JL
112562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11257
11258 [BZ #13761]
11259 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11260 _nss_compat_initgroups_dyn): Fall back to malloc/free
11261 for large group memberships.
11262
18c9d62b
DM
112632012-03-28 David S. Miller <davem@davemloft.net>
11264
88d85d4f
DM
11265 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11266 that branches into memcpy.
11267 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11270 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11272 bits.
11273 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11274 implementation too.
11275 * sysdeps/sparc/mempcpy.S: New file.
11276
e5aa83e1
DM
11277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11278 the IFUNC routine in the libc case.
11279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11280
88570753
DM
11281 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11282 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11283 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11284 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11285 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11286 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11287 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11288 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11289
249d7567
DM
11290 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11291 loop to 256 bytes instead of 64 bytes and fix test signedness.
11292
18c9d62b
DM
11293 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11294 * sysdeps/sparc/sparc32/Makefile: rather than here...
11295 * sysdeps/sparc/sparc64/Makefile: and here.
11296
05f3d1f6
UD
112972012-03-28 Ulrich Drepper <drepper@gmail.com>
11298
11299 * malloc/mallocbug.c: Avoid warnings about unused variables.
11300
86ae07a8
JL
113012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11302
11303 [BZ #13760]
11304 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11305 in the right place. Discard and retry query if response is
11306 larger than input buffer size.
11307
41bf21a1
JM
113082012-03-28 Joseph Myers <joseph@codesourcery.com>
11309
d6270972
JM
11310 [BZ #369]
11311 [BZ #2678]
11312 [BZ #3866]
11313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11314 x for large integer exponent.
11315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11316 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11317 sign of result as needed afterwards.
11318 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11320 result for underflowing pow the same as for overflow.
11321 (__kernel_standard_l): Handle powl overflow and underflow here
11322 rather than calling __kernel_standard.
11323 * math/libm-test.inc (pow_test): Add more tests.
11324
414fca03 11325 [BZ #3868]
41bf21a1
JM
11326 [BZ #13879]
11327 [BZ #13910]
11328 [BZ #13911]
11329 [BZ #13912]
11330 [BZ #13913]
11331 [BZ #13915]
11332 [BZ #13916]
11333 [BZ #13917]
11334 [BZ #13918]
11335 [BZ #13919]
11336 [BZ #13920]
11337 [BZ #13921]
11338 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11339 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11340 (__kernel_standard_l): New function.
11341 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11342 __kernel_standard.
11343 * math/w_acosl.c (__acosl): Likewise.
11344 * math/w_asinl.c (__asinl): Likewise.
11345 * math/w_atan2l.c (__atan2l): Likewise.
11346 * math/w_atanhl.c (__atanhl): Likewise.
11347 * math/w_coshl.c (__coshl): Likewise.
11348 * math/w_exp10l.c (__exp10l): Likewise.
11349 * math/w_exp2l.c (__exp2l): Likewise.
11350 * math/w_fmodl.c (__fmodl): Likewise.
11351 * math/w_hypotl.c (__hypotl): Likewise.
11352 * math/w_j0l.c (__j0l, __y0l): Likewise.
11353 * math/w_j1l.c (__j1l, __y1l): Likewise.
11354 * math/w_jnl.c (__jnl, __ynl): Likewise.
11355 * math/w_lgammal.c (__lgammal): Likewise.
11356 * math/w_log10l.c (__log10l): Likewise.
11357 * math/w_log2l.c (__log2l): Likewise.
11358 * math/w_logl.c (__logl): Likewise.
11359 * math/w_powl.c (__powl): Likewise.
11360 * math/w_remainderl.c (__remainderl): Likewise.
11361 * math/w_scalbl.c (sysv_scalbl): Likewise.
11362 * math/w_sinhl.c (__sinhl): Likewise.
11363 * math/w_sqrtl.c (__sqrtl): Likewise.
11364 * math/w_tgammal.c (__tgammal): Likewise.
11365 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11366 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11367 * math/libm-test.inc (acos_test): Add more tests.
11368 (acosh_test): Likewise.
11369 (asin_test): Likewise.
11370 (atanh_test): Likewise.
11371 (exp_test): Likewise.
11372 (exp10_test): Likewise.
11373 (exp2_test): Likewise.
11374 (expm1_test): Likewise.
11375 (lgamma_test): Likewise.
11376 (log_test): Likewise.
11377 (log10_test): Likewise.
11378 (log1p_test): Likewise.
11379 (log2_test): Likewise.
11380 (pow_test): Do not allow some spurious overflow exceptions.
11381 (sqrt_test): Add more tests.
11382 (tgamma_test): Likewise.
11383 (y0_test): Likewise.
11384 (y1_test): Likewise.
11385 (yn_test): Likewise.
11386
dd62fda6
AB
113872012-03-27 Anton Blanchard <anton@samba.org>
11388
11389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11390 MAP_HUGETLB.
11391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11392 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11394
1e3cdfda
AJ
113952012-03-27 David S. Miller <davem@davemloft.net>
11396
b855ab85
DM
11397 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11398
1e3cdfda
AJ
11399 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11400 have-as-vis3 check.
11401
114022012-03-27 Andreas Jaeger <aj@suse.de>
11403
11404 * sysdeps/x86_64/elf/configure.in: Moved to ...
11405 * sysdeps/x86_64/configure.in: ... here.
11406 * sysdeps/x86_64/elf/start.S: Moved to ...
11407 * sysdeps/x86_64/start.S: ... here.
11408 * sysdeps/x86_64/elf/configure: Delete.
11409
11410 * sysdeps/x86_64/configure.in: Merge contents from
11411 sysdeps/i386/configure.in (without i686 check).
11412
11413 * sysdeps/i386/elf/Versions: Merge into ...
11414 * sysdeps/i386/Versions: ... this.
11415 * sysdeps/i386/elf/Versions: Delete file.
11416 * sysdeps/i386/elf/start.S: Moved to ...
11417 * sysdeps/i386/start.S: ...here.
11418 * sysdeps/i386/elf/configure.in: Merge into...
11419 * sysdeps/i386/configure.in: ...here.
11420 * sysdeps/i386/elf/configure.in: Delete file.
11421 * sysdeps/i386/elf/configure: Delete file.
11422
11423 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11424 * debug/backtracesyms.c: ... here.
11425 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11426 * debug/backtracesymsfd.c: ... here.
11427 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11428 * sysdeps/generic/ifunc-sel.h: ... here.
11429
11430 * sysdeps/unix/i386/start.c: Delete file.
11431 * sysdeps/unix/sparc/start.c: Delete file.
11432 * sysdeps/unix/start.c: Delete file.
11433
11434 * sysdeps/sh/elf/configure.in: Moved to ...
11435 * sysdeps/sh/configure.in: ... here.
11436 * sysdeps/sh/elf/start.S: Moved to ...
11437 * sysdeps/sh/start.S: ... here.
11438 * sysdeps/sh/elf/configure: Delete file.
11439
11440 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11441 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11442 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11443 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11444 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11445 * sysdeps/powerpc/powerpc64/start.S: here.
11446 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11447 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11448 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11449 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11450 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11451
11452 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11453 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11454 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11455 * sysdeps/powerpc/powerpc32/start.S: ... here.
11456 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11457 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11458 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11459
11460 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11461 * sysdeps/powerpc/ifunc-sel.h: ... here.
11462 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11463 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11464
11465 * sysdeps/sparc/elf/configure.in: Moved to ...
11466 * sysdeps/sparc/configure.in: ... here.
11467 * sysdeps/sparc/elf/configure: Delete file.
11468 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11469 * sysdeps/sparc/sparc32/start.S: ... here.
11470 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11471 * sysdeps/sparc/sparc64/start.S: ... here.
11472 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11473 * sysdeps/sparc/sparc32/Makefile: ... this.
11474 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11475 * sysdeps/sparc/sparc64/Makefile: ... this.
11476
11477 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11478 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11479 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11480 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11481 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11482 * sysdeps/s390/s390-32/setjmp.S: ... here.
11483 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11484 * sysdeps/s390/s390-32/configure.in: ... here.
11485 * sysdeps/s390/s390-32/elf/configure: Delete file.
11486 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11487 * sysdeps/s390/s390-32/start.S: ... here.
11488
11489 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11490 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11491 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11492 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11493 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11494 * sysdeps/s390/s390-64/setjmp.S: ... here.
11495 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11496 * sysdeps/s390/s390-64/configure.in: ... here
11497 * sysdeps/s390/s390-64/elf/configure: Delete file.
11498 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11499 * sysdeps/s390/s390-64/start.S: ... here.
11500 * sysdeps/s390/s390-64/elf/configure: Delete.
11501
11502 * configure.in: Remove support for elf directories in sysdeps.
11503
11504 * configure: Regenerated.
11505 * sysdeps/i386/configure: Regenerated.
11506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11508 * sysdeps/s390/s390-32/configure: Regenerated.
11509 * sysdeps/s390/s390-64/configure: Regenerated.
11510 * sysdeps/sh/configure: Regenerated.
11511 * sysdeps/sparc/configure: Regenerated.
11512 * sysdeps/x86_64/configure: Regenerated.
11513
a3f61311
AS
115142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
11515
c876e002
AS
11516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11517
a3f61311
AS
11518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
11519 denormal result into account.
11520
ac4c54f0
RM
115212012-03-25 Roland McGrath <roland@hack.frob.com>
11522
11523 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
11524 Reported by Allan McRae <allan@archlinux.org>.
11525
6a9b9c02
JL
115262012-03-23 Jeff Law <law@redhat.com>
11527
11528 * nss/getnssent.c (__nss_getent): Fix typo.
11529
4c42a0c1
DM
115302012-03-23 David S. Miller <davem@davemloft.net>
11531
11532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11533
1532c7ac
L
115342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
11535
11536 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
11537 to pad to uint64_t for each field.
11538 (dl_tls_index): Replace unsigned long with uint64_t.
11539
3ff42526
PP
115402012-03-23 Daniel Jacobowitz <dmj@google.com>
11541 Paul Pluzhnikov <ppluzhnikov@google.com>
11542
11543 [BZ #6528]
11544 * grp/Makefile (otherlibs): Don't set it.
11545 * inet/Makefile (otherlibs): Likewise.
11546 * login/Makefile (otherlibs): Likewise.
11547 * nscd/Makefile (otherlibs): Likewise.
11548 * posix/Makefile (otherlibs): Likewise.
11549 * pwd/Makefile (otherlibs): Likewise.
11550 * rt/Makefile (otherlibs): Likewise.
11551 * sunrpc/Makefile (otherlibs): Likewise.
11552 * nss/Makefile (otherlibs): Likewise.
11553 Add libnss_files to routines and static-only-routines.
11554 ($(objpfx)getent): Remove rule.
11555 * resolv/Makefile: Add libnss_dns and libresolv to routines and
11556 static-only-routines.
11557
7c69cd14
JM
115582012-03-22 Joseph Myers <joseph@codesourcery.com>
11559
11560 [BZ #13892]
11561 * math/s_cexp.c: Include <float.h>.
11562 (__cexp): Handle exp result overflowing not necessarily
11563 overflowing both real and imaginary parts of result.
11564 * math/s_cexpf.c: Likewise.
11565 * math/s_cexpl.c: Likewise.
11566 * math/libm-test.inc (cexp_test): Add more tests.
11567 * sysdeps/i386/fpu/libm-test-ulps: Update.
11568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11569
81b035fe
L
115702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11571
11572 * include/link.h (ELFW): New macro.
11573 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
11574 Replace ELF64_R_TYPE with ELFW(R_TYPE).
11575
1da7940c
L
115762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11577
11578 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
11579 with uint64_t.
11580
b749dbb9
L
115812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11582
11583 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
11584 declaration.
11585 (struct La_x32_retval): Likewise.
11586
2ff87f3f
L
115872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 * sysdeps/x86_64/preconfigure.in: New file.
11590 * sysdeps/x86_64/preconfigure: New generated file.
11591
c0df8e69
JM
115922012-03-22 Joseph Myers <joseph@codesourcery.com>
11593
48e44791
JM
11594 [BZ #13824]
11595 * math/e_exp2l.c: Include <float.h>.
11596 (__ieee754_exp2l): Handle overflow and underflow cases
11597 separately. Only pass fractional part of argument to
11598 __ieee754_expl.
11599 * math/libm-test.inc (exp2_test): Add more tests.
11600
c0df8e69
JM
11601 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
11602 negating x to take absolute value.
11603 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
11604 Likewise.
11605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
11607 Likewise.
11608 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
11609 computing low part if x was negated.
11610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11611
c8e43ba7
L
116122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
11615 la_x32_gnu_pltexit.
11616 (pltexit): Cast int_retval to ptrdiff_t.
11617 * elf/tst-auditmod3b.c: Likewise.
11618 * elf/tst-auditmod4b.c: Likewise.
11619 * elf/tst-auditmod5b.c: Likewise.
11620 * elf/tst-auditmod6b.c: Likewise.
11621 * elf/tst-auditmod6c.c: Likewise.
11622 * elf/tst-auditmod7b.c: Likewise.
11623
11624 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
11625 and x32_gnu_pltexit.
11626
11627 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
11628 __ELF_NATIVE_CLASS.
11629 (La_x32_regs): New macro.
11630 (La_x32_retval): Likewise.
11631 (la_x32_gnu_pltenter): New function prototype.
11632 (la_x32_gnu_pltexit): Likewise.
11633
7998fa78
AS
116342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
11635
dcb33988
AS
11636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
11637 exponent.
11638
233fc563
AS
11639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11640
7998fa78
AS
11641 * configure.in (libc_cv_cc_nofma): Check for option to disable
11642 generation of FMA instructions.
11643 * configure: Regenerate.
11644 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
11645 * sysdeps/ieee754/dbl-64/Makefile: New file.
11646 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
11647 Remove brandred-fma4.
11648 (CFLAGS-brandred-fma4.c): Remove.
11649 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
11650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
11651 define.
11652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
11653 define.
11654
8e95c99a
L
116552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
11658 LLONG_MAX != LONG_MAX.
11659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11660 (_fitoa_word): Likewise.
11661 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
11662 LLONG_MAX != LONG_MAX.
11663 * stdio-common/_itowa.h: Include <_itoa.h>.
11664 (_itowa_word): Use _ITOA_WORD_TYPE on value.
11665 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
11666 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
11667 only if not defined.
11668 (_ITOA_WORD_TYPE): Likewise.
11669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
11670 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
11671
6f4db457
DM
116722012-03-21 David S. Miller <davem@davemloft.net>
11673
11674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11675
7785fe5a
L
116762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
11677
11678 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
11679 of x86_64 when setting libc_cv_slibdir, libdir and
11680 libc_cv_localedir.
11681 * sysdeps/unix/sysv/linux/configure: Regenerated.
11682
4535cd55
JM
116832012-03-21 Joseph Myers <joseph@codesourcery.com>
11684
11685 * manual/lang.texi (Old Varargs): Remove section.
11686 (How Variadic): Update menu.
11687 (va_start): Do not mention varargs.h.
11688
17228132
TS
116892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11690 Joseph Myers <joseph@codesourcery.com>
11691
11692 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
11693 link test.
11694 * configure: Regenerated.
11695
8149f976
TS
116962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
11697
05f3d1f6
UD
11698 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
11699 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
11700 conformtest.pl
8149f976 11701
1a4ac776
JM
117022012-03-21 Joseph Myers <joseph@codesourcery.com>
11703
be22ce65
JM
11704 * NOTES: Remove.
11705 * Makefile (files-for-dist): Remove NOTES.
11706 (NOTES): Remove rule.
11707 * README: Don't refer to NOTES.
11708 * manual/creature.texi: Don't include macros.texi.
11709 * manual/intro.texi (creature.texi): Remove comment referring to
11710 NOTES.
11711
40b601fb
JM
11712 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
11713 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
11714 * configure: Regenerated.
11715 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
11716 LIBC_TRY_CC_OPTION.
11717 (libc_cv_as_i686): Likewise.
11718 (libc_cv_cc_avx): Likewise.
11719 (libc_cv_cc_sse2avx): Likewise.
11720 (libc_cv_cc_fma4): Likewise.
11721 (libc_cv_cc_novzeroupper): Likewise.
11722 * sysdeps/i386/configure: Regenerated.
11723
1a4ac776
JM
11724 [BZ #13883]
11725 * sysdeps/i386/fpu/s_cexp.S: Remove.
11726 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11728 * math/libm-test.inc (cexp_test): Add more tests.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
a458e7fe
AM
117322012-03-21 Allan McRae <allan@archlinux.org>
11733
11734 * timezone/Makefile: Do not install iso3166.tab and zone.tab
11735
0cb7efc5
JM
117362012-03-21 Joseph Myers <joseph@codesourcery.com>
11737
11738 [BZ #13871]
11739 * math/w_exp2.c: Do not include <float.h>.
11740 (o_threshold, u_threshold): Remove.
11741 (__exp2): Calculate result before checking finiteness and calling
11742 __kernel_standard.
11743 * math/w_exp2f.c: Likewise.
11744 * math/w_exp2l.c: Likewise.
11745 * math/libm-test.inc (exp2_test): Require overflow exception for
11746 1e6 input.
2460d3aa
JM
11747
11748 [BZ #3866]
11749 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
11750 range of signed 64-bit integers before using fistpll. Remove
11751 checks for whether integers fit in mantissa bits.
11752 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
11753 the range of signed 32-bit integers before using fistpl. Remove
11754 checks for whether integers fit in mantissa bits.
11755 * sysdeps/i386/fpu/e_powl.S (p64): New object.
11756 (__ieee754_powl): Test for y outside the range of signed 64-bit
11757 integers before using fistpll. Reduce 64-bit values to 63-bit
11758 ones as needed.
11759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
11760 divide-by-zero is raised for zero to large negative powers.
11761 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
11762 (__ieee754_powl): Test for y outside the range of signed 64-bit
11763 integers before using fistpll. Reduce 64-bit values to 63-bit
11764 ones as needed.
11765 * math/libm-test.inc (pow_test): Add more tests.
11766
eb96ffb0
L
117672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11768
11769 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
11770 <stdio-common/_itoa.h>.
11771 * debug/segfault.c: Likewise.
11772 * elf/dl-cache.c: Likewise.
11773 * elf/dl-minimal.c: Likewise.
11774 * elf/dl-misc.c: Likewise.
11775 * elf/dl-sysdep.c: Likewise.
11776 * elf/dl-version.c: Likewise.
11777 * elf/rtld.c: Likewise.
11778 * hurd/hurdsock.c: Likewise.
11779 * hurd/lookup-retry.c: Likewise.
11780 * malloc/malloc.c: Likewise.
11781 * malloc/mtrace.c: Likewise.
11782 * nscd/nscd_getgr_r.c: Likewise.
11783 * nscd/nscd_getpw_r.c: Likewise.
11784 * nscd/nscd_getserv_r.c: Likewise.
11785 * posix/getopt_init.c: Likewise.
11786 * posix/wordexp.c: Likewise.
11787 * stdio-common/_itoa.c: Likewise.
11788 * stdio-common/printf_fphex.c: Likewise.
11789 * stdio-common/vfprintf.c: Likewise.
11790 * string/_strerror.c: Likewise.
11791 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
11792 * sysdeps/i386/i686/hp-timing.h: Likewise.
11793 * sysdeps/mach/_strerror.c: Likewise.
11794 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
11795 * sysdeps/mach/hurd/sethostid.c: Likewise.
11796 * sysdeps/mach/hurd/xmknodat.c: Likewise.
11797 * sysdeps/mach/xpg-strerror.c: Likewise.
11798 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11799 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11800 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
11801 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
11802 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11803 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
11804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11805 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11806 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
11807 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
11808 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
11809 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11810 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
11811 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11812 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11813 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
11814 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
11815 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
11816 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11817 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11818 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
11819
11820 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
11821
11822 * stdio-common/_itoa.h: Moved to ...
11823 * sysdeps/generic/_itoa.h: Here.
11824
11825 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
11826
11827 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
11828 instead of "_itoa.h" and "_itowa.h".
11829 * stdio-common/vfprintf.: Likewise.
11830
d1af992d
L
118312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11832
11833 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
11834 <bits/wordsize.h>.
11835 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
11836 (__signbit): Likwise.
11837 (llrintf): Likwise.
11838 (llrint): Likwise.
11839
114883e0
L
118402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
11843 __WORDSIZE != 64.
11844
c135cc1b
JM
118452012-03-20 Joseph Myers <joseph@codesourcery.com>
11846
11847 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
11848 OVERFLOW_EXCEPTION_OK.
11849 * math/libm-test.inc ("Philosophy"): Update comment about
11850 exception testing.
11851 (OVERFLOW_EXCEPTION): Define.
11852 (OVERFLOW_EXCEPTION_OK): Likewise.
11853 (INVALID_EXCEPTION_OK): Renumber.
11854 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11855 (IGNORE_ZERO_INF_SIGN): Likewise.
11856 (test_exceptions): Handle FE_OVERFLOW.
11857 (exp10_test): Expect overflow exceptions.
11858 (exp2_test): Likewise.
11859 (expm1_test): Likewise.
11860 (nextafter_test): Likewise.
11861 (pow_test): Likewise.
11862 (scalbn_test): Likewise.
11863 (scalbln_test): Likewise.
11864
95443d88
L
118652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11866
11867 * sysdeps/x86_64/bits/atomic.h
11868 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
11869 64bit integer.
11870 (atomic_exchange_acq): Likewise.
11871 (__arch_exchange_and_add_body): Likewise.
11872 (__arch_add_body): Likewise.
11873 (atomic_add_negative): Likewise.
11874 (atomic_add_zero): Likewise.
11875
490df6c4
L
118762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11877
c2722551 11878 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
11879 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
11880
5e52b189
L
118812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11882
11883 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
11884 Check __x86_64__ instead of __WORDSIZE.
11885
a9879d4c
L
118862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11887
11888 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
11889
5df98260
DM
118902012-03-19 David S. Miller <davem@davemloft.net>
11891
e1497744
DM
11892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11893
5df98260
DM
11894 * sysdeps/sparc/fpu/fenv_private.h: New file.
11895 * sysdeps/sparc/fpu/math_private.h: Use it.
11896 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
11897 Remove.
11898 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
11899 (libc_feholdexcept_setroundl): Remove.
11900 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
11901 Remove.
11902 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
11903 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
11904
b4c35121
L
119052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11906
11907 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
11908 int64_t instead of long int.
11909 (INSERT_WORDS64): Likwise.
11910
56965fd7
L
119112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
11912
11913 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
11914 _Unwind_GetCFA return to _Unwind_Ptr first.
11915
83d1aec8
JM
119162012-03-19 Joseph Myers <joseph@codesourcery.com>
11917
1897ad44
JM
11918 [BZ #13629]
11919 * math/s_clog.c: Include <float.h>.
11920 (__clog): Scale large or subnormal inputs.
11921 * math/s_clogf.c: Likewise.
11922 * math/s_clogl.c: Likewise.
11923 * math/s_clog10.c: Include <float.h>.
11924 (M_LOG10_2): Define.
11925 (__clog10): Scale large or subnormal inputs.
11926 * math/s_clog10f.c: Likewise.
11927 * math/s_clog10l.c: Likewise.
11928 * math/libm-test.inc (clog_test): Add more tests.
11929 (clog10_test): Likewise.
11930 * sysdeps/i386/fpu/libm-test-ulps: Update.
11931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11932
7726d6a9
JM
11933 [BZ #11451]
11934 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
11935 x and y.
11936 * math/libm-test.inc (atan2_test): Add another test.
11937
83d1aec8
JM
11938 * Makerules (common-objdir-compile): Remove.
11939 * sysdeps/unix/Makefile (config-generated): Do not add
11940 $(unix-generated) to variable.
11941 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
11942 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
11943 Remove rule.
11944 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
11945 Likewise.
11946 [generic bits/local_lim.h] (before-compile): Do not append to
11947 variable.
11948 [generic bits/local_lim.h] (common-generated): Likewise.
11949 [generic sys/param.h] (before-compile): Do not append to variable.
11950 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
11951 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
11952 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
11953 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
11954 include.
11955 [generic sys/param.h] (sys/param.h-includes): Remove variable.
11956 [generic sys/param.h] (sys/param.h-includes): Remove rule.
11957 [generic sys/param.h] ($(addprefix
11958 $(common-objpfx),$(sys/param.h-includes))): Likewise.
11959 [generic sys/param.h] (common-generated): Do not append to
11960 variable.
11961 [generic sys/param.h] (sysdep_headers): Likewise.
11962 [generic bits/errno.h] (before-compile): Do not append to
11963 variable.
11964 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
11965 rule.
11966 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
11967 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
11968 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
11969 [generic bits/errno.h] (common-generated): Do not append to
11970 variable.
11971 [generic bits/ioctls.h] (before-compile): Do not append to
11972 variable.
11973 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
11974 rule.
11975 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
11976 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
11977 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
11978 rule.
11979 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
11980 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
11981 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
11982 [generic bits/ioctls.h] (common-generated): Do not append to
11983 variable.
11984 [generic sys/syscall.h] (syscall.h): Remove variable.
11985 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
11986 rule.
11987 [generic sys/syscall.h] (before-compile): Do not append to
11988 variable.
11989 [generic sys/syscall.h] (common-generated): Likewise.
11990 * sysdeps/unix/errnos-tmpl.c: Remove file.
11991 * sysdeps/unix/errnos.awk: Likewise.
11992 * sysdeps/unix/ioctls-tmpl.c: Likewise.
11993 * sysdeps/unix/ioctls.awk: Likewise.
11994 * sysdeps/unix/mk-local_lim.c: Likewise.
11995 * sysdeps/unix/snarf-ioctls: Likewise.
11996
4851a949
RH
119972012-03-19 Richard Henderson <rth@twiddle.net>
11998
bd37f2ee
RH
11999 * sysdeps/i386/fpu/fenv_private.h: New file.
12000 * sysdeps/i386/fpu/math_private.h: Use it.
12001 (math_opt_barrier, math_force_eval): Remove.
12002 (libc_feholdexcept_setround_53bit): Remove.
12003 (libc_feupdateenv_53bit): Remove.
12004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12005 (math_opt_barrier, math_force_eval): Remove.
12006 (libc_feholdexcept): Remove.
12007 (libc_feholdexcept_setround): Remove.
12008 (libc_fetestexcept, libc_fesetenv): Remove.
12009 (libc_feupdateenv_test): Remove.
12010 (libc_feupdateenv, libc_feholdsetround): Remove.
12011 (libc_feresetround): Remove.
12012
d0adc922
RH
12013 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12014 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12015
0fe0f1f8
RH
12016 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12017 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12018 (libc_feupdateenv_testl): New.
12019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12020 (libc_feupdateenv_testf): New.
12021 (libc_feupdateenv): Use libc_feupdateenv_test.
12022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12024
eb92c487
RH
12025 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12026 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12027 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12028 (libc_feresetround_noex): New.
12029 (libc_feresetround_noexf): New.
12030 (libc_feresetround_noexl): New.
12031 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12032 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12033 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12034 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12035 SET_RESTORE_ROUND.
12036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12038 (__cos): Likewise.
12039 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12041 SET_RESTORE_ROUND_NOEX.
12042 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12043 SET_RESTORE_ROUND_NOEXF.
12044 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12045 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12046 (libc_feholdsetroundf): New.
12047 (libc_feresetround, libc_feresetroundf): New.
12048
7d2e8012
RH
12049 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12050 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12051 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12052
b4dabbb4
RH
12053 * sysdeps/generic/math_private.h: Include <fenv.h>.
12054 (default_libc_feholdexcept): New.
12055 (default_libc_feholdexcept_setround): New.
12056 (default_libc_fesetenv, default_libc_feupdateenv): New.
12057 (libc_feholdexcept): Only define if undefined.
12058 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12059 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12060 (libc_feholdexcept_setroundl): Likewise.
12061 (libc_feholdexcept_setround_53bit): Likewise.
12062 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12063 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12064 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12065 (libc_feupdateenv_53bit): Likewise.
12066 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12067 (libc_feholdexcept): Convert from macro to inline function.
12068 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12069 (libc_fesetenv, libc_feupdateenv): Likewise.
12070
4851a949
RH
12071 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12072 not previously defined.
12073 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12074 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12075 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12076 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12077 * sysdeps/ieee754/flt-32/math_private.h: New file.
12078 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12079 math_private.h below SET_FLOAT_WORD.
12080 (__isnan, __isinf_ns, __finite): Remove.
12081 (__isnanf, __isinf_nsf, __finitef): Remove.
12082
e79d442e
AS
120832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12084
12085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12086
90b80344
DM
120872012-03-17 David S. Miller <davem@davemloft.net>
12088
12089 [BZ #6471]
12090 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12091 for 2.16.
12092
edc21804
DM
120932012-03-16 David S. Miller <davem@davemloft.net>
12094
77e927af
DM
12095 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12096 warnings.
12097
374976dd
DM
12098 [BZ #6471]
12099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12100 properly.
12101 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12102 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12103 sysdep_routines when subdir is sysvipc.
12104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12105 __getshmlba helper.
12106
edc21804
DM
12107 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12108
473c3ef3
L
121092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12112 [__LP64__].
12113
eb0f39b6
L
121142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12117 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12118 (__lround): Renamed to ...
12119 (__llround): This. Replace long int with long long int.
12120 Define lround functions as aliases of llround functions.
12121 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12122
6b6cd74b
L
121232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12124
12125 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12126 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12127 adresses to uintptr_t. Replace "long int" and "unsigned long
12128 int" with "greg_t" on va_arg.
12129
f1a77b01
L
121302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12131
12132 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12133 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12134
12135 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12136 Move e_machine check before EI_CLASS check. Handle x32
12137 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12138 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12139 SKIP_EM_IA_64 and include
12140 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12141
12142 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12143 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12144 (add_system_dir): New macro.
12145
12146 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12147 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12148
11b90b9f
JM
121492012-03-16 Joseph Myers <joseph@codesourcery.com>
12150
c36e1d23
JM
12151 [BZ #2551]
12152 [BZ #2552]
12153 [BZ #2553]
12154 [BZ #2554]
12155 [BZ #2562]
12156 [BZ #2563]
12157 [BZ #2565]
12158 [BZ #2566]
12159 [BZ #2576]
12160 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12161 (y0): Likewise.
12162 * math/w_j0f.c (j0f): Likewise.
12163 (y0f): Likewise.
12164 * math/w_j0l.c (__j0l): Likewise.
12165 (__y0l): Likewise.
12166 * math/w_j1.c (j1): Likewise.
12167 (y1): Likewise.
12168 * math/w_j1f.c (j1f): Likewise.
12169 (y1f): Likewise.
12170 * math/w_j1l.c (__j1l): Likewise.
12171 (__y1l): Likewise.
12172 * math/w_jn.c (jn): Likewise.
12173 (yn): Likewise.
12174 * math/w_jnf.c (jnf): Likewise.
12175 (ynf): Likewise.
12176 * math/w_jnl.c (__jnl): Likewise.
12177 (__ynl): Likewise.
12178 * math/libm-test.inc (j0_test): Add more tests.
12179 (j1_test): Likewise.
12180 (jn_test): Likewise. Add trailing semicolon to existing test.
12181 (y0_test): Likewise.
12182 (y1_test): Likewise.
12183 * sysdeps/i386/fpu/libm-test-ulps: Update.
12184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12185
11b90b9f
JM
12186 [BZ #13851]
12187 [BZ #13854]
12188 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12189 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12190 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12191 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12192 (__tanl): Set errno for infinite argument.
12193 * sysdeps/i386/fpu/mptan.c: Remove.
12194 * sysdeps/i386/fpu/s_tan.S: Likewise.
12195 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12196 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12197 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12198 * math/libm-test.inc (tan_test): Add more tests and enable more
12199 tests for double and long double.
12200 * sysdeps/i386/fpu/libm-test-ulps: Update.
12201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12202
6a1bd2a1
JK
122032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12204
12205 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12206 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12207
10a803e0
RM
122082012-03-16 Roland McGrath <roland@hack.frob.com>
12209
12210 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12211 * configure.in: Use it for both main tree and add-ons.
12212 * configure: Regenerated.
12213
f196c7f7
L
122142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12217
8848d99d
JM
122182012-03-16 Joseph Myers <joseph@codesourcery.com>
12219
96cbe7f4
JM
12220 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12221 in comment.
12222
8848d99d
JM
12223 [BZ #13851]
12224 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12225 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12226 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12227 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12229 infinite argument.
12230 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12232 != 0 for prec == 2.
12233 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12234 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12235 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12236 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12237 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12238 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12239 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12240 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12241 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12242 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12243 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12244 * math/libm-test.inc (cos_test): Add more tests and enable more
12245 tests for long double.
12246 (sin_test): Likewise.
12247 (sincos_test): Likewise.
12248 * sysdeps/i386/fpu/libm-test-ulps: Update.
12249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12250
dd7f4703
DM
122512012-03-16 David S. Miller <davem@davemloft.net>
12252
12253 * sysdeps/sparc/fpu/math_private.h: New file.
12254
006f1daa
DM
122552012-03-15 David S. Miller <davem@davemloft.net>
12256
c0c83bc8
DM
12257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12258 file.
e6a62e18 12259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12261 file.
e6a62e18
DM
12262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12268 sysdep routines.
12269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12270
88cb87d9
DM
12271 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12272 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12273
006f1daa 12274 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12276 sparc-ifunc.h
006f1daa 12277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12279 Likewise.
12280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12281 Likewise.
006f1daa
DM
12282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12286 Likewise.
006f1daa
DM
12287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12292 Likewise.
12293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12294 Likewise.
006f1daa
DM
12295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12319
11e0098e
AS
123202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12321
12322 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12323 scaling.
12324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12325
e85b09d0
AJ
123262012-03-15 Andreas Jaeger <aj@suse.de>
12327
12328 [BZ #13852]
12329 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12330 ieee754/flt-32 implementation for sin, cos and sincos.
12331 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12332 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12333 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12334 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12335 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12336 ieee754/flt-32 implementation for tan.
12337
12338 * math/libm-test.inc (cos_test): Enable some large input tests for
12339 float as well
12340 (sin_test): Likewise.
12341 (sincos_test): Likewise.
12342 (tan_test): Add tests for large input.
12343
12344 * sysdeps/i386/fpu/libm-test-ulps: Update.
12345
81c64153
AJ
123462012-03-15 Andreas Jaeger <aj@suse.de>
12347
12348 [BZ #13658]
12349 * math/libm-test.inc (cos_test): Add more test cases.
12350 (sin_test): Likewise.
12351 (sincos_test): Likewise.
12352
7bbfa5c6
AJ
123532012-03-15 Andreas Jaeger <aj@suse.de>
12354
12355 [BZ #13837]
12356 * math/libm-test.inc (cos_test): Add a test case for large input
12357 value.
12358 (sin_test): Likewise.
12359 (sincos_test): Likewise.
12360
123612012-03-15 Andreas Jaeger <aj@suse.de>,
12362 Joseph Myers <joseph@codesourcery.com>
12363
12364 [BZ #13658]
0671f479 12365 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12366 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12367 * sysdeps/i386/fpu/branred.c: Likewise.
12368 * sysdeps/i386/fpu/dosincos.c: Likewise.
12369 * sysdeps/i386/fpu/mpa.c: Likewise.
12370 * sysdeps/i386/fpu/s_cos.S: Likewise.
12371 * sysdeps/i386/fpu/s_sin.S: Likewise.
12372 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12373 * sysdeps/i386/fpu/sincos32.c: Likewise.
12374
12375 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12376 Define.
12377 (libc_feupdateenv_53bit): Define.
12378 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12379 Define.
12380 (libc_feupdateenv_53bit): Define.
12381
12382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12383 53 bit (without extend i386 double precision).
12384
12385 * math/libm-test.inc (sincos_test): Add tests for large input.
12386 (sin): Likewise.
12387 (cos): Likewise.
12388
12389 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12390
9cad04ea
AS
123912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12392
12393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12394
f7062b9a
DM
123952012-03-15 David S. Miller <davem@davemloft.net>
12396
12397 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12398 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12399 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12400 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12413 file.
f7062b9a 12414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12416 file.
f7062b9a 12417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12419 file.
f7062b9a 12420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12422 file.
f7062b9a
DM
12423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12425 fmin/fmax sysdep routines.
12426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12427
7bd951ff
DM
124282012-03-14 David S. Miller <davem@davemloft.net>
12429
559398ab
DM
12430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12459 routines.
12460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12461 file.
559398ab 12462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12464 file.
559398ab 12465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12467 file.
559398ab 12468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12470 file.
559398ab 12471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12473 file.
559398ab 12474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12476 file.
12477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12478 file.
12479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12480 file.
12481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12482 file.
12483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12484 New file.
12485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12486 file.
12487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12488 file.
559398ab 12489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12491 file.
559398ab 12492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12494 file.
559398ab 12495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12497 file.
559398ab 12498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12500 VIS3 routines.
559398ab
DM
12501
12502 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12503 New file.
12504
5a1c1e32
DM
12505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12506
eae47a36
DM
12507 * sysdeps/sparc/configure.in: New file.
12508 * sysdeps/sparc/configure: Generate.
12509 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12510 * configure: Regenerate.
12511 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12512 * config.make.in (have-as-vis3): New.
12513 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
12514 available use -Av9d instead of -Av9a.
12515 * sysdeps/sparc/sparc64/Makefile: Likewise.
12516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
12517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
12518 New file.
12519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
12520 file.
12521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
12522 New file.
12523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
12524 file.
eae47a36
DM
12525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
12526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
12527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
12528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
12529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
12530
c0c83bc8
DM
12531 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
12532 fzeros/fnegs to load 0x80000000 into a float register instead of
12533 using the stack.
7bd951ff
DM
12534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
12535
bd951ccb
JM
125362012-03-14 Joseph Myers <joseph@codesourcery.com>
12537
12538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12539 bits/syscall.h.
12540 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
12541 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
12542 ($(inst_includedir)/bits/syscall.h): Remove rule.
12543 ($(objpfx)bits/syscall.d): Include instead of
12544 $(objpfx)syscall-list.d.
12545 (generated): Change syscall-list.h and syscall-list.d to
12546 bits/syscall.h and bits/syscall.d.
12547
bb4e6db2
RM
125482012-03-14 Roland McGrath <roland@hack.frob.com>
12549
12550 [BZ #13846]
12551 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
12552
aa4a2ae1
JM
125532012-03-14 Joseph Myers <joseph@codesourcery.com>
12554
e456826d
JM
12555 [BZ #13841]
12556 * math/s_csqrt.c: Include <float.h>.
12557 (__csqrt): Scale large or subnormal inputs.
12558 * math/s_csqrtf.c: Likewise.
12559 * math/s_csqrtl.c: Likewise.
12560 * math/libm-test.inc (csqrt_test): Add more tests.
12561 * sysdeps/i386/fpu/libm-test-ulps: Update.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12563
aa4a2ae1
JM
12564 [BZ #13840]
12565 * math/libm-test.inc (hypot_test): Add more tests.
12566
7c10fd35
DM
125672012-03-13 David S. Miller <davem@davemloft.net>
12568
12569 [BZ #13840]
12570 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
12571 double-precision for the calculation instead of scaling.
12572
f453b98b
JM
125732012-03-13 Joseph Myers <joseph@codesourcery.com>
12574
12575 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
12576 manipulate bits before adding and subtracting TWO52[sx].
12577 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
12578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
12579 Likewise.
12580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
12581
09a3453f
DM
125822012-03-13 David S. Miller <davem@davemloft.net>
12583
8e59da90
DM
12584 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
12585 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
12586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
12587 rtld-global-offsets.h
12588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12589
2a8ab7f2
DM
12590 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
12591 large parameters.
12592
10f62770
DM
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
12594
5f0bdb18
DM
12595 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
12596 'err' in the ifdef scope in which it is actually used.
12597
09a3453f
DM
12598 * nss/nss_db/db-init.c: Include string.h
12599
b4b2eb5e
DM
126002012-03-12 David S. Miller <davem@davemloft.net>
12601
98bb2f1c
DM
12602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12603 masking out of the most significant byte of random value used.
12604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12605 Fix coding style in previous change.
12606
b4b2eb5e
DM
12607 * sysdeps/unix/sysv/linux/kernel-features.h
12608 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
12609 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
12610 expression.
12611 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
12612 later.
12613
6e226b09
DM
126142012-03-11 David S. Miller <davem@davemloft.net>
12615
a1bcbd40
DM
12616 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12617 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
12618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
12619 for 'resultvar' otherwise things get truncated on 64-bit.
12620
cb9d6174
DM
12621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12622 Fix masking out of the most significant byte of random value used.
12623
6e226b09
DM
12624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12625
058c132d
AS
126262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
12627
12628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12629
2d2cd515
DM
126302012-03-09 David S. Miller <davem@davemloft.net>
12631
12632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
12633 variables with appropriate CPP guards.
12634 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
12635 frame pointer, not the stack pointer. Correct layout comments. Fix test
12636 on resulting framesize and the management of the outregs buffer for pltexit.
12637 Preserve floating point return values across _dl_call_pltexit call.
12638 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
12639 framesize and the management of the outregs buffer for pltexit.
12640 Preserve floating point return values across _dl_call_pltexit
12641 call.
12642 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
12643 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
12644 (print_exit): Fix format string for return register value.
12645
9a07f9d0
JM
126462012-03-10 Joseph Myers <joseph@codesourcery.com>
12647
12648 * sunrpc/Makefile (others): Add rpcgen.
12649 ($(objpfx)rpcgen): Remove special build rule and dependency on
12650 libc.
12651 * sunrpc/rpcgen.c: New file.
12652
547b5e30
PE
126532012-03-09 Paul Eggert <eggert@cs.ucla.edu>
12654
c524201a
PE
12655 [BZ #13673]
12656 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
12657 * stdio-common/bug-vfprintf-nargs.c: Likewise.
12658 * sysdeps/i386/crti.S: Likewise.
12659 * sysdeps/i386/crtn.S: Likewise.
12660 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
12661 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
12662 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
12663 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
12664 * sysdeps/sh/crti.S: Likewise.
12665 * sysdeps/sh/crtn.S: Likewise.
12666 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
12667
7b6235f2
PE
12668 [BZ #13673]
12669 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
12670 with URL.
12671 * locale/programs/locfile-kw.gperf: Likewise.
12672 * locale/programs/charmap-kw.h: Regenerated.
12673 * locale/programs/locfile-kw.h: Likewise.
12674
547b5e30
PE
12675 [BZ #13673]
12676 * intl/plural.y: Replace FSF snail mail address with URL.
12677 * intl/plural.c: Regenerated.
12678
5f0a5dae
RH
126792012-03-09 Richard Henderson <rth@twiddle.net>
12680
12681 * include/math_private.h: Remove file.
12682 * math/math_private.h: Move file ...
12683 * sysdeps/generic/math_private.h: ... here.
12684
b8c03620
RH
12685 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
12686 * sysdeps/powerpc/fpu/math_private.h: Likewise.
12687 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12688
4e234f5d 12689 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
12690 and <math_private.h>.
12691 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12692 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12693 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12694 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12695 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12713 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12715 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12716 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12717 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12779 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12780 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12781 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12782 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12784 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12785 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12786 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12788 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12791 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12792 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12793 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12794 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12796 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12797 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12798 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12799 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12801 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12802 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12803 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12804 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12812 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12814 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12818 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
12819 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12820 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12821 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12822 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12823 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12824 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12825 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12828 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
12830 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12832 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
12836 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12837 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12838 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12839 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12840 * sysdeps/ieee754/k_standard.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12908 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12953 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12954 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12956 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12957 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12963 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12964 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12968 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12969 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12973 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12977 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
12978 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12980 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12981 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12982 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12983 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12985 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12990 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
12991 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
12996 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
12997 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12998 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13001 * sysdeps/ieee754/s_lib_version.c: Likewise.
13002 * sysdeps/ieee754/s_matherr.c: Likewise.
13003 * sysdeps/ieee754/s_signgam.c: Likewise.
13004 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13005 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13007 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13008 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13009 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13010 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13011 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13012 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13013 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13014 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13015 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13016 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13017 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13018 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13019 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13020 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13021 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13022 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13025
1991fa03
JM
130262012-03-09 Joseph Myers <joseph@codesourcery.com>
13027
13028 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13029 * sunrpc/rpc_main.c: Likewise.
13030 * sunrpc/rpc_svcout.c: Likewise.
13031
60d6f5a6
DM
130322012-03-09 David S. Miller <davem@davemloft.net>
13033
13034 * include/math_private.h: New file.
13035
4962050e
JM
130362012-03-09 Joseph Myers <joseph@codesourcery.com>
13037
02a6f887
JM
13038 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13039 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13040 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13041 from <bits/socket_type.h>.
13042 (enum __socket_type): Don't define here.
13043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13045 bits/socket_type.h.
13046
c6e013c1
JM
13047 [BZ #13566]
13048 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13049 checking __USE_GNU.
13050
4962050e
JM
13051 * Makerules ($(inst_includedir)/%.h): New rule.
13052 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13053 (install-others): Remove variable setting.
13054 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13055
38842f45
RH
130562012-03-08 Richard Henderson <rth@twiddle.net>
13057
67bb6da6
RH
13058 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13059 from macro to inline function; merge with the
13060 !__LIBC_INTERNAL_MATH_INLINES version.
13061 (__ieee754_sqrtf): Likewise.
13062
15194b4b
RH
13063 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13064 to inline function.
13065 (__rintf, __floor, __floorf): Likewise.
13066
64e21ede
RH
13067 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13068 macro to inline function.
13069 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13070
38842f45
RH
13071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13072 not <math/math_private.h>.
13073
c64bf5fe
DM
130742012-03-08 David S. Miller <davem@davemloft.net>
13075
13076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13077 copyright year.
13078 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13079
82d86f28
TS
130802012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13081
13082 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13083 normalization.
13084 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13085 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13086
aea5d727
UD
130872012-03-08 Ulrich Drepper <drepper@gmail.com>
13088
13089 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13090 be defined individually, they must be defined as a block. Define
13091 S for printing a string instead of hidint the different by using a
13092 macro for adding the 'l'.
13093 * stdio-common/tst-fphex-wide.c: Adjust.
13094
70bca0a3
MP
130952012-03-07 Marek Polacek <polacek@redhat.com>
13096
13097 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13098
65b81130
MP
130992012-03-08 Marek Polacek <polacek@redhat.com>
13100
13101 [BZ #13806]
13102 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13103 * stdio-common/tst-fphex.c: Define a few macros to make the
13104 test reusable. Use them.
13105 * stdio-common/tst-fphex-wide.c: New file.
13106
07037eeb
JM
131072012-03-08 Joseph Myers <joseph@codesourcery.com>
13108
a7a93d50
JM
13109 [BZ #6911]
13110 * manual/macros.texi (gnusystems): New macro.
13111 (nongnusystems): Likewise.
13112 (gnulinuxhurdsystems): Likewise.
13113 (gnuhurdsystems): Likewise..
13114 (gnulinuxsystems): Likewise.
13115 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13116 variants of the GNU system, not "GNU system".
13117 * manual/conf.texi: Likewise.
13118 * manual/errno.texi: Likewise. Update example of errno macro
13119 expansion.
13120 * manual/filesys.texi: Likewise.
13121 (getumask): Document as specific to GNU/Hurd.
13122 * manual/install.texi: Likewise. Reword some references to
13123 GNU/Linux.
13124 * manual/intro.texi: Likewise.
13125 * manual/io.texi: Likewise.
13126 (File Name Portability): Detail which constraints are inapplicable
13127 to all GNU systems and which are only inapplicable to GNU/Hurd.
13128 * manual/job.texi: Likewise.
13129 * manual/llio.texi: Likewise.
13130 (O_NOCTTY): Document as present on GNU/Linux.
13131 * manual/maint.texi: Likewise.
13132 * manual/memory.texi: Likewise.
13133 * manual/pattern.texi: Likewise.
13134 * manual/pipe.texi: Likewise.
13135 * manual/process.texi: Likewise.
13136 * manual/resource.texi: Likewise.
13137 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13138 child on GNU/Hurd.
13139 * manual/setjmp.texi: Likewise.
13140 * manual/signal.texi: Likewise.
13141 * manual/startup.texi: Likewise.
13142 * manual/stdio.texi: Likewise.
13143 * manual/terminal.texi: Likewise.
13144 (ONLCR): Document as POSIX.
13145 (OXTABS): Document availability on GNU/Linux as XTABS.
13146 (ONOEOT): Document availability separately from other bits.
13147 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13148 * manual/time.texi: Likewise.
13149 * manual/users.texi: Likewise.
13150 * INSTALL: Regenerated.
13151 * sysdeps/gnu/errlist.c: Regenerated.
13152
07037eeb
JM
13153 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13154 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13155 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13156 puts.
13157 * configure: Regenerated.
13158
d1d3431a
JM
131592012-03-07 Joseph Myers <joseph@codesourcery.com>
13160
af6a1e37
JM
13161 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13162 default includes instead of AC_HEADER_CHECK.
13163 * sysdeps/i386/configure: Regenerated.
13164
d1d3431a
JM
13165 [BZ #10716]
13166 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13167 * math/s_cacoshf.c (__cacoshf): Likewise.
13168 * math/s_cacoshl.c (__cacoshl): Likewise.
13169 * math/s_casinh.c (__casinh): Set signs of result from argument.
13170 * math/s_casinhf.c (__casinhf): Likewise.
13171 * math/s_casinhl.c (__casinhl): Likewise.
13172 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13173 (casinh_test): Add more tests.
13174 * sysdeps/i386/fpu/libm-test-ulps: Update.
13175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13176
482ff4da
UD
131772012-03-07 Ulrich Drepper <drepper@gmail.com>
13178
872fda05
UD
13179 * po/zh_TW.po: Update from translation team.
13180
a4300c7a
UD
13181 * login/Makefile (distribute): Remove variable.
13182 * catgets/Makefile: Likewise.
13183 * mach/Makefile: Likewise.
13184 * malloc/Makefile: Likewise.
13185 * misc/Makefile: Likewise.
13186 * iconv/Makefile: Likewise.
13187 * nscd/Makefile: Likewise.
13188 * hurd/Makefile: Likewise.
13189 * manual/Makefile: Likewise.
13190 * locale/Makefile: Likewise.
13191 * intl/Makefile: Likewise.
13192 * conform/Makefile: Likewise.
13193 * nss/Makefile: Likewise.
13194 * time/Makefile: Likewise.
13195 * soft-fp/Makefile: Likewise.
13196 * dirent/Makefile: Likewise.
13197 * gmon/Makefile: Likewise.
13198 * po/Makefile: Likewise.
13199 * rt/Makefile: Likewise.
13200 * socket/Makefile: Likewise.
13201 * math/Makefile: Likewise.
13202 * signal/Makefile: Likewise.
13203 * debug/Makefile: Likewise.
13204 * elf/Makefile: Likewise.
13205 * timezone/Makefile: Likewise.
13206 * stdlib/Makefile: Likewise.
13207 * iconvdata/Makefile: Likewise.
13208 * sunrpc/Makefile: Likewise.
13209 * io/Makefile: Likewise.
13210 * argp/Makefile: Likewise.
13211 * inet/Makefile: Likewise.
13212 * hesiod/Makefile: Likewise.
13213 * grp/Makefile: Likewise.
13214 * csu/Makefile: Likewise.
13215 * wctype/Makefile: Likewise.
13216 * crypt/Makefile: Likewise.
13217 * libio/Makefile: Likewise.
13218 * string/Makefile: Likewise.
13219 * nis/Makefile: Likewise.
13220 * resolv/Makefile: Likewise.
13221 * stdio-common/Makefile: Likewise.
13222 * wcsmbs/Makefile: Likewise.
13223 * dlfcn/Makefile: Likewise.
13224 * posix/Makefile: Likewise.
13225
3b7c4e74 13226 [BZ #6959]
482ff4da
UD
13227 * timezone/Makefile: Don't install timezone files, just the programs
13228 and scripts.
13229
f72ed77d
UD
132302012-03-06 Ulrich Drepper <drepper@gmail.com>
13231
a000466f
UD
13232 * nss/databases.def: Add missing gshadow entry.
13233
f72ed77d
UD
13234 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13235
a53b7a4e
MP
132362012-03-06 Marek Polacek <polacek@redhat.com>
13237
13238 [BZ #13726]
13239 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13240 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13241 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13242 * stdio-common/tst-long-dbl-fphex.c: New file.
13243
e9258400
DM
132442012-03-06 David S. Miller <davem@davemloft.net>
13245
13246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13247 (set_obp_int): New function.
13248 (get_obp_int): New function.
13249 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13250 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13251 Avoid unused variable warnings on 'val' and use builtin_expect.
13252 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13253 __builtin_expect.
e9258400
DM
13254 (INLINE_CLONE_SYSCALL): Likewise.
13255
3bd2c723
DM
132562012-03-05 David S. Miller <davem@davemloft.net>
13257
13258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13259
bbb78d03
AS
132602012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13261
884c5db4
AS
13262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13263
bbb78d03
AS
13264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13265 only for |x| >= 40.
13266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13267
1c9f702a 132682012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13269
13270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13271 Replace gettimeofday with __vdso_gettimeofday.
13272
7be16f82
RM
13273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13274 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13275 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13276
13277 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13278 time with __vdso_time.
13279
ed58a00f
JM
132802012-03-05 Joseph Myers <joseph@codesourcery.com>
13281
13282 * manual/lang.texi (size_t): Note types to which size_t may be
13283 equivalent with the GNU C Library, but do not describe when
13284 differences between them are significant.
13285
30ee4ced
AJ
132862012-03-05 Andreas Jaeger <aj@suse.de>
13287
13288 * sysdeps/i386/fpu/libm-test-ulps: Update.
13289
b7cd39e8
JM
132902012-03-05 Joseph Myers <joseph@codesourcery.com>
13291
13292 [BZ #3976]
13293 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13294 (__ieee754_pow): Save and restore rounding mode and use
13295 round-to-nearest for main computations.
13296 * math/libm-test.inc (pow_test_tonearest): New function.
13297 (pow_test_towardzero): Likewise.
13298 (pow_test_downward): Likewise.
13299 (pow_test_upward): Likewise.
13300 (main): Call the new functions.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13303
13304 [BZ #3976]
13305 * math/libm-test.inc (cosh_test_tonearest): New function.
13306 (cosh_test_towardzero): Likewise.
13307 (cosh_test_downward): Likewise.
13308 (cosh_test_upward): Likewise.
13309 (sinh_test_tonearest): Likewise.
13310 (sinh_test_towardzero): Likewise.
13311 (sinh_test_downward): Likewise.
13312 (sinh_test_upward): Likewise.
13313 (main): Call the new functions.
13314 * sysdeps/i386/fpu/libm-test-ulps: Update.
13315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13316
6c6a98c9
TV
133172012-03-05 Tom de Vries <tom@codesourcery.com>
13318
13319 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13320 default stack guard is set in last bytes.
13321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13322
21bb2d2e 133232012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13324
21bb2d2e 13325 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13326
21bb2d2e
AJ
13327 [BZ #13656]
13328 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13329 possibly allocate from heap instead of stack.
13330 * stdio-common/bug-vfprintf-nargs.c: New file.
13331 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13332
c6922934
AS
133332012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13334
13335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13336
bc957d53
MP
133372012-03-03 Marek Polacek <polacek@redhat.com>
13338
13339 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13340 * math/math_private.h: Likewise.
13341 * stdlib/tst-strtod.c: Likewise.
13342 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13343 * sysdeps/x86_64/bits/atomic.h: Likewise.
13344
6358490d
DM
133452012-03-02 David S. Miller <davem@davemloft.net>
13346
13347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13351 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13352 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13353 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13354 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13355
01ae168d
RM
133562012-03-02 Roland McGrath <roland@hack.frob.com>
13357
d9a17c07
RM
13358 [BZ #13792]
13359 * manual/examples/README: New file, says the example source files
13360 can be used under GPL>=2.
13361 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13362 line containing just "*/".
13363 * manual/examples/add.c: Add copyright header (GPL>=2).
13364 * manual/examples/argp-ex1.c: Likewise.
13365 * manual/examples/argp-ex2.c: Likewise.
13366 * manual/examples/argp-ex3.c: Likewise.
13367 * manual/examples/argp-ex4.c: Likewise.
13368 * manual/examples/atexit.c: Likewise.
13369 * manual/examples/db.c: Likewise.
13370 * manual/examples/dir.c: Likewise.
13371 * manual/examples/dir2.c: Likewise.
13372 * manual/examples/execinfo.c: Likewise.
13373 * manual/examples/filecli.c: Likewise.
13374 * manual/examples/filesrv.c: Likewise.
13375 * manual/examples/fmtmsgexpl.c: Likewise.
13376 * manual/examples/genpass.c: Likewise.
13377 * manual/examples/inetcli.c: Likewise.
13378 * manual/examples/inetsrv.c: Likewise.
13379 * manual/examples/isockad.c: Likewise.
13380 * manual/examples/longopt.c: Likewise.
13381 * manual/examples/memopen.c: Likewise.
13382 * manual/examples/memstrm.c: Likewise.
13383 * manual/examples/mkfsock.c: Likewise.
13384 * manual/examples/mkisock.c: Likewise.
13385 * manual/examples/mygetpass.c: Likewise.
13386 * manual/examples/pipe.c: Likewise.
13387 * manual/examples/popen.c: Likewise.
13388 * manual/examples/rprintf.c: Likewise.
13389 * manual/examples/search.c: Likewise.
13390 * manual/examples/select.c: Likewise.
13391 * manual/examples/setjmp.c: Likewise.
13392 * manual/examples/sigh1.c: Likewise.
13393 * manual/examples/sigusr.c: Likewise.
13394 * manual/examples/stpcpy.c: Likewise.
13395 * manual/examples/strdupa.c: Likewise.
13396 * manual/examples/strftim.c: Likewise.
13397 * manual/examples/strncat.c: Likewise.
13398 * manual/examples/subopt.c: Likewise.
13399 * manual/examples/swapcontext.c: Likewise.
13400 * manual/examples/termios.c: Likewise.
13401 * manual/examples/testopt.c: Likewise.
13402 * manual/examples/testpass.c: Likewise.
13403 * manual/examples/timeval_subtract.c: Likewise.
13404
01ae168d
RM
13405 [BZ #13792]
13406 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13407 function to ...
13408 * manual/timeval_subtract.c.texi: ... here, new file.
13409
49efa33d
DM
134102012-03-02 David S. Miller <davem@davemloft.net>
13411
13412 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13413
28afd92d
JM
134142012-03-02 Joseph Myers <joseph@codesourcery.com>
13415
804360ed
JM
13416 [BZ #3976]
13417 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13418 (__sin): Save and restore rounding mode and use round-to-nearest
13419 for all computations.
13420 (__cos): Save and restore rounding mode and use round-to-nearest
13421 for all computations.
13422 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13423 <fenv.h>.
13424 (tan): Save and restore rounding mode and use round-to-nearest for
13425 all computations.
13426 * math/libm-test.inc (cos_test_tonearest): New function.
13427 (cos_test_towardzero): Likewise.
13428 (cos_test_downward): Likewise.
13429 (cos_test_upward): Likewise.
13430 (sin_test_tonearest): Likewise.
13431 (sin_test_towardzero): Likewise.
13432 (sin_test_downward): Likewise.
13433 (sin_test_upward): Likewise.
13434 (tan_test_tonearest): Likewise.
13435 (tan_test_towardzero): Likewise.
13436 (tan_test_downward): Likewise.
13437 (tan_test_upward): Likewise.
13438 (main): Call the new functions.
13439 * sysdeps/i386/fpu/libm-test-ulps: Update.
13440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13441
a6d06d7b
JM
13442 [BZ #10135]
13443 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13444 small n, then large n, before computing and testing k+n.
13445 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13447 Likewise.
13448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13449 Likewise.
13450 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13451 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13452 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13453 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13458 * math/libm-test.inc (scalbn_test): Add more tests.
13459 (scalbln_test): Likewise.
13460
07e12bb3
JM
13461 * manual/filesys.texi (mode_t): Describe constraints on size and
13462 signedness, not exact equivalence to a particular type.
13463 (ino_t): Likewise.
13464 (ino64_t): Likewise.
13465 (dev_t): Likewise.
13466 (nlink_t): Likewise.
13467 (blkcnt_t): Likewise.
13468 (blkcnt64_t): Likewise.
13469 * manual/llio.texi (off_t): Likewise.
13470
28afd92d
JM
13471 [BZ #3976]
13472 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13473 (__ieee754_exp): Save and restore rounding mode and use
13474 round-to-nearest for all computations.
13475 * math/libm-test.inc (exp_test_tonearest): New function.
13476 (exp_test_towardzero): Likewise.
13477 (exp_test_downward): Likewise.
13478 (exp_test_upward): Likewise.
13479 (main): Call the new functions.
13480 * sysdeps/i386/fpu/libm-test-ulps: Update.
13481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13482
b1eeb65d
CD
134832012-03-01 Chris Demetriou <cgd@google.com>
13484
13485 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13486 have predictable order.
13487
53362a4b
DM
134882012-03-01 David S. Miller <davem@davemloft.net>
13489
3c969083
DM
13490 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13491
759707de
DM
13492 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13493 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13494 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13495 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13496
dfdb8ff2
DM
13497 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13498 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13499 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13501 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13502 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13503 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13504 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13505 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13506
ead89f96
DM
13507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13508
7f66bd07
DM
13509 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13510 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13512
53362a4b
DM
13513 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
13514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13515 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
13516 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
13517 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
13518 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
13519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
13520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13521 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
13522 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
13523 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
13524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
13525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
13527 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13529 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
13530 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
13531 * sysdeps/sparc/elf/configure: Regenerated.
13532
7b1902cb
JM
135332012-03-01 Joseph Myers <joseph@codesourcery.com>
13534
bec039bc
JM
13535 * configure.in (AS, LD): Require binutils 2.20 or later.
13536 * configure: Regenerated.
13537 * manual/install.texi (Tools for Compilation): Give binutils 2.20
13538 as required minimum version.
13539 * INSTALL: Regenerated.
13540
7b1902cb
JM
13541 [BZ #2541]
13542 [BZ #4108]
13543 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
13544 before squaring exponent.
13545 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
13546 bottom long double and 27 bits of top long double before squaring
13547 exponent.
13548 * math/libm-test.inc (erfc_test): Add more tests.
13549 * sysdeps/i386/fpu/libm-test-ulps: Update.
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13552
f775c276
KT
135532012-03-01 Kai Tietz <ktietz@redhat.com>
13554
13555 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
13556 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
13557 containing bit-fields.
13558 * soft-fp/extended.h (_FP_UNION_E): Likewise.
13559 * soft-fp/single.h (_FP_UNION_S): Likewise.
13560 * soft-fp/double.h (_FP_UNION_D): Likewise.
13561
5b8a4d4a
JM
135622012-02-29 Joseph Myers <joseph@codesourcery.com>
13563
0bab47b6
JM
13564 [BZ #13786]
13565 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
13566 not include ../strcmp.S.
13567 [USE_AS_STRNCASECMP_L]: Likewise.
13568 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
13569 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
13570 * sysdeps/i386/i686/multiarch/strncase_l-c.c
13571 (__strncasecmp_l_ia32): Define as alias to
13572 __strncasecmp_l_nonascii.
13573
0fcad3e2
JM
13574 [BZ #5794]
13575 * math/libm-test.inc (expm1_test): Add test for bug 5794.
13576 * sysdeps/i386/fpu/libm-test-ulps: Update.
13577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13578
5b8a4d4a
JM
13579 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
13580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13581
8fdceb2e
JL
135822012-02-29 Jeff Law <law@redhat.com>
13583
13584 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
13585 out of bounds read.
13586
1f393a11
MP
135872012-02-29 Marek Polacek <polacek@redhat.com>
13588
13589 [BZ #13706]
13590 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
13591 * elf/Makefile: Add rules to run tst-unused-dep.out.
13592
8847f037
DM
135932012-02-28 David S. Miller <davem@davemloft.net>
13594
13595 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
13596 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
13597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
13598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
13599 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
13600 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
13601
169d7f11
JM
136022012-02-29 Joseph Myers <joseph@codesourcery.com>
13603
13604 * math/libm-test.inc (llround_test): Move one test from
13605 lround_test. Use TEST_f_L in moved test.
13606 (lround_test): Move misplaced test to llround_test. Add testcase
13607 from bug 2561.
13608
39adf059
UD
136092012-02-28 Ulrich Drepper <drepper@gmail.com>
13610
13611 * sysdeps/x86_64/fpu/e_expf.S: New file.
13612 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
13613
71b5d1c5
SB
136142012-02-28 Stanislav Brabec <sbrabec@suse.cz>
13615
13616 [BZ #13637]
13617 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
13618 of remain_len that may cause incomplete multi-byte character and
13619 false match.
13620 * posix/bug-regex33.c: New file.
13621 * posix/Makefile (tests): Add bug-regex33.
13622
1f77f049
JM
136232012-02-28 Joseph Myers <joseph@codesourcery.com>
13624
13625 * manual/macros.texi: New file.
13626 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
13627 * manual/libc.texinfo: Include macros.texi.
13628 * manual/creatute.texi: Likewise.
13629 * manual/install.texi: Likewise.
13630 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
13631 @glibcadj{} in references to the GNU C Library.
13632 * manual/charset.texi: Likewise.
13633 * manual/conf.texi: Likewise.
13634 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
13635 when not using those macros.
13636 * manual/creature.texi: Likewise.
13637 * manual/crypt.texi: Likewise.
13638 * manual/errno.texi: Likewise.
13639 * manual/filesys.texi: Likewise.
13640 * manual/header.texi: Likewise.
13641 * manual/install.texi: Likewise.
13642 * manual/intro.texi: Likewise.
13643 * manual/io.texi: Likewise.
13644 * manual/job.texi: Likewise.
13645 * manual/lang.texi: Likewise.
13646 * manual/libc.texiinfo: Likewise.
13647 * manual/llio.texi: Likewise.
13648 * manual/locale.texi: Likewise.
13649 * manual/maint.texi: Likewise.
13650 * manual/math.texi: Likewise.
13651 * manual/memory.texi: Likewise.
13652 * manual/message.texi: Likewise.
13653 * manual/nss.texi: Likewise.
13654 * manual/pattern.texi: Likewise.
13655 * manual/process.texi: Likewise.
13656 * manual/resource.texi: Likewise.
13657 * manual/search.texi: Likewise.
13658 * manual/setjmp.texi: Likewise.
13659 * manual/signal.texi: Likewise.
13660 * manual/socket.texi: Likewise.
13661 * manual/startup.texi: Likewise.
13662 * manual/stdio.texi: Likewise.
13663 * manual/string.texi: Likewise.
13664 * manual/sysinfo.texi: Likewise.
13665 * manual/syslog.texi: Likewise.
13666 * manual/terminal.texi: Likewise.
13667 * manual/time.texi: Likewise.
13668 * manual/users.texi: Likewise.
13669 * INSTALL: Regenerated.
13670 * NOTES: Regenerated.
d40c5d54 13671 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 13672
450bf206
AS
136732012-02-28 Andreas Schwab <schwab@linux-m68k.org>
13674
13675 * include/dirent.h: Include <dirstream.h> before
13676 <dirent/dirent.h>.
13677
741a235b
DM
136782012-02-28 David S. Miller <davem@davemloft.net>
13679
13680 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
13681 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
13682 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
13683 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
13684
d6b5aa58
DM
136852012-02-27 David S. Miller <davem@davemloft.net>
13686
1aff59a3
DM
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
13689 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
13690 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
13691
d6b5aa58
DM
13692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
13693 frame pointer instead of stack pointer relative arg slot.
13694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13697
433f48bf
CD
136982012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
13699
13700 [BZ #3992]
13701 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
13702
d674b76d
DM
137032012-02-27 David S. Miller <davem@davemloft.net>
13704
13705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
13706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
13709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13711 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
13712 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
13713
0e7727f7
JM
137142012-02-27 Joseph Myers <joseph@codesourcery.com>
13715
13716 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
13717 later. Allow versions 5-9.
43be4ca2 13718 * configure: Regenerated.
0e7727f7
JM
13719 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
13720 required minimum version and 4.6 as recommended version. Do not
13721 mention bugs in GCC 2.7 and 2.8.
43be4ca2 13722 * INSTALL: Regenerated.
0e7727f7 13723
a78bc654
DM
137242012-02-27 David S. Miller <davem@davemloft.net>
13725
428d5830
DM
13726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
13727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
13728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
13729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
13730 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
13731 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
13732 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
13733 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
13734
a78bc654
DM
13735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
13736 manipulate bits before adding and subtracting TWO112[sx].
13737 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13738
4579f81c
RM
137392012-02-27 Roland McGrath <roland@hack.frob.com>
13740
36c8acb4
RM
13741 [BZ #13775]
13742 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
13743 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
13744 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
13745 being in POSIX, because they are in 1003.1-2008.
13746
84ad622b
RM
13747 * rt/tst-aio.c: Include <fcntl.h>.
13748 * rt/tst-aio7.c: Likewise.
13749 * rt/tst-aio64.c: Likewise.
13750
4579f81c
RM
13751 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
13752
abd923db
JM
137532012-02-27 Joseph Myers <joseph@codesourcery.com>
13754
13755 * manual/install.texi (--with-headers): Describe headers as
13756 interface headers, not private headers.
13757 (Specific advice for GNU/Linux systems): Describe use of headers
13758 from "make headers_install", not private headers from older
13759 kernels.
43be4ca2 13760 * INSTALL: Regenerated.
abd923db
JM
13761 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
13762 Change to 2.6.19.
13763 * sysdeps/unix/sysv/linux/configure: Regenerated.
13764
6664049b
JM
13765 * manual/llio.texi (fclean): Remove documentation.
13766
bb8b6697
JM
13767 * manual/Makefile (libc-texi-generated): New variable. Include
13768 version.texi.
13769 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
13770 $(libc-texi-generated), not duplicated list of files.
13771 (version.texi, stamp-version): New rules.
13772 (realclean): Remove $(libc-texi-generated), not individual files
13773 from that list. Do not remove dir-add.texinfo.
13774 * manual/libc.texinfo: Comment out uses of edition numbers and
13775 references to printed manual. Remove last-updated dates.
13776 (EDITION): Comment out.
13777 (ISBN): Likewise.
13778 (VERSION, UPDATED): Remove.
13779 (version.texi): Include.
13780
12e5c3b9
AS
137812012-02-27 Andreas Schwab <schwab@linux-m68k.org>
13782
13783 * sysdeps/posix/spawni.c: Include <signal.h>.
13784 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
13785 * sysdeps/pthread/aio_fsync.c: Likewise.
13786
4efeffc1 137872012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 13788
ba63ba08
UD
13789 * conform/Makefile (tests): Run only when not cross-compiling and
13790 when fast-check is not defined.
13791
d94a4670
UD
13792 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
13793 * conform/data/limits.h-data: Fixes for POSIX2008.
13794 * conform/run-conformtest.sh: Run all tests.
13795 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
13796 headers.
13797 * include/bits/dlfcn.h: Likewise.
13798 * include/langinfo.h: Likewise.
13799 * include/monetary.h: Likewise.
13800 * include/sys/poll.h: Likewise.
13801
13802 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
13803 for __USE_GNU.
13804 * posix/spawn.h: Define __need_sigset_t.
13805 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
13806 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
13807 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
13808 to get sigevent_t only.
13809 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
13810 only for __USE_GNU.
13811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13812 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
13813 process_vm_writev only for __USE_GNU.
13814 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
13815
13816 * conform/Makefile: For now ignore errors from run-conformtest.
13817 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
13818 POSIX to avoid namespace pollution. Don't prepend headers.
13819 * conform/data/aio.h-data: Fixes for POSIX testing.
13820 * conform/data/fcntl.h-data: Likewise.
13821 * conform/data/glob.h-data: Likewise.
13822 * conform/data/grp.h-data: Likewise.
13823 * conform/data/pthread.h-data: Likewise.
13824 * conform/data/pwd.h-data: Likewise.
13825 * conform/data/signal.h-data: Likewise.
13826 * conform/data/spawn.h-data: Likewise.
13827 * conform/data/stdio.h-data: Likewise.
13828 * conform/data/stdlib.h-data: Likewise.
13829 * conform/data/stropts.h-data: Likewise.
13830 * conform/data/sys/mman.h-data: Likewise.
13831 * conform/data/sys/stat.h-data: Likewise.
13832 * conform/data/sys/types.h-data: Likewise.
13833 * conform/data/sys/wait.h-data: Likewise.
13834 * conform/data/time.h-data: Likewise.
13835 * conform/data/unistd.h-data: Likewise.
13836 * conform/data/utime.h-data: Likewise.
13837
13838 * io/sys/stat.h: fchmod was always in POSIX.
13839 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
13840 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
13841 * rt/aio.h: Define __need_timespec before including <time.h>.
13842 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
13843 struct. Add forward declaration of pthread_attr_t and use it in
13844 sigevent.
13845 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13847 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
13848 always remove CLK_TCK definition.
13849
c20105c3
AS
138502012-02-26 Andreas Schwab <schwab@linux-m68k.org>
13851
13852 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
13853
7a270350
UD
138542012-02-25 Ulrich Drepper <drepper@gmail.com>
13855
31341567
UD
13856 * conform/run-conformtest.sh: New file.
13857 * conform/Makefile: Run run-conformtest for tests.
13858 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
13859 support.
13860
13861 * conform/data/uchar.h-data: New file.
13862 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
13863 * conform/data/arpa/inet.h-data: Likewise.
13864 * conform/data/assert.h-data: Likewise.
13865 * conform/data/complex.h-data: Likewise.
13866 * conform/data/cpio.h-data: Likewise.
13867 * conform/data/ctype.h-data: Likewise.
13868 * conform/data/dirent.h-data: Likewise.
13869 * conform/data/dlfcn.h-data: Likewise.
13870 * conform/data/errno.h-data: Likewise.
13871 * conform/data/fcntl.h-data: Likewise.
13872 * conform/data/float.h-data: Likewise.
13873 * conform/data/fmtmsg.h-data: Likewise.
13874 * conform/data/fnmatch.h-data: Likewise.
13875 * conform/data/ftw.h-data: Likewise.
13876 * conform/data/glob.h-data: Likewise.
13877 * conform/data/grp.h-data: Likewise.
13878 * conform/data/iconv.h-data: Likewise.
13879 * conform/data/inttypes.h-data: Likewise.
13880 * conform/data/langinfo.h-data: Likewise.
13881 * conform/data/libgen.h-data: Likewise.
13882 * conform/data/limits.h-data: Likewise.
13883 * conform/data/locale.h-data: Likewise.
13884 * conform/data/math.h-data: Likewise.
13885 * conform/data/monetary.h-data: Likewise.
13886 * conform/data/mqueue.h-data: Likewise.
13887 * conform/data/ndbm.h-data: Likewise.
13888 * conform/data/net/if.h-data: Likewise.
13889 * conform/data/netdb.h-data: Likewise.
13890 * conform/data/netinet/in.h-data: Likewise.
13891 * conform/data/nl_types.h-data: Likewise.
13892 * conform/data/poll.h-data: Likewise.
13893 * conform/data/pthread.h-data: Likewise.
13894 * conform/data/pwd.h-data: Likewise.
13895 * conform/data/regex.h-data: Likewise.
13896 * conform/data/sched.h-data: Likewise.
13897 * conform/data/search.h-data: Likewise.
13898 * conform/data/semaphore.h-data: Likewise.
13899 * conform/data/setjmp.h-data: Likewise.
13900 * conform/data/signal.h-data: Likewise.
13901 * conform/data/spawn.h-data: Likewise.
13902 * conform/data/stdarg.h-data: Likewise.
13903 * conform/data/stdio.h-data: Likewise.
13904 * conform/data/stdlib.h-data: Likewise.
13905 * conform/data/string.h-data: Likewise.
13906 * conform/data/strings.h-data: Likewise.
13907 * conform/data/stropts.h-data: Likewise.
13908 * conform/data/sys/ipc.h-data: Likewise.
13909 * conform/data/sys/mman.h-data: Likewise.
13910 * conform/data/sys/msg.h-data: Likewise.
13911 * conform/data/sys/resource.h-data: Likewise.
13912 * conform/data/sys/select.h-data: Likewise.
13913 * conform/data/sys/sem.h-data: Likewise.
13914 * conform/data/sys/shm.h-data: Likewise.
13915 * conform/data/sys/socket.h-data: Likewise.
13916 * conform/data/sys/stat.h-data: Likewise.
13917 * conform/data/sys/statvfs.h-data: Likewise.
13918 * conform/data/sys/time.h-data: Likewise.
13919 * conform/data/sys/timeb.h-data: Likewise.
13920 * conform/data/sys/times.h-data: Likewise.
13921 * conform/data/sys/types.h-data: Likewise.
13922 * conform/data/sys/uio.h-data: Likewise.
13923 * conform/data/sys/un.h-data: Likewise.
13924 * conform/data/sys/utsname.h-data: Likewise.
13925 * conform/data/sys/wait.h-data: Likewise.
13926 * conform/data/syslog.h-data: Likewise.
13927 * conform/data/tar.h-data: Likewise.
13928 * conform/data/termios.h-data: Likewise.
13929 * conform/data/utime.h-data: Likewise.
13930 * conform/data/utmpx.h-data: Likewise.
13931 * conform/data/varargs.h-data: Likewise.
13932 * conform/data/wchar.h-data: Likewise.
13933 * conform/data/wctype.h-data: Likewise.
13934 * conform/data/wordexp.h-data: Likewise.
13935
13936 * include/stropts.h: New file.
13937 * include/uchar.h: New file.
13938 * include/aio.h: Changes to allow conformtest.pl to use the headers.
13939 * include/assert.h: Likewise.
13940 * include/ctype.h: Likewise.
13941 * include/dirent.h: Likewise.
13942 * include/dlfcn.h: Likewise.
13943 * include/fcntl.h: Likewise.
13944 * include/fnmatch.h: Likewise.
13945 * include/glob.h: Likewise.
13946 * include/grp.h: Likewise.
13947 * include/libio.h: Likewise.
13948 * include/locale.h: Likewise.
13949 * include/math.h: Likewise.
13950 * include/net/if.h: Likewise.
13951 * include/netdb.h: Likewise.
13952 * include/netinet/in.h: Likewise.
13953 * include/pthread.h: Likewise.
13954 * include/pwd.h: Likewise.
13955 * include/regex.h: Likewise.
13956 * include/sched.h: Likewise.
13957 * include/search.h: Likewise.
13958 * include/setjmp.h: Likewise.
13959 * include/signal.h: Likewise.
13960 * include/stdio.h: Likewise.
13961 * include/stdlib.h: Likewise.
13962 * include/string.h: Likewise.
13963 * include/sys/cdefs.h: Likewise.
13964 * include/sys/mman.h: Likewise.
13965 * include/sys/msg.h: Likewise.
13966 * include/sys/resource.h: Likewise.
13967 * include/sys/select.h: Likewise.
13968 * include/sys/socket.h: Likewise.
13969 * include/sys/stat.h: Likewise.
13970 * include/sys/statvfs.h: Likewise.
13971 * include/sys/time.h: Likewise.
13972 * include/sys/times.h: Likewise.
13973 * include/sys/uio.h: Likewise.
13974 * include/sys/utsname.h: Likewise.
13975 * include/sys/wait.h: Likewise.
13976 * include/termios.h: Likewise.
13977 * include/time.h: Likewise.
13978 * include/ulimit.h: Likewise.
13979 * include/unistd.h: Likewise.
13980 * include/utime.h: Likewise.
13981 * include/wchar.h: Likewise.
13982 * include/wctype.h: Likewise.
13983 * include/wordexp.h: Likewise.
13984
13985 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
13986
7a270350
UD
13987 * time/time.h: TIME_UTC must be a macro.
13988 Make timespec_get available for ISO C11 only as well.
13989
7724defc
UD
139902012-02-24 Ulrich Drepper <drepper@gmail.com>
13991
13992 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
13993 Reported by Peng Haitao <penght@cn.fujitsu.com>.
13994
6b1d1d46
JM
139952012-02-24 Joseph Myers <joseph@codesourcery.com>
13996
13997 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 13998
0f8bbd69
JM
139992012-02-24 Joseph Myers <joseph@codesourcery.com>
14000
14001 * manual/texinfo.tex: Update to version 2012-01-19.16.
14002
66ab80bc
JM
140032012-02-24 Joseph Myers <joseph@codesourcery.com>
14004
14005 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14006
74981cc5
RM
140072012-02-24 Roland McGrath <roland@hack.frob.com>
14008
ee968201
RM
14009 [BZ #13738]
14010 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14011 * manual/fdl-1.3.texi: New file.
14012 * manual/fdl-1.1.texi: File removed.
14013
74981cc5
RM
14014 [BZ #13738]
14015 * manual/libc.texinfo (FDL_VERSION): New @set.
14016 Use it for mention of FDL in cover text.
14017 (Documentation License): Use it in @include file name.
14018
7bb764bc
JM
140192012-02-22 Joseph Myers <joseph@codesourcery.com>
14020 Roland McGrath <roland@hack.frob.com>
14021
14022 [BZ #5461]
14023 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14024 not LONG_LONG_MAX and LONG_LONG_MIN.
14025 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14026 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14027 name.
14028 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14029
6cbeae47
JM
140302012-02-22 Joseph Myers <joseph@codesourcery.com>
14031
14032 [BZ #2547]
14033 [BZ #11365]
14034 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14035 manipulate bits before adding and subtracting TWO23[sx].
14036 * math/libm-test.inc (nearbyint_test): Add more tests.
14037
fe45ce09
JM
140382012-02-22 Joseph Myers <joseph@codesourcery.com>
14039
14040 [BZ #2548]
14041 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14042 bits before adding and subtracting TWO23[sx].
14043 * math/libm-test.inc (rint_test): Add more tests.
14044 (rint_test_tonearest): Likewise.
14045 (rint_test_towardzero): Likewise.
14046 (rint_test_downward): Likewise.
14047 (rint_test_upward: Likewise.
14048
ff3b3d82
JM
140492012-02-22 Joseph Myers <joseph@codesourcery.com>
14050
14051 [BZ #10110]
14052 * include/stdc-predef.h: New file. Extracted from features.h.
14053 * include/features.h: Include stdc-predef.h.
14054 * Makefile (headers): Add stdc-predef.h.
14055 * CONFORMANCE (Compiler limitations): Update.
14056
ef0aab35
JM
140572012-02-22 Joseph Myers <joseph@codesourcery.com>
14058
14059 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14060
58639409
DM
140612012-02-21 David S. Miller <davem@davemloft.net>
14062
14063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14064 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14065
c0e70b25
DM
140662012-02-20 David S. Miller <davem@davemloft.net>
14067
14068 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14069 using a normal save/restore sequence, rather than allocating a
14070 dummy stack frame just to store a frame pointer and restore.
14071 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14072
fb06851d
JM
140732012-02-21 Joseph Myers <joseph@codesourcery.com>
14074
14075 * manual/install.texi: Fix stray word in line-wrapped comment.
14076
7a8b71c3
DM
140772012-02-20 David S. Miller <davem@davemloft.net>
14078
d510c123
DM
14079 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14080 both binutils and gcc support GOTDATA.
14081
0722d7c2
DM
14082 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14083 "rd %pc" in the PIC register setup sequences.
14084
3d2b3019
DM
14085 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14086 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14087 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14088 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14089 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14094 (SYSCALL_ERROR_HANDLER): Likewise.
14095 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14096 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14098 (SYSCALL_ERROR_HANDLER): Likewise.
14099
c80098a9
DM
14100 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14101 (HAVE_GCC_GOTDATA): New.
14102 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14103 relocation support in both binutils and gcc.
14104 * sysdeps/sparc/elf/configure: Regenerate.
14105
3a2545a0
DM
14106 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14107 * sysdeps/sparc/sparc32/elf/configure: Delete.
14108 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14109 * sysdeps/sparc/sparc64/elf/configure: Delete.
14110 * sysdeps/sparc/elf/configure.in: New file.
14111 * sysdeps/sparc/elf/configure: Generate.
14112
7a8b71c3
DM
14113 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14114 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14115 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14116 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14117 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14118
f1e86fca
JM
141192012-02-21 Joseph Myers <joseph@codesourcery.com>
14120
14121 * manual/install.texi: Do not mention specific glibc version
14122 numbers.
14123 * manual/libc.texinfo (VERSION, UPDATED): Update.
14124 (@copying): Use @copyright{} and range of years.
14125
0e7dfaef
JM
141262012-02-21 Joseph Myers <joseph@codesourcery.com>
14127
14128 [BZ #13695]
14129 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14130 [crti.S not in sysdirs] (generated): Do not append.
14131 [crti.S not in sysdirs] (omit-deps): Likewise.
14132 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14133 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14134 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14135 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14136 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14137 Likewise.
14138 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14139 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14140 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14141 * csu/defs.awk: Remove file.
14142 * sysdeps/generic/initfini.c: Likewise.
14143 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14144 variable.
14145 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14146 Likewise.
14147
599af3ca
JM
141482012-02-20 Joseph Myers <joseph@codesourcery.com>
14149
14150 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14151 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14152 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14154 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14155 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14156 <bits/epoll.h>.
14157 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14158 (__EPOLL_PACKED): Define to empty if not defined by
14159 <bits/epoll.h>.
14160 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14162 bits/epoll.h.
14163
0e499750
JM
141642012-02-20 Joseph Myers <joseph@codesourcery.com>
14165
14166 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14167 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14169 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14170 <bits/timerfd.h>.
14171 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14173 bits/timerfd.h.
14174
5ad91f6e
JM
141752012-02-20 Joseph Myers <joseph@codesourcery.com>
14176
14177 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14178 in C locale.
14179 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14180 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
06b99b02
AJ
141842012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14185
14186 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14187 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14188
7638c0fd
AS
141892012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14190
14191 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14192 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14193 defined.
14194 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14195 Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14197 entry for 2.16.
14198
92221550
AJ
141992012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14200
14201 * math/w_acos.c: Use non-signaling floating-point comparisons.
14202 * math/w_acosf.c: Likewise.
14203 * math/w_acosh.c: Likewise.
14204 * math/w_acoshf.c: Likewise.
14205 * math/w_acoshl.c: Likewise.
14206 * math/w_acosl.c: Likewise.
14207 * math/w_asin.c: Likewise.
14208 * math/w_asinf.c: Likewise.
14209 * math/w_asinl.c: Likewise.
14210 * math/w_atanh.c: Likewise.
14211 * math/w_atanhf.c: Likewise.
14212 * math/w_atanhl.c: Likewise.
14213 * math/w_exp2.c: Likewise.
14214 * math/w_exp2f.c: Likewise.
14215 * math/w_exp2l.c: Likewise.
14216 * math/w_j0.c: Likewise.
14217 * math/w_j0f.c: Likewise.
14218 * math/w_j0l.c: Likewise.
14219 * math/w_j1.c: Likewise.
14220 * math/w_j1f.c: Likewise.
14221 * math/w_j1l.c: Likewise.
14222 * math/w_jn.c: Likewise.
14223 * math/w_jnf.c: Likewise.
14224 * math/w_log.c: Likewise.
14225 * math/w_log10.c: Likewise.
14226 * math/w_log10f.c: Likewise.
14227 * math/w_log10l.c: Likewise.
14228 * math/w_log2.c: Likewise.
14229 * math/w_log2f.c: Likewise.
14230 * math/w_log2l.c: Likewise.
14231 * math/w_logf.c: Likewise.
14232 * math/w_logl.c: Likewise.
14233 * math/w_sqrt.c: Likewise.
14234 * math/w_sqrtf.c: Likewise.
14235 * math/w_sqrtl.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14239 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14240 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14241
ebaf36eb
JM
142422012-02-19 Joseph Myers <joseph@codesourcery.com>
14243
14244 [BZ #9739]
14245 * manual/string.texi (strnlen): Use correct parameter name in
14246 equivalent expression.
14247
71c254a6
JM
142482012-02-19 Joseph Myers <joseph@codesourcery.com>
14249
14250 [BZ #11174]
14251 * manual/users.texi (seteuid): Consistently use neweuid for
14252 argument name.
14253
16d2c631
JM
142542012-02-19 Joseph Myers <joseph@codesourcery.com>
14255
14256 [BZ #13704]
14257 * manual/nss.texi (Services in the NSS configuration): Correct
14258 list of services in example configuration file.
14259
cd837b09
NB
142602012-02-19 Nick Bowler <nbowler@draconx.ca>
14261
14262 [BZ #11322]
14263 * manual/arith.texi: Remove statements about negative zero
14264 behaving identically to zero.
14265
02c4bbad
JM
142662012-02-18 Joseph Myers <joseph@codesourcery.com>
14267
14268 [BZ #5993]
14269 * manual/install.texi: Do not document upgrading from libc5.
14270
366842e7
JM
142712012-02-18 Joseph Myers <joseph@codesourcery.com>
14272
14273 [BZ #4596]
14274 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14275
dd54084d
DM
142762012-02-18 David S. Miller <davem@davemloft.net>
14277
14278 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14279 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14280 %o7 across the call.
14281 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14282 instead.
14283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14284 SETUP_PIC_REG_LEAF.
14285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14286 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14287 * sysdeps/sparc/crtn.S: Likewise.
14288
2bcc53a3
UD
142892012-02-17 Ulrich Drepper <drepper@gmail.com>
14290
14291 * aout/Makefile: Remove.
14292
09c093b5
RK
142932012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14294
14295 [BZ #13058]
14296 * manual/examples/argp-ex1.c (main): Format definition in GNU
14297 style.
14298 * manual/examples/argp-ex2.c (main): Likewise.
14299 * manual/examples/argp-ex3.c (main): Likewise.
14300 * manual/examples/argp-ex4.c (main): Likewise.
14301 * manual/examples/longopt.c (main): Use new-style prototype
14302 definition.
14303 * manual/examples/strncat.c (main): Specify return type and use
14304 (void) for arguments.
14305 * manual/examples/subopt.c (main): Use char **argv argument.
14306
2ee633a2
JM
143072012-02-17 Joseph Myers <joseph@codesourcery.com>
14308
14309 [BZ #5077]
14310 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14311 rounding modes.
14312
0520adde
FB
143132012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14314
14315 [BZ #6907]
14316 * manual/string.texi (strchr): Change when strchrnul is
14317 recommended.
14318
3f4081cd
DGM
143192012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14320
14321 [BZ #174]
14322 * manual/locale.texi (setlocale): Document LOCPATH.
14323
d1b10e78
JM
143242012-02-17 Joseph Myers <joseph@codesourcery.com>
14325
14326 [BZ #10210]
14327 * manual/process.texi (execle): Move @dots{} before last argument.
14328
79c6869c
PB
143292012-02-17 Paul Bolle <pebolle@tiscali.nl>
14330
14331 [BZ #12047]
14332 * manual/charset.texi (Generic Charset Conversion): Fix typo
14333 (LC_TYPE -> LC_CTYPE).
14334
cc6e48bc
NB
143352012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14336
14337 [BZ #5805]
14338 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14339 (scalbnf): Likewise.
14340 (scalbnl): Likewise.
14341 (scalbln): Likewise.
14342 (scalblnf): Likewise.
14343 (scalblnl): Likewise.
14344 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14345 (vwarnx): Likewise.
14346 (verr): Likewise.
14347 (verrx): Likewise.
14348 * manual/filesys.texi (telldir): Use braces around return type.
14349 * manual/llio.texi (mmap): Add space after comma.
14350 (mmap64): Likewise.
14351 * manual/math.texi (jn): Use @var{} on parameter names.
14352 (jnf): Likewise.
14353 (jnl): Likewise.
14354 (yn): Likewise.
14355 (ynf): Likewise.
14356 (ynl): Likewise.
14357 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14358 line.
14359 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14360 "...".
14361 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14362 (sched_get_priority_max): Likewise.
14363 * manual/signal.texi (sigvec): Add space after comma.
14364 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14365 names.
14366 (if_indextoname): Likewise.
14367 (if_freenameindex): Likewise.
14368 (sendto): Use ',' instead of '.' in prototype.
14369 * manual/startup.texi (syscall): Use @dots{} instead of literal
14370 "...".
14371 * manual/stdio.texi (__fpending): Separate initial words of
14372 paragraph from @deftypefun line.
14373 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14374 "...".
14375 (vsyslog): Use @var{} on parameter names.
14376 * manual/terminal.texi (stty): Use @var{} on parameter names.
14377 * manual/users.texi (getutmp): Use @var{} on parameter names.
14378 (getutmpx): Likewise.
14379
5b23062f
JM
143802012-02-17 Joseph Myers <joseph@codesourcery.com>
14381
14382 [BZ #6884]
14383 * manual/stdio.texi (fopen): Fix typos in description of
14384 ",ccs=STRING".
14385
8dee4833
AJ
143862012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14387
14388 [BZ #4026]
14389 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14390 get clock_id definition.
14391
9078ce93
TS
143922012-02-17 Thomas Schwinge <thomas@schwinge.name>
14393
14394 [BZ #4822]
14395 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14396 (madvise): Cast every argument to void on its own.
14397
3835c55f
JM
143982012-02-17 Joseph Myers <joseph@codesourcery.com>
14399
14400 [BZ #9902]
14401 * manual/startup.texi (Exit Status): Fix typo.
14402
35c47e37
JM
144032012-02-17 Joseph Myers <joseph@codesourcery.com>
14404
14405 [BZ #10140]
14406 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14407 * manual/examples/argp-ex2.c: Likewise.
14408 * manual/examples/argp-ex3.c: Likewise.
14409
e3b69ca7
RH
144102012-02-16 Richard Henderson <rth@redhat.com>
14411
14412 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14413 * sysdeps/s390/s390-32/initfini.c: Remove.
14414 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14415 * sysdeps/s390/s390-64/initfini.c: Remove.
14416
df83af67
KK
144172012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14418
14419 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14420 compiler output for sysdeps/generic/initfini.c.
14421 * sysdeps/sh/elf/initfini.c: Remove file.
14422
f63f3380
DM
144232012-02-16 David S. Miller <davem@davemloft.net>
14424
fb59b3a4
DM
14425 [BZ #11494]
14426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14427
f63f3380
DM
14428 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14429 * sysdeps/sparc/crti.S: New file.
14430 * sysdeps/sparc/crtn.S: New file.
14431 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14432 * sysdeps/sparc/sparc64/Makefile: Likewise.
14433
df6a4a4a
MF
144342012-02-15 Mike Frysinger <vapier@gentoo.org>
14435
6dd8f3dc 14436 [BZ #3335]
df6a4a4a
MF
14437 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14438
1cac7236
RM
144392012-02-15 Roland McGrath <roland@hack.frob.com>
14440
d2c736f8
RM
14441 [BZ #4822]
14442 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14443
1cac7236
RM
14444 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14445 (write, read, close): Likewise.
14446 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14447
8e475601
JM
144482012-02-15 Joseph Myers <joseph@codesourcery.com>
14449
14450 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14451 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14452 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14453 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14454 <bits/signalfd.h>.
14455 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14457 bits/signalfd.h.
14458
ed656b40
MP
144592012-02-14 Marek Polacek <polacek@redhat.com>
14460
14461 * sysdeps/x86_64/crti.S: New file.
14462 * sysdeps/x86_64/crtn.S: New file.
14463 * sysdeps/x86_64/elf/initfini.c: Remove file.
14464
2a979d3a
JM
144652012-02-13 Joseph Myers <joseph@codesourcery.com>
14466
14467 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14468 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14469 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14470 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14471 <bits/inotify.h>.
14472 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14474 bits/inotify.h.
14475
2a418ac3
JM
144762012-02-13 Joseph Myers <joseph@codesourcery.com>
14477
14478 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14479 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14480 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14481 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14482 <bits/eventfd.h>.
14483 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14485 bits/eventfd.h.
14486
fb779be7
TS
144872012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14488
e19e83c5
RM
14489 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14490 __feraiseexcept instead of feraiseexcept.
7c35ffed 14491
fb779be7
TS
14492 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14493 nanosleep invocations.
14494 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14495 strings, and add error checking for a nanosleep invocations.
14496
59ba27a6
PE
144972012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14498
14499 Replace FSF snail mail address with URLs, as per GNU coding standards.
14500 Most of the snail mail addresses were wrong anyway, and omitting
14501 them makes the source code easier to maintain. Almost all of the
14502 changes are to license notices and to locale LC_IDENTIFICATION
14503 addresses, except for this one:
14504 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14505 not its snail mail address.
14506
57b957eb
RH
145072012-02-09 Richard Henderson <rth@twiddle.net>
14508
af850b1c
RH
14509 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14510 of kernel-features.h.
14511
57b957eb
RH
14512 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14513
6b73181a
MP
145142012-02-08 Marek Polacek <polacek@redhat.com>
14515
14516 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
14517 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
14518 * sysdeps/gnu/_G_config.h: Likewise.
14519 * sysdeps/generic/_G_config.h: Likewise.
14520
26ecc33a
AS
145212012-02-08 Andreas Schwab <schwab@linux-m68k.org>
14522
6c6dbc63
AS
14523 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
14524 tests.
14525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14526
e216c012
AS
14527 * sysdeps/powerpc/powerpc32/crti.S: New file.
14528 * sysdeps/powerpc/powerpc32/crtn.S: New file.
14529 * sysdeps/powerpc/powerpc64/crti.S: New file.
14530 * sysdeps/powerpc/powerpc64/crtn.S: New file.
14531
26ecc33a
AS
14532 * Makeconfig (have-initfini): Don't set.
14533 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
14534 * configure.in (nopic_initfini): Don't substitute.
14535 * config.h.in (HAVE_INITFINI): Don't #undef.
14536 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
14537 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
14538
3add8e13
JM
145392012-02-08 Joseph Myers <joseph@codesourcery.com>
14540
14541 Support crti.S and crtn.S provided directly by architectures.
14542 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
14543 [crti.S in sysdirs] (omit-deps): Likewise.
14544 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
14545 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
14546 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
14547 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
14548 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
14549 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
14550 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
14551 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
14552 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
14553 compiler output for sysdeps/generic/initfini.c.
14554 * sysdeps/i386/elf/Makefile: Remove file.
14555 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
14556
a22f12b4
MP
145572012-02-07 Marek Polacek <polacek@redhat.com>
14558
14559 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
14560 * sysdeps/gnu/_G_config.h: Likewise.
14561 * sysdeps/mach/hurd/_G_config.h: Likewise.
14562
148cf100
MP
145632012-02-07 Marek Polacek <polacek@redhat.com>
14564
14565 * math/Makefile (tests): Add tst-CMPLX2.
14566 * math/tst-CMPLX2.c: New file.
14567
cfdc0dd7
AS
145682012-02-07 Andreas Schwab <schwab@linux-m68k.org>
14569
84ba42c4
AS
14570 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14571
cfdc0dd7
AS
14572 * math/libm-test.inc (jn_test): Add missing L suffix.
14573
622c86f4
MP
145742012-02-06 Marek Polacek <polacek@redhat.com>
14575
14576 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
14577 * sysdeps/i386/fpu/e_powf.S: Likewise.
14578 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14579 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14580 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14581 * sysdeps/i386/fpu/e_pow.S: Likewise.
14582 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14583 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14584 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14585 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14586 * sysdeps/i386/fpu/e_log2.S: Likewise.
14587 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14588 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14589 * sysdeps/i386/fpu/e_powl.S: Likewise.
14590 * sysdeps/i386/fpu/s_log1p.S: Likewise.
14591 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14592 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14593 * sysdeps/i386/fpu/e_logl.S: Likewise.
14594 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14595 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
14596 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14597 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14598 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14600 * sysdeps/i386/fpu/e_log.S: Likewise.
14601 * sysdeps/i386/fpu/s_cexp.S: Likewise.
14602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14603 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
14604 * sysdeps/i386/fpu/e_logf.S: Likewise.
14605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14607 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
14608 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14609 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14610 * sysdeps/i386/fpu/e_log10.S: Likewise.
14611 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14612 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14613 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14614 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14616 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14617 * sysdeps/i386/asm-syntax.h: Likewise.
14618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14619 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14621 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
14622 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
14623 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14624 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14625 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14627 * sysdeps/powerpc/sysdep.h: Likewise.
14628 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
14629 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14630
d4a54ac6
JM
146312012-02-06 Joseph Myers <joseph@codesourcery.com>
14632
14633 [BZ #411]
14634 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
14635
314054ea
JM
146362012-02-06 Joseph Myers <joseph@codesourcery.com>
14637
14638 * sysdeps/i386/sysdep.h: Include <features.h>.
14639 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
14640 version.
14641
d8e0ca50
JM
146422012-02-05 Joseph Myers <joseph@codesourcery.com>
14643
14644 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
14645 Define.
14646 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
14647 LOAD_PIC_REG_STR.
14648
b1da7dd9
JM
146492012-02-03 Joseph Myers <joseph@codesourcery.com>
14650
14651 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
14652 (SETUP_PIC_REG): Use GET_PC_THUNK.
14653 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
14654 macro.
14655
9a1d9254
JM
146562012-02-03 Joseph Myers <joseph@codesourcery.com>
14657
14658 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
14659 for non-PIC compilation.
14660 (SETUP_PIC_REG): Add .p2align directive.
14661 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
14662 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
14663 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14664 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14665 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14666 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
14668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14669 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14670 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14671 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14672 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14673 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14675 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14676 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14677 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14678 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14679 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14680 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14681 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14682 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14683 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14684 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14687 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14689 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14690 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14691 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14692 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14693 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14702
65dc3b75
JM
147032012-02-03 Joseph Myers <joseph@codesourcery.com>
14704
14705 * math/tst-CMPLX.c: Include <stdio.h>.
14706
d55bf177
JM
147072012-01-31 Joseph Myers <joseph@codesourcery.com>
14708
14709 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
14710 float.
14711 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14712 * sysdeps/sparc/bits/mathdef.h: Likewise.
14713
69db4f8f
MP
147142012-01-31 Marek Polacek <polacek@redhat.com>
14715
14716 * libio/libio.h: Don't define _PARAMS.
14717 * locale/programs/config.h: Don't define PARAMS.
14718 * stdlib/strtol_l.c: Likewise.
14719 (__strtol_l): Remove PARAMS from the prototype.
14720
41b81892
UD
147212012-01-31 Ulrich Drepper <drepper@gmail.com>
14722
3b49edc0
UD
14723 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
14724 names. Just use the correct names. Remove unnecessary wrapper
14725 functions.
14726 * malloc/arena.c: Likewise.
14727 * malloc/hooks.c: Likewise.
14728
41b81892
UD
14729 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
14730 ARENA_TEST says not to. Simplify test for creation of a new arena.
14731 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
14732
27a25b6e
UD
147332012-01-30 Ulrich Drepper <drepper@gmail.com>
14734
14735 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
14736 into tail calls.
14737 (update_get_addr): New function.
14738 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
14739 GET_ADDR_MODULE parameter.
14740
c8a89e7d
JM
147412012-01-30 Joseph Myers <joseph@codesourcery.com>
14742
14743 * crypt/cert.c: Remove __STDC__ conditionals.
14744 * crypt/crypt-entry.c: Likewise.
14745 * crypt/crypt_util.c: Likewise.
14746 * libio/filedoalloc.c: Likewise.
14747 * libio/fileops.c: Likewise.
14748 * libio/genops.c: Likewise.
14749 * libio/iofclose.c: Likewise.
14750 * libio/iofdopen.c: Likewise.
14751 * libio/iofopen.c: Likewise.
14752 * libio/iofopen64.c: Likewise.
14753 * libio/iogetdelim.c: Likewise.
14754 * libio/iopopen.c: Likewise.
14755 * libio/obprintf.c: Likewise.
14756 * libio/oldfileops.c: Likewise.
14757 * libio/oldiofclose.c: Likewise.
14758 * libio/oldiofdopen.c: Likewise.
14759 * libio/oldiofopen.c: Likewise.
14760 * libio/oldiopopen.c: Likewise.
14761 * libio/wfiledoalloc.c: Likewise.
14762 * libio/wgenops.c: Likewise.
14763 * locale/programs/xmalloc.c: Likewise.
14764 * misc/syslog.c: Likewise.
14765 * stdio-common/xbug.c: Likewise.
14766 * string/memchr.c: Likewise.
14767 * string/memcmp.c: Likewise.
14768 * string/memrchr.c: Likewise.
14769 * string/rawmemchr.c: Likewise.
14770 * sysdeps/posix/getcwd.c: Likewise.
14771 * time/strftime_l.c: Likewise.
14772
3b100462
JM
147732012-01-30 Joseph Myers <joseph@codesourcery.com>
14774
14775 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
14776 * config.make.in (config-cflags-sse2avx): Define.
14777 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
14778 Fix typo.
14779
607998af
CM
147802012-01-29 Chris Metcalf <cmetcalf@tilera.com>
14781
14782 * scripts/config.guess: Update from upstream config git repository.
14783 * scripts/config.sub: Likewise.
14784
3601428f
CM
147852012-01-28 Chris Metcalf <cmetcalf@tilera.com>
14786
3ac8b282
CM
14787 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
14788 (EM_NUM): Update.
14789 (R_TILEPRO_*, R_TILEGX_*): New macros.
14790
e034841e
CM
14791 * scripts/firstversions.awk: Fix bug in version range handling.
14792
540d7568
CM
14793 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
14794
3601428f
CM
14795 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
14796
463de862
CM
14797 * include/sys/epoll.h: New file.
14798 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
14799 libc_hidden_def.
14800
73139a76
UD
148012012-01-28 Ulrich Drepper <drepper@gmail.com>
14802
96bc5b45
UD
14803 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
14804 Avoid unnecessary __WORDSIZE == 64 test.
14805 (fmaxf): Use VEX format if possible.
14806 (fmax): Likewise.
14807 (fminf): Likewise.
14808 (fmin): Likewise.
14809
56f6f6a2
UD
14810 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
14811 * math/math_private.h: Remove libc_fegetround* and
14812 libc_fesetround*.
14813 * sysdeps/i386/configure.in: Check for -msse2avx.
14814 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
14815 also if SSE2AVX is defined.
14816 Remove libc_fegetround* and libc_fesetround*.
14817 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
14818 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
14819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
14820 of HAS_YMM_USABLE.
14821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14826
73139a76
UD
14827 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
14828
d73f93a4
AZ
148292012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14830
14831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
14832 size is not set.
14833 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14834
6ee65ed6
UD
148352012-01-27 Ulrich Drepper <drepper@gmail.com>
14836
14837 [BZ #13618]
14838 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
14839 relocation.
14840 * Makeconfig (libm): Define.
14841 * elf/Makefile: Add rules to build and run tst-relsort1.
14842 * elf/tst-relsort1.c: New file.
14843 * elf/tst-relsort1mod1.c: New file.
14844 * elf/tst-relsort1mod2.c: New file.
14845
8db21882
JM
148462012-01-27 Joseph Myers <joseph@codesourcery.com>
14847
14848 * math/s_ldexp.c: Remove __STDC__ conditionals.
14849 * math/s_ldexpf.c: Likewise.
14850 * math/s_ldexpl.c: Likewise.
14851 * math/s_nextafter.c: Likewise.
14852 * math/s_nexttowardf.c: Likewise.
14853 * math/s_significand.c: Likewise.
14854 * math/s_significandf.c: Likewise.
14855 * math/s_significandl.c: Likewise.
14856 * math/w_jnl.c: Likewise.
14857 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14858 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14859 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14860 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14861 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14876 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14877 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14878 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14879 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14880 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14881 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14882 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14884 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14885 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14886 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14887 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14888 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14889 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14891 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14892 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14893 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14894 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14895 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14896 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14897 * sysdeps/ieee754/k_standard.c: Likewise.
14898 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14902 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14903 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14904 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14905 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14906 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14907 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14908 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14909 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14910 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14911 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14912 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14916 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14917 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14923 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14927 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14934 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14941 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
14955 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14956 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14957 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14959 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14964 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14973 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14977 * sysdeps/ieee754/s_matherr.c: Likewise.
14978 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14979 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14982
965a54a4
JM
149832012-01-26 Joseph Myers <joseph@codesourcery.com>
14984
14985 * crypt/md5.h: Remove __STDC__ conditionals.
14986 * libio/libioP.h: Likewise.
14987 * locale/programs/config.h: Likewise.
14988 * sysdeps/generic/sysdep.h: Likewise.
14989 * sysdeps/i386/asm-syntax.h: Likewise.
14990 * sysdeps/s390/asm-syntax.h: Likewise.
14991 * sysdeps/unix/sysdep.h: Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14994
7071ad79
JM
149952012-01-26 Joseph Myers <joseph@codesourcery.com>
14996
14997 * libio/libio.h: Remove __STDC__ conditionals.
14998 * malloc/obstack.h: Likewise.
14999 * math/complex.h: Likewise.
15000 * math/math.h: Likewise.
15001 * sysdeps/generic/_G_config.h: Likewise.
15002 * sysdeps/gnu/_G_config.h: Likewise.
15003 * sysdeps/mach/hurd/_G_config.h: Likewise.
15004 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15005 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15006 * sysdeps/sparc/bits/mathdef.h: Likewise.
15007
afc5ed09
UD
150082012-01-26 Ulrich Drepper <drepper@gmail.com>
15009
15010 [BZ #13583]
15011 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15012 Clean up HAS_* macros.
afc5ed09 15013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15014 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15015 possible.
15016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15017 HAS_AVX.
15018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15023
bdb6de1d
JM
150242012-01-25 Joseph Myers <joseph@codesourcery.com>
15025
15026 * elf/tst-unique3.cc (gets): Remove declaration.
15027 * elf/tst-unique3lib.cc (gets): Likewise.
15028 * elf/tst-unique3lib2.cc (gets): Likewise.
15029 * elf/tst-unique4.cc (gets): Likewise.
15030
b15549e6
UD
150312012-01-24 Ulrich Drepper <drepper@gmail.com>
15032
15033 * include/stdio.h: Add C++ protection. Add gets declarations and
15034 definitions.
15035 * debug/tst-chk1.c: Don't declare gets here.
15036 * stdio-common/tst-gets.c: Likewise.
15037
a037381f
JM
150382012-01-24 Joseph Myers <joseph@codesourcery.com>
15039
15040 * posix/glob: Remove directory.
15041
f1d4aa75
JM
150422012-01-24 Joseph Myers <joseph@codesourcery.com>
15043
15044 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15045
81c0c964
PT
150462012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15047
15048 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15049 of the non-standard EPFNOSUPPORT.
15050
0ea698ae
ST
150512011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15052
15053 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15054 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15055 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15056
d220b117
UD
150572012-01-21 Ulrich Drepper <drepper@gmail.com>
15058
15059 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15060
3e1aa84e
UD
150612012-01-20 Ulrich Drepper <drepper@gmail.com>
15062
15063 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15064 transient errors.
15065 * nscd/grpcache.c (cache_addgr): Likewise.
15066 * nscd/hstcache.c (cache_addhst): Likewise.
15067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15068 * nscd/pwdcache.c (cache_addpw): Likewise.
15069 * nscd/servicescache.c (cache_addserv): Likewise.
15070
400aa020
UD
150712012-01-16 Ulrich Drepper <drepper@gmail.com>
15072
d77e7869
UD
15073 * malloc/malloc.c: Various cleanups.
15074 * malloc/hooks.c: Likewise.
15075
400aa020
UD
15076 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15077 * stdlib/bug-fmtmsg1.c: New file.
15078
15079 * stdlib/fmtmsg.c (init): Add missing unlock.
15080 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15081
e0a309cf
MP
150822012-01-12 Marek Polacek <polacek@redhat.com>
15083
15084 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15085 and _GNU_SOURCE.
15086
929d11c7
WS
150872012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15088
15089 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15090 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15091 macro to ensure uniqueness of label name.
15092 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15093 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15094
41d0e869
UD
150952012-01-11 Ulrich Drepper <drepper@gmail.com>
15096
0cc5ed3b
UD
15097 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15098
41d0e869
UD
15099 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15100 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15103
a47a831a
UD
151042012-01-10 Ulrich Drepper <drepper@gmail.com>
15105
daa891c0
UD
15106 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15107
15108 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15111
e58ef0f2
UD
15112 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15113
a47a831a 15114 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15115 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15118
15119 * math/bits/math-finite.h: Add ldexp support.
15120
a0bfc9c7
MP
151212012-01-10 Marek Polacek <polacek@redhat.com>
15122
15123 * locale/programs/localedef.h (show_archive_content): Add noreturn
15124 attribute.
15125
d6e97a1d
UD
151262012-01-09 Ulrich Drepper <drepper@gmail.com>
15127
15128 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15129
d5835c26
UD
151302012-01-08 Ulrich Drepper <drepper@gmail.com>
15131
e5f484c6
UD
15132 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15133
d5835c26
UD
15134 * io/Makefile (headers): Add bits/poll2.h.
15135
d1f741e9
WS
151362011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15137
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15139 typo #include statement.
15140
ec09c1c4
UD
151412012-01-08 Ulrich Drepper <drepper@gmail.com>
15142
15143 * include/sys/cdefs.h: Define __attribute_alloc_size.
15144 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15145 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15146 * elf/pldd.c: Likewise.
15147 * iconv/iconv_charmap.c: Likewise.
15148 * iconv/iconvconfig.c: Likewise.
15149 * iconv/strtab.c: Likewise.
15150 * locale/programs/locale.c: Likewise.
15151 * locale/programs/localedef.h: Likewise.
15152 * locale/programs/simple-hash.c: Likewise.
15153 * nscd/nscd.h: Likewise.
15154 * nss/makedb.c: Likewise.
15155 * sysdeps/generic/ldconfig.h: Likewise.
15156 * locale/programs/localedef.c: Remove xmalloc prototype.
15157 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15158
20b38e03
PP
151592012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15160
15161 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15162 appropriate.
15163
a0da5fe1
UD
151642012-01-08 Ulrich Drepper <drepper@gmail.com>
15165
1d5a644a 15166 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15167 * math/tst-CMPLX.c: New file.
1d5a644a 15168
8784a6db
UD
15169 * math/complex.h (CMPLXL): Fix typo.
15170
d9a216c0
UD
15171 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15172 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15173 GLIBC_2.16.
15174 * debug/tst-chk1.c: Add poll and ppoll tests.
15175 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15176 * include/sys/poll.h: Add hidden proto for ppoll.
15177 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15178 * sysdeps/mach/hurd/ppoll.c: Likewise.
15179 * io/ppoll.c: Likewise.
15180 * debug/poll_chk.c: New file.
15181 * debug/ppoll_chk.c: New file.
15182 * include/bits/poll2.h: New file.
15183 * io/bits/poll2.h: New file.
15184
ac097f5c
UD
15185 [BZ #1350]
15186 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15187
2119dcfa
UD
15188 * configure.in: static is always set to yes. Remove.
15189 * config.make.in: Don't set build-static.
15190 * Makeconfig: Remove use of build-static.
15191 * dlfcn/Makefile: Likewise.
15192 * elf/Makefile: Likewise.
15193 * math/Makefile: Likewise.
15194 * misc/Makefile: Likewise.
15195 * nptl/Makefile: Likewise.
15196 * sysdeps/mach/hurd/Makefile: Likewise.
15197
121766a9
UD
15198 * configure.in: PWD_P is not used anymore.
15199 * config.make.in: Remove PWD_P entry.
15200
51a1d39c 15201 * configure.in: Remove last remnants of RANLIB.
8720d066 15202 No need to check for signed size_t anymore.
215f4bdc
UD
15203 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15204 and IA-64.
3857022a 15205 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15206 * aclocal.m4: Likewise.
15207
d3ed7225
UD
15208 * wcsmbs/mbrtoc16.c: Implement using towc function.
15209 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15210 * wcsmbs/wcsmbsload.c: Likewise.
15211 * iconv/gconv_simple.c: Likewise.
15212 * iconv/gconv_int.h: Likewise.
15213 * iconv/gconv_builtin.h: Likewise.
15214 * iconv/iconv_prog.c: Remove CHAR16 handling.
15215
15216 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15217
15218 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15219
a0da5fe1
UD
15220 * configure.in: Remove --with-elf and --enable-bounded options.
15221 Dont set base_machine for ia64. More non-ELF conditions removed.
15222 Remove testing and setting of leading underscore information.
15223 * config.make.in (build-bounded): Set to no.
15224 * config.h.in: Remove NO_UNDERSCORES entry.
15225 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15226 them.
15227 * csu/start.c: Remove !NO_UNDERSCORE code.
15228 * locale/localeinfo.h: Likewise.
15229 * sysdeps/generic/machine-gmon.h: Likewise.
15230 * sysdeps/generic/sysdep.h: Likewise.
15231 * sysdeps/i386/sysdep.h: Likewise.
15232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15233 * sysdeps/mach/sysdep.h: Likewise.
15234 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15236 * sysdeps/sh/sysdep.h: Likewise.
15237 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15238 * sysdeps/unix/i386/sysdep.S: Likewise.
15239 * sysdeps/unix/sparc/start.c: Likewise.
15240 * sysdeps/unix/sparc/sysdep.S: Likewise.
15241 * sysdeps/unix/sparc/sysdep.h: Likewise.
15242 * sysdeps/unix/start.c: Likewise.
15243 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15244 * sysdeps/x86_64/sysdep.h: Likewise.
15245
df78418a
UD
152462012-01-07 Ulrich Drepper <drepper@gmail.com>
15247
a784e502
UD
15248 [BZ #13553]
15249 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15250 for non-gcc.
15251 * argp/argp-fmtstream.h: Use const instead __const.
15252 * argp/argp.h: Likewise.
15253 * assert/assert.h: Likewise.
15254 * bits/fenv.h: Likewise.
15255 * bits/sched.h: Likewise.
15256 * bits/sigset.h: Likewise.
15257 * bits/sigthread.h: Likewise.
15258 * catgets/nl_types.h: Likewise.
15259 * conform/data/pthread.h-data: Likewise.
15260 * crypt/crypt-private.h: Likewise.
15261 * crypt/crypt.h: Likewise.
15262 * crypt/crypt_util.c: Likewise.
15263 * ctype/ctype.h: Likewise.
15264 * debug/execinfo.h: Likewise.
15265 * debug/mbsnrtowcs_chk.c: Likewise.
15266 * debug/mbsrtowcs_chk.c: Likewise.
15267 * debug/wcsnrtombs_chk.c: Likewise.
15268 * debug/wcsrtombs_chk.c: Likewise.
15269 * debug/wcstombs_chk.c: Likewise.
15270 * dirent/dirent.h: Likewise.
15271 * dlfcn/dlfcn.h: Likewise.
15272 * elf/neededtest4.c: Likewise.
15273 * grp/grp.h: Likewise.
15274 * gshadow/gshadow.h: Likewise.
15275 * iconv/gconv.h: Likewise.
15276 * iconv/gconv_int.h: Likewise.
15277 * iconv/gconv_simple.c: Likewise.
15278 * iconv/iconv.h: Likewise.
15279 * iconv/loop.c: Likewise.
15280 * iconv/skeleton.c: Likewise.
15281 * include/aio.h: Likewise.
15282 * include/aliases.h: Likewise.
15283 * include/argz.h: Likewise.
15284 * include/arpa/inet.h: Likewise.
15285 * include/assert.h: Likewise.
15286 * include/dirent.h: Likewise.
15287 * include/dlfcn.h: Likewise.
15288 * include/execinfo.h: Likewise.
15289 * include/fcntl.h: Likewise.
15290 * include/fenv.h: Likewise.
15291 * include/glob.h: Likewise.
15292 * include/grp.h: Likewise.
15293 * include/libintl.h: Likewise.
15294 * include/mntent.h: Likewise.
15295 * include/netdb.h: Likewise.
15296 * include/pwd.h: Likewise.
15297 * include/rpc/netdb.h: Likewise.
15298 * include/sched.h: Likewise.
15299 * include/search.h: Likewise.
15300 * include/shadow.h: Likewise.
15301 * include/signal.h: Likewise.
15302 * include/stdio.h: Likewise.
15303 * include/stdlib.h: Likewise.
15304 * include/string.h: Likewise.
15305 * include/sys/socket.h: Likewise.
15306 * include/sys/stat.h: Likewise.
15307 * include/sys/statfs.h: Likewise.
15308 * include/sys/statvfs.h: Likewise.
15309 * include/sys/syslog.h: Likewise.
15310 * include/sys/time.h: Likewise.
15311 * include/sys/uio.h: Likewise.
15312 * include/time.h: Likewise.
15313 * include/unistd.h: Likewise.
15314 * include/utmp.h: Likewise.
15315 * include/wchar.h: Likewise.
15316 * include/wctype.h: Likewise.
15317 * inet/aliases.h: Likewise.
15318 * inet/arpa/inet.h: Likewise.
15319 * inet/netinet/ether.h: Likewise.
15320 * inet/netinet/in.h: Likewise.
15321 * intl/libintl.h: Likewise.
15322 * io/bits/fcntl2.h: Likewise.
15323 * io/fcntl.h: Likewise.
15324 * io/ftw.h: Likewise.
15325 * io/sys/poll.h: Likewise.
15326 * io/sys/stat.h: Likewise.
15327 * io/sys/statfs.h: Likewise.
15328 * io/sys/statvfs.h: Likewise.
15329 * io/utime.h: Likewise.
15330 * libio/bits/stdio.h: Likewise.
15331 * libio/bits/stdio2.h: Likewise.
15332 * libio/libio.h: Likewise.
15333 * libio/libioP.h: Likewise.
15334 * libio/stdio.h: Likewise.
15335 * locale/lc-ctype.c: Likewise.
15336 * locale/locale.h: Likewise.
15337 * login/utmp.h: Likewise.
15338 * malloc/arena.c: Likewise.
15339 * malloc/malloc.c: Likewise.
15340 * malloc/malloc.h: Likewise.
15341 * malloc/mcheck.c: Likewise.
15342 * malloc/mtrace.c: Likewise.
15343 * math/bits/mathcalls.h: Likewise.
15344 * math/fenv.h: Likewise.
15345 * math/math_private.h: Likewise.
15346 * misc/bits/error.h: Likewise.
15347 * misc/bits/syslog.h: Likewise.
15348 * misc/err.h: Likewise.
15349 * misc/error.h: Likewise.
15350 * misc/fstab.h: Likewise.
15351 * misc/mntent.h: Likewise.
15352 * misc/regexp.h: Likewise.
15353 * misc/search.h: Likewise.
15354 * misc/sgtty.h: Likewise.
15355 * misc/sys/mman.h: Likewise.
15356 * misc/sys/syslog.h: Likewise.
15357 * misc/sys/uio.h: Likewise.
15358 * misc/sys/xattr.h: Likewise.
15359 * misc/ttyent.h: Likewise.
15360 * nis/rpcsvc/ypclnt.h: Likewise.
15361 * nss/nss.h: Likewise.
15362 * posix/bits/unistd.h: Likewise.
15363 * posix/fnmatch.h: Likewise.
15364 * posix/glob.h: Likewise.
15365 * posix/sched.h: Likewise.
15366 * posix/spawn.h: Likewise.
15367 * posix/sys/wait.h: Likewise.
15368 * posix/unistd.h: Likewise.
15369 * posix/wordexp.h: Likewise.
15370 * pwd/pwd.h: Likewise.
15371 * resolv/netdb.h: Likewise.
15372 * resource/sys/resource.h: Likewise.
15373 * rt/aio.h: Likewise.
15374 * rt/bits/mqueue2.h: Likewise.
15375 * rt/mqueue.h: Likewise.
15376 * shadow/shadow.h: Likewise.
15377 * signal/signal.h: Likewise.
15378 * socket/send.c: Likewise.
15379 * socket/sendto.c: Likewise.
15380 * socket/sys/socket.h: Likewise.
15381 * stdio-common/printf.h: Likewise.
15382 * stdlib/bits/stdlib.h: Likewise.
15383 * stdlib/fmtmsg.h: Likewise.
15384 * stdlib/monetary.h: Likewise.
15385 * stdlib/stdlib.h: Likewise.
15386 * stdlib/ucontext.h: Likewise.
15387 * streams/stropts.h: Likewise.
15388 * string/argz.h: Likewise.
15389 * string/bits/string2.h: Likewise.
15390 * string/string.h: Likewise.
15391 * string/strings.h: Likewise.
15392 * sunrpc/rpc/auth.h: Likewise.
15393 * sunrpc/rpc/auth_des.h: Likewise.
15394 * sunrpc/rpc/clnt.h: Likewise.
15395 * sunrpc/rpc/netdb.h: Likewise.
15396 * sunrpc/rpc/pmap_clnt.h: Likewise.
15397 * sunrpc/rpc/xdr.h: Likewise.
15398 * sysdeps/generic/inttypes.h: Likewise.
15399 * sysdeps/generic/net/if.h: Likewise.
15400 * sysdeps/generic/sys/swap.h: Likewise.
15401 * sysdeps/gnu/net/if.h: Likewise.
15402 * sysdeps/gnu/utmpx.h: Likewise.
15403 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15404 * sysdeps/i386/i486/bits/string.h: Likewise.
15405 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15406 * sysdeps/s390/bits/string.h: Likewise.
15407 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15408 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15409 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15410 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15411 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15412 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15413 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15414 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15415 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15416 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15417 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15418 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15419 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15420 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15421 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15422 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15423 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15425 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15428 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15429 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15430 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15431 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15432 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15433 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15435 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15436 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15437 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15438 * sysvipc/sys/ipc.h: Likewise.
15439 * sysvipc/sys/msg.h: Likewise.
15440 * sysvipc/sys/sem.h: Likewise.
15441 * sysvipc/sys/shm.h: Likewise.
15442 * termios/termios.h: Likewise.
15443 * time/sys/time.h: Likewise.
15444 * time/time.h: Likewise.
15445 * wcsmbs/bits/wchar2.h: Likewise.
15446 * wcsmbs/uchar.h: Likewise.
15447 * wcsmbs/wchar.h: Likewise.
15448 * wctype/wctype.h: Likewise.
15449
0269750c
UD
15450 [BZ #13551]
15451 * Makeconfig: Remove all but ELF support including AIX support.
15452 * Makerules: Likewise.
15453 * config.h.in: Likewise.
15454 * config.make.in: Likewise.
15455 * configure: Likewise.
15456 * configure.in: Likewise.
15457 * csu/Makefile: Likewise.
15458 * csu/version.c: Likewise.
15459 * debug/Makefile: Likewise.
15460 * dlfcn/Makefile: Likewise.
15461 * elf/Makefile: Likewise.
15462 * extra-lib.mk: Likewise.
15463 * iconv/Makefile: Likewise.
15464 * include/libc-symbols.h: Likewise.
15465 * include/shlib-compat.h: Likewise.
15466 * resolv/Makefile: Likewise.
15467 * resolv/res_libc.c: Likewise.
15468 * rt/Makefile: Likewise.
15469 * sysdeps/i386/asm-syntax.h: Likewise.
15470 * sysdeps/i386/sysdep.h: Likewise.
15471 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15472 * sysdeps/mach/sysdep.h: Likewise.
15473 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15474 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15475 * sysdeps/s390/asm-syntax.h: Likewise.
15476 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15478 * sysdeps/sh/sysdep.h: Likewise.
15479 * sysdeps/unix/sparc/sysdep.h: Likewise.
15480 * sysdeps/wordsize-32/divdi3.c: Likewise.
15481 * sysdeps/x86_64/sysdep.h: Likewise.
15482
00bbd29b
UD
15483 * argp/Versions: Remove _argp_unlock_xxx.
15484
15485 [BZ #13559]
15486 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15487 * abilist/libBrokenLocale.abilist: Likewise.
15488 * abilist/libanl.abilist: Likewise.
15489 * abilist/libc.abilist: Likewise.
15490 * abilist/libcrypt.abilist: Likewise.
15491 * abilist/libdl.abilist: Likewise.
15492 * abilist/libm.abilist: Likewise.
15493 * abilist/libnsl.abilist: Likewise.
15494 * abilist/libpthread.abilist: Likewise.
15495 * abilist/libresolv.abilist: Likewise.
15496 * abilist/librt.abilist: Likewise.
15497 * abilist/libthread_db.abilist: Likewise.
15498 * abilist/libutil.abilist: Likewise.
15499 * abilist/libnss_db.abilist: New file.
15500
15501 * scripts/abilist.awk: Add support for indirect functions.
15502
a2693a0e
UD
15503 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15504
3f05895f
UD
15505 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15506
ecb6fb48
UD
15507 * shlib-versions: Remove entries for ports architectures.
15508
664f8cb9
UD
15509 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15510 files in ports.
15511 * elf/stackguard-macros.h: Remove support for IA-64.
15512 * elf/tst-auditmod1.c: Likewise.
15513 * sysdeps/generic/ldsodefs.h: Likewise.
15514
7ae81d88
UD
15515 * sysdeps/unix/sysv/linux/configure.in: Ports should define
15516 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
15517 configure files.
15518
bdeba135
UD
15519 [BZ #13552]
15520 * configure.in: Remove --enable-omitfp support.
15521 * FAQ.in: Adjust.
15522 * config.make.in: Likewise.
15523 * Makeconfig: Likewise.
15524 * manual/install.texi: Likewise.
15525
d75a0a62
UD
15526 In case anyone cares, the IA-64 architecture could move to ports.
15527 * sysdeps/ia64/*: Removed.
15528 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 15529 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 15530
dcc9756b
UD
15531 [BZ #13555]
15532 * configure.in: Remove entries for unsupported architectures.
15533
d3761ebc 15534 [BZ #13533]
9954432e
UD
15535 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
15536 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
15537 routines.
15538 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
15539 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
15540 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
15541 fall back to using wcrtomb.
15542 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
15543 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
15544 renaming.
15545 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
15546 * wcsmbs/tst-c16c32-1.c: New file.
15547
15548 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
15549 local variable.
15550
c3a87236
UD
15551 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
15552
28926a1b
UD
15553 * elf/tst-unique3.cc: Add explicit declaration of gets.
15554 * elf/tst-unique3lib.cc: Likewise.
15555 * elf/tst-unique3lib2.cc: Likewise.
15556 * elf/tst-unique4.cc: Likewise.
15557
df78418a
UD
15558 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
15559
8ecd6b2a
JM
155602012-01-06 Joseph Myers <joseph@codesourcery.com>
15561
15562 [BZ #13566]
15563 * assert/assert.h (static_assert): Don't define for C++.
15564 * libio/stdio.h (gets): Do declare for C++ <= C++11.
15565 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
15566
9f115170
UD
155672012-01-03 Ulrich Drepper <drepper@gmail.com>
15568
5e0d0300
UD
15569 * iconv/loop.c (single loop): Fix assertion in storing of
15570 remaining bytes.
15571
9f115170
UD
15572 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
15573
81fb02b0
UD
155742012-01-01 Ulrich Drepper <drepper@gmail.com>
15575
15576 * posix/getconf.c: Update copyright year.
15577 * nss/getent.c: Likewise.
a316c1f6 15578 * nss/makedb.c: Likewise.
81fb02b0
UD
15579 * iconv/iconvconfig.c: Likewise.
15580 * iconv/iconv_prog.c: Likewise.
15581 * elf/ldconfig.c: Likewise.
a316c1f6
UD
15582 * elf/pldd.c: Likewise.
15583 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
15584 * catgets/gencat.c: Likewise.
15585 * csu/version.c: Likewise.
15586 * elf/ldd.bash.in: Likewise.
15587 * elf/sprof.c (print_version): Likewise.
15588 * locale/programs/locale.c: Likewise.
15589 * locale/programs/localedef.c: Likewise.
a316c1f6 15590 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
15591 * nscd/nscd.c (print_version): Likewise.
15592 * debug/xtrace.sh: Likewise.
15593 * malloc/memusage.sh: Likewise.
15594 * malloc/mtrace.pl: Likewise.
15595 * debug/catchsegv.sh: Likewise.
15596
2ba92745
JJ
155972011-12-30 Jakub Jelinek <jakub@redhat.com>
15598
15599 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
15600 pure attribute.
15601
dadebdae
UD
156022011-12-24 Ulrich Drepper <drepper@gmail.com>
15603
d3761ebc 15604 [BZ #13533]
db6af3eb
UD
15605 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
15606 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
15607 transformations.
15608 * iconv/gconv_int.h: Likewise.
15609 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
15610 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
15611 from libc for GLIBC_2.16.
15612 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
15613 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
15614 * wcsmbs/uchar.h: Really define mbstate_t.
15615 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
15616 * wcsmbs/c16rtomb.c: New file.
15617 * wcsmbs/mbrtoc16.c: New file.
15618 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
15619 for C/POSIX locale.
15620 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
15621 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
15622
dadebdae
UD
15623 * wcsmbs/wchar.h: Add missing __restrict.
15624
67371b56
UD
156252011-12-23 Ulrich Drepper <drepper@gmail.com>
15626
74033a25
UD
15627 [BZ #13532]
15628 * time/Makefile (routines): Add timespec_get.
15629 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
15630 * time/time.h: Define TIME_UTC and declare timespec_get. Define
15631 timespec for ISO C11.
15632 * time/timespec_get.c: New file.
15633 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
15634 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
15635
380d7e87
UD
15636 [BZ #13531]
15637 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
15638 * stdlib/stdlib.h: Declare aligned_alloc.
15639 * Versions.def: Add GLIBC_2.16 for libc.
15640 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
15641
4e9e7a35
UD
15642 [BZ 13527]
15643 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
15644 ISO C11.
15645
380d7e87 15646 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
15647 code.
15648
03a71829
UD
15649 [BZ #13528]
15650 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
15651
839e283e
UD
15652 [BZ #13529]
15653 * assert/assert.h (static_assert): Define.
15654
ce5294e2 15655 * version.h: Update for 2.16 development version.
90fa7312 15656
8d44e150 15657 [BZ #13526]
d7809905
UD
15658 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
15659 _ISOC11_SOURCE.
15660
c0da14cd
UD
15661 * version.h (RELEASE): Bump for 2.15 release.
15662 * include/features.h (__GLIBC_MINOR__): Bump to 15.
15663
530a3249
MP
15664 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
15665 Patch by Marek Polacek <mpolacek@redhat.com>.
15666
67371b56
UD
15667 * bits/byteswap.h: Protect long long constants with __extension__.
15668 * sysdeps/i386/bits/byteswap.h: Likewise.
15669 * sysdeps/ia64/bits/byteswap.h: Likewise.
15670 * sysdeps/s390/bits/byteswap.h: Likewise.
15671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15672
15db4de1
LD
156732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15674
15675 [BZ #13540]
bbe315ea
LD
15676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
15677 destination buffer.
15db4de1
LD
15678 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
15679
2b2596b1
MP
156802011-12-23 Marek Polacek <polacek@redhat.com>
15681
15682 * elf/dl-addr.c (determine_info): Add inline keyword.
15683 * elf/tst-auditmod4b.c (check_avx): Likewise.
15684 * elf/tst-auditmod6b.c (check_avx): Likewise.
15685 * elf/tst-auditmod6c.c (check_avx): Likewise.
15686 * elf/tst-auditmod7b.c (check_avx): Likewise.
15687
70c6c246
UD
156882011-12-23 Ulrich Drepper <drepper@gmail.com>
15689
15690 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
15691 !__SSE_MATH__.
15692
c044cf14
LD
156932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15694
15db4de1 15695 [BZ #13540]
c044cf14
LD
15696 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
15697 processing for last bytes.
15698
6b13d9d9
BH
156992011-08-06 Bruno Haible <bruno@clisp.org>
15700
d455f537
BH
15701 [BZ #13061]
15702 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
15703 U+0385, not to U+1FEE.
15704
6b13d9d9
BH
15705 [BZ #13062]
15706 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
15707 entry for U+00A5 U+0301.
15708
db910efd
UD
157092011-12-22 Ulrich Drepper <drepper@gmail.com>
15710
27deeafc
UD
15711 [BZ #13166]
15712 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
15713 buffer for the output is too small.
15714
aed9d171
UD
15715 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
15716 optimization.
15717
db910efd
UD
15718 [BZ #13185]
15719 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
15720 SSE flags if possible.
15721
2bd779ae
LD
157222011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15723
e7f9dac3 15724 [BZ #13540]
2bd779ae
LD
15725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
15726 processing for last bytes.
15727
154bfc16
JM
157282011-12-22 Joseph Myers <joseph@codesourcery.com>
15729
15730 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
15731 (syscall-list-default-options, syscall-list-default-condition)
15732 (syscall-list-includes): Define.
15733 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
15734 list of ABIs and options and #if conditions for each ABI. Do not
15735 handle common syscalls between ABIs specially.
15736 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
15737 Remove.
15738 (syscall-list-variants, syscall-list-32bit-options)
15739 (syscall-list-32bit-condition, syscall-list-64bit-options)
15740 (syscall-list-64bit-condition): Define.
15741 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
15742 (syscall-list-variants, syscall-list-32bit-options)
15743 (syscall-list-32bit-condition, syscall-list-64bit-options)
15744 (syscall-list-64bit-condition): Define.
15745 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
15746 Remove.
15747 (syscall-list-variants, syscall-list-32bit-options)
15748 (syscall-list-32bit-condition, syscall-list-64bit-options)
15749 (syscall-list-64bit-condition): Define.
15750 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
15751 Remove.
15752 (syscall-list-variants, syscall-list-32bit-options)
15753 (syscall-list-32bit-condition, syscall-list-64bit-options)
15754 (syscall-list-64bit-condition): Define.
15755
21eaf3a5
UD
157562011-12-22 Ulrich Drepper <drepper@gmail.com>
15757
16c6f992
UD
15758 * locale/iso-639.def: Add brx entry.
15759
41043168
UD
15760 [BZ #13328]
15761 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
15762 Proposed by Mariusz_Cukr <marcukr@op.pl>.
15763
21eaf3a5
UD
15764 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
15765 __feraiseexcept_renamed.
15766
e3a851a2
UD
157672011-12-21 Ulrich Drepper <drepper@gmail.com>
15768
4920765e
UD
15769 [BZ #13538]
15770 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
15771 EPOLLET with unsigned values.
15772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15774
e3a851a2
UD
15775 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
15776 to large cancellation.
15777 * math/s_cacoshf.c: Likewise.
15778 * math/s_cacoshl.c: Likewise.
15779
b27e24b8
RK
157802011-11-18 Richard B. Kreckel <kreckel@ginac.de>
15781
15782 [BZ #13305]
aebefeee 15783 [BZ #12786]
b27e24b8
RK
15784 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
15785 * math/s_cacoshf.c: Likewise.
15786 * math/s_cacoshl.c: Likewise.
15787
ee190f67
UD
157882011-12-21 Ulrich Drepper <drepper@gmail.com>
15789
15790 [BZ #13439]
15791 * iconv/gconv.h: Define __GCONV_SWAP.
15792 * iconvdata/unicode.c: The swap bit must be stored in __flags.
15793 * iconvdata/utf-16.c: Likewise.
15794 * iconvdata/utf-32.c: Likewise.
15795
707f25df
AS
157962011-12-21 Andreas Schwab <schwab@linux-m68k.org>
15797
15798 [BZ #13524]
15799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
15800 numerator after shifting it by one limb.
15801
d2daaa1e
RÁE
158022011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
15803
15804 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
15805 under [__USE_EXTERN_INLINES].
15806
a4647e72
UD
158072011-12-17 Ulrich Drepper <drepper@gmail.com>
15808
15809 [BZ #13446]
15810 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
15811
f0b264f1
AZ
158122011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813
15814 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
15815 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
15816 optimized code.
15817 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
15818 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
15819 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
15820 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
15821 for strncasecmp/strncasecmp_l compilation.
15822 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
15823 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
15824
8ef4f244
MP
158252011-12-08 Marek Polacek <mpolacek@redhat.com>
15826
15827 [BZ #13484]
15828 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
15829 of __asm__.
15830
97ac2654
UD
158312011-12-17 Ulrich Drepper <drepper@gmail.com>
15832
15833 [BZ #13506]
15834 * time/tzfile.c (__tzfile_read): Check values from file header.
15835
91d2a845
WS
158362011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15837
15838 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
15839 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
15840 * powerpc/powerpc32/dl-start.S: Likewise.
15841 * powerpc/powerpc32/elf/start.S: Likewise.
15842 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15843 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
15844 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
15845 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
15846 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15847 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
15848 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
15849 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15850 * powerpc/powerpc32/fpu/s_round.S: Likewise.
15851 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15852 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15853 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15854 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
15855 * powerpc/powerpc32/memset.S: Likewise.
15856 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15857 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15858 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15859 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15860 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15861 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15862 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15863 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15864 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
15865 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
15866 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
15867 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15868 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15869
a1267ba1
AZ
158702011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15871
15872 * math/libm-test.inc: Added more nearbyint tests.
15873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
15874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
15875 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
15876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
15877
ad8ac1bd
RL
158782011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
15879
15880 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
15881 FD_CLOEXEC.
15882
1d3e4b61
UD
158832011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15884
15885 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
15886 Add wcscpy-ssse3 wcscpy-c.
15887 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
15888 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
15889 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
15890 * sysdeps/x86_64/wcschr.S: New file.
15891 * sysdeps/x86_64/wcsrchr.S: New file.
15892 * string/test-strcmp.c: Remove checking of wcscmp function for
15893 wrong alignments.
15894 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
15895 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
15896 wcsrchr-sse2 wcsrchr-c.
15897 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
15898 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
15899 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
15900 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
15901 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
15902 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
15903 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
15904 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
15905 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
15906 * wcsmbc/wcschr.c (WCSCHR): New macro.
15907
5b330a2d
UD
159082011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15909
15910 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
15911 * wcsmbs/test-wcsrchr.c: New file.
15912 * string/test-strrchr.c: Add wcsrchr support.
15913 (WIDE): New macro.
15914 * wcsmbs/test-wcscpy.c: New file.
15915 * string/test-strcpy.c: Add wcscpy support.
15916 (WIDE): New macro.
26428b7c 15917
f039c043
UD
159182011-12-10 Ulrich Drepper <drepper@gmail.com>
15919
15920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
15921 the inner loop.
15922
850fb039
AS
159232011-12-06 Andreas Schwab <schwab@linux-m68k.org>
15924
15925 [BZ #13472]
15926 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
15927
4efbd5cb
UD
159282011-12-04 Ulrich Drepper <drepper@gmail.com>
15929
52ff5dd0 15930 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 15931 Minor optimizations.
52ff5dd0 15932
4efbd5cb
UD
15933 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
15934 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
15935 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15936
8a426e12
UD
159372011-12-03 Ulrich Drepper <drepper@gmail.com>
15938
aff2453d
UD
15939 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
15940 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
15941 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
15942 for gcc to avoid warnings.
15943 * inet/Makefile (tests): Add tst-checks.
15944 * inet/tst-checks.c: New file.
15945
15946 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
15947 warning.
15948
15949 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
15950 __wmemcmp_sse2.
15951
15952 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
15953 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
15954
8a426e12
UD
15955 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
15956
9bea3473
UD
159572011-12-02 Ulrich Drepper <drepper@gmail.com>
15958
3a965496
UD
15959 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
15960 problem.
15961
9bea3473
UD
15962 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
15963
f101631b
UD
159642011-11-29 Joseph Myers <joseph@codesourcery.com>
15965
15966 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
15967 conditional on GCC version.
15968 (__arch_compare_and_exchange_val_8_acq)
15969 (__arch_compare_and_exchange_val_16_acq)
15970 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
15971 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
15972 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
15973
a98275aa
UD
159742011-12-02 Joseph Myers <joseph@codesourcery.com>
15975
15976 * sysdeps/sh/backtrace.c: New file.
15977
d4cc29a2
AS
159782011-12-02 Andreas Schwab <schwab@redhat.com>
15979
15980 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
15981 parenthesis.
15982
6257af2d
AS
159832011-12-01 Andreas Schwab <schwab@redhat.com>
15984
15985 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
15986 falling back to utime.
15987
b5f44c1a
AS
159882011-11-30 Andreas Schwab <schwab@redhat.com>
15989
15990 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
15991 expectations for float.
15992
f3a6cc0a
AS
159932011-11-29 Andreas Schwab <schwab@redhat.com>
15994
15995 * locale/weight.h (findidx): Add parameter len.
15996 * locale/weightwc.h (findidx): Likewise.
15997 * posix/fnmatch_loop.c (FCT): Adjust caller.
15998 * posix/regcomp.c (build_equiv_class): Likewise.
15999 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16000 * posix/regexec.c (check_node_accept_bytes): Likewise.
16001 * string/strcoll_l.c (STRCOLL): Likewise.
16002 * string/strxfrm_l.c (STRXFRM): Likewise.
16003
9d65ea3a
UD
160042011-11-17 Ulrich Drepper <drepper@gmail.com>
16005
16006 * Makefile.in: Remove CVSOPT handling.
16007 * configure.in: Remove use of AC_REVISION.
16008 * iconvdata/Makefile (distribute): No need to filter out CVS.
16009 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16010 handling.
16011
5583a086
AS
160122011-11-16 Andreas Schwab <schwab@redhat.com>
16013
16014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16015 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16016 [USE_AS_STRNCASECMP_L]: Likewise.
16017 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16018 NO_TLS_DIRECT_SEG_REFS.
16019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16020 Fix argument offsets for non-PIC.
16021 [USE_AS_STRNCASECMP_L]: Likewise.
16022 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16023 NO_TLS_DIRECT_SEG_REFS.
16024
d62a8200
UD
160252011-11-15 Ulrich Drepper <drepper@gmail.com>
16026
9d65ea3a 16027 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16028 O_CLOEXEC.
16029 * locale/loadlocale.c (_nl_load_locale): Likewise.
16030
09f93bd3
AS
160312011-11-15 Andreas Schwab <schwab@redhat.com>
16032
446514f9
AS
16033 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16034 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16036 (SYSCALL_GETTIME): Set errno on error.
16037
09f93bd3
AS
16038 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16039 count references to noai6ai_cached.
16040
312be3f9
UD
160412011-11-15 Ulrich Drepper <drepper@gmail.com>
16042
16043 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16044
16045 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16046 FD_CLOEXEC for /proc/self/maps.
16047
16048 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16049 FD_CLOEXEC for /proc/meminfo.
16050
16051 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16052 gai.conf.
16053
16054 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16055 FD_CLOEXEC for given file.
16056
16057 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16058
16059 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16060 FD_CLOEXEC for /etc/hosts.
16061 (_gethtent): Likewise.
16062
16063 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16064
16065 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16066 cancellation and set FD_CLOEXEC for /etc/netgroup.
16067
16068 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16069 reading /etc/publickey.
16070
16071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16072 allow cancellation when reading /etc/group.
16073
16074 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16075 cancellation.
16076 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16077
16078 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16079 when using data file.
16080
16081 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16082
16083 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16084 (write_nis_obj): Use "c" and "e" in fopen.
16085
16086 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16087
16088 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16089
16090 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16091
16092 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16093
16094 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16095 locale.alias.
16096
16097 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16098
16099 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16100
16101 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16102
16103 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16104 file parsing and set FD_CLOEXEC.
16105
82af0fa8
UD
161062011-11-14 Ulrich Drepper <drepper@gmail.com>
16107
16108 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16109
a5fb313c
AS
161102011-11-14 Andreas Schwab <schwab@redhat.com>
16111
16112 * malloc/arena.c (arena_get2): Don't call reused_arena when
16113 _int_new_arena failed.
16114
6abf3465
UD
161152011-11-14 Ulrich Drepper <drepper@gmail.com>
16116
16117 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16118 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16120 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16123 to compile strcasecmp and strncasecmp.
16124 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16125 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16126
16127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16128
76e3966e
UD
161292011-11-13 Ulrich Drepper <drepper@gmail.com>
16130
16131 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16132 locale-defines.sym to gen-as-const-headers.
16133 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16134 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16136 to compile strcasecmp and strncasecmp.
16137 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16138 strcasecmp_l and strncasecmp_l.
16139 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16140 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16141 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16142 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16143 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16144 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16145 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16146 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16147 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16148 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16149 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16150
ab26144e
UD
161512011-11-12 Ulrich Drepper <drepper@gmail.com>
16152
7edb22ef
UD
16153 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16154 result of SYSDEP_GETTIME_CPU to retval.
16155 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16156 parameter list to macro. Remove trailing semicolon. Adjust users.
16157
9694fc44
UD
16158 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16159 variable.
16160
8ad89ef8
UD
16161 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16162 mantissa words.
16163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16164
0c822ef9
UD
16165 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16166 from unused variable.
16167
874e0564
UD
16168 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16169 DWARF definitions.
16170 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16171 for assembling.
16172
3a2edc79
UD
16173 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16174 over namespaces.
16175
f3c2577f
UD
16176 * sunrpc/rpc_prot.c (rejected): Fix case value.
16177
294ce126
UD
16178 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16179 unsigned long long int to avoid warnings in shift.
16180
5e2b63c6
UD
16181 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16182 of use of trans.
16183 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16184 variable tmp.
16185
e7f4b08e
UD
16186 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16187 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16188 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16189
ab26144e
UD
16190 * nis/nis_table.c (nis_list): Use variable of correct type for
16191 result of __follow_path call.
16192
8a6d5255
AZ
161932011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194
16195 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16196 of math functions ceil, trunc, floor, round, and sqrt, when
16197 avaliable on the platform.
16198 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16199 name clash.
16200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16201 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16202 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16203
aaddc98c
MP
162042011-10-30 Marek Polacek <mpolacek@redhat.com>
16205
16206 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16208
95b7042b
RM
162092011-11-11 Roland McGrath <roland@hack.frob.com>
16210
16211 * include/unistd.h: Fix __readlink return type.
16212 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16213
57769839
UD
162142011-11-11 Ulrich Drepper <drepper@gmail.com>
16215
16216 * stdlib/ucontext.h: Undo last change for makecontext.
16217
edc5984d
AS
162182011-11-11 Andreas Schwab <schwab@redhat.com>
16219
98591e58
AS
16220 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16221
edc5984d
AS
16222 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16223 * setjmp/setjmp.h: Mark functions as non-leaf.
16224 * setjmp/bits/setjmp2.h: Likewise.
16225 * stdlib/ucontext.h: Likewise.
16226
77cdc054
AS
162272011-11-10 Andreas Schwab <schwab@redhat.com>
16228
16229 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16230 (reused_arena): Don't check arena limit.
16231 (arena_get2): Atomically check arena limit.
16232
fe72eebd
UD
162332011-11-08 Ulrich Drepper <drepper@gmail.com>
16234
5f078c32
UD
16235 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16236 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16237
fe72eebd
UD
16238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16239 instructions.
16240
ae1bc2fa
AS
162412011-11-07 Andreas Schwab <schwab@redhat.com>
16242
7583a88d
AS
16243 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16244 handler when locking.
16245
ae1bc2fa
AS
16246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16247 Fix size of allocated buffer.
16248
10fb0bfa
AS
162492011-11-04 Andreas Schwab <schwab@redhat.com>
16250
998832a4
AS
16251 [BZ #10103]
16252 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16253 declarations for long double functions.
16254 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16255
10fb0bfa
AS
16256 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16257
3d7ba52b
AS
162582011-11-03 Andreas Schwab <schwab@redhat.com>
16259
a9ae54a1
AS
16260 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16261 installed.
16262
3d7ba52b
AS
16263 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16264 is disabled.
16265
bc8db248
ST
162662011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16267
16268 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16269
45b96dd6
AS
162702011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16271
647776f6
AS
16272 * include/alloca.h (stackinfo_alloca_round): Define.
16273 (extend_alloca): Use it.
16274 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16275 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16276 here.
16277
d91a8b93
AS
16278 * scripts/check-local-headers.sh: Ignore libaudit.h.
16279
45b96dd6
AS
16280 * nscd/Makefile (extra-objs): Make recursively expanded.
16281
432d41ce
UD
162822011-11-01 Ulrich Drepper <drepper@gmail.com>
16283
34372fc6
UD
16284 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16286
fadb59f8
UD
16287 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16288 * posix/tst-rfc3484-2.c: Likewise.
16289 * posix/tst-rfc3484-3.c: Likewise.
16290
78239589
UD
16291 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16292 process_vm_writev.
16293 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16294 process_vm_writev.
16295 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16296 process_vm_writev from libc using GLIBC_2.15 version.
16297
432d41ce
UD
16298 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16299
02f9c6cf
PP
163002011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16301
16302 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16303 stack usage.
16304
3a2c0242
UD
163052011-10-31 Ulrich Drepper <drepper@gmail.com>
16306
f4ec4833
UD
16307 [BZ #13367]
16308 * nss/getent.c (initgroups_keys): Show error message in case no group
16309 names are given.
16310
3a2c0242
UD
16311 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16312 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16313 __bump_nl_timestamp.
16314 * nscd/connections (nscd_init): When host database is served open
16315 netlink socket and request notification about configuration changes.
16316 (main_loop_poll): Track netlink file descriptor and bump timestamp
16317 in case data becomes available.
16318 (main_loop_epoll): Likewise.
16319 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16320 (database_pers_head): Add extra_data fileds.
16321 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16322 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16323 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16324 Adjust caller.
16325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16326 in6ai data, call __free_in6ai.
16327 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16328 Add -DHAVE_NETLINK.
16329 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16330 interface information. Reuse previous data if netlink timestamp
16331 is not changed.
16332 (__bump_nl_timestamp): New function.
16333 (__free_in6ai): New function.
16334
636064eb
UD
163352011-10-30 Ulrich Drepper <drepper@gmail.com>
16336
16337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16338 close_not_cancel_no_status here.
16339 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16340
9beb2334
UD
163412011-10-29 Ulrich Drepper <drepper@gmail.com>
16342
6ef76f3b
UD
16343 [BZ #13276]
16344 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16345 return value.
16346
0ffc4f3e 16347 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16348 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16349 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16350
cb95113e
UD
163512011-07-03 Andreas Jaeger <aj@suse.de>
16352
16353 [BZ #10709]
16354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16355 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16356 * math/libm-test.inc (sin_test): Add test case.
16357
a1b560ff
UD
163582011-10-29 Ulrich Drepper <drepper@gmail.com>
16359
c9aaface
UD
16360 [BZ #13337]
16361 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16362 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16363
d272e7f1
UD
16364 * elf/chroot_canon.c (chroot_canon): Cleanups.
16365
1bc33071
UD
16366 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16367
1760874d
TJ
16368 [BZ #13335]
16369 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16370 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16371
51d91b18
UD
16372 * string/test-strchr.c: Make usable for strchrnul testing.
16373 * string/test-strchrnul.c: New file.
16374 * string/Makefile (strop-tests): Add strchrnul.
16375
a1b560ff 16376 * po/it.po: Update from translation team.
b611fb81 16377 * po/es.po: Likewise.
a1b560ff 16378
a5b81e1f
UD
163792011-10-28 Ulrich Drepper <drepper@gmail.com>
16380
fd52bc6d
UD
16381 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16382 the three constants needed as parameters. Drop the others.
16383 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16384 __m128i_strloadu_tolower.
52e4b9eb
UD
16385 Create and initialize variable zero and use it in all the places
16386 where _mm_setzero_si128 was used.
fd52bc6d 16387
a5b81e1f
UD
16388 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16389 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16390 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16391 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16392 anymore.
16393 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16394 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16395 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16396 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16397 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16398 __mpranred, __mptan.
16399 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16400 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16401 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16402 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16403 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16404 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16405 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16406 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16407 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16408
b4343346
AS
164092011-10-28 Andreas Schwab <schwab@redhat.com>
16410
0c92d8a8
AS
16411 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16412 redefine if SHARED.
16413 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16414
b4343346
AS
16415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16416 wide char related routines to wcsmbs subdir.
16417
3871f58f
AS
164182011-10-27 Andreas Schwab <schwab@redhat.com>
16419
16420 [BZ #13344]
16421 * misc/sys/cdefs.h (__THROWNL): Define.
16422 * posix/unistd.h: Use __THREADNL instead of __THREAD
16423 for memory synchronization functions.
16424
94d44d9f
RM
164252011-10-26 Roland McGrath <roland@hack.frob.com>
16426
21b64b15 16427 [BZ #13349]
94d44d9f
RM
16428 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16429 doesn't exist.
16430 * manual/stdio.texi (Obstack Streams): Node removed.
16431
f6ce9294
AS
164322011-10-26 Andreas Schwab <schwab@redhat.com>
16433
80479147
AS
16434 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16437
f6ce9294
AS
16438 * math/math_private.h (math_force_eval): Allow non-addressable
16439 arguments.
16440 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16441
618280a1
UD
164422011-10-25 Ulrich Drepper <drepper@gmail.com>
16443
e0016b11
UD
16444 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16445 file is not needed.
16446
16447 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16448 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16454 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16455 Add AVX variants.
16456 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16457 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16458 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16459 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16460 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16461 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16462 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16463 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16464 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16465 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16466 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16467 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16468 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16469 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16470 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16471 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16473 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16474 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16475
16476 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16477 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16478
618280a1
UD
16479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16480 place. Use VEX encoding when compiling for AVX.
16481
37822576
AS
164822011-10-25 Andreas Schwab <schwab@redhat.com>
16483
1f1e1947
AS
16484 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16485 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16486
37822576
AS
16487 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16488
31ea014d
UD
164892011-10-25 Ulrich Drepper <drepper@gmail.com>
16490
d7826aa1 16491 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16492 useless if() expression.
d7826aa1
UD
16493 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16494 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16497 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16498 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16504 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16505 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16506 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16507 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16511 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16512
31ea014d
UD
16513 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
16514
16437fec
AS
165152011-10-25 Andreas Schwab <schwab@redhat.com>
16516
16517 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
16518 condition.
16519 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16520
31d3cc00
UD
165212011-10-25 Ulrich Drepper <drepper@gmail.com>
16522
16523 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
16524 .text section. Avoid duplicate constants.
16525 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16527 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16534 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
16535 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16536 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16537 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16538 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16539 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16541 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16542 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16543 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16545 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16546 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16548 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
16549 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
16550 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
16551 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
16552 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
16553 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
16554 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
16555 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
16556 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
16557 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16558 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
16559 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
16560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
16561 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
16562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
16563 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
16564 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
16565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
16566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
16567 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
16568 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16569 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
16570
58985aa9
UD
165712011-10-24 Ulrich Drepper <drepper@gmail.com>
16572
202c9deb
UD
16573 * sysdeps/x86_64/dla.h: Move to ...
16574 * sysdeps/x86_64/fpu/dla.h: ...here.
16575 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
16576 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 16577
af968f62
UD
16578 * config.make.in: Add have-mfma4 entry.
16579 * configure.in: Substitute libc_cv_cc_fma4.
16580 * math/Makefile (dbl-only-routines): Add sincostab.
16581 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
16582 Use __sincostab not sincos.
16583 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
16584 name is a macro.
16585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
16589 using __copysign.
16590 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
16591 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
16592 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
16593 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
16594 and __inv.
16595 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
16596 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
16597 __copysign.
16598 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
16599 define aliases when function name is a macro.
16600 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
16601 sysdeps/ieee754/dbl-64/sincos.tbl.
16602 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
16603 fma4-enabled routines.
16604 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
16605 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
16606 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
16607 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
16608 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
16609 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
16610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
16611 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
16612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
16613 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
16614 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
16615 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
16616 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
16617 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
16618 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
16619 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
16620 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
16621 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
16622 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
16623 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
16624 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
16625 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
16626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
16627 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
16628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
16629 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
16630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
16631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
16632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
16633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
16634
58985aa9
UD
16635 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
16636 rename.
16637 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16645
a201fbcf
AS
166462011-10-24 Andreas Schwab <schwab@redhat.com>
16647
16648 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
16649
fc2ee42a
LD
166502011-10-23 Ulrich Drepper <drepper@gmail.com>
16651
bb3129bd
UD
16652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
16653
0275fff8
UD
16654 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
16655 prediction.
16656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
16657
2fa2ae85
UD
16658 * string/strnlen.c: Don't define STRNLEN, reverse logic.
16659 Remove unused variable magic_bits.
16660 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
16661
fc2ee42a
LD
16662 * string/strnlen.c: Define and use STRNLEN macro.
16663 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
16664 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
16665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
16666 * wcsmbs/wcslen.c: Define and use WCSLEN.
16667 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
16668 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
16669 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
16670 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
16671 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
16672 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
16673 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16674
ce7dd29f
LD
166752011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16676
16677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16678 strnlen-sse2-no-bsf.
16679 Rename strlen-no-bsf to strlen-sse2-no-bsf.
16680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
16681 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
16682 Add strnlen support.
16683 (USE_AS_STRNLEN): New macro.
16684 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
16685 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
16686 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
16687 * sysdeps/x86_64/wcslen.S: New file.
16688
979c70a3
MZ
166892011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
16690
16691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16692 XMM-moves are used for copying on small sizes.
16693
2d09f82f
LD
166942011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16695
16696 * wcsmbs/Makefile (strop-tests): Add wcschr.
16697 * wcsmbs/test-wcschr.c: New file.
16698 * string/test-strchr.c: Update.
16699 Add wcschr support.
16700 (WIDE): New macro.
16701
619fccca
LD
167022011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16703
2d09f82f 16704 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
16705 * wcsmbs/test-wcslen.c: New file.
16706 * string/test-strlen.c: Update.
16707 Add wcslen support.
16708 (WIDE): New macro.
16709
09f699ea
UD
167102011-10-23 Ulrich Drepper <drepper@gmail.com>
16711
16712 * po/it.po: Update from translation team.
16713
95584d3b
LD
167142011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16715
16716 * sysdeps/x86_64/wcscmp.S: Update.
16717 Fix wrong comparison semantics.
16718 wcscmp shall use signed comparison not unsigned.
16719 Don't use substraction to avoid overflow bug.
16720 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16721 * wcsmbc/wcscmp.c: Likewise.
16722 * string/test-strcmp.c: Likewise.
16723 Add new tests to check cases with negative values.
16724
c8b3296b
UD
167252011-10-23 Ulrich Drepper <drepper@gmail.com>
16726
16727 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
16728 * sysdeps/x86_64/dla.h: ...here. New file.
16729 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
16730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16738
246ad57a
AS
167392011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16740
16741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
16742 __ynl_finite aliases.
16743
a1a87169
UD
167442011-10-22 Ulrich Drepper <drepper@gmail.com>
16745
0d355eb7
UD
16746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16747
a1a87169
UD
16748 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
16749 define DLA_FMA.
16750 [DLA_FMA] (EMULV): Use DLA_FMA.
16751 [DLA_FMA] (MUL12): Use EMULV.
16752 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
16753 that are not needed.
16754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16761
ee2aafe0
AS
167622011-10-22 Andreas Schwab <schwab@linux-m68k.org>
16763
16764 * math/s_nan.c: Undef __nan.
16765 * math/s_nanf.c: Undef __nanf.
16766 * math/s_nanl.c: Undef __nanl.
16767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
16768 "math_private.h".
16769
bc62c2fb
UD
167702011-10-22 Ulrich Drepper <drepper@gmail.com>
16771
77425c63
UD
16772 * math/s_catan.c: Add branch predictions.
16773 * math/s_catanf.c: Likewise.
16774 * math/s_catanh.c: Likewise.
16775 * math/s_catanhf.c: Likewise.
16776 * math/s_catanhl.c: Likewise.
16777 * math/s_catanl.c: Likewise.
16778 * math/s_cexp.c: Likewise.
16779 * math/s_cexpf.c: Likewise.
16780 * math/s_cexpl.c: Likewise.
16781 * math/s_clog.c: Likewise.
16782 * math/s_clog10.c: Likewise.
16783 * math/s_clog10f.c: Likewise.
16784 * math/s_clog10l.c: Likewise.
16785 * math/s_clogf.c: Likewise.
16786 * math/s_clogl.c: Likewise.
16787 * math/s_csqrt.c: Likewise.
16788 * math/s_csqrtf.c: Likewise.
16789 * math/s_csqrtl.c: Likewise.
16790 * math/s_ctanf.c: Likewise.
16791 * math/s_ctanh.c: Likewise.
16792 * math/s_ctanhf.c: Likewise.
16793 * math/s_ctanhl.c: Likewise.
16794 * math/s_ctanl.c: Likewise.
16795
bc62c2fb
UD
16796 * math/math_private.h: Define __nan, __nanf, __nanl.
16797 * math/s_cacosh.c: Include <math_private.h>.
16798 * math/s_cacoshl.c: Likewise.
16799 * math/s_casinh.c: Likewise.
16800 * math/s_casinhf.c: Likewise.
16801 * math/s_casinhl.c: Likewise.
16802 * math/s_ccos.c: Rely entire on ccosh.
16803 * math/s_ccosf.c: Rely entire on ccoshf.
16804 * math/s_ccosl.c: Rely entirely on ccoshl.
16805 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
16806 Remove tests for FE_INVALID.
16807 * math/s_ccoshf.c: Likewise.
16808 * math/s_ccoshl.c: Likewise.
16809 * math/s_csin.c: Likewise.
16810 * math/s_csinf.c: Likewise.
16811 * math/s_csinh.c Likewise.
16812 * math/s_csinhf.c: Likewise.
16813 * math/s_csinhl.c: Likewise.
16814 * math/s_csinl.c: Likewise.
16815 * math/s_ctan.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
16817 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
16818 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
16819
8ec250a4
UD
168202011-10-21 Ulrich Drepper <drepper@gmail.com>
16821
c196fed8
UD
16822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
16823 compilation problems.
16824
8ec250a4
UD
16825 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
16826 __builtin_expect.
16827
8d4f46c6
UD
168282011-10-20 Ulrich Drepper <drepper@gmail.com>
16829
ed72b654
UD
16830 * sysdeps/i386/configure.in: Test for -mfma4 option.
16831 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
16832 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
16833 COMMON_CPUID_INDEX_80000001.
16834 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
16835 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
16836 use it if FMA3 is not supported.
16837 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16838
8d4f46c6
UD
16839 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
16840 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16841
d45c60c2
AS
168422011-10-20 Andreas Schwab <schwab@redhat.com>
16843
16844 [BZ #12892]
16845 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
16846 it would create a cycle with a link time dependency.
16847
d9a4d2ab
UD
168482011-10-19 Ulrich Drepper <drepper@gmail.com>
16849
855d1560
UD
16850 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
16851 instruction.
16852 * string/Makefile (strop-tests): Add rawmemchr.
16853 * string/test-rawmemchr.c: New file.
16854
d9a4d2ab
UD
16855 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
16856 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
16857 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
16858 when compiling str{,n}casecmp and when AVX is available. Hook up
16859 new optimized code in initializers.
16860
8f3b1ffe
AS
168612011-10-19 Andreas Schwab <schwab@redhat.com>
16862
16863 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
16864 __feraiseexcept instead of feraiseexcept.
16865
d38f1dba
UD
168662011-10-18 Ulrich Drepper <drepper@gmail.com>
16867
d9a8d0ab
UD
16868 * math/math_private.h: Define defaults for libc_fetestexcept and
16869 libc_feupdateenv.
16870 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
16871 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
16872 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16873 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16874 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16875 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16876 libc_fetestexcept and libc_feupdateenv.
16877
4855e3dd
UD
16878 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
16879 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
16880 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
16881 * sysdeps/x86_64/fpu/math_private.h: Define special version of
16882 libc_feholdexcept_setround.
16883
581d30e3
UD
16884 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
16885 Add s_nearbyint-c and s_nearbyintf-c.
16886 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
16887 nearbyintf inlines.
16888 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
16889 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
16890 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
16891 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
16892
d38f1dba
UD
16893 * math/math_private.h: Define defaults for libc_fegetround,
16894 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
16895 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
16896 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
16897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
16898 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
16899 standard functions.
16900 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16901 Remove comments and hacks for old compiler versions.
16902 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
16903 libc_fegetround, libc_fesetround, libc_feholdexcept, and
16904 libc_feholdexceptl.
16905
caa6c9d8
AS
169062011-10-18 Andreas Schwab <schwab@redhat.com>
16907
16908 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
16909 (__feraiseexcept_renamed): Add __NTH.
16910 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
16911 namespace violations.
16912
97c066e6
UD
169132011-10-17 Ulrich Drepper <drepper@gmail.com>
16914
99ce7b04
UD
16915 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
16916
1004d182
UD
16917 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
16918
228a984d
UD
16919 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
16920 recently added interfaces.
16921 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
16922
c8553a6a
UD
16923 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
16924 about macro parameter expansion.
16925
ed22dcf6
UD
16926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
16927 __NO_MATH_INLINES is defined. Cleanups.
16928
16929 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
16930 and __floorf is target has SSE4.1.
16931 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
16932 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
16933 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
16934 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
16935
b171c137
UD
16936 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
16937 name.
16938 (floorf): Likewise.
16939
97c066e6
UD
16940 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
16941
629f62ef
AS
169422011-10-17 Andreas Schwab <schwab@redhat.com>
16943
49a43d80
AS
16944 * misc/sys/cdefs.h: Fix last change.
16945
629f62ef
AS
16946 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
16947 database lookup.
16948
e453f6cd
UD
169492011-10-16 Ulrich Drepper <drepper@gmail.com>
16950
aa78043a
UD
16951 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
16952
ad0f5cad
UD
16953 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
16954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16959 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16960 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16962 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
16963 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
16964 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
16965 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
16966 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
16967 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
16968 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
16969 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
16970 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
16971 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
16972 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
16973 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
16974 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
16975
16976 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
16977 ceil, ceilf, floor, floorf.
16978
16979 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
16980 Perform IRELATIVE relocations last.
16981
e453f6cd
UD
16982 * elf/do-rel.h: Add another parameter nrelative, replacing the
16983 local variable with the same name. Change name of the function
16984 to end in Rel or Rela (uppercase).
16985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
16986 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
16987 elf_dynamic_do_##reloc function.
16988
fd5bdc09
UD
169892011-10-15 Ulrich Drepper <drepper@gmail.com>
16990
79b195b5
UD
16991 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
16992 is sufficient, at least on modern CPUs.
16993
d4a28569
UD
16994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
16995
b61099b5
UD
16996 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
16997 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
16998
bcf01e6d
UD
16999 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17000 __expl_finite.
17001 * math/bits/math-finite.h: Add entries for exp.
17002 * math/e_expl.c: Add __*_finite alias.
17003 * sysdeps/i386/fpu/e_exp.S: Likewise.
17004 * sysdeps/i386/fpu/e_expf.S: Likewise.
17005 * sysdeps/i386/fpu/e_expl.c: Likewise.
17006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17007 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17010 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17011 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17012 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17013
ba1a0d59
UD
17014 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17015 is sufficient, at least on modern CPUs.
17016
fd5bdc09
UD
17017 * ctype/ctype-info.c (__ctype_init): Define.
17018 * include/ctype.h (__ctype_init): Declare.
17019 (__ctype_b_loc): The variable is always initialized.
17020 (__ctype_toupper_loc): Likewise.
17021 (__ctype_tolower_loc): Likewise.
17022 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17023 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17024
7872cfb0
AS
170252011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17026
b468825a
AS
17027 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17028
7872cfb0
AS
17029 * configure.in: Also look in $cxxmachine/include for C++ system
17030 headers.
17031
be13f7bf
LD
170322011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17033
17034 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17035 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17036 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17037 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17039 (USE_AS_WMEMCMP): New macro.
17040 Fixing indents.
17041 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17042 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17043 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17044 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17046 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17047 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17048 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17049 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17050 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17051 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17052 (USE_AS_WMEMCMP): New macro.
17053 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17054 * sysdeps/string/test-memcmp.c: Update.
17055 Fix simple_wmemcmp.
17056 Add new tests.
17057 * wcsmbs/wmemcmp.c: Update.
17058 (WMEMCMP): New macro.
17059 Fix overflow bug.
17060
556a2007
AJ
170612011-10-12 Andreas Jaeger <aj@suse.de>
17062
17063 [BZ #13268]
17064 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17065
538faaa7
UD
170662011-10-15 Ulrich Drepper <drepper@gmail.com>
17067
ab6737ff
UD
17068 * libio/iofwide.c (do_length): Avoid warning.
17069
538faaa7
UD
17070 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17071
396a21b1
UD
170722011-10-14 Ulrich Drepper <drepper@gmail.com>
17073
cdf2901f
UD
17074 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17075
38ad40ce
UD
17076 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17077 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17078 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17079 * sysdeps/i386/i686/fpu/e_log.S: New file.
17080 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17081 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17082
396a21b1
UD
17083 * ctype/ctype.h: Add support for inlined isXXX functions when
17084 compiling C++ code.
17085
6b1f68c9
AS
170862011-10-14 Andreas Schwab <schwab@redhat.com>
17087
349290c0
AS
17088 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17089
6b1f68c9
AS
17090 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17091
f2282d42
RM
170922011-10-13 Roland McGrath <roland@hack.frob.com>
17093
17094 [BZ #13291]
17095 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17096
5298ffa8
AS
170972011-10-13 Andreas Schwab <schwab@redhat.com>
17098
714fad23
AS
17099 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17100 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17101 feraiseexcept.
17102
81dcc7fb
AS
17103 * sysdeps/x86_64/memrchr.S: Check for zero size.
17104
5298ffa8
AS
17105 * string/stratcliff.c: Add memrchr tests.
17106
951fbcec
LD
171072011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17108
17109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17110 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17111 rawmemchr-sse2 rawmemchr-sse2-bsf.
17112 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17113 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17114 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17115 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17116 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17117 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17118 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17119 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17120 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17121 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17122 * string/memrchr.c (MEMRCHR): New macro.
17123
0ac5ae23
UD
171242011-10-12 Ulrich Drepper <drepper@gmail.com>
17125
17126 Add integration with gcc's -ffinite-math-only and optimize wrapper
17127 functions in libm.
17128 * Versions.def: Define GLIBC_2.15 version for libm.
17129 * math/Makefile (headers): Add bits/math-finite.h.
17130 * math/bits/math-finite.h: New file.
17131 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17132 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17133 * math/e_acoshl.c: Add __*_finite alias.
17134 * math/e_acosl.c: Likewise.
17135 * math/e_asinl.c: Likewise.
17136 * math/e_atan2l.c: Likewise.
17137 * math/e_atanhl.c: Likewise.
17138 * math/e_coshl.c: Likewise.
17139 * math/e_exp10.c: Likewise.
17140 * math/e_exp10f.c: Likewise.
17141 * math/e_exp10l.c: Likewise.
17142 * math/e_exp2l.c: Likewise.
17143 * math/e_fmodl.c: Likewise.
17144 * math/e_gammal_r.c: Likewise.
17145 * math/e_hypotl.c: Likewise.
17146 * math/e_j0l.c: Likewise.
17147 * math/e_j1l.c: Likewise.
17148 * math/e_jnl.c: Likewise.
17149 * math/e_lgammal_r.c: Likewise.
17150 * math/e_log10l.c: Likewise.
17151 * math/e_log2l.c: Likewise.
17152 * math/e_logl.c: Likewise.
17153 * math/e_powl.c: Likewise.
17154 * math/e_sinhl.c: Likewise.
17155 * math/e_sqrtl.c: Likewise.
17156 * math/e_scalb.c: Completely rewritten and optimized.
17157 * math/e_scalbf.c: Likewise.
17158 * math/e_scalbl.c: Likewise.
17159 * math/w_acos.c: Likewise.
17160 * math/w_acosf.c: Likewise.
17161 * math/w_acosl.c: Likewise.
17162 * math/w_acosh.c: Likewise.
17163 * math/w_acoshf.c: Likewise.
17164 * math/w_acoshl.c: Likewise.
17165 * math/w_asin.c: Likewise.
17166 * math/w_asinf.c: Likewise.
17167 * math/w_asinl.c: Likewise.
17168 * math/w_atan2.c: Likewise.
17169 * math/w_atan2f.c: Likewise.
17170 * math/w_atan2l.c: Likewise.
17171 * math/w_atanh.c: Likewise.
17172 * math/w_atanhf.c: Likewise.
17173 * math/w_atanhl.c: Likewise.
17174 * math/w_exp10.c: Likewise.
17175 * math/w_exp10f.c: Likewise.
17176 * math/w_exp10l.c: Likewise.
17177 * math/w_fmod.c: Likewise.
17178 * math/w_fmodf.c: Likewise.
17179 * math/w_fmodl.c: Likewise.
17180 * math/w_j0.c: Likewise.
17181 * math/w_j0f.c: Likewise.
17182 * math/w_j0l.c: Likewise.
17183 * math/w_j1.c: Likewise.
17184 * math/w_j1f.c: Likewise.
17185 * math/w_j1l.c: Likewise.
17186 * math/w_jn.c: Likewise.
17187 * math/w_jnf.c: Likewise.
17188 * math/w_log.c: Likewise.
17189 * math/w_logf.c: Likewise.
17190 * math/w_logl.c: Likewise.
17191 * math/w_log10.c: Likewise.
17192 * math/w_log10f.c: Likewise.
17193 * math/w_log10l.c: Likewise.
17194 * math/w_log2.c: Likewise.
17195 * math/w_log2f.c: Likewise.
17196 * math/w_log2l.c: Likewise.
17197 * math/w_pow.c: Likewise.
17198 * math/w_powf.c: Likewise.
17199 * math/w_powl.c: Likewise.
17200 * math/w_remainder.c: Likewise.
17201 * math/w_remainderf.c: Likewise.
17202 * math/w_remainderl.c: Likewise.
17203 * math/w_scalb.c: Likewise.
17204 * math/w_scalbf.c: Likewise.
17205 * math/w_scalbl.c: Likewise.
17206 * math/w_sqrt.c: Likewise.
17207 * math/w_sqrtf.c: Likewise.
17208 * math/w_sqrtl.c: Likewise.
17209 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17210 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17211 used.
17212 * math/math_private.h: Declare __kernel_standard_f.
17213 * math/w_cosh.c: Remove cruft and optimize a bit.
17214 * math/w_coshf.c: Likewise.
17215 * math/w_coshl.c: Likewise.
17216 * math/w_exp2.c: Likewise.
17217 * math/w_exp2f.c: Likewise.
17218 * math/w_exp2l.c: Likewise.
17219 * math/w_hypot.c: Likewise.
17220 * math/w_hypotf.c: Likewise.
17221 * math/w_hypotl.c: Likewise.
17222 * math/w_lgamma.c: Likewise.
17223 * math/w_lgamma_r.c: Likewise.
17224 * math/w_lgammaf.c: Likewise.
17225 * math/w_lgammaf_r.c: Likewise.
17226 * math/w_lgammal.c: Likewise.
17227 * math/w_lgammal_r.c: Likewise.
17228 * math/w_sinh.c: Likewise.
17229 * math/w_sinhf.c: Likewise.
17230 * math/w_sinhl.c: Likewise.
17231 * math/w_tgamma.c: Likewise.
17232 * math/w_tgammaf.c: Likewise.
17233 * math/w_tgammal.c: Likewise.
17234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17236 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17237 Minor optimizations. Pretty printing. Remove cruft.
17238 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17239 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17241 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17242 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17243 * sysdeps/i386/fpu/e_asin.S: Likewise.
17244 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17245 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17246 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17247 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17250 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17251 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17252 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17253 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17254 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17255 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17256 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17257 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17258 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17259 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17260 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17261 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17262 * sysdeps/i386/fpu/e_log.S: Likewise.
17263 * sysdeps/i386/fpu/e_log10.S: Likewise.
17264 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17266 * sysdeps/i386/fpu/e_log2.S: Likewise.
17267 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17268 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17269 * sysdeps/i386/fpu/e_logf.S: Likewise.
17270 * sysdeps/i386/fpu/e_logl.S: Likewise.
17271 * sysdeps/i386/fpu/e_pow.S: Likewise.
17272 * sysdeps/i386/fpu/e_powf.S: Likewise.
17273 * sysdeps/i386/fpu/e_powl.S: Likewise.
17274 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17275 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17276 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17277 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17278 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17280 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17281 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17282 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17309 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17311 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17312 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17313 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17314 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17316 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17317 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17318 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17319 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17320 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17324 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17363 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17374 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17376 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17377 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17378 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17379 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17380 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17381 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17382 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17383 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17384 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17385 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17386 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17387 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17389 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17391 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17392 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17393 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17394 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17395 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17396 (__isnanf): Likewise.
17397 (__isinf_ns): Likewise.
17398 (__isinf_nsf): Likewise.
17399 (__finite): Likewise.
17400 (__finitef): Likewise.
17401 (__ieee754_sqrt): Define as macro.
17402 (__ieee754_sqrtf): Define as macro.
17403 (__ieee754_sqrtl): Define as macro.
17404 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17405 inlined copy.
17406 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17407 __FINITE_MATH_ONLY__ consistent.
17408 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17409
12cc2fcd
AS
174102011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17411
a843a204
AS
17412 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17413 of rawmemchr.
17414
12cc2fcd
AS
17415 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17416
c853acd5
UD
174172011-10-09 Ulrich Drepper <drepper@gmail.com>
17418
17419 * po/ja.po: Update from translation team.
17420
c658d255
RM
174212011-10-08 Roland McGrath <roland@hack.frob.com>
17422
110946e4
RM
17423 * locale/programs/locarchive.c (prepare_address_space): New function.
17424 (create_archive, enlarge_archive, open_archive): Use it.
17425
50604220
RM
17426 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17427 inside [SHARED], where it is used.
17428
c658d255
RM
17429 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17430
17431 * nss/getent.c (netgroup_keys): Remove unused variable.
17432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17433
6a621eb7
UD
174342011-10-08 Ulrich Drepper <drepper@gmail.com>
17435
7edb55ce
UD
17436 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17439 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17440 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17441 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17442 * math/Makefile (libm-calls): Add s_isinf_ns.
17443 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17444 * math/multc3.c: Likewise.
17445 * math/s_casin.c: Likewise.
17446 * math/s_casinf.c: Likewise.
17447 * math/s_casinl.c: Likewise.
17448 * math/s_ccos.c: Likewise.
17449 * math/s_ccosf.c: Likewise.
17450 * math/s_ccosl.c: Likewise.
17451 * math/s_ctan.c: Likewise.
17452 * math/s_ctanf.c: Likewise.
17453 * math/s_ctanh.c: Likewise.
17454 * math/s_ctanhf.c: Likewise.
17455 * math/s_ctanhl.c: Likewise.
17456 * math/s_ctanl.c: Likewise.
17457 * math/w_fmod.c: Likewise.
17458 * math/w_fmodf.c: Likewise.
17459 * math/w_fmodl.c: Likewise.
17460 * math/w_remainder.c: Likewise.
17461 * math/w_remainderf.c: Likewise.
17462 * math/w_remainderl.c: Likewise.
17463 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17464 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17467 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17468 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17469 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17470 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17471
187da0ae
UD
17472 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17473 of the number.
17474 * stdio-common/printf_fphex.c: Likewise.
17475 * stdio-common/printf_size.c: Likewise.
17476
9277c064
UD
17477 * math/e_exp10.c: Include math_private.h using <...> not "...".
17478 * math/e_exp10f.c: Likewise.
17479 * math/e_exp10l.c: Likewise.
17480 * math/e_exp2l.c: Likewise.
17481 * math/e_j0l.c: Likewise.
17482 * math/e_j1l.c: Likewise.
17483 * math/e_jnl.c: Likewise.
17484 * math/e_lgammal_r.c: Likewise.
17485 * math/e_rem_pio2l.c: Likewise.
17486 * math/e_scalb.c: Likewise.
17487 * math/e_scalbf.c: Likewise.
17488 * math/e_scalbl.c: Likewise.
17489 * math/k_cosl.c: Likewise.
17490 * math/k_sinl.c: Likewise.
17491 * math/k_tanl.c: Likewise.
17492 * math/s_cacoshf.c: Likewise.
17493 * math/s_catan.c: Likewise.
17494 * math/s_catanf.c: Likewise.
17495 * math/s_catanh.c: Likewise.
17496 * math/s_catanhf.c: Likewise.
17497 * math/s_catanhl.c: Likewise.
17498 * math/s_catanl.c: Likewise.
17499 * math/s_ccosh.c: Likewise.
17500 * math/s_ccoshf.c: Likewise.
17501 * math/s_ccoshl.c: Likewise.
17502 * math/s_cexp.c: Likewise.
17503 * math/s_cexpf.c: Likewise.
17504 * math/s_cexpl.c: Likewise.
17505 * math/s_clog.c: Likewise.
17506 * math/s_clog10.c: Likewise.
17507 * math/s_clog10f.c: Likewise.
17508 * math/s_clog10l.c: Likewise.
17509 * math/s_clogf.c: Likewise.
17510 * math/s_clogl.c: Likewise.
17511 * math/s_csin.c: Likewise.
17512 * math/s_csinf.c: Likewise.
17513 * math/s_csinh.c: Likewise.
17514 * math/s_csinhf.c: Likewise.
17515 * math/s_csinhl.c: Likewise.
17516 * math/s_csinl.c: Likewise.
17517 * math/s_csqrt.c: Likewise.
17518 * math/s_csqrtf.c: Likewise.
17519 * math/s_csqrtl.c: Likewise.
17520 * math/s_ctan.c: Likewise.
17521 * math/s_ctanf.c: Likewise.
17522 * math/s_ctanh.c: Likewise.
17523 * math/s_ctanhf.c: Likewise.
17524 * math/s_ctanhl.c: Likewise.
17525 * math/s_ctanl.c: Likewise.
17526 * math/s_ldexp.c: Likewise.
17527 * math/s_ldexpf.c: Likewise.
17528 * math/s_ldexpl.c: Likewise.
17529 * math/s_significand.c: Likewise.
17530 * math/s_significandf.c: Likewise.
17531 * math/s_significandl.c: Likewise.
17532 * math/w_acos.c: Likewise.
17533 * math/w_acosf.c: Likewise.
17534 * math/w_acosh.c: Likewise.
17535 * math/w_acoshf.c: Likewise.
17536 * math/w_acoshl.c: Likewise.
17537 * math/w_acosl.c: Likewise.
17538 * math/w_asin.c: Likewise.
17539 * math/w_asinf.c: Likewise.
17540 * math/w_asinl.c: Likewise.
17541 * math/w_atan2.c: Likewise.
17542 * math/w_atan2f.c: Likewise.
17543 * math/w_atan2l.c: Likewise.
17544 * math/w_atanh.c: Likewise.
17545 * math/w_atanhf.c: Likewise.
17546 * math/w_atanhl.c: Likewise.
17547 * math/w_cosh.c: Likewise.
17548 * math/w_coshf.c: Likewise.
17549 * math/w_coshl.c: Likewise.
17550 * math/w_dremf.c: Likewise.
17551 * math/w_exp10.c: Likewise.
17552 * math/w_exp10f.c: Likewise.
17553 * math/w_exp10l.c: Likewise.
17554 * math/w_exp2.c: Likewise.
17555 * math/w_exp2f.c: Likewise.
17556 * math/w_fmod.c: Likewise.
17557 * math/w_fmodf.c: Likewise.
17558 * math/w_fmodl.c: Likewise.
17559 * math/w_hypot.c: Likewise.
17560 * math/w_hypotf.c: Likewise.
17561 * math/w_hypotl.c: Likewise.
17562 * math/w_j0.c: Likewise.
17563 * math/w_j0f.c: Likewise.
17564 * math/w_j0l.c: Likewise.
17565 * math/w_j1.c: Likewise.
17566 * math/w_j1f.c: Likewise.
17567 * math/w_j1l.c: Likewise.
17568 * math/w_jn.c: Likewise.
17569 * math/w_jnf.c: Likewise.
17570 * math/w_jnl.c: Likewise.
17571 * math/w_lgamma.c: Likewise.
17572 * math/w_lgamma_r.c: Likewise.
17573 * math/w_lgammaf.c: Likewise.
17574 * math/w_lgammaf_r.c: Likewise.
17575 * math/w_lgammal.c: Likewise.
17576 * math/w_lgammal_r.c: Likewise.
17577 * math/w_log.c: Likewise.
17578 * math/w_log10.c: Likewise.
17579 * math/w_log10f.c: Likewise.
17580 * math/w_log10l.c: Likewise.
17581 * math/w_log2.c: Likewise.
17582 * math/w_log2f.c: Likewise.
17583 * math/w_log2l.c: Likewise.
17584 * math/w_logf.c: Likewise.
17585 * math/w_logl.c: Likewise.
17586 * math/w_pow.c: Likewise.
17587 * math/w_powf.c: Likewise.
17588 * math/w_powl.c: Likewise.
17589 * math/w_remainder.c: Likewise.
17590 * math/w_remainderf.c: Likewise.
17591 * math/w_remainderl.c: Likewise.
17592 * math/w_scalb.c: Likewise.
17593 * math/w_scalbf.c: Likewise.
17594 * math/w_scalbl.c: Likewise.
17595 * math/w_sinh.c: Likewise.
17596 * math/w_sinhf.c: Likewise.
17597 * math/w_sinhl.c: Likewise.
17598 * math/w_sqrt.c: Likewise.
17599 * math/w_sqrtf.c: Likewise.
17600 * math/w_sqrtl.c: Likewise.
17601 * math/w_tgamma.c: Likewise.
17602 * math/w_tgammaf.c: Likewise.
17603 * math/w_tgammal.c: Likewise.
17604
6a621eb7
UD
17605 * po/ja.po: Update from translation team.
17606
bf582445
AJ
176072011-09-29 Andreas Jaeger <aj@suse.de>
17608
f9efbf3a
AJ
17609 [BZ #13179]
17610 * sunrpc/netname.c (netname2host): Fix logic.
17611
bf582445
AJ
17612 [BZ #6779]
17613 [BZ #6783]
17614 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
17615 correctly.
17616 * math/w_remainder.c (__remainder): Likewise.
17617 * math/w_remainderf.c (__remainderf): Likewise.
17618 * math/libm-test.inc (remainder_test): Add test cases.
17619
48693bea
AK
176202011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17621
17622 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
17623 sdiv_qrnnd.
17624
42622229
LD
176252011-10-07 Ulrich Drepper <drepper@gmail.com>
17626
17627 * string/test-memcmp.c: Avoid unncessary #defines.
17628 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17629
093ecf92
LD
176302011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17631
17632 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
17633 Use new sse2 version for core i3 - i7 as it's faster
17634 than sse42 version.
17635 (bit_Prefer_PMINUB_for_stringop): New.
17636 * sysdeps/x86_64/rawmemchr.S: Update.
17637 Replace with faster SSE2 version.
17638 * sysdeps/x86_64/memrchr.S: New file.
17639 * sysdeps/x86_64/memchr.S: Update.
17640 Replace with faster SSE2 version.
17641
fde56e5c
MP
176422011-09-12 Marek Polacek <mpolacek@redhat.com>
17643
17644 * elf/dl-load.c (lose): Add cast to avoid warning.
17645
21fd49a9
UD
176462011-10-07 Ulrich Drepper <drepper@gmail.com>
17647
5a06e643
UD
17648 * po/ca.po: Update from translation team.
17649
684ae515
UD
17650 * inet/getnetgrent_r.c: Hook up nscd.
17651 * nscd/Makefile (routines): Add nscd_netgroup.
17652 (nscd-modules): Add netgroupcache.
17653 (CFLAGS-netgroupcache.c): Define.
17654 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
17655 (cache_search): Add const to second parameter.
17656 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
17657 INNETGR.
17658 (dbs): Add netgrdb entry.
17659 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
17660 (verify_persistent_db): Handle netgrdb.
17661 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
17662 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
17663 GETFDNETGR.
17664 (netgroup_response_header): Define.
17665 (innetgroup_response_header): Define.
17666 (datahead): Add netgroup_response_header and innetgroup_response_header
17667 elements.
17668 * nscd/nscd.conf: Add entries for netgroup cache.
17669 * nscd/nscd.h (dbtype): Add netgrdb.
17670 (_PATH_NSCD_NETGROUP_DB): Define.
17671 (netgroup_iov_disabled): Declare.
17672 (xmalloc, xcalloc, xrealloc): Move declarations here.
17673 (cache_search): Adjust prototype.
17674 Add netgroup-related prototypes.
17675 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
17676 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
17677 (__nscd_innetgr): Declare.
17678 * nscd/selinux.c (perms): Use access_vector_t as element type and
17679 add netgroup-related initializers.
17680 * nscd/netgroupcache.c: New file.
17681 * nscd/nscd_netgroup.c: New file.
17682 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
17683 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
17684 For four parameters use innetgr.
17685 * nss/nss_files/files-init.c: Add definition and callback for netgr.
17686 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
17687 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
17688 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
17689
21fd49a9
UD
17690 * nscd/connections.c (register_traced_file): Don't register file
17691 for disabled databases.
17692
054c0457
UD
176932011-10-06 Ulrich Drepper <drepper@gmail.com>
17694
32b63198
UD
17695 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
17696
054c0457
UD
17697 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
17698 from tree and freeing node.
17699
64031225
JO
177002011-09-25 Jiri Olsa <jolsa@redhat.com>
17701
17702 * nss/nsswitch.c (__nss_database_lookup): Handle
17703 nss_parse_service_list out of memory case.
17704
0490345c
JO
177052011-09-15 Jiri Olsa <jolsa@redhat.com>
17706
17707 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
17708 out of memory case.
17709
3a62d00d
AS
177102011-10-04 Andreas Schwab <schwab@redhat.com>
17711
17712 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
17713 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
17714 pass it down.
17715 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
17716 elf_machine_rela, elf_machine_lazy_rel.
17717 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
17718 (ELF_DYNAMIC_DO_REL): Likewise.
17719 (ELF_DYNAMIC_DO_RELA): Likewise.
17720 (ELF_DYNAMIC_RELOCATE): Likewise.
17721 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
17722 to ELF_DYNAMIC_DO_REL.
17723 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
17724 (dl_main): In trace mode always set __RTLD_NOIFUNC.
17725 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
17726 elf_machine_rela.
17727 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
17728 skip_ifunc, don't call ifunc function if non-zero.
17729 (elf_machine_rela): Likewise.
17730 (elf_machine_lazy_rel): Likewise.
17731 (elf_machine_lazy_rela): Likewise.
17732 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
17733 (elf_machine_lazy_rel): Likewise.
17734 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
17735 Likewise.
17736 (elf_machine_lazy_rel): Likewise.
17737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17738 Likewise.
17739 (elf_machine_lazy_rel): Likewise.
17740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
17741 (elf_machine_lazy_rel): Likewise.
17742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
17743 (elf_machine_lazy_rel): Likewise.
17744 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17745 (elf_machine_lazy_rel): Likewise.
17746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
17747 (elf_machine_lazy_rel): Likewise.
17748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
17749 (elf_machine_lazy_rel): Likewise.
17750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17751 (elf_machine_lazy_rel): Likewise.
17752
68577918
UD
177532011-09-28 Ulrich Drepper <drepper@gmail.com>
17754
17755 * nss/nss_files/files-init.c (_nss_files_init): Use static
17756 initialization for all the *_traced_file variables.
17757
68822d74
AS
177582011-09-28 Andreas Schwab <schwab@redhat.com>
17759
17760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17761
2056100b
RM
177622011-09-27 Roland McGrath <roland@hack.frob.com>
17763
17764 [BZ #13226]
17765 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
17766
32c76b63
AS
177672011-09-27 Andreas Schwab <schwab@redhat.com>
17768
17769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17770 Reread the line before reparsing it.
17771
bf972c9d
AS
177722011-09-26 Andreas Schwab <schwab@redhat.com>
17773
17774 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
17775
e057a1b5
JM
177762011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
17777 Maxim Kuvyrkov <maxim@codesourcery.com>
17778 Joseph Myers <joseph@codesourcery.com>
17779
17780 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
17781 if needed for __stack_chk_guard.
17782
bc7e1c36
RM
177832011-09-19 Roland McGrath <roland@hack.frob.com>
17784
ecb1482f
RM
17785 * sysdeps/posix/spawni.c (script_execute): Always define it.
17786 It will be optimized away if unused.
17787 (maybe_script_execute): New function.
17788 (__spawni): Call it.
17789
bc7e1c36
RM
17790 * Makerules: Don't include tls.make.
17791 (config-tls): Always set to thread.
17792 * tls.make.c: File removed.
17793
1c3b002b
MF
177942011-09-19 Mike Frysinger <vapier@gentoo.org>
17795
17796 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
17797 * config.make.in (CPPFLAGS-config): New substituted variable.
17798
2840865d
UD
177992011-09-15 Ulrich Drepper <drepper@gmail.com>
17800
88738eb6
UD
17801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
17802
cbf645a6 17803 [BZ #13192]
2840865d
UD
17804 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
17805 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
17806
b402e91a
RM
178072011-09-15 Roland McGrath <roland@hack.frob.com>
17808
17809 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
17810 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
17811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17812 (CALL_FAIL): Likewise.
17813 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
17814 (CALL_FAIL): Macro removed.
17815 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
17816
4c1a1f71
UD
178172011-09-15 Ulrich Drepper <drepper@gmail.com>
17818
17819 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
17820 for __FINITE_MATH_ONLY__ == 1.
17821
edc121be
AS
178222011-09-15 Andreas Schwab <schwab@redhat.com>
17823
17824 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
17825 __ieee754_sqrt instead of sqrt.
17826 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
17827 __ieee754_sqrtf instead of sqrtf.
17828 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
17829 __floorf instead of floorf.
17830 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
17831 __floorf, __truncf instead of floorf, truncf.
17832
cd205654
UD
178332011-09-14 Ulrich Drepper <drepper@gmail.com>
17834
ee4d0315
UD
17835 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
17836
cd205654
UD
17837 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
17838 __extern_always_inline.
17839 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
17840 32-bit.
17841
48b67d71
AS
178422011-09-14 Andreas Schwab <schwab@redhat.com>
17843
17844 * elf/rtld.c (dl_main): Also relocate in dependency order when
17845 doing symbol dependency testing.
17846
1ae12c75
AS
178472011-09-13 Andreas Schwab <schwab@linux-m68k.org>
17848
17849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17850 Always define `refsym'.
17851
995a80df
AS
178522011-09-13 Andreas Schwab <schwab@redhat.com>
17853
e529793b
AS
17854 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
17855 (__FD_ELT): Renamed from __FDELT.
17856 * misc/bits/select2.h (__FD_ELT): Likewise.
17857 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
17858 __FD_MASK instead of __FDELT, __FDMASK.
17859 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17860 Likewise.
17861 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
17862 Likewise.
17863
52d4fef8
AS
17864 * elf/Makefile (gen-ldd): Fix pattern.
17865
995a80df
AS
17866 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
17867 (init_tls): Likewise.
17868
8682f8b0
UD
178692011-09-12 Ulrich Drepper <drepper@gmail.com>
17870
17871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
17872
de82006d
AS
178732011-09-12 Andreas Schwab <schwab@redhat.com>
17874
a7c8e6a1
AS
17875 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
17876 `struct cmsghdr *' instead of `void *'.
17877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
17878 Likewise.
17879
0f31fe77
AS
178802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17881
17882 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
17883 if non-absolute.
17884 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
17885 ldd_rewrite_script.
0f31fe77 17886
32b4c839
UD
178872011-09-11 Ulrich Drepper <drepper@gmail.com>
17888
83cd1420
UD
17889 * configure.in: Remove --with-tls option.
17890 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
17891 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
17892 out in case it is missing.
17893 * sysdeps/ia64/elf/configure.in: Likewise.
17894 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
17895 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
17896 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
17897 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
17898 * sysdeps/sh/elf/configure.in: Likewise.
17899 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
17900 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17901 * sysdeps/x86_64/elf/configure.in: Likewise.
17902 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
17903 * sysdeps/mach/hurd/tls.h: Likewise.
17904
633f745d
UD
17905 [BZ #13067]
17906 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
17907
f318beb8
UD
17908 [BZ #13090]
17909 * configure.in: Fix use of AC_INIT.
17910
32b4c839
UD
17911 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
17912
3ce1f295
UD
179132011-09-10 Ulrich Drepper <drepper@gmail.com>
17914
bb016596
UD
17915 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
17916 __set_errno.
8e58439c
UD
17917 * malloc/hooks.c: Likewise.
17918
aebae053 17919 [BZ #11929]
02d46fc4
UD
17920 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
17921 variables statically.
17922 (narenas): Initialize.
17923 (list_lock): Initialize.
bb016596
UD
17924 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
17925 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
17926 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
17927 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
17928 Add initializers to main_arena and mp_.
17929 (malloc_state): Remove pagesize member. Change all users to use
17930 GLRO(dl_pagesize).
17931
17932 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
17933 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
17934 is always initialized.
17935
22a89187
UD
17936 * malloc/malloc.c: Removed unused configurations and dead code.
17937 * malloc/arena.c: Likewise.
17938 * malloc/hooks.c: Likewise.
02d46fc4 17939 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 17940
d063d164
UD
17941 * include/tls.h: Removed. USE___THREAD must always be defined.
17942 * bits/libc-tsd.h: Don't handle !USE___THREAD.
17943 * elf/dl-libc.c: Likewise.
17944 * elf/dl-tsd.c: Likewise.
17945 * include/errno.h: Likewise.
17946 * include/netdb.h: Likewise.
17947 * include/resolv.h: Likewise.
17948 * inet/herrno-loc.c: Likewise.
17949 * inet/herrno.c: Likewise.
17950 * malloc/arena.c: Likewise.
17951 * malloc/hooks.c: Likewise.
17952 * malloc/malloc.c: Likewise.
17953 * resolv/res-state.c: Likewise.
17954 * resolv/res_libc.c: Likewise.
17955 * sysdeps/i386/dl-machine.h: Likewise.
17956 * sysdeps/ia64/dl-machine.h: Likewise.
17957 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17958 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17959 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17960 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17961 * sysdeps/sh/dl-machine.h: Likewise.
17962 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17963 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17964 * sysdeps/unix/i386/sysdep.S: Likewise.
17965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17966 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17967 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17971 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17975 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17976 * sysdeps/x86_64/dl-machine.h: Likewise.
17977 * tls.make.c: Likewise.
17978
3ce1f295
UD
17979 * configure.in: Remove --with-__thread option. Make tests for
17980 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
17981 tls_model attribute fail if no support is available. Remove
17982 USE_IN_LIBIO.
17983 * Makeconfig: Adjust for dropped configure option. All features are
17984 now mandatory.
17985 * Makerules: Likewise.
17986 * Versions.def: Likewise.
17987 * argp/argp-fmtstream.c: Likewise.
17988 * argp/argp-fmtstream.h: Likewise.
17989 * argp/argp-help.c: Likewise.
17990 * assert/assert.c: Likewise.
17991 * config.h.in: Likewise.
17992 * config.make.in: Likewise.
17993 * configure: Likewise.
17994 * configure.in: Likewise.
17995 * csu/Versions: Likewise.
17996 * csu/init.c: Likewise.
17997 * elf/tst-audit2.c: Likewise.
17998 * elf/tst-tls10.c: Likewise.
17999 * elf/tst-tls10.h: Likewise.
18000 * elf/tst-tls11.c: Likewise.
18001 * elf/tst-tls12.c: Likewise.
18002 * elf/tst-tls14.c: Likewise.
18003 * elf/tst-tlsmod11.c: Likewise.
18004 * elf/tst-tlsmod12.c: Likewise.
18005 * elf/tst-tlsmod13.c: Likewise.
18006 * elf/tst-tlsmod13a.c: Likewise.
18007 * elf/tst-tlsmod14a.c: Likewise.
18008 * elf/tst-tlsmod15b.c: Likewise.
18009 * elf/tst-tlsmod16a.c: Likewise.
18010 * elf/tst-tlsmod16b.c: Likewise.
18011 * elf/tst-tlsmod7.c: Likewise.
18012 * elf/tst-tlsmod8.c: Likewise.
18013 * elf/tst-tlsmod9.c: Likewise.
18014 * gmon/gmon.c: Likewise.
18015 * grp/fgetgrent_r.c: Likewise.
18016 * grp/putgrent.c: Likewise.
18017 * hurd/fopenport.c: Likewise.
18018 * include/libc-symbols.h: Likewise.
18019 * include/tls.h: Likewise.
18020 * intl/gettextP.h: Likewise.
18021 * intl/loadinfo.h: Likewise.
18022 * locale/global-locale.c: Likewise.
18023 * locale/localeinfo.h: Likewise.
18024 * mach/devstream.c: Likewise.
18025 * malloc/arena.c: Likewise.
18026 * malloc/set-freeres.c: Likewise.
18027 * misc/err.c: Likewise.
18028 * misc/getttyent.c: Likewise.
18029 * misc/mntent_r.c: Likewise.
18030 * posix/getopt.c: Likewise.
18031 * posix/wordexp.c: Likewise.
18032 * pwd/fgetpwent_r.c: Likewise.
18033 * resolv/Versions: Likewise.
18034 * resolv/res_hconf.c: Likewise.
18035 * shadow/fgetspent_r.c: Likewise.
18036 * shadow/putspent.c: Likewise.
18037 * stdio-common/printf_fphex.c: Likewise.
18038 * stdio-common/tmpfile.c: Likewise.
18039 * stdlib/abort.c: Likewise.
18040 * stdlib/fmtmsg.c: Likewise.
18041 * sunrpc/auth_unix.c: Likewise.
18042 * sunrpc/clnt_perr.c: Likewise.
18043 * sunrpc/clnt_tcp.c: Likewise.
18044 * sunrpc/clnt_udp.c: Likewise.
18045 * sunrpc/clnt_unix.c: Likewise.
18046 * sunrpc/openchild.c: Likewise.
18047 * sunrpc/svc_simple.c: Likewise.
18048 * sunrpc/svc_tcp.c: Likewise.
18049 * sunrpc/svc_udp.c: Likewise.
18050 * sunrpc/svc_unix.c: Likewise.
18051 * sunrpc/xdr.c: Likewise.
18052 * sunrpc/xdr_array.c: Likewise.
18053 * sunrpc/xdr_rec.c: Likewise.
18054 * sunrpc/xdr_ref.c: Likewise.
18055 * sunrpc/xdr_stdio.c: Likewise.
18056
1248c1c4
PB
180572011-09-09 Ulrich Drepper <drepper@gmail.com>
18058
18059 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18060
180612011-07-03 Andreas Jaeger <aj@suse.de>
18062
18063 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18064 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18065 regenerate with gen-libm-tests.pl.
18066
180672010-05-12 Petr Baudis <pasky@suse.cz>
18068
18069 [BZ #11589]
18070 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18071 around j0() zero points by switching to j1().
18072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18076
f22e1074
UD
180772011-09-09 Ulrich Drepper <drepper@gmail.com>
18078
f19009c1
UD
18079 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18080 instead of 0.
18081 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18082 instead of 0. .
18083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18084 Patch in part by Pavel Roskin <proski@gnu.org>.
18085
3f8cc204
UD
18086 [BZ #13138]
18087 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18088 realloc.
18089 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18090 Free memory block if necessary.
18091
f22e1074
UD
18092 [BZ #12847]
18093 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18094 be NULL. Don't lock in this case.
18095
0a2349f9
RM
180962011-09-09 Roland McGrath <roland@hack.frob.com>
18097
18098 * elf/elf.h (ELFOSABI_GNU): New macro.
18099 (ELFOSABI_LINUX): Define to that.
18100
f3cdd467
DZ
181012011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18102
18103 * string/strncat.c (strncat): Undef the symbol in case it has been
18104 defined in bits/string.h.
18105
74718d13
UD
181062011-09-09 Ulrich Drepper <drepper@gmail.com>
18107
633e9e0f
UD
18108 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18109
0a2349f9 18110 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18111 link map.
18112
f9924780
AJ
181132011-08-17 Andreas Jaeger <aj@suse.de>
18114
18115 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18116
7f5517aa
PP
181172011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18118 Ian Lance Taylor <iant@google.com>
18119
18120 * math/libm-test.inc (lround_test): New testcase.
18121 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18122
762011fe
UD
181232011-09-08 Ulrich Drepper <drepper@gmail.com>
18124
92963737
UD
18125 * Makefile: Remove support for automatic cvs check-ins.
18126 * Makerules: Likewise.
18127 * config.make.in: Likewise.
18128 * configure.in: Likewise.
18129 * intl/Makefile: Likewise.
18130 * locale/Makefile: Likewise.
18131 * po/Makefile: Likewise.
18132 * posix/Makefile: Likewise.
18133 * sysdeps/gnu/Makefile: Likewise.
18134 * sysdeps/mach/hurd/Makefile: Likewise.
18135 * sysdeps/sparc/sparc32/Makefile: Likewise.
18136
b0727fd8
JS
18137 [BZ #13118]
18138 * posix/Makefile (bug-regex32-ENV): Define.
18139 Patch by John Stanley <jpsinthemix@verizon.net>.
18140
a0f33f99
UD
18141 * misc/Makefile (headers): Add bits/select2.h.
18142 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18143 * misc/bits/select2.h: New file.
18144 * include/bits/select2.h: New file.
18145 * debug/Makefile (routines): Add fdelt_chk.
18146 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18147 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18148 FD_ISSET.
18149 * debug/fdelt_chk.c: New file.
18150
762011fe
UD
18151 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18152 * wcsmbs/test-wmemcmp.c: Likewise.
18153 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18154 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18155
181562011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18157
18158 * string/Makefile (strop-tests): Add memcmp.
18159 * string/test-wmemcmp.c: New file.
18160 * string/test-memcmp.c: Add wmemcmp support.
18161
7f513ec8
RM
181622011-09-08 Roland McGrath <roland@hack.frob.com>
18163
0442afb4
RM
18164 [BZ #13153]
18165 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18166 2011-07-19 change.
18167
7f513ec8
RM
18168 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18169 garbage value in a __mach_port_mod_refs call in the cases of the
18170 task-self and thread-self ports.
18171
a12b2239
ST
181722011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18173
18174 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18175
610f9ab4
AS
181762011-09-08 Andreas Schwab <schwab@redhat.com>
18177
7f513ec8 18178 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18179
48882a1a
LD
181802011-09-07 Ulrich Drepper <drepper@gmail.com>
18181
b49865be
UD
18182 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18183
fdc86bc9
UD
18184 * elf/dl-libc.c (dlerror_run): Pass back error code from
18185 dl_catch_error.
18186
c966526a
UD
18187 [BZ #13123]
18188 * elf/dl-load.c (lose): Free l_origin if it is valid.
18189
48882a1a
LD
18190 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18191 names.
18192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18196 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18197 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18198
77a2a8b4
AZ
181992011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18200
18201 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18202 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18203 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18204 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18205 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18206 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18207 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18208 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18209 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18210 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18211
24f579d8
AM
182122011-08-15 Alan Modra <amodra@gmail.com>
18213
18214 [BZ #13092]
18215 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18216 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18217 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18218 ppc_mcount to static-only-routines.
18219 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18220 __mcount_internal.
18221 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18222 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18223
3d4837df
UD
182242011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18225
18226 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18227 for finite and infinity parameters.
18228
22700377
WS
182292011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18230
18231 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18232 and add nop instructions for throughput optimization.
18233 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18234
5025581e
WS
182352011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18236
18237 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18238 aligned copy for power7 with vector-scalar instructions.
18239 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18240
08a300c9
L
182412011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18242
18243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18244 AVX check.
18245
59178ef9
AS
182462011-09-07 Andreas Schwab <schwab@redhat.com>
18247
18248 [BZ #13144]
18249 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18250 last change.
18251
e38ba7ab
UD
182522011-09-07 Ulrich Drepper <drepper@gmail.com>
18253
18254 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18255 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18256 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18258 clock_gettime.
18259
d53a73ac
UD
182602011-09-06 Ulrich Drepper <drepper@gmail.com>
18261
fc8bffcc
UD
18262 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18263 Forgot to demangle the pointer.
18264
ceaa0c5d
UD
18265 * sysdeps/i386/sysdep.h: Define atom_text_section.
18266 * sysdeps/x86_64/sysdep.h: Likewise.
18267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18268 section with atom_text_section.
18269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18271 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18272 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18273 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18274
a77d3c17
UD
18275 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18276 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18277 already be defined. Change to take two parameters and don't assign
18278 result to variable. Adjust all users.
18279 Define INTERNAL_GETTIME if not already defined.
18280 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18281 call.
18282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18283 HAVE_CLOCK_GETTIME_VSYSCALL.
18284 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18285
d53a73ac
UD
18286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18287 gettimeofday vsyscall, just use time.
18288
a8f84144
AS
182892011-09-06 Andreas Schwab <schwab@redhat.com>
18290
18291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18292 <errno.h>.
18293
ef606249
UD
182942011-09-06 Ulrich Drepper <drepper@gmail.com>
18295
18296 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18297 syscall on x86-64.
18298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18299 syscall.
18300 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18302 syscall if possible.
18303
6585cb60
UD
183042011-09-05 Ulrich Drepper <drepper@gmail.com>
18305
18306 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18307 e_ident. Don't pass to find_mapsXX.
18308 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18309
a5f524e4
LD
183102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18311
18312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18313 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18314 * sysdeps/x86_64/multiarch/strchr.S: Update.
18315 Check bit_slow_BSF bit.
18316 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18317 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18319
554881ef
UD
183202011-09-05 Ulrich Drepper <drepper@gmail.com>
18321
d96de963
UD
18322 [BZ #13134]
18323 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18324 before glibc 2.15.
18325 (tryshell): Define.
18326 (__spawni): Change last parameter to be flag. Test
18327 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18328 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18329 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18330 * posix/spawni.c: Likewise.
18331 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18332 * posix/spawnp.c: Likewise. Change normal version to use
18333 SPAWN_XFLAGS_USE_PATH.
18334 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18335 SPAWN_XFLAGS_TRY_SHELL.
18336
d48e5868
UD
18337 [BZ #13150]
18338 * posix/glob.h: Remove gcc 1.x support.
18339
554881ef
UD
18340 [BZ #13068]
18341 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18342
693fb948
LD
183432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18344
18345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18346 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18347 strrchr-sse2-bsf
18348 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18349 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18350 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18352 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18353 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18354
1b48c537
UD
183552011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18356
49d42c37
UD
18357 * sysdeps/x86_64/wcscmp.S: New file.
18358
1b48c537
UD
18359 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18360 wcscmp-c wcscmp-sse2
18361 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18362 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18363 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18364 * wcsmbs/wcscmp.c: Allow renaming.
18365
15c95c5d
DM
183662011-09-05 David S. Miller <davem@davemloft.net>
18367
18368 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18369 stack slot, rather than the struct return pointer slot.
18370 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18371 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18373 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18374
2f0ad8f3
UD
183752011-09-05 Ulrich Drepper <drepper@gmail.com>
18376
d88ae418
UD
18377 * po/ja.po: Update from translation team.
18378
2f0ad8f3
UD
18379 [BZ #13144]
18380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18381 kernel in 64-bit binaries.
18382
5f4318d1
DM
183832011-09-01 David S. Miller <davem@davemloft.net>
18384
18385 * elf/elf.h (HWCAP_SPARC_*): Move to..
18386 * sysdeps/sparc/sysdep.h: this new file and add new values.
18387 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18388 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18389 _DL_HWCAP_COUNT to 24.
18390 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18391 entries.
18392 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18393 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18394 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18396 instead of magic constants.
18397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18398
3ba57516
DM
183992011-08-31 David S. Miller <davem@davemloft.net>
18400
18401 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18403 Reimplement to do errno handling inline.
18404 (SYSCALL_ERROR_HANDLER): New macro.
18405 (__SYSCALL_STRING): Do not do errno handling in asm.
18406 (__CLONE_SYSCALL_STRING): Delete.
18407 (__INTERNAL_SYSCALL_STRING): Delete.
18408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18409 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18410 (PSEUDO): Reimplement to do errno handling inline.
18411 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18412 (SYSCALL_ERROR_HANDLER): New macro.
18413 (__SYSCALL_STRING): Do not do errno handling in asm.
18414 (__CLONE_SYSCALL_STRING): Delete.
18415 (__INTERNAL_SYSCALL_STRING): Delete.
18416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18417 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18418 i386.
18419 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18420 (inline_syscall*): Add 'err' argument.
18421 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18422 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18423 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18424 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18425
18426 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18428
2bc17433
AS
184292011-08-30 Andreas Schwab <schwab@redhat.com>
18430
18431 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18432
fbeb5f4d
JO
184332011-08-29 Jiri Olsa <jolsa@redhat.com>
18434
18435 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18436 directive.
18437
ad69cc26
DM
184382011-08-24 David S. Miller <davem@davemloft.net>
18439
18440 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18441
39dd69df
AS
184422011-08-24 Andreas Schwab <schwab@redhat.com>
18443
18444 * elf/Makefile: Add rules to build and run unload8 test.
18445 * elf/unload8.c: New file.
18446 * elf/unload8mod1.c: New file.
18447 * elf/unload8mod1x.c: New file.
18448 * elf/unload8mod2.c: New file.
18449 * elf/unload8mod3.c: New file.
18450
18451 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18452 it wasn't used.
18453
2c0b250a
DM
184542011-08-23 David S. Miller <davem@davemloft.net>
18455
18456 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18457 subtract stack bias.
18458 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18459 %sp not %fp in calculations.
18460 (_JMPBUF_UNWINDS_ADJ): Likewise.
18461
22044b48
DM
18462 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18463 (aio_suspend): Call it to force an exception region around the
18464 AIO_MISC_WAIT() invocation.
18465
2cae4995
AS
184662011-08-23 Andreas Schwab <schwab@redhat.com>
18467
18468 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18469 backslash.
18470
873a772e
AJ
184712011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18472
18473 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18474 protection macro.
18475 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18476 and <dl-machine.h>.
18477 (Elf64_FuncDesc): Remove.
18478
25ad0df1
DM
184792011-08-22 David S. Miller <davem@davemloft.net>
18480
18481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18482 sigaltstack check, add missing cfi directives.
18483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18484 missing cfi directives, and sigaltstack handling.
18485
e888bcbe
AS
184862011-08-16 Andreas Schwab <schwab@redhat.com>
18487
18488 [BZ #11724]
18489 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18490 object is seen twice.
18491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18492
18493 * elf/Makefile (distribute): Add tst-initorder2.c.
18494 (tests): Add tst-initorder2.
18495 (modules-names): Add tst-initorder2a tst-initorder2b
18496 tst-initorder2c tst-initorder2d. Add rules to build them.
18497 ($(objpfx)tst-initorder2.out): New rule.
18498 * elf/tst-initorder2.c: New file.
18499 * elf/tst-initorder2.exp: New file.
18500
87162f46
AS
185012011-08-22 Andreas Schwab <schwab@redhat.com>
18502
70538b7f
AS
18503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18504
f55ffe58
AS
18505 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18506 dependencies back to end of function.
18507
87162f46
AS
18508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18509 $(elfobjdir)/ld.so.
18510
91b392a4
UD
185112011-08-21 Ulrich Drepper <drepper@gmail.com>
18512
18513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
18514 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
18515 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
18516 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
18517 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
18518 of __vdso_gettimeofday.
18519 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
18520 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
18521 attribute_hidden.
18522 (_libc_vdso_platform_setup): Remove initialization of
18523 __vdso_gettimeofday and __vdso_time.
18524
5c43483f
UD
185252011-08-20 Ulrich Drepper <drepper@gmail.com>
18526
775a77e7
UD
18527 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
18528 and fgetc_unlocked.
18529 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
18530 getc_unlocked.
89f447ed 18531
49c74ba9
UD
18532 * elf/dl-open.c (add_to_global): Report additions to the global scope
18533 for LD_DEBUG=scopes.
18534 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 18535 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 18536
5c43483f
UD
18537 [BZ #13114]
18538 * stdio-common/Makefile (tests): Add bug24.
18539 * stdio-common/bug24.c: New file.
18540
a101b025
AJ
185412011-08-19 Andreas Jaeger <aj@suse.de>
18542
18543 [BZ #13114]
18544 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
18545 non-existant file when using close-on-exec mode.
18546
c88f1766
UD
185472011-08-20 Ulrich Drepper <drepper@gmail.com>
18548
0276a718
UD
18549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
18550 the very first instruction.
18551
c88f1766
UD
18552 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
18553 the CFI state in the end.
18554 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
18555 inclusion of dl-trampoline.h.
18556 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
18557
51ccffa0
AS
185582011-08-19 Andreas Schwab <schwab@redhat.com>
18559
94d7165f
AS
18560 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
18561 expectations for long double.
18562
51ccffa0
AS
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
18564 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
18565
fd708658 185662011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
18567
18568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
18569 artificual limit depends upon the system page size.
18570
44f0a71e
UD
185712011-08-17 Ulrich Drepper <drepper@gmail.com>
18572
18573 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
18574 * resolv/Makefile: Define CFLAGS-libresolv.
18575
8de79a24
AS
185762011-08-17 Andreas Schwab <schwab@redhat.com>
18577
18578 * nss/makedb.c (compute_tables): Make variables used in nested
18579 function static.
18580
27724598
UD
185812011-08-17 Ulrich Drepper <drepper@gmail.com>
18582
c5305d88
UD
18583 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
18584 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
18585 if buffer was too small.
18586
27724598
UD
18587 * elf/pldd.c (main): Attach to all threads in the process.
18588 Rewrite /proc handling to use *at functions.
18589
076fe015
UD
185902011-08-16 Ulrich Drepper <drepper@gmail.com>
18591
174baab3
UD
18592 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
18593 specifies first scope to show.
18594 (dl_open_worker): Update callers. Move printing scope of new
18595 object to before the relocation.
44f0a71e 18596 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
18597 * sysdeps/generic/ldsodefs.h: Update declaration.
18598
076fe015
UD
18599 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
18600 string for the scope number.
18601
a60df2c3
UD
186022011-08-14 Ulrich Drepper <drepper@gmail.com>
18603
18604 * nscd/servicescache.c (cache_addserv): Make sure written is always
18605 initialized.
18606
5e4287d1
RM
186072011-08-14 Roland McGrath <roland@hack.frob.com>
18608
85ae0589
RM
18609 * sysdeps/i386/i486/bits/atomic.h
18610 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
18611 statement expression, so as to suppress "set but not used" warning.
18612 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
18613
69f63097
RM
18614 * string/strncat.c (STRNCAT): Use prototype definition.
18615
675456ef
RM
18616 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
18617 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
18618 -Iprograms here.
18619 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
18620 (localedef-modules): Add localedef.
18621 (locale-modules): Add locale.
18622
5e4287d1
RM
18623 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
18624 * elf/rtld.c (dl_main): Invert order of assignment in last change,
18625 to avoid a warning.
18626
9c96ff23
DM
186272011-08-14 David S. Miller <davem@davemloft.net>
18628
18629 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
18630 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
18631
f9ddf089
UD
186322011-08-13 Ulrich Drepper <drepper@gmail.com>
18633
44f0a71e 18634 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
18635 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
18636 * elf/rtld.c (dl_main): Set l_name of vDSO.
18637 Call _dl_show_scope when DL_DEBUG_SCOPES.
18638 (process_dl_debug): Recognize scopes flag and also set it for all.
18639 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
18640 Declare _dl_show_scope.
18641
1dc27704
UD
18642 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
18643 (do_dlopen): Pass caller_dlopen to dl_open.
18644 (__libc_dlopen_mode): Initialize caller_dlopen.
18645
f9ddf089
UD
18646 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
18647 of libc. Make tolower call locale-independent. Optimize a bit by
18648 using isdigit instead of isalnum.
18649 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
18650
9ac533d3
UD
186512011-08-12 Ulrich Drepper <drepper@gmail.com>
18652
18653 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
18654 was a dependency or dynamically loaded.
18655
89edf2e9
UD
186562011-08-11 Ulrich Drepper <drepper@gmail.com>
18657
8e999d29
UD
18658 * intl/l10nflist.c: Allow architecture-specific pop function.
18659 * sysdeps/x86_64/l10nflist.c: New file.
18660
89edf2e9
UD
18661 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
18662 classification.
18663
14d96785
AS
186642011-08-10 Andreas Schwab <schwab@redhat.com>
18665
18666 * include/dirent.h: Add libc_hidden_proto for scandirat and
18667 scandirat64. Don't declare __scandirat64.
18668 * dirent/scandirat.c: Add libc_hidden_def.
18669 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
18670 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
18671
6761ac04
DM
186722011-08-10 David S. Miller <davem@davemloft.net>
18673
18674 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
18675 enum.
18676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18679
c55fbd1e
UD
186802011-08-09 Ulrich Drepper <drepper@gmail.com>
18681
18682 * Versions.def [libc]: Add GLIBC_2.15.
18683 * dirent/Makefile (routines): Add scandirat and scandirat64.
18684 * dirent/Versions [libc]: Export scandirat and scandirat64 for
18685 GLIBC_2.15.
18686 * dirent/dirent.h: Declare scandirat and scandirat64.
18687 * dirent/scandirat.c: New file.
18688 * dirent/scandirat64.c: New file.
18689 * sysdeps/wordsize-64/scandirat.c: New file.
18690 * sysdeps/wordsize-64/scandirat64.c: New file.
18691 * dirent/opendir.c: Define opendirat.
18692 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
18693 using scandirat.
18694 * dirent/scandir64.c: Adjust for scandir.c change.
18695 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
18696 __scandirat64, and __scandir_cancel_handler.
18697 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
18698 additional parameter and use openat instead of open (outside of ld.so).
18699 Add new __opendir as wrapper around __opendirat.
18700 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
18701 here without requiring old scandirat implementation.
18702
879165f2
UD
187032011-08-08 Ulrich Drepper <drepper@gmail.com>
18704
18705 * dirent/scandir.c (cancel_handler): Renamed to
18706 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
18707 defined. Adjust users.
18708 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
18709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18710
cb7e923b
UD
187112011-08-04 Ulrich Drepper <drepper@gmail.com>
18712
16292edd
UD
18713 * string/test-string.h (IMPL): Use __STRING to expand name and then
18714 stringify it.
18715
cb7e923b
UD
18716 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
18717 of cleanups.
18718
cff82933
LD
187192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18720
18721 * string/Makefile: Update.
18722 (strop-tests): Append strncat.
18723 * string/test-wcscmp.c: New file.
18724 New comprehensive test for wcscmp.
18725 * string/test-strcmp.c: Update.
18726 (WIDE): New define.
18727
9be9bfcc
AS
187282011-07-22 Andreas Schwab <schwab@redhat.com>
18729
18730 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
18731 line.
18732
2e96f1c7
AS
187332011-07-26 Andreas Schwab <schwab@redhat.com>
18734
18735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18736 encoding to ACE if AI_IDN.
18737
85188888
JJ
187382011-08-01 Jakub Jelinek <jakub@redhat.com>
18739
18740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
18741 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
18742
5fa16e9b
LD
187432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18744
18745 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
18746 Fix overflow bug in strncat.
18747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18748
18749 * string/test-strncat.c: Update.
18750 Add new tests for checking overflow bugs.
18751
187522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18753
18754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18755 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
18756 * sysdeps/i386/i686/multiarch/strcat.S: New file.
18757 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
18758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
18759 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
18760 * sysdeps/i386/i686/multiarch/strncat.S: New file.
18761 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
18762 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
18763
18764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
18765 (USE_AS_STRCAT): Define.
18766 Add strcat and strncat support.
18767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18768
8c1a459f
AS
187692011-07-25 Andreas Schwab <schwab@redhat.com>
18770
18771 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
18772 __n bigger than INT_MAX+1.
18773 (__strncmp_g): Likewise.
18774
bba33c28
UD
187752011-07-23 Ulrich Drepper <drepper@gmail.com>
18776
798be72d
UD
18777 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
18778 * libio/stido.h: Likewise.
18779
8accd4dc
UD
18780 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
18781 (AF_NFC): Define.
18782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
18783 (AF_NFC): Define.
18784
cbff0d96
UD
18785 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
18786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18788 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
18789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18790
9191c04a
UD
18791 [BZ #13021]
18792 * scripts/test-installation.pl: Don't expect libnss_test1 to be
18793 installed.
18794
bba33c28
UD
18795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
18796 typo.
18797 (_dl_x86_64_save_sse): Likewise.
18798
90f139dd
UD
187992011-07-22 Ulrich Drepper <drepper@gmail.com>
18800
1aae088a
UD
18801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
18802 OSXSAVE.
18803 (_dl_x86_64_save_sse): Likewise.
18804
8e2045f5
UD
18805 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
18806
90f139dd
UD
18807 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
18808
1d002f25
AS
188092011-07-21 Andreas Schwab <schwab@redhat.com>
18810
18811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
18812 change.
18813 (_dl_x86_64_save_sse): Use correct AVX check.
18814
21137f89
UD
188152011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18816
18817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
18818 bug in strncpy/strncat.
18819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18820
a65c0b7a
UD
188212011-07-21 Ulrich Drepper <drepper@gmail.com>
18822
18823 * string/tester.c (test_strcat): Add tests for different alignments
18824 of source and destination.
18825 (test_strncat): Likewise.
18826
6986b98a
UD
188272011-07-20 Ulrich Drepper <drepper@gmail.com>
18828
90bb2039
UD
18829 [BZ #12852]
18830 * posix/glob.c (glob): Check passed in values before using them in
18831 expressions to avoid some overflows.
18832 (glob_in_dir): Likewise.
18833
5644ef54
UD
18834 [BZ #13007]
18835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
18836 check for AVX enablement so that we don't crash with old kernels and
18837 new hardware.
18838 * elf/tst-audit4.c: Add same checks here.
18839 * elf/tst-audit6.c: Likewise.
18840
18841 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 18842
bfc9dc9b
AS
188432011-07-09 Andreas Schwab <schwab@linux-m68k.org>
18844
18845 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
18846
702e64bb
UD
188472011-07-20 Ulrich Drepper <drepper@gmail.com>
18848
18849 * po/cs.po: Update from translation team.
18850 * po/bg.po: Likewise.
18851
295e904f
MP
188522011-07-12 Marek Polacek <mpolacek@redhat.com>
18853
18854 * misc/sys/cdefs.h: Add support for const attribute.
18855 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
18856 to gnu_dev_{major,minor,makedev} functions.
18857
3ff94596
MP
188582011-07-20 Marek Polacek <mpolacek@redhat.com>
18859
18860 * intl/dcigettext.c (get_output_charset): Add missing bracket.
18861
28b59fca
AS
188622011-07-20 Andreas Schwab <schwab@redhat.com>
18863
18864 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
18865 strlen results.
18866
19df733e
AK
188672011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18868
18869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18870 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
18871 register in order to avoid conflicts with the soft frame pointer
18872 being held in r11 when necessary.
18873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18874 (INTERNAL_VSYSCALL_NCS): Likewise.
18875
c8835729
MP
188762011-07-14 Marek Polacek <mpolacek@redhat.com>
18877
18878 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
18879 * elf/dl-fini.c (_dl_fini): Adjust caller.
18880 * elf/dl-close.c (_dl_close_worker): Likewise.
18881 * sysdeps/generic/ldsodefs.h: Adjust declaration.
18882
b902330c
MP
188832011-07-15 Marek Polacek <mpolacek@redhat.com>
18884
8991e135
MP
18885 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
18886 "aux_cache->nlibs < 0".
18887
b902330c
MP
18888 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
18889 in the reload-count case.
18890
99710781
LD
188912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18892
18893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18894 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
18895 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
18896 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
18897 * sysdeps/x86_64/multiarch/strcat.S: New file.
18898 * sysdeps/x86_64/multiarch/strncat.S: New file.
18899 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
18900 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
18901 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
18902 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
18903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
18904 (USE_AS_STRCAT): Define.
18905 Add strcat and strncat support.
18906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18907 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18908 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
18909 * string/strncat.c: Update.
18910 (USE_AS_STRNCAT): Define.
18911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18912 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
18913 and i7.
18914 * sysdeps/x86_64/multiarch/init-arch.h
18915 (bit_Prefer_PMINUB_for_stringop): New.
18916 (index_Prefer_PMINUB_for_stringop): Likewise.
18917 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
18918 bit_Prefer_PMINUB_for_stringop.
18919
7dc6bd90
UD
189202011-07-19 Ulrich Drepper <drepper@gmail.com>
18921
18922 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
18923 buffer64.
18924 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
18925 of casting of buffer.
18926 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
18927 buffer32 and buffer64.
18928 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
18929 writes instead of casting of buffer.
18930 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
18931 buffer32.
18932 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
18933 casting of buffer.
18934
e0e72284
AS
189352011-07-19 Andreas Schwab <schwab@redhat.com>
18936
18937 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
18938
feb1eb0b
UD
189392011-07-19 Ulrich Drepper <drepper@gmail.com>
18940
18941 * nscd/nscd.c (termination_handler): Don't do anything for a database
18942 if it has not yet been initialized.
18943
298711ff
UD
189442011-07-18 Ulrich Drepper <drepper@gmail.com>
18945
18946 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18947
189482011-07-15 Marek Polacek <mpolacek@redhat.com>
18949
18950 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
18951
f9d68389
UD
189522011-07-18 Ulrich Drepper <drepper@gmail.com>
18953
18954 * po/nl.po: Update from translation team.
18955 * po/sv.po: Likewise.
18956
db290cf5
RM
189572011-07-16 Roland McGrath <roland@hack.frob.com>
18958
18959 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
18960 now disallowed by GCC.
5c550700 18961
fd5e21c7
RM
18962 * configure.in (use-default-link): Default to yes if a test -shared
18963 link meets our qualifications.
18964 * configure: Regenerated.
18965
5c550700
RM
18966 * config.make.in (output-format): New variable.
18967 * configure.in: Check for ld --print-output-format support.
18968 * configure: Regenerated.
18969 * Makerules ($(common-objpfx)format.lds)
18970 [$(output-format) != unknown]: Just use $(output-format),
18971 instead of the linker-script munging.
18972
9fa2c032
RM
189732011-07-14 Roland McGrath <roland@hack.frob.com>
18974
a6928d51
RM
18975 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
18976 of $(common-objpfx)shlib.lds.
18977 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
18978
661607b3
RM
18979 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
18980 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
18981
9fa2c032
RM
18982 * configure.in (-z relro check): Adjust test code to add a large
18983 writable data section after it.
18984 * configure: Regenerated.
18985
defe9061
RM
189862011-07-11 Roland McGrath <roland@hack.frob.com>
18987
18988 * configure.in (-z relro check): Fix test code to make the variable
18989 truly const.
18990 * configure: Regenerated.
18991
319b9ad4
UD
189922011-07-11 Ulrich Drepper <drepper@gmail.com>
18993
18994 * nscd/nscd.h (struct traced_file): Define.
18995 (struct database_dyn): Remove inotify_descr, reset_res, and filename
18996 elements. Add traced_files.
18997 (inotify_fd): Declare.
18998 (register_traced_file): Declare.
18999 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19000 (inotify_fd): Export.
19001 (resolv_conf_descr): Remove.
19002 (nscd_init): Move inotify descriptor creation to main.
19003 Don't register files for notification here.
19004 (register_traced_file): New function.
19005 (invalidate_cache): Don't use reset_res to determine whether to call
19006 res_init, go through the list of registered files.
19007 (main_loop_poll): The inotify descriptors are now stored in the
19008 structures for the traced files.
19009 (main_loop_epoll): Likewise
19010 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19011 to __nss_disable_nscd.
19012 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19013 for a database anymore. Check the records for all the registered
19014 files instead.
19015 * nss/Makefile (libnss_files-routines): Add files-init.
19016 (libnss_db-routines): Add db-init.
19017 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19018 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19019 * nss/nss_db/db-init.c: New file.
19020 * nss/nss_files/files-init.c: New file.
19021 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19022 __nss_lookup_function.
19023 (__nss_lookup_function): Call nss_load_library.
19024 (nss_load_all_libraries): New function.
19025 (__nss_disable_nscd): Take parameter with callback function for files
19026 to register. Set is_nscd. Load all the DSOs for the NSS modules
19027 used for the cached services.
19028 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19029 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19030 options for features to all the files in nscd.
19031
19032 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19033
23bee3e8
RM
190342011-07-10 Roland McGrath <roland@hack.frob.com>
19035
19036 * csu/elf-init.c (__libc_csu_init): Comment typo.
19037
46a5b7f0
UD
190382011-07-09 Ulrich Drepper <drepper@gmail.com>
19039
19040 * po/pl.po: Update from translation team.
19041 * po/ja.po: Likewise.
19042 * po/ru.po: Likewise.
19043 * po/ko.po: Likewise.
19044 * po/fr.po: Likewise.
19045
d30cf5bb
RM
190462011-07-09 Roland McGrath <roland@hack.frob.com>
19047
113ddea4
RM
19048 * configure.in (.ctors/.dtors header and trailer check):
19049 Use an empirical test on a built program.
19050 * configure: Regenerated.
19051
574920b4
RM
19052 * configure.in (-z relro check): Use an empirical test on a built DSO.
19053 Detect, but do not require, on ia64.
19054 * configure: Regenerated.
19055
d30cf5bb
RM
19056 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19057 Update tests that use readelf to use $READELF instead.
19058 * configure: Regenerated.
19059
8538fdb3
UD
190602011-07-08 Ulrich Drepper <drepper@gmail.com>
19061
19062 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19063 if the result is not used.
19064
04d08991
AJ
190652011-07-05 Andreas Jaeger <aj@suse.de>
19066
19067 [BZ#9696]
19068 * stdlib/tst-strtod.c: Add testcase.
19069
de283087
AD
190702011-07-07 Ulrich Drepper <drepper@gmail.com>
19071
4e5f31c8 19072 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19073 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19074 The latter has a higher limit. Take additional parameter to pass to
19075 the new function.
19076 (__pathconf): Pass file to __statfs_link_max.
19077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19078 __statfs_link_max.
19079 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19080 __statfs_link_max.
19081
de283087
AD
19082 [BZ #12868]
19083 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19085 Handle Lustre.
19086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19087 (__statfs_filesize_max): Likewise.
19088 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19089
c75fa153
AJ
190902011-07-05 Andreas Jaeger <aj@suse.de>
19091
19092 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19093
1a544854
UD
190942011-07-06 Marek Polacek <mpolacek@redhat.com>
19095
19096 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19097 `status' variable.
19098 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19099 Likewise.
19100
6f0eec67
UD
191012011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19102
19103 * Makefile (strop-tests): Add strncat.
19104 * string/test-strncat.c: New file.
19105
aae30307
UD
191062011-06-30 Marek Polacek <mpolacek@redhat.com>
19107
19108 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19109
c0cfb5eb
UD
191102011-06-21 Andreas Jaeger <aj@suse.de>
19111
19112 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19113 Copy rule from iconvdata/Makefile.
19114
01636b21
UD
191152011-07-06 Ulrich Drepper <drepper@gmail.com>
19116
19117 [BZ #12922]
19118 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19119 but no long options are defined, just return 'W'.
19120
9895c8bc
UD
191212011-06-22 Marek Polacek <mpolacek@redhat.com>
19122
19123 [BZ #9696]
19124 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19125
5d4cf042
UD
191262011-07-06 Ulrich Drepper <drepper@gmail.com>
19127
19128 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19129 netgroups to read.
960e5535 19130 (innetgr): Likewise.
5d4cf042 19131
751eb97e
RM
191322011-07-05 Roland McGrath <roland@hack.frob.com>
19133
19134 * config.make.in (install_root): Default to $(DESTDIR).
19135
f15f1e45
UD
191362011-07-05 Ulrich Drepper <drepper@gmail.com>
19137
19138 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19139
4e34ac6a
RM
191402011-07-02 Roland McGrath <roland@hack.frob.com>
19141
5e9b6af4
RM
19142 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19143
84f9ea0f
RM
19144 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19145 containing directory rather than embedding absolute directory names.
19146
ea5ee9f7
RM
19147 * scripts/check-local-headers.sh: Rewritten using awk.
19148 Match by word, not by line. Print error messages for matches.
19149 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19150
1b74661a
RM
19151 * Makerules [shlib-lds-flags empty]:
19152 ($(common-objpfx)libc_pic.opts): New target.
19153 ($(common-objpfx)libc_pic.os.clean): New target.
19154 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19155
19156 * config.make.in (OBJCOPY): New variable.
19157 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19158 * configure: Regenerated.
19159
f781ef40
RM
19160 * config.make.in (use-default-link): New variable.
19161 * configure.in (use_default_link): Grok --with-default-link to set it.
19162 * configure: Regenerated.
19163 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19164 (shlib-lds, shlib-lds-flags): Define to empty.
19165
2d4fa81e
RM
19166 * Makerules (shlib-lds): New variable.
19167 (shlib-lds-flags): New variable.
19168 (build-shlib, build-moduile, build-module-asneeded): Use it.
19169 ($(common-objpfx)libc.so): Use $(shlib-lds).
19170 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19171 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19172
31fffa6b
RM
19173 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19174 DT_FLAGS/DT_FLAGS_1 with zero flags.
19175
4e34ac6a
RM
19176 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19177 linker script munging.
19178
fcfc776b
UD
191792011-07-02 Ulrich Drepper <drepper@gmail.com>
19180
19181 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19182 as 128-bit value.
19183 * crypt/sha512.c (sha512_process_block): Perform total addition using
19184 128-bit if possible.
19185 (__sha512_finish_ctx): Likewise.
19186 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19187 as 64-bit value.
19188 * crypt/sha256.c (SWAP64): Define.
19189 (sha256_process_block): Perform total addition using 64-bit if
19190 possible.
19191 (__sha256_finish_ctx): Likewise.
19192
99231d9a
UD
191932011-07-01 Ulrich Drepper <drepper@gmail.com>
19194
19195 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19197 * nscd/hstcache.c (cache_addhst): Likewise.
19198 * nscd/grpcache.c (cache_addgr): Likewise.
19199 * nscd/aicache.c (addhstaiX): Likewise
19200 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19201
445b4a53
TK
192022011-07-01 Thorsten Kukuk <kukuk@suse.de>
19203
19204 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19205 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19206 * nscd/hstcache.c (cache_addhst): Likewise.
19207 * nscd/grpcache.c (cache_addgr): Likewise.
19208 * nscd/aicache.c (addhstaiX): Likewise
19209
6d4d8e8e
AS
192102011-07-01 Andreas Schwab <schwab@redhat.com>
19211
19212 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19213 domain only when needed.
19214
89f654c5
AS
192152011-06-30 Andreas Schwab <schwab@redhat.com>
19216
19217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19218 is always restored.
19219
cf3b23ff
UD
192202011-06-29 Ulrich Drepper <drepper@gmail.com>
19221
19222 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19223 are re-adding the entry.
19224 * nscd/servicescache.c (cache_addserv): Likewise.
19225
751626f9
AJ
192262011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19227
19228 * sysdeps/generic/dl-irel.h: fix protection against multiple
19229 inclusions.
19230 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19231
9113ea1f
UD
192322011-06-28 Ulrich Drepper <drepper@gmail.com>
19233
5c0b8d90
UD
19234 [BZ #12935]
19235 * malloc/memusage.sh: Fix quoting in message.
19236 * debug/xtrace.sh: Likewise.
19237
9113ea1f
UD
19238 * configure.in: Remove support for --experimental-malloc option, make
19239 it the default.
19240 * config.make.in: Likewise.
19241 * malloc/Makefile: Likewise.
19242
a4172181
AS
192432011-06-27 Andreas Schwab <schwab@redhat.com>
19244
19245 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19246 two-byte characters.
19247
78a7eee7
RM
192482011-06-27 Roland McGrath <roland@hack.frob.com>
19249
62bede13
RM
19250 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19251 AC_CACHE_CHECK invocation.
19252 * configure: Regenerated.
19253
78a7eee7
RM
19254 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19255
5ce33a62
UD
192562011-06-27 Ulrich Drepper <drepper@gmail.com>
19257
034807a9
UD
19258 [BZ #12350]
19259 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19260 bit from old_res_options.
19261
4902da17
UD
19262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19263
5ce33a62
UD
19264 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19265 value type for setfct.
19266
c2344f56
L
192672011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19268
19269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19270 __gettimeofday instead of gettimeofday.
19271
68468076
UD
192722011-06-26 Ulrich Drepper <drepper@gmail.com>
19273
19274 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19275
acb0d739
L
192762011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19277
19278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19279
19280 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19281 info.
19282
8912479f
L
192832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19286 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19287 strcpy-sse2-unaligned strncpy-sse2-unaligned
19288 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19289 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19290 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19291 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19292 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19293 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19295 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19296 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19297 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19298 (STRCPY): Support SSE2 and SSSE3 versions.
19299
d5495a11
UD
193002011-06-24 Ulrich Drepper <drepper@gmail.com>
19301
19302 [BZ #12874]
19303 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19304 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19305 kernels which artificially limit size of requests.
19306
0b1cbaae
L
193072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19310 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19311 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19312 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19313 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19314 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19315 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19316 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19317 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19319 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19320 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19321 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19322 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19323 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19325 Enable unaligned load optimization for Intel Core i3, i5 and i7
19326 processors.
19327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19328 Define.
19329 (index_Fast_Unaligned_Load): Define.
19330 (HAS_FAST_UNALIGNED_LOAD): Define.
19331
07f494a0
MP
193322011-06-23 Marek Polacek <mpolacek@redhat.com>
19333
19334 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19335
fa3fc0fe
UD
193362011-06-22 Ulrich Drepper <drepper@gmail.com>
19337
19338 [BZ #12907]
19339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19340 until it is clear that the information is realy needed.
19341 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19342
e12df166
AS
193432011-06-22 Andreas Schwab <schwab@redhat.com>
19344
19345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19346
852eb34d
UD
193472011-06-22 Ulrich Drepper <drepper@gmail.com>
19348
84e2a551
UD
19349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19350 /sys/devices/system/cpu/online if it is usable.
19351
852eb34d
UD
19352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19353 reading the information from the /proc filesystem to once a second.
19354
6e502e19
UD
193552011-06-21 Andreas Jaeger <aj@suse.de>
19356
19357 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19358 NULL after inclusion of kernel headers.
19359
75d39ff2
UD
193602011-06-21 Ulrich Drepper <drepper@gmail.com>
19361
51f9aa6a
UD
19362 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19363 calls to internal_setent.
19364
c0244a9d
UD
19365 [BZ #12885]
19366 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19367 addresses using gethostbyname4_r ignore IPv4 addresses.
19368
c5e3c2ae
UD
19369 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19370 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19371
75d39ff2
UD
19372 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19373
42675c6f
DM
193742011-06-20 David S. Miller <davem@davemloft.net>
19375
19376 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19377 inclusions.
19378 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19379
19380 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19381 (elf_irel): Use it.
19382 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19383 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19384 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19385 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19386 * sysdeps/x86_64/dl-irel.h: Likewise.
19387
19388 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19389 * elf/dl-sym.c: Likewise.
19390
57912a71
UD
193912011-06-15 Ulrich Drepper <drepper@gmail.com>
19392
19393 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19394 need to dereference resplen2.
19395
ee22793d
AS
193962011-06-14 Andreas Schwab <schwab@redhat.com>
19397
19398 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19399
a9e836b0
UD
194002011-06-15 Ulrich Drepper <drepper@gmail.com>
19401
77fb9117
UD
19402 * Makeconfig: Define vardbdir and inst_vardbdir.
19403 * nss/Makefile: Add rules to install db-Makefile.
19404
40c1b22c
UD
19405 * nss/nss_db/db-XXX.c: Cleanup.
19406
9f2da732
UD
19407 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19408 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19409 GLIBC_PRIVATE.
19410 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19411 * nss/makedb.c: Implement -g option to specify that value strings
19412 are generated and should not be added to table iterated over for
19413 get*ent calls.
19414 * nss/nss_db/db-initgroups.c: New file.
19415
82e9a1f7
UD
19416 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19417 interface.
19418
c41af17e
UD
19419 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19420 (internal_getgrouplist): Adjust to name change.
19421 Update use_initgroups_entry if this is not the first call.
19422 * nss/databases.def: Add initgroups entry.
19423
a9e836b0
UD
19424 * nss/makedb.c (compute_tables): Check result of multiple hash table
19425 sizes to minimize maximum chain length.
19426
2666d441
UD
194272011-06-14 Ulrich Drepper <drepper@gmail.com>
19428
19429 * Versions.def: Add entry for libnss_db.
19430 * shlib-versions: Likewise.
19431 * nss/Makefile: Add rules to build libnss_db.
19432 * nss/Versions: Add libnss_db information. Organize libnss_files
19433 entries better.
19434 * nss/db-Makefile: Add gshadow support. Change rules for the new
19435 makedb progra. Some minor improvements to generate smaller files.
19436 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19437 here from...
19438 * nss/makedb.c: ...here.
19439 Improve database format to be smaller and require less memory at
19440 runtime.
19441 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19442 db anymore.
19443 * nss/nss_db/db-netgrp.c: Likewise.
19444 * nss/nss_db/db-open.c: Likewise.
19445 * nss/nss_files/flies-XXX.x: Adjust comments.
19446 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19447 * nss/nss_files/files-grp.c: Likewise.
19448 * nss/nss_files/files-hosts.c: Likewise.
19449 * nss/nss_files/files-network.c: Likewise.
19450 * nss/nss_files/files-proto.c: Likewise.
19451 * nss/nss_files/files-pwd.c: Likewise.
19452 * nss/nss_files/files-rpc.c: Likewise.
19453 * nss/nss_files/files-service.c: Likewise.
19454 * nss/nss_files/files-sgrp.c: Likewise.
19455 * nss/nss_files/files-spwd.c: Likewise.
19456 * nss/nss_db/db-alias.c: Removed.
19457 * nss/nss_db/dummy-db.h: Removed.
19458
9ee76b5a
UD
194592011-06-02 Ulrich Drepper <drepper@gmail.com>
19460
19461 * nss/makedb.c: Rewritten to not use database library.
19462 * nss/Makefile: Update to build new makedb program.
19463
c71ca1f8
AJ
194642011-06-14 Andreas Jaeger <aj@suse.de>
19465
19466 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19467 memset declaration.
19468
3154bfb8
UD
194692011-06-10 Andreas Schwab <schwab@redhat.com>
19470
19471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19472 tmpbuf.
19473
b350afab
RM
194742011-06-10 Roland McGrath <roland@hack.frob.com>
19475
decd4e50
RM
19476 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19477 * elf/Makefile ($(objpfx)ld.so): Likewise.
19478
5615eaf2
RM
19479 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19480 Don't list ld.so twice in dependencies.
19481
19482 * posix/bug-regex31.c: Include <stdlib.h>.
19483
19484 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19485
19486 * nis/nss_compat/compat-spwd.c
19487 (getspent_next_nss_netgr): Remove unused variable.
19488 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19489
19490 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19491 nonmembers" output to use the right array.
19492
19493 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19494
19495 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19496
19497 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19498 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19499 * catgets/gencat.c (read_input_file): Likewise.
19500 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19501
19502 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19503 variable definition inside #if's controlling its use.
19504
19505 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19506
19507 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19508
19509 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19510
19511 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19512 unreachable code.
19513
19514 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
19515
b68e08db
RM
19516 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
19517 * configure: Regenerated.
19518
b350afab
RM
19519 * Makerules: Revert last change.
19520 * elf/Makefile: Likewise.
19521
28368601
RM
195222011-06-09 Roland McGrath <roland@hack.frob.com>
19523
19524 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
19525 * elf/Makefile ($(objpfx)librtld.os): Likewise.
19526 (reloc-link): Likewise.
19527
11988f8f
UD
195282011-06-09 Ulrich Drepper <drepper@gmail.com>
19529
19530 * elf/Makefile: Add rules to build pldd.
19531 * elf/pldd.c: New file.
19532 * elf/pldd-xx.c: New file.
19533
e80fab37
UD
195342011-06-07 Ulrich Drepper <drepper@gmail.com>
19535
19536 * version.h: Update for 2.15 development version.
19537
9b849836
DM
195382011-06-07 David S. Miller <davem@davemloft.net>
19539
19540 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
19541 ifuncs.
19542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
19543 elf_machine_lazy_rel): Likewise.
19544 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
19546 elf_machine_lazy_rel): Likewise.
19547 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
19548 dl_hwcap via passed in argument.
19549 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
19550 Likewise.
19551
5a31b283
AK
195522011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19553
19554 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
19555
069e52f8
RM
195562011-06-06 Roland McGrath <roland@hack.frob.com>
19557
19558 [BZ #12849]
19559 * manual/fdl-1.1.texi: New file, verbatim from:
19560 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
19561 * manual/lgpl-2.1.texi: New file, verbatim from:
19562 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
19563 * manual/Makefile (licenses): New variable, list those new file names.
19564 (texis): Use it.
19565 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
19566
19567 * manual/fdl.texi: File removed.
19568 * manual/lesser.texi: File removed.
19569 * manual/libc.texinfo (Copying, Documentation License):
19570 Use new @include file names, put @appendix directive before @include.
19571
f16846a5
JJ
195722011-06-04 Jakub Jelinek <jakub@redhat.com>
19573
19574 [BZ #12841]
19575 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
19576 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
19577 (mq_open): Add __NTH.
19578
3d29045b
L
195792011-06-02 H.J. Lu <hongjiu.lu@intel.com>
19580
19581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19582 Assume Intel Core i3/i5/i7 processor if AVX is available.
19583
8c297311
UD
195842011-05-31 Ulrich Drepper <drepper@gmail.com>
19585
19586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19587 typo.
19588
c8fc0c91
UD
195892011-05-31 Andreas Schwab <schwab@redhat.com>
19590
19591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
19592 memory. Use alloca_account. Fix memory leak when retrying.
19593
5b27a807
UD
195942011-05-31 Ulrich Drepper <drepper@gmail.com>
19595
356f8bc6
UD
19596 * version.h (RELEASE): Bump for 2.14 release.
19597 * include/features.h (__GLIBC_MINOR__): Bump to 14.
19598
5b27a807
UD
19599 * config.make.in (RANLIB): Remove entry.
19600
01f16ab0
UD
196012011-05-30 Ulrich Drepper <drepper@gmail.com>
19602
41fce8bd
UD
19603 * po/Makefile (po-sed-cmd): Add ksh to extensions.
19604 (libc.pot): Work around missing support for .ksh extension in xgettext.
19605
4769ae77
UD
19606 [BZ #12684]
19607 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
19608 if both request failed.
19609 (send_dg): In case of server errors clear resplen or *resplen2.
19610
6b1e7d19
UD
19611 [BZ #12454]
19612 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
19613 when there are multiple maps.
19614 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
19615 (_dl_fini): Remove test here.
19616
01f16ab0
UD
19617 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
19618
b1ebd700
UD
196192011-05-29 Ulrich Drepper <drepper@gmail.com>
19620
7ae22829
UD
19621 [BZ #12350]
19622 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
19623 bit from old_res_options.
19624 (gaih_inet): Likewise.
19625
553149f6 19626 [BZ #11099]
18a84741 19627 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
19628 as signed.
19629
652ffab1
UD
19630 * resolv/res_init.c (res_setoptions): Make the code more compact.
19631
16985fd0
UD
19632 [BZ #11558]
19633 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
19634 set RES_USEVC.
19635
0464f746
UD
19636 [BZ #11634]
19637 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
19638
7d17596c
UD
19639 * malloc/malloc.h: Mark malloc hook variables as deprecated.
19640
cf6bbbd7
UD
19641 [BZ #11781]
19642 * malloc/malloc.h: Declare malloc hook variables as volatile.
19643
13f1ab36
UD
19644 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
19645 in last patch.
19646
b1ebd700
UD
19647 [BZ #11799]
19648 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 19649 raise in the comment.
80e2212d
UD
19650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19652 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 19653
ce67228d
UD
196542011-05-28 Ulrich Drepper <drepper@gmail.com>
19655
8887a920
UD
19656 [BZ #12811]
19657 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
19658 grow the buffers more if it already has to be sufficient.
19659 (build_wcs_upper_buffer): Likewise.
19660 * posix/regexec.c (check_matching): Likewise.
19661 (clean_state_log_if_needed): Likewise.
19662 (extend_buffers): Don't enlarge buffers beyond size of the input
19663 buffer.
19664 Patches mostly by Emil Wojak <emil@wojak.eu>.
19665 * posix/bug-regex32.c: New file.
19666 * posix/Makefile (tests): Add bug-regex32.
19667
4f031072
UD
19668 * locale/findlocale.c (_nl_find_locale): Return right away if
19669 _nl_explode_name failed.
19670 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19671
d0478f0c
UD
19672 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
19673
de81b246
UD
19674 * debug/xtrace.sh: Unify messages.
19675 * malloc/memusage.sh: Likewise.
19676
c738465a
UD
19677 [BZ #12813]
19678 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
19679 time symbol from vDSO. Substitute with vsyscall if not available.
19680 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
19681 __vdso_time.
19682
f1f929d7
UD
19683 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
19684 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
19685 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
19686 Add sendmmsg and internal_sendmmsg.
19687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
19688 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
19689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
19690
ce67228d
UD
19691 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
19692 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
19693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
19694
e57420c6
UD
196952011-05-27 Ulrich Drepper <drepper@gmail.com>
19696
a8509ca5
UD
19697 [BZ #12813]
19698 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
19699 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
19700 available.
19701 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
19702 __vdso_getcpu.
19703
e57420c6
UD
19704 [BZ #12814]
19705 * iconvdata/Makefile (tests): Add bug-iconv9.
19706 * iconvdata/bug-iconv9.c: New file.
19707
4d07db15
AS
197082011-05-27 Andreas Schwab <schwab@redhat.com>
19709
19710 [BZ #12814]
19711 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
19712
ea486f69
JJ
197132011-05-25 Jakub Jelinek <jakub@redhat.com>
19714
19715 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19716 (struct user_regs_struct): Change intcs field back to cs.
19717
6f038433
UD
197182011-05-25 Ulrich Drepper <drepper@gmail.com>
19719
19720 * po/ja.po: Update from translation team.
19721
67f86a25
UD
197222011-05-23 Ulrich Drepper <drepper@gmail.com>
19723
19724 [BZ #12795]
19725 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
19726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
19727
def7fbd6
AS
197282011-05-20 Andreas Schwab <schwab@redhat.com>
19729
19730 * stdlib/longlong.h: Update from GCC.
19731
f50ef8f1
AS
197322011-05-23 Andreas Schwab <schwab@redhat.com>
19733
19734 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
19735 parameter name.
19736 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
19737 Add parameter name.
19738 (__sysconf): Pass it down.
19739
de7ce8f1
UD
197402011-05-22 Ulrich Drepper <drepper@gmail.com>
19741
f2962a71
UD
19742 [BZ #12671]
19743 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
19744 some situations.
19745 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19746 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
19747 add in in __libc_use_alloca calls. Adjust callers.
19748 (glob): Use malloc in some situations.
19749
de7ce8f1
UD
19750 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
19751 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
19752 pltexit.
19753
aec84f53
UD
197542011-05-21 Ulrich Drepper <drepper@gmail.com>
19755
05bb4a68
UD
19756 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
19757 and CLOCK_BOOTTIME_ALARM.
19758
7ea72f99
UD
19759 [BZ #12782]
19760 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
19761 is returned.
19762
7e4afad5
UD
19763 * string/_strerror.c (__strerror_r): Print negative errors as signed
19764 numbers.
19765
8e211fec
UD
19766 [BZ #12777]
19767 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
19768 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
19769 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
19770
f7d82dc9
UD
19771 * configure.in: Fix typo in redirection and correct removal of test
19772 files in two cases.
19773
cc9e536d
UD
19774 [BZ #12788]
19775 * locale/setlocale.c (new_composite_name): Fix test to check for
19776 identical name of all categories.
19777
aec84f53
UD
19778 [BZ #12792]
19779 * libio/filedoalloc.c (local_isatty): New function.
19780 (_IO_file_doallocate): Use local_isatty.
19781 * stdio-common/perror.c (perror): In case a new stream is used
19782 forward the stream error.
19783 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
19784 error flag.
19785
78e64fdc
RT
197862011-05-20 Ulrich Drepper <drepper@gmail.com>
19787
34a9094f
UD
19788 [BZ #11869]
19789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
19790 alloca.
19791 * include/alloca.h (extend_alloca_account): Define.
19792
78e64fdc
RT
19793 [BZ #11857]
19794 * posix/regex.h: Fix comments with documentation of user-accessible
19795 fields after compilation and describe correct free'ing of pattern
19796 after re_compile_pattern.
19797 Patch by Reuben Thomas <rrt@sc3d.org>.
19798
457bddfc
RA
197992011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
19800
19801 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
19802 and -mno-altivec to prevent the compiler from using Altivec and/or
19803 VSX instructions when the corresponding registers are not available.
19804
a4527b51
AS
198052011-05-19 Andreas Schwab <schwab@redhat.com>
19806
19807 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
19808
ed690b2f
UD
198092011-05-19 Ulrich Drepper <drepper@gmail.com>
19810
19811 * libio/freopen.c (freopen): Use __dup2, not dup2.
19812 * libio/freopen64.c (freopen64): Likewise.
19813
8db73634
L
198142011-05-17 H.J. Lu <hongjiu.lu@intel.com>
19815
19816 [BZ #12775]
19817 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
19818 * math/Makefile (tests): Add test-powl.
19819 (CFLAGS-test-powl.c): Define.
19820 * math/test-powl.c: New file.
19821
0a197a9d
L
198222011-05-16 H.J. Lu <hongjiu.lu@intel.com>
19823
19824 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
19825
ee30c380
UD
198262011-05-17 Ulrich Drepper <drepper@gmail.com>
19827
19828 [BZ #11837]
19829 * iconvdata/gb18030.c: Update to GB18020-2005.
19830
6ce75379
UD
198312011-05-16 Ulrich Drepper <drepper@gmail.com>
19832
a4b89fd8
AR
19833 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
19834 RE_SYNTAX_POSIX_AWK): Update to match recent development.
19835 Patch by Aharon Robbins <arnold@skeeve.com>.
19836
ea389b12
UD
19837 [BZ #11892]
19838 * stdlib/putenv.c (putenv): Don't always create copy of the variable
19839 on the stack.
19840
68a3f91f
UD
19841 [BZ #11895]
19842 * misc/pselect.c (__pselect): Handle timeout value errors hidden
19843 through underflows.
19844
15cc7dd1
UD
19845 [BZ #12766]
19846 * misc/error.c (error_at_line): Ensure file_name and old_file_name
19847 point to strings before performing equality test for error_one_per_line
19848 mode.
19849
f3799213
UD
19850 [BZ #11697]
19851 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
19852
d79a9c94
UD
19853 [BZ #11820]
19854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
19855 (struct user_fpregs_struct): Avoid __uint*_t types.
19856
56e5eb46
UD
19857 [BZ #6420]
19858 * malloc/mtrace.c (tr_where): Add additional parameter to point to
19859 symbol info. Use it instead of calling _dl_addr locally.
19860 (lock_and_info): New function.
19861 (tr_freehook): Call lock_and_info and pass symbol info as additional
19862 parameter to tr_where.
19863 (tr_mallochook): Likewise.
19864 (tr_reallochook): Likewise.
19865 (tr_memalignhook): Likewise.
19866
6ce75379
UD
19867 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
19868 used and couldn't be at all thread-safe.
19869
f8a3b5bf
UD
198702011-05-15 Ulrich Drepper <drepper@gmail.com>
19871
94b7cc37
UD
19872 * libio/freopen.c (freopen): Don't close old file descriptor
19873 before the new one is opened. Instead dup the new file descriptor
19874 to the old one after the new stream is created.
19875 * libio/freopen64.c (freopen64): Likewise.
19876 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
19877 * libio/fileops.c (_IO_new_file_close_it): Handle new
19878 _IO_FLAGS2_NOCLOSE flag.
19879 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
19880 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
19881 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
19882 _IO_FLAGS2_NOCLOSE flag.
19883 * include/unistd.h: Add hidden_proto for dup3.
19884 Define __have_dup3.
19885 * io/dup3.c: Define hidden symbol.
19886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
19887
bd25564e
UD
19888 [BZ #7101]
19889 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
19890 when an incomplete long option is used.
19891 * posix/tst-getopt_long1.c: New file.
19892 * posix/Makefile (tests): Add tst-getopt_long1.
19893
c84cfef4
UD
19894 [BZ #10138]
19895 * scripts/config.guess: Update from autoconf-2.68.
19896 * scripts/config.sub: Likewise.
19897
3b85df27
UD
19898 [BZ #10157]
19899 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
19900 tests into ...
19901 (has_cpuclock): ...this. New function.
19902 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
19903 macro here based on has_cpuclock code.
19904
15a856b1
UD
19905 [BZ #10149]
19906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19907 First byte (not low byte) is now always NUL.
19908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
19909
05f399e6
UD
19910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19911 Use non-cancelable interfaces.
19912
10a52685 19913 [BZ #9809]
94ecc67d
UD
19914 * locale/iso-639.def: Add entry for Sorani.
19915
f8a3b5bf
UD
19916 [BZ #11901]
19917 * include/stdlib.h: Move include protection to the right place.
19918 Define abort_msg_s. Declare __abort_msg with it.
19919 * stdlib/abort.c (__abort_msg): Adjust type.
19920 * assert/assert.c (__assert_fail_base): New function. Majority
19921 of code from __assert_fail. Allocate memory for __abort_msg with
19922 mmap.
19923 (__assert_fail): Now call __assert_fail_base.
19924 * assert/assert-perr.c: Remove bulk of implementation. Use
19925 __assert_fail_base.
19926 * include/assert.hL Declare __assert_fail_base.
19927 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
19928 mmap.
19929 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
19930
1af4e298
UD
199312011-05-14 Ulrich Drepper <drepper@gmail.com>
19932
f8a3b5bf 19933 [BZ #11952]
d26dfc60
MG
19934 [BZ #12453]
19935 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
19936 until all modules are registered in the DTV.
19937 * elf/Makefile: Add rules to build and run tst-tls19.
19938 * elf/tst-tls19.c: New file.
19939 * elf/tst-tls19mod1.c: New file.
19940 * elf/tst-tls19mod2.c: New file.
19941 * elf/tst-tls19mod3.c: New file.
19942 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
19943
2fc54d6f
UD
19944 [BZ #12083]
19945 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
19946 correctly.
19947
98d76b46
UD
19948 [BZ #12601]
19949 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
19950 two-byte sequence errors.
19951 * iconvdata/Makefile (tests): Add bug-iconv8.
19952 * iconvdata/bug-iconv8.c: New file.
19953
da3c19ef
UD
19954 [BZ #12626]
19955 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
19956 buf2 definition.
19957
ca408c15
UD
19958 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
19959
d6f67f7d
UD
19960 [BZ #12432]
19961 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
19962 (dummy_getcfa): New function.
19963 (init): Get _Unwind_GetCFA address, use dummy if not found.
19964 (backtrace_helper): In recursion check, also check whether CFA changes.
19965 (__backtrace): Completely initialize arg.
19966
1af4e298 19967 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
19968 storing incomplete byte sequence in state object. Avoid testing for
19969 guaranteed too small input if we know there is enough data available.
1af4e298 19970
da62f81b
AS
199712011-05-11 Andreas Schwab <schwab@redhat.com>
19972
19973 * Makeconfig (+link-pie): Indent.
19974 * Rules (binaries-pie): Define if $(have-fpie) and
19975 $(build-shared).
19976 (binaries-shared): Also filter out $(binaries-pie).
19977 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
19978 * nscd/Makefile (others-pie): Add nscd.
19979 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
19980 ($(objpfx)nscd): Remove command override.
19981 * login/Makefile (others-pie): Add pt_chown.
19982 ($(objpfx)pt_chown): Remove command override.
19983 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
19984 remove command overrides.
19985
fcabc0f8
UD
199862011-05-13 Ulrich Drepper <drepper@gmail.com>
19987
20030ae6
UD
19988 * libio/tst_putwc.c: Fix error messages.
19989
fcabc0f8
UD
19990 [BZ #12724]
19991 * libio/fileops.c (_IO_new_file_close_it): Always flush when
19992 currently writing and seek to current position when not.
19993 * libio/Makefile (tests): Add bug-fclose1.
19994 * libio/bug-fclose1.c: New file.
19995
320a5dc0
PB
199962011-05-12 Ulrich Drepper <drepper@gmail.com>
19997
19998 [BZ #12511]
19999 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20000 don't set DF_1_NODELETE here.
20001 (do_lookup_x): When entering new entry test for copy relocation
20002 and if necessary set DF_1_NODELETE flag.
20003 * elf/tst-unique4.cc: New file.
20004 * elf/tst-unique4.h: New file.
20005 * elf/tst-unique4lib.cc: New file.
20006 * elf/Makefile: Add rules to build and run tst-unique4.
20007 Patch by Piotr Bury <pbury@goahead.com>.
20008
22836f52
UD
200092011-05-11 Ulrich Drepper <drepper@gmail.com>
20010
f574184a
UD
20011 [BZ #12052]
20012 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20013
e1fb097f
UD
20014 [BZ #12625]
20015 * misc/mntent_r.c (addmntent): Flush the stream after the output
20016
22836f52
UD
20017 [BZ #12393]
20018 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20019 (is_trusted_path_normalize): Skip initial colon. Append slash
20020 to empty buffer. Duplicate is_trusted_path code but allow
20021 constructed patch to be prefix.
20022 (is_dst): Allow $ORIGIN followed by /.
20023 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20024 Correct testing of result of is_trusted_path_normalize
20025 (decompose_rpath): Fix warning.
20026
7b3b0b2a
UD
200272011-05-10 Ulrich Drepper <drepper@gmail.com>
20028
20029 [BZ #11257]
20030 * grp/initgroups.c (internal_getgrouplist): When we found the service
20031 list through the initgroups entry in nsswitch.conf do not always
20032 continue on a successful lookup. Don't always use the
eac80ce2 20033 __nss_group_database value if it is set.
7b3b0b2a
UD
20034 * nss/nsswitch.conf (initgroups): Change action for successful db
20035 lookup to continue for compatibility.
20036
2a81eaa5
UD
200372011-05-09 Ulrich Drepper <drepper@gmail.com>
20038
be97a69e
UD
20039 [BZ #11532]
20040 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20041 and CP774 modules.
20042 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20043 and CP774 modules.
20044 * iconvdata/tst-tables.sh: Likewise.
20045 * iconvdata/cp770.c: New file.
20046 * iconvdata/cp771.c: New file.
20047 * iconvdata/cp772.c: New file.
20048 * iconvdata/cp773.c: New file.
20049 * iconvdata/cp774.c: New file.
20050 * iconvdata/testdata/CP770: New file.
20051 * iconvdata/testdata/CP770..UTF8: New file.
20052 * iconvdata/testdata/CP771: New file.
20053 * iconvdata/testdata/CP771..UTF8: New file.
20054 * iconvdata/testdata/CP772: New file.
20055 * iconvdata/testdata/CP772..UTF8: New file.
20056 * iconvdata/testdata/CP773: New file.
20057 * iconvdata/testdata/CP773..UTF8: New file.
20058 * iconvdata/testdata/CP774: New file.
20059 * iconvdata/testdata/CP774..UTF8: New file.
20060
20061 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20062 END CHARMAP line.
20063 * iconvdata/gen-8bit-gap.sh: Likewise.
20064 * iconvdata/gen-8bit.sh: Likewise.
20065
c1e9e399
UD
20066 * locale/iso-639.def: Add ary entry.
20067
24c55fb3 20068 [BZ #11258]
96b4b1b0
UD
20069 * locale/C-translit.h.in: Add U20A1 transliteration.
20070
bdc2f971
KB
20071 [BZ #12178]
20072 * locale/iso-639.def: Add wae entry.
20073 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20074
2952b117
UD
20075 [BZ #12545]
20076 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20077 for n.
20078
2a81eaa5
UD
20079 [BZ #12711]
20080 * locale/C-translit.h.in: Add entry for U20B9.
20081 Patch by pravin.d.s@gmail.com.
20082
28377d1b
UD
200832011-05-08 Ulrich Drepper <drepper@gmail.com>
20084
7fb90fb8
UD
20085 [BZ #12713]
20086 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20087 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20088 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20089 in rtld. Use *stat64.
7fb90fb8 20090 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20091 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20092 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20093 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20094 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20095 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20096 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20097 __fstatat64 macros.
7fb90fb8
UD
20098 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20099 * dirent/rewinddir.c: Add libc_hidden_def.
20100 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20101 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20102
28377d1b
UD
20103 * include/dirent.h (__alloc_dir): Add flags parameter.
20104 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20105 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20106 __alloc_dir.
20107 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20108 from fdopendir if O_CLOEXEC is already set.
20109
66bdbaa4
AM
201102011-03-15 Alan Modra <amodra@gmail.com>
20111
20112 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20113 l_tls_firstbyte_offset non-zero. Save padding offset in
20114 l_tls_firstbyte_offset for later use.
20115 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20116 freeing static tls block.
20117
95721191
JN
201182011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20119
20120 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20121 where #ifdef was intended. The intent is to prevent ARG_MAX from
20122 being defined by the kernel headers.
20123
f87dfb1f
UD
201242011-05-07 Ulrich Drepper <drepper@gmail.com>
20125
20126 [BZ #12734]
20127 * resolv/resolv.h: Define RES_NOTLDQUERY.
20128 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20129 no-tld-query and set RES_NOTLDQUERY.
20130 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20131 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20132 modern BIND to search name as TLD unless forbidden.
20133
47c3cd7a
UD
201342011-05-07 Petr Baudis <pasky@suse.cz>
20135 Ulrich Drepper <drepper@gmail.com>
20136
20137 [BZ #12393]
20138 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20139 (is_trusted_path): ...to here.
c1e9ea35 20140 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20141 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20142 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20143
8a35c912
PP
201442011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20145
20146 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20147 __BEGIN/__END_DECLS.
20148
acd41f47
UD
201492011-05-06 Ulrich Drepper <drepper@gmail.com>
20150
20151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20152 NSS_STATUS_NOTFOUND if no record was found.
20153
597df647
AS
201542011-05-05 Andreas Schwab <schwab@redhat.com>
20155
20156 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20157 (headers-not-in-tirpc): Remove rpc/netdb.h
20158 * resolv/netdb.h: Revert last change.
20159
b9af1301
PP
201602011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20161
20162 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20163 circular dependency between libgcc.a and libc.a.
20164
4e34d5f5
AS
201652011-05-05 Andreas Schwab <schwab@redhat.com>
20166
20167 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20168 * nis/Makefile: Don't install rpcsvc/*.
20169 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20170 instead of <rpc/types.h>.
20171 (MAXHOSTNAMELEN): Define.
20172
00ee369c
AS
201732011-05-03 Andreas Schwab <schwab@redhat.com>
20174
20175 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20176
0b592a30
MB
201772011-04-28 Maciej Babinski <mbabinski@google.com>
20178
20179 [BZ #12714]
20180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20181 gethostbyname4_r when IPv6 results are possible.
20182
6e04cbbe
UD
201832011-05-02 Ulrich Drepper <drepper@gmail.com>
20184
20185 [BZ #12723]
20186 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20187 _PC_PIPE_BUF handling.
20188
e4ecafe0
BH
201892011-04-30 Bruno Haible <bruno@clisp.org>
20190
20191 [BZ #12717]
20192 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20193 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20194 to 'int'.
20195 * inet/getnameinfo.c (getnameinfo): Likewise.
20196
125ee683
UD
201972011-04-29 Ulrich Drepper <drepper@gmail.com>
20198
20199 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20200 to groups setting in database lookup.
20201 * nss/nsswitch.conf: Add initgroups entry.
20202
b722481a
EB
202032011-04-22 Ulrich Drepper <drepper@gmail.com>
20204
20205 [BZ #12685]
20206 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20207 mode string.
20208 Patch by Eric Blake <eblake@redhat.com>.
20209
4df46dbd
L
202102011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20211
20212 * sunrpc/Makefile (need-export-routines): Add svc_run.
20213 (routines): Remove svc_run.
20214 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20215 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20216 * sunrpc/svc_run.c (svc_run): Likewise.
20217 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20218
e84142d2
UD
202192011-04-21 Ulrich Drepper <drepper@gmail.com>
20220
20221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20222 problem in reallocation in last patch.
20223
877175d8
UD
202242011-04-20 Ulrich Drepper <drepper@gmail.com>
20225
20226 * sunrpc/Makefile: Move inclusion of Rules.
20227
ab8eed78
UD
202282011-04-19 Ulrich Drepper <drepper@gmail.com>
20229
20230 * nss/nss_files/files-initgroups.c: New file.
20231 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20232 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20233 _nss_files_initgroups_dyn.
20234
e3d8f584
RS
202352011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20236
20237 * elf/elf.h (R_ARM_IRELATIVE): Define.
20238
af190f45
UD
202392011-04-19 Ulrich Drepper <drepper@gmail.com>
20240
20241 * po/ru.po: Update from translation team.
20242
53cf59ef
UD
202432011-04-17 Ulrich Drepper <drepper@gmail.com>
20244
20245 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20246 dependencies.
20247
4c559bcd
MF
202482011-02-06 Mike Frysinger <vapier@gentoo.org>
20249
20250 [BZ #12653]
20251 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20252 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20256
4420675c
AS
202572011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20258
20259 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20260 differing bytes.
20261 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20262 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20264
75ea32ab
UD
202652011-04-17 Ulrich Drepper <drepper@gmail.com>
20266
20267 [BZ #12420]
20268 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20269 storing it.
20270 * stdlib/bug-getcontext.c: New file.
20271 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20272
27390476
AK
202732011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20274
20275 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20276 instructions into .machine "z9-109".
20277 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20278 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20279
10442705
AK
202802011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20281
20282 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20283 between environment variables and auxiliary vector.
20284
7b57bfe5
UD
202852011-04-16 Ulrich Drepper <drepper@gmail.com>
20286
20287 * Makefile: Add rules to build linkobj/libc.so.
20288 * include/libc-symbols.h: Define libc_hidden_nolink.
20289 * include/rpc/auth.h: Mark functions which are to be hidden.
20290 * include/rpc/auth_des.h: Likewise.
20291 * include/rpc/auth_unix.h: Likewise.
20292 * include/rpc/clnt.h: Likewise.
20293 * include/rpc/des_crypt.h: Likewise.
20294 * include/rpc/key_prot.h: Likewise.
20295 * include/rpc/pmap_clnt.h: Likewise.
20296 * include/rpc/pmap_prot.h: Likewise.
20297 * include/rpc/pmap_rmt.h: Likewise.
20298 * include/rpc/rpc_msg.h: Likewise.
20299 * include/rpc/svc.h: Likewise.
20300 * include/rpc/svc_auth.h: Likewise.
20301 * include/rpc/xdr.h: Likewise.
20302 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20303 * nss/Makefile: Likewise.
20304 * sunrpc/Makefile: Don't install headers. Build library with normal
20305 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20306 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20307 for the compat linking library. Remove use of INTDEF/INTUSE.
20308 * sunrpc/auth_none.c: Likewise.
20309 * sunrpc/auth_unix.c: Likewise.
20310 * sunrpc/authdes_prot.c: Likewise.
20311 * sunrpc/authuxprot.c: Likewise.
20312 * sunrpc/clnt_gen.c: Likewise.
20313 * sunrpc/clnt_perr.c: Likewise.
20314 * sunrpc/clnt_raw.c: Likewise.
20315 * sunrpc/clnt_simp.c: Likewise.
20316 * sunrpc/clnt_tcp.c: Likewise.
20317 * sunrpc/clnt_udp.c: Likewise.
20318 * sunrpc/clnt_unix.c: Likewise.
20319 * sunrpc/des_crypt.c: Likewise.
20320 * sunrpc/des_soft.c: Likewise.
20321 * sunrpc/get_myaddr.c: Likewise.
20322 * sunrpc/key_call.c: Likewise.
20323 * sunrpc/key_prot.c: Likewise.
20324 * sunrpc/netname.c: Likewise.
20325 * sunrpc/pm_getmaps.c: Likewise.
20326 * sunrpc/pm_getport.c: Likewise.
20327 * sunrpc/pmap_clnt.c: Likewise.
20328 * sunrpc/pmap_prot.c: Likewise.
20329 * sunrpc/pmap_prot2.c: Likewise.
20330 * sunrpc/pmap_rmt.c: Likewise.
20331 * sunrpc/publickey.c: Likewise.
20332 * sunrpc/rpc_cmsg.c: Likewise.
20333 * sunrpc/rpc_common.c: Likewise.
20334 * sunrpc/rpc_dtable.c: Likewise.
20335 * sunrpc/rpc_prot.c: Likewise.
20336 * sunrpc/rpc_thread.c: Likewise.
20337 * sunrpc/rtime.c: Likewise.
20338 * sunrpc/svc.c: Likewise.
20339 * sunrpc/svc_auth.c: Likewise.
20340 * sunrpc/svc_authux.c: Likewise.
20341 * sunrpc/svc_raw.c: Likewise.
20342 * sunrpc/svc_run.c: Likewise.
20343 * sunrpc/svc_simple.c: Likewise.
20344 * sunrpc/svc_tcp.c: Likewise.
20345 * sunrpc/svc_udp.c: Likewise.
20346 * sunrpc/svc_unix.c: Likewise.
20347 * sunrpc/svcauth_des.c: Likewise.
20348 * sunrpc/xcrypt.c: Likewise.
20349 * sunrpc/xdr.c: Likewise.
20350 * sunrpc/xdr_array.c: Likewise.
20351 * sunrpc/xdr_float.c: Likewise.
20352 * sunrpc/xdr_intXX_t.c: Likewise.
20353 * sunrpc/xdr_mem.c: Likewise.
20354 * sunrpc/xdr_rec.c: Likewise.
20355 * sunrpc/xdr_ref.c: Likewise.
20356 * sunrpc/xdr_sizeof.c: Likewise.
20357 * sunrpc/xdr_stdio.c: Likewise.
20358
e6c61494
UD
203592011-04-10 Ulrich Drepper <drepper@gmail.com>
20360
20361 [BZ #12650]
20362 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20363 * sysdeps/ia64/dl-tls.h: Likewise.
20364 * sysdeps/powerpc/dl-tls.h: Likewise.
20365 * sysdeps/s390/dl-tls.h: Likewise.
20366 * sysdeps/sh/dl-tls.h: Likewise.
20367 * sysdeps/sparc/dl-tls.h: Likewise.
20368 * sysdeps/x86_64/dl-tls.h: Likewise.
20369 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20370
34fe483e
AS
203712011-03-14 Andreas Schwab <schwab@redhat.com>
20372
20373 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20374 rpath element also skip the following colon.
20375 (expand_dynamic_string_token): Add is_path parameter and pass
20376 down to DL_DST_REQUIRED and _dl_dst_substitute.
20377 (decompose_rpath): Call expand_dynamic_string_token with
20378 non-zero is_path. Ignore empty rpaths.
20379 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20380 with zero is_path.
20381
f12a32e6
AS
203822011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20383
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20385 Make cancelable.
20386
38a7d692
UD
203872011-04-09 Ulrich Drepper <drepper@gmail.com>
20388
20389 [BZ #12655]
20390 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20391 Patch by Filipe David Manana <fdmanana@apache.org>.
20392
e451d22b
AS
203932011-04-07 Andreas Schwab <schwab@redhat.com>
20394
20395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20396 Maintain aligned stack.
20397 (CHECK_RSP): Remove unused macro.
20398
dedc7c7b
UD
203992011-04-03 Ulrich Drepper <drepper@gmail.com>
20400
20401 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20402 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20403
94521213
UD
204042011-04-02 Ulrich Drepper <drepper@gmail.com>
20405
20406 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20407
8cb700c0 20408 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20409
0354e355
L
204102011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20411
20412 [BZ #12518]
20413 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20414 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20415 * sysdeps/x86_64/memmove.c: New file.
20416 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20417 (memcpy): Renamed to ...
20418 (__new_memcpy): This.
20419 (memcpy): Provide GLIBC_2_14 memcpy.
20420 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20421 (memcpy): Provide GLIBC_2_2_5 memcpy.
20422
8593482f
UD
204232011-04-01 Ulrich Drepper <drepper@gmail.com>
20424
20425 [BZ #12631]
20426 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20427
81a5726b
AS
204282011-03-30 Andreas Schwab <schwab@redhat.com>
20429
20430 * misc/syncfs.c: New file.
20431 * misc/Makefile (routines): Add syncfs.
20432 * posix/unistd.h: Declare syncfs.
20433 * sysdeps/unix/syscalls.list: Add syncfs.
20434
00e5419f
AS
204352011-04-01 Andreas Schwab <schwab@redhat.com>
20436
20437 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20438 open_by_handle_at.
20439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20444 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20446
748876bf
UD
204472011-04-01 Ulrich Drepper <drepper@gmail.com>
20448
658e451d
UD
20449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20453 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20456
748876bf
UD
20457 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20458 sync_file_range.c with -fexceptions.
20459 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20460 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20461 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20462 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20463 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20464 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20466 sync_file_range as cancellation point
20467 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20468 now a wrapper around __call_sync_file_range with cancellation handling.
20469 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20470 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20471 function name to __call_sync_file_range.
20472 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20473 Add call_sync_file_range.
748876bf 20474
6e63d5e1
AS
204752011-04-01 Andreas Schwab <schwab@redhat.com>
20476
20477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20478 bits/timex.h.
6e63d5e1 20479
46998f74
UD
204802011-04-01 Ulrich Drepper <drepper@gmail.com>
20481
4c1423ed
UD
20482 * iconv/iconv.h: Fix typo in comment.
20483 * io/fcntl.h: Likewise.
20484 * libio/stdio.h: Likewise.
20485 * posix/spawn.h: Likewise.
20486 * posix/unistd.h: Likewise.
20487 * stdlib/stdlib.h: Likewise.
20488 * time/time.h: Likewise.
20489 * wcsmbs/wchar.h: Likewise.
20490
158648c0
UD
20491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20492 open_by_handle): Add.
20493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20494 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20495 Augment a few comments.
20496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20501 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20502 open_by_handle.
20503
46998f74
UD
20504 * io/fcntl.h (AT_EMPTY_PATH): Define.
20505
83fe108b
UD
205062011-03-30 Ulrich Drepper <drepper@gmail.com>
20507
20508 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20509 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20510 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20511 to...
20512 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20513 * Versions.def: Add GLIBC_2.14.
20514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
20515 Export.
83fe108b 20516
bb242059
UD
205172011-03-22 Ulrich Drepper <drepper@gmail.com>
20518
20519 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
20520 round counter.
20521 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20522
c97a1282
L
205232011-03-20 H.J. Lu <hongjiu.lu@intel.com>
20524
20525 [BZ #12597]
20526 * string/test-strncmp.c (do_page_test): New function.
20527 (check2): Likewise.
20528 (test_main): Call check2.
20529 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
20530
2a115601
UD
205312011-03-20 Ulrich Drepper <drepper@gmail.com>
20532
20533 [BZ #12587]
20534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
20535 Handle cache information in CPU leaf 4.
20536 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
20537
8126d904
UD
205382011-03-18 Ulrich Drepper <drepper@gmail.com>
20539
042c49c6 20540 [BZ #12583]
8126d904
UD
20541 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
20542 character representation.
20543 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
20544
ccfe366e
RA
205452011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
20546
20547 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
20548 END(__isnan) to END(__isnanf) to match function entry point/label
20549 EALIGN(__isnanf,...).
20550
c6e13027
JJ
205512011-03-10 Jakub Jelinek <jakub@redhat.com>
20552
20553 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
20554
33f85a3f
UD
205552011-03-10 Ulrich Drepper <drepper@gmail.com>
20556
028478fa
UD
20557 [BZ #12510]
20558 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
20559 copy from the symbol referenced in the relocation to initialize the
20560 used variable.
20561 Patch by Piotr Bury <pbury@goahead.com>.
20562 * elf/Makefile: Add rules to build and tst-unique3.
20563 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
20564 * elf/tst-unique3.cc: New file.
20565 * elf/tst-unique3.h: New file.
20566 * elf/tst-unique3lib.cc: New file.
20567 * elf/tst-unique3lib2.cc: New file.
20568
33f85a3f
UD
20569 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
20570
03592fc7
MF
205712011-03-10 Mike Frysinger <vapier@gentoo.org>
20572
20573 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
20574 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
20575 to _start.
03592fc7 20576
6a5ee102
UD
205772011-03-06 Ulrich Drepper <drepper@gmail.com>
20578
20579 * elf/dl-load.c (_dl_map_object): If we are looking for the first
20580 to-be-loaded object along a path to loader is ld.so.
20581
7e4ba49c
HJ
205822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20583 Ulrich Drepper <drepper@gmail.com>
20584
20585 * sysdeps/x86_64/memset.S: After aligning destination, code
20586 branches to different locations depending on the value of
20587 misalignment, when multiarch is enabled. Fix this.
20588
205892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
20590
20591 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
20592 Set _x86_64_preferred_memory_instruction for AMD processsors.
20593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20594 Set bit_Prefer_SSE_for_memop for AMD processors.
20595
13a804de
UD
205962011-03-04 Ulrich Drepper <drepper@gmail.com>
20597
20598 * libio/fmemopen.c (fmemopen): Optimize a bit.
20599
9d25c392
AS
206002011-03-03 Andreas Schwab <schwab@redhat.com>
20601
20602 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
20603
a5543c6a
RM
206042011-03-03 Roland McGrath <roland@redhat.com>
20605
20606 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
20607
012d35f7
DM
206082011-02-28 Aurelien Jarno <aurelien@aurel32.net>
20609
7e4ba49c 20610 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
20611 __bzero_ultra1 instead of __memset_ultra1.
20612
4bff6e01
AS
206132011-02-23 Andreas Schwab <schwab@redhat.com>
20614 Ulrich Drepper <drepper@gmail.com>
20615
20616 [BZ #12509]
20617 * include/link.h (struct link_map): Add l_orig_initfini.
20618 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
20619 returning unsuccessfully.
20620 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
20621 close of a file loaded at startup, restore the original l_initfini
20622 list.
20623 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
20624 list, store the pointer.
20625 * elf/Makefile ($(objpfx)noload-mem): New rule.
20626 (noload-ENV): Define.
20627 (tests): Add $(objpfx)noload-mem.
20628 * elf/noload.c: Include <memcheck.h>.
20629 (main): Call mtrace. Close all opened handles.
20630
f2092faf
AS
206312011-02-17 Andreas Schwab <schwab@redhat.com>
20632
20633 [BZ #12454]
20634 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
20635 dependencies are missing.
20636
6c8a2e88
ST
206372011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20638
f2092faf 20639 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
20640 Hurd needs munmap.
20641 * sysdeps/mach/hurd/ifreq.h: New file.
20642
84a42118
PB
206432011-01-27 Petr Baudis <pasky@suse.cz>
20644 Ulrich Drepper <drepper@gmail.com>
20645
071f805e 20646 [BZ 12445]#
84a42118
PB
20647 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
20648 to extend_alloca().
20649 * stdio-common/bug23.c: New file.
20650 * stdio-common/Makefile (tests): Add bug23.
20651
e23fe25b
AS
206522010-09-28 Andreas Schwab <schwab@redhat.com>
20653 Ulrich Drepper <drepper@gmail.com>
20654
20655 [BZ #12489]
20656 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
20657 before performing relro protection. At old place add assertion
20658 to make sure nothing changed.
20659
d3f02e10
NS
206602011-02-17 Nathan Sidwell <nathan@codesourcery.com>
20661 Glauber de Oliveira Costa <glommer@gmail.com>
20662
20663 * elf/elf.h: Add new ARM TLS relocs.
20664
d55fd7a5
RA
206652011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
20666
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20668 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
20669 cast from r3.
20670 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
20671 'tests' variable.
20672 * sysdeps/wordsize-64/tst-writev.c: New file.
20673
2206397e
RA
206742011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
20675
20676 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
20677 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
20678 insns in _dl_start to prevent a TOC reference before relocs are
20679 resolved.
20680
e9433893
UD
206812011-02-15 Ulrich Drepper <drepper@gmail.com>
20682
20683 [BZ #12469]
20684 * Makeconfig: Remove RANLIB definition.
20685 * Makerules: Don't use RANLIB.
20686 * aclocal.m4: Remove ranlib test.
20687 * configure.in: No need to check for ranlib.
20688 * elf/rtld-Rules: Don't use RANLIB.
20689
f75286c6
ST
206902011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
20691
8e31c82d
ST
20692 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
20693 protection macro.
20694 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
20695 inclusion protection macro.
20696
f75286c6
ST
20697 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
20698 SIGRTMIN and SIGRTMAX and print information in that case only when
20699 SIGRTMIN is defined.
20700
c1d0e639
JJ
207012011-02-11 Jakub Jelinek <jakub@redhat.com>
20702
20703 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
20704 arginfo fn returning -1.
20705
20706 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
20707 and thousands string is zero terminated.
20708
edf9294e
AS
207092011-02-03 Andreas Schwab <schwab@redhat.com>
20710
20711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
20712 sysdeps/unix/sysv/linux/bits/socket.h.
20713
2b7e92df
ST
207142011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20715
edf9294e
AS
20716 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
20717 (__CPU_COUNT): Remove old macros.
20718 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
20719 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
20720 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
20721 (__sched_cpualloc, __sched_cpufree): Add declarations.
20722
a4c7ea7b
UD
207232011-02-05 Ulrich Drepper <drepper@gmail.com>
20724
20725 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
20726 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
20727 * nscd/aicache.c (addhstaiX): Return timeout of added value.
20728 (readdhstai): Return value of addhstaiX call.
20729 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
20730 (addgrbyX): Return value returned by cache_addgr.
20731 (readdgrbyname): Return value returned by addgrbyX.
20732 (readdgrbygid): Likewise.
20733 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
20734 (addpwbyX): Return value returned by cache_addpw.
20735 (readdpwbyname): Return value returned by addhstbyX.
20736 (readdpwbyuid): Likewise.
20737 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
20738 (addservbyX): Return value returned by cache_addserv.
20739 (readdservbyname): Return value returned by addservbyX:
20740 (readdservbyport): Likewise.
20741 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
20742 (addhstbyX): Return value returned by cache_addhst.
20743 (readdhstbyname): Return value returned by addhstbyX.
20744 (readdhstbyaddr): Likewise.
20745 (readdhstbynamev6): Likewise.
20746 (readdhstbyaddrv6): Likewise.
20747 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
20748 (readdinitgroups): Return value returned by addinitgroupsX.
20749 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
20750 (prune_cache): Keep track of timeout value of re-added entries.
20751 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
20752 * nscd/nscd.h: Adjust prototypes of readd* functions.
20753
a0bf67cc
RM
207542011-02-04 Roland McGrath <roland@redhat.com>
20755
20756 * nis/nis_server.c (nis_servstate): Use the right name for 0.
20757 (nis_stats): Likewise.
20758 * nis/nis_modify.c (nis_modify): Likewise.
20759 * nis/nis_remove.c (nis_remove): Likewise.
20760 * nis/nis_add.c (nis_add): Likewise.
20761
20762 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
20763
20764 * posix/fnmatch_loop.c: Add some consts.
20765
20766 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
20767
435b95eb
L
207682011-02-02 H.J. Lu <hongjiu.lu@intel.com>
20769
20770 [BZ #12460]
20771 * config.make.in (config-cflags-novzeroupper): Define.
20772 * configure.in: Substitute libc_cv_cc_novzeroupper.
20773 * elf/Makefile (AVX-CFLAGS): Define.
20774 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
20775 (CFLAGS-tst-auditmod4a.c): Likewise.
20776 (CFLAGS-tst-auditmod4b.c): Likewise.
20777 (CFLAGS-tst-auditmod6b.c): Likewise.
20778 (CFLAGS-tst-auditmod6c.c): Likewise.
20779 (CFLAGS-tst-auditmod7b.c): Likewise.
20780 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
20781
8517b15e
UD
207822011-02-02 Ulrich Drepper <drepper@gmail.com>
20783
20784 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
20785 function to the callback.
20786 Patch partly by Jiri Olsa <jolsa@redhat.com>.
20787
10a656fe
AS
207882011-02-02 Andreas Schwab <schwab@redhat.com>
20789
20790 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
20791 of errno.
20792
968dad0a
UD
207932011-01-19 Ulrich Drepper <drepper@gmail.com>
20794
9f94d2ea 20795 [BZ #11724]
968dad0a
UD
20796 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
20797 of constructors.
20798 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
20799 of destructors.
20800 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
20801
20802 [BZ #11724]
20803 * elf/Makefile: Add rules to build and run new test.
20804 * elf/tst-initorder.c: New file.
20805 * elf/tst-initorder.exp: New file.
20806 * elf/tst-initordera1.c: New file.
20807 * elf/tst-initordera2.c: New file.
20808 * elf/tst-initordera3.c: New file.
20809 * elf/tst-initordera4.c: New file.
20810 * elf/tst-initorderb1.c: New file.
20811 * elf/tst-initorderb2.c: New file.
20812 * elf/tst-order-a1.c: New file.
20813 * elf/tst-order-a2.c: New file.
20814 * elf/tst-order-a3.c: New file.
20815 * elf/tst-order-a4.c: New file.
20816 * elf/tst-order-b1.c: New file.
20817 * elf/tst-order-b2.c: New file.
20818 * elf/tst-order-main.c: New file.
20819 New test case by George Gensure <werkt0@gmail.com>.
20820
86e92359
UD
208212010-10-01 Andreas Schwab <schwab@redhat.com>
20822
20823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20824 decoding ACE if AI_CANONIDN.
20825
5d5732b0
UD
208262011-01-18 Ulrich Drepper <drepper@gmail.com>
20827
20828 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
20829
a77e8cbc
UD
208302011-01-17 Ulrich Drepper <drepper@gmail.com>
20831
6392473f
UD
20832 * version.h (RELEASE): Bump for 2.13 release.
20833 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
20834
620a0529
UD
20835 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
20836
18ba70a5
UD
20837 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
20838 MADV_NOHUGEPAGE.
32465c3e
UD
20839 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
20840 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
20845
c0dafcf1
UD
20846 * posix/getconf.c: Update copyright year.
20847 * catgets/gencat.c: Likewise.
20848 * csu/version.c: Likewise.
20849 * debug/catchsegv.sh: Likewise.
20850 * debug/xtrace.sh: Likewise.
20851 * elf/ldconfig.c: Likewise.
20852 * elf/ldd.bash.in: Likewise.
20853 * elf/sprof.c (print_version): Likewise.
20854 * iconv/iconv_prog.c: Likewise.
20855 * iconv/iconvconfig.c: Likewise.
20856 * locale/programs/locale.c: Likewise.
20857 * locale/programs/localedef.c: Likewise.
20858 * malloc/memusage.sh: Likewise.
20859 * malloc/mtrace.pl: Likewise.
20860 * nscd/nscd.c (print_version): Likewise.
20861 * nss/getent.c: Likewise.
20862
a77e8cbc
UD
20863 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
20864 PF_CAIF, and PF_ALG.
20865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20866
77e8bddf
AS
208672011-01-16 Andreas Schwab <schwab@linux-m68k.org>
20868
1f20b93a
AS
20869 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
20870 (modules-names): Use them.
20871 (ifunc-test-modules, ifunc-pie-tests): Define.
20872 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
20873 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
20874 (test-extras): Likewise.
20875 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
20876 $(compile-command.c).
20877 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
20878 (all-built-dso): Define.
20879 (check-textrel.out, check-execstack.out): Depend on it.
20880
77e8bddf
AS
20881 * configure.in: Don't override --enable-multi-arch.
20882
bc425b33
UD
208832011-01-15 Ulrich Drepper <drepper@gmail.com>
20884
20885 [BZ #6812]
20886 * nscd/hstcache.c (tryagain): Define.
20887 (cache_addhst): Return tryagain not notfound for temporary errors.
20888 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
20889 failed.
20890
794c3ad3
UD
208912011-01-14 Ulrich Drepper <drepper@gmail.com>
20892
70181fdd
UD
20893 [BZ #10563]
20894 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
20895 to make the syscall.
20896 * sysdeps/unix/sysv/linux/setgroups.c: New file.
20897
794c3ad3
UD
20898 [BZ #12378]
20899 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
20900 and fall back to matching as normal character if the string ends before
20901 the matching ']' is found. This is what POSIX requires.
20902 * posix/testfnm.c: Adjust test result.
20903 * posix/globtest.sh: Adjust test result. Add new test.
20904 * posix/tst-fnmatch.input: Likewise.
20905 * posix/tst-fnmatch2.c: Add new test.
20906
68dc9497
AS
209072010-12-28 Andreas Schwab <schwab@linux-m68k.org>
20908
20909 * elf/Makefile (check-execstack): Revert last change. Depend on
20910 check-execstack.h.
20911 (check-execstack.h): New target.
20912 (generated): Add check-execstack.h.
20913 * elf/check-execstack.c: Include "check-execstack.h".
20914 (main): Revert last change.
20915 (handle_file): Return zero if GNU_STACK is absent and
20916 DEFAULT_STACK_PERMS doesn't include PF_X.
20917
451f001b
UD
209182011-01-13 Ulrich Drepper <drepper@gmail.com>
20919
cfa28e56
UD
20920 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
20921 in child fails because the descriptor is already closed.
8cf8ce17
UD
20922 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
20923 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
20924 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 20925
1086d70d
UD
20926 [BZ #12397]
20927 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
20928 syscall.
20929
451f001b
UD
20930 [BZ #10484]
20931 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
20932 temporary buffer used to handle multi lookups locally.
a85b5cb4 20933 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 20934
08769175
UD
209352011-01-12 Ulrich Drepper <drepper@gmail.com>
20936
20937 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
20938 loader is ld.so.
20939
5e49c52e
UD
209402011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
20941
20942 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
20943 alignment for SSE2.
20944
60522a5f
UD
209452011-01-12 Ulrich Drepper <drepper@gmail.com>
20946
20947 [BZ #12394]
20948 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
20949 characters. When rounding increased number of integer digits recompute
20950 number of groups.
20951 * stdio-common/tst-grouping.c: New file.
20952 * stdio-common/Makefile: Add rules to build and run tst-grouping.
20953
f257bbd7
UD
209542011-01-09 Ulrich Drepper <drepper@gmail.com>
20955
20956 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
20957 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
20958
20959 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
20960 void.
20961 * bits/select.h: Likewise.
20962
fa9c15cb
UD
209632011-01-08 Ulrich Drepper <drepper@gmail.com>
20964
20965 * po/ja.po: Update from translation team.
20966
16c2895f
DM
209672011-01-04 David S. Miller <davem@sunset.davemloft.net>
20968
20969 [BZ #11155]
20970 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
20971 implementation just like for lxstat, fxstatat, et al.
20972
2543fef2
JM
209732010-12-27 Jim Meyering <meyering@redhat.com>
20974
20975 [BZ #12348]
20976 * posix/regexec.c (build_trtable): Return failure indication upon
20977 calloc failure. Otherwise, re_search_internal could infloop on OOM.
20978
98727dbe
UD
209792010-12-25 Ulrich Drepper <drepper@gmail.com>
20980
5bd6dc5c
UD
20981 [BZ #12201]
20982 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
20983 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
20984 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
20985 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
20986
97983464
UD
20987 [BZ #12207]
20988 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
20989
98727dbe
UD
20990 [BZ #12204]
20991 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
20992 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
20993
4a531bb0
L
209942010-12-15 H.J. Lu <hongjiu.lu@intel.com>
20995
20996 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
20997 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
20998 script has SORT_BY_INIT_PRIORITY.
20999 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21000 NO_CTORS_DTORS_SECTIONS is defined.
21001 * elf/soinit.c: Likewise.
21002 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21003 NO_CTORS_DTORS_SECTIONS is defined.
21004 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21005 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21006 * sysdeps/sh/init-first.c: Likewise.
21007 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21008
07eb4b71
UD
210092010-12-24 Ulrich Drepper <drepper@gmail.com>
21010
21011 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21012 always use the slow path.
21013
30950a5f
RA
210142010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21015
21016 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21017 similar rule which adds the sysdep directories to the header search in
21018 order to pick up the correct platform stackinfo.h.
21019 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21020 perform test if it is, otherwise return successfully without testing.
21021 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21022 DEFAULT_STACK_PERMS define in stackinfo.h.
21023 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21024 defined in stackinfo.h.
21025 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21026 DEFAULT_STACK_PERMS defined in stackinfo.h.
21027 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21028 * sysdeps/ia64/stackinfo.h: Likewise.
21029 * sysdeps/s390/stackinfo.h: Likewise.
21030 * sysdeps/sh/stackinfo.h: Likewise.
21031 * sysdeps/sparc/stackinfo.h: Likewise.
21032 * sysdeps/x86_64/stackinfo.h: Likewise.
21033 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21034 PF_X for powerpc64. Retain PF_X for powerpc32.
21035
db753e2c
UD
210362010-12-19 Ulrich Drepper <drepper@gmail.com>
21037
14b697f7
UD
21038 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21039 accurately.
db753e2c
UD
21040 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21041 GETDENTS_64BIT_ALIGNED.
21042
28300719
UD
210432010-12-14 Ulrich Drepper <dreper@gmail.com>
21044
14b697f7 21045 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21046
4f197237
AS
210472010-12-10 Andreas Schwab <schwab@redhat.com>
21048
dbb0472f
AS
21049 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21050 _GNU_SOURCE.
21051
4f197237
AS
21052 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21053 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21054 Remove __restrict.
21055 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21056 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21057
fb88ac72
UD
210582010-12-09 Ulrich Drepper <drepper@gmail.com>
21059
21060 [BZ #11655]
21061 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21062 are initialized.
21063
42acbb92
JJ
210642010-12-09 Jakub Jelinek <jakub@redhat.com>
21065
21066 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21067
c038d98d
UD
210682010-12-03 Ulrich Drepper <drepper@gmail.com>
21069
21070 * po/it.po: Update from translation team.
21071
3a4a2499
L
210722010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21073
21074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21075 unused codes.
21076
1e24cf6e
UD
210772010-11-30 Ulrich Drepper <drepper@gmail.com>
21078
21079 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21080
a7690819
AS
210812010-11-24 Andreas Schwab <schwab@redhat.com>
21082
21083 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21084 specially.
21085 (gaih_getanswer_slice): Likewise.
21086
3bf8d1b1
JJ
210872010-10-20 Jakub Jelinek <jakub@redhat.com>
21088
21089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21090
6db52fbb
PB
210912010-05-31 Petr Baudis <pasky@suse.cz>
21092
21093 [BZ #11149]
21094 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21095 silently even in the chroot mode.
21096
eaca7569
UD
210972010-11-22 Ulrich Drepper <drepper@gmail.com>
21098
21099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21100 last patch a bit. Pretty printing
21101
3056dcdb
UD
211022010-05-31 Petr Baudis <pasky@suse.cz>
21103
21104 [BZ #10085]
21105 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21106 initialization of skip_initgroups_dyn.
21107
cf7c9078
UD
211082010-11-19 Ulrich Drepper <drepper@gmail.com>
21109
21110 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21112
a1fb5e3e
UD
211132010-11-16 Ulrich Drepper <drepper@gmail.com>
21114
21115 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21116
3540d66b
AS
211172010-11-11 Andreas Schwab <schwab@redhat.com>
21118
21119 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21120 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21121 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21122 ($(objpfx)tst-fnmatch-mem): New rule.
21123 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21124 * posix/tst-fnmatch.c (main): Call mtrace.
21125
13b69574
L
211262010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21127
21128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21129 Support Intel processor model 6 and model 0x2c.
21130
da93d214
LM
211312010-11-10 Luis Machado <luisgpm@br.ibm.com>
21132
21133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21134 signed comparison.
21135
8ca52c6e
L
211362010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21137
21138 [BZ #12205]
21139 * string/test-strncasecmp.c (check_result): New function.
21140 (do_one_test): Use it.
21141 (check1): New function.
21142 (test_main): Use it.
21143 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21144 Support strcasecmp and strncasecmp.
21145
69da074d
UD
211462010-11-08 Ulrich Drepper <drepper@gmail.com>
21147
21148 [BZ #12194]
21149 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21151
ff02d528
L
211522010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21153
21154 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21155 IFUNC support.
21156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21157 memset-x86-64.
21158 * sysdeps/x86_64/multiarch/bzero.S: New file.
21159 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21160 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21161 * sysdeps/x86_64/multiarch/memset.S: New file.
21162 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21164 Set bit_Prefer_SSE_for_memop for Intel processors.
21165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21166 Define.
21167 (index_Prefer_SSE_for_memop): Define.
21168 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21169
344d0b54
LM
211702010-11-04 Luis Machado <luisgpm@br.ibm.com>
21171
21172 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21173 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21174
c0dde15b
UD
211752010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21176
21177 [BZ #12191]
21178 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21179 (__x86_64_raw_data_cache_size_half): Likewise.
21180 (__x86_64_raw_shared_cache_size): Likewise.
21181 (__x86_64_raw_shared_cache_size_half): Likewise.
21182
21183 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21184 (__x86_64_raw_data_cache_size_half): Likewise.
21185 (__x86_64_raw_shared_cache_size): Likewise.
21186 (__x86_64_raw_shared_cache_size_half): Likewise.
21187 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21188 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21189 and __x86_64_raw_shared_cache_size_half. Round
21190 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21191 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21192 to multiple of 256 bytes.
21193
0e516e0e
MS
211942010-11-03 Ulrich Drepper <drepper@gmail.com>
21195
21196 [BZ #12167]
21197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21198 of inacessible symlinks. Verify result of symlink before returning it.
21199 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21200 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21201
0e012e87
ER
212022010-10-28 Erich Ritz <erichritz@gmail.com>
21203
21204 * math/math.h (isinf): Fix typo in comment.
21205
de0ff7bc
UD
212062010-11-01 Ulrich Drepper <drepper@gmail.com>
21207
21208 * po/da.po: Update from translation team.
21209
fa41c84d
UD
212102010-10-26 Ulrich Drepper <drepper@gmail.com>
21211
21212 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21213 is added to the list.
21214
f0967738
AK
212152010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21216 Ulrich Drepper <drepper@gmail.com>
21217
21218 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21219 the global list here. Move code to...
21220 (_dl_add_to_namespace_list): ...here. New function.
21221 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21222 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21223 * elf/dl-load.c (lose): Don't remove the element from the list.
21224 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21225 (_dl_map_object): Likewise.
21226
212272010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21228
21229 [BZ #12159]
21230 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21231 into all bytes of SSE register.
21232 Patch by Richard Li <richardpku@gmail.com>.
21233
f0967738 212342010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21235
21236 [BZ #12140]
21237 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21238 perturbing.
21239
d0b9e94f
MB
212402010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21241
21242 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21243 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21247 submachine.
21248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21249
8e9f92e9
AS
212502010-10-22 Andreas Schwab <schwab@redhat.com>
21251
21252 * include/dlfcn.h (__RTLD_SECURE): Define.
21253 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21254 mode & __RTLD_SECURE instead.
21255 (open_path): Rename preloaded parameter to secure.
21256 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21257 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21258 * elf/dl-deps.c (openaux): Likewise.
21259 * elf/rtld.c (struct map_args): Remove is_preloaded.
21260 (map_doit): Don't use it.
21261 (dl_main): Likewise.
21262 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21263 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21264
bc96fbda
AS
212652010-09-09 Andreas Schwab <schwab@redhat.com>
21266
21267 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21268 (sysd-rules-targets): Remove duplicates.
21269 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21270 rtld-%.$o dependency.
21271
22cd1c9b
AS
212722010-10-18 Andreas Schwab <schwab@redhat.com>
21273
21274 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21275 _dl_map_object do it.
21276
18edac48
UD
212772010-10-19 Ulrich Drepper <drepper@gmail.com>
21278
21279 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21280 fast fma builtins, define the macros in the C99 standard.
21281 (FP_FAST_FMAF): Likewise.
21282 (FP_FAST_FMAL): Likewise.
21283 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21284
21285 * bits/mathdef.h: Update copyright year.
21286 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21287
d2050124
MM
212882010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21289
21290 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21291 builtins, define the macros in the C99 standard.
21292 (FP_FAST_FMAF): Likewise.
21293 (FP_FAST_FMAL): Likewise.
21294 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21295 multiply/add.
21296 (FP_FAST_FMAF): Likewise.
21297
475facd1
JJ
212982010-10-15 Jakub Jelinek <jakub@redhat.com>
21299
21300 [BZ #3268]
21301 * math/libm-test.inc (fma_test): Some new testcases.
21302 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21303 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21304 y and infinite z. Do multiplication by C already in long double.
21305 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21307 y and infinite z. Do bitwise or of inexact bit into u.d.
21308 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21309 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21310 * sysdeps/i386/fpu/s_fma.S: Removed.
21311 * sysdeps/i386/fpu/s_fmal.S: Removed.
21312
7c08a05c
JJ
213132010-10-16 Jakub Jelinek <jakub@redhat.com>
21314
21315 [BZ #3268]
21316 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21318 computation is not scheduled after fetestexcept. Fix value
21319 of minimum denormal long double.
21320
f3f7372d
JJ
213212010-10-14 Jakub Jelinek <jakub@redhat.com>
21322
21323 [BZ #3268]
21324 * math/libm-test.inc (fma_test): Add some more tests.
21325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21326 correctly.
21327
14d43591
AS
213282010-10-15 Andreas Schwab <schwab@redhat.com>
21329
21330 * scripts/data/localplt-s390-linux-gnu.data: New file.
21331 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21332
5e908464
JJ
213332010-10-13 Jakub Jelinek <jakub@redhat.com>
21334
21335 [BZ #3268]
21336 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21337 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21338 instead of dbl-64.
21339 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21340 inlines.
21341 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21343 if one of x and y is very large and the other is subnormal.
21344 * sysdeps/s390/fpu/s_fmaf.c: New file.
21345 * sysdeps/s390/fpu/s_fma.c: New file.
21346 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21347 * sysdeps/powerpc/fpu/s_fma.S: New file.
21348 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21349 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21350 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21351
213522010-10-12 Jakub Jelinek <jakub@redhat.com>
21353
21354 [BZ #3268]
21355 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21356 fma tests.
21357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21358 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21359 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21360 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21361 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21362 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21364
b833d51f
UD
213652010-10-12 Ulrich Drepper <drepper@redhat.com>
21366
21367 [BZ #12078]
21368 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21369 * posix/bug-regex31.input: Add test case.
21370
1751705d
UD
213712010-10-11 Ulrich Drepper <drepper@gmail.com>
21372
e9b9cbf5
UD
21373 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21374 * posix/bug-regex31.input: New file.
21375
21376 [BZ #12078]
21377 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21378 (parse_sub_exp): Fix last change, use postorder.
21379
ef06edbe
UD
21380 * posix/bug-regex31.c: New file.
21381 * posix/Makefile: Add rules to build and run bug-regex31.
21382
a129c80d
UD
21383 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21384
21385 [BZ #12078]
21386 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21387
b76b818e
UD
21388 [BZ #12108]
21389 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21390 to have entries in sys_siglist.
21391
1751705d
UD
21392 [BZ #12093]
21393 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21394 be NULL.
21395
9ff8d36f
JJ
213962010-10-07 Jakub Jelinek <jakub@redhat.com>
21397
21398 [BZ #3268]
21399 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21400 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21401 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21402 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21403 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21404 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21405 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21406 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21407 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21408 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21409 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21410 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21411 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21412 * math/ftestexcept.c (fetestexcept): Likewise.
21413 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21414 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21415 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21416 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21417 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21418 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21419 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21420
af325969
UD
214212010-10-11 Ulrich Drepper <drepper@gmail.com>
21422
c579b202 21423 [BZ #12107]
af325969
UD
21424 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21425 newline.
21426
67a67b95
UD
214272010-10-06 Ulrich Drepper <drepper@gmail.com>
21428
21429 * string/bug-strstr1.c: New file.
21430 * string/Makefile: Add rules to build and run bug-strstr1.
21431
5fb308bc
EB
214322010-10-05 Eric Blake <eblake@redhat.com>
21433
21434 [BZ #12092]
21435 * string/str-two-way.h (two_way_long_needle): Always clear memory
21436 when skipping input due to the shift table.
21437
45db99c7
UD
214382010-10-03 Ulrich Drepper <drepper@gmail.com>
21439
3b111893
UD
21440 [BZ #12005]
21441 * malloc/mcheck.c: Handle large requests.
21442
45db99c7
UD
21443 [BZ #12077]
21444 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21445 for strncmp and strncasecmp.
21446 * string/stratcliff.c: Add tests for strcmp and strncmp.
21447 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21448
cf7a1eb8
NI
214492010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21450
21451 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21452 __set_fpscr.
21453
6484ba5e
AJ
214542010-09-30 Andreas Jaeger <aj@suse.de>
21455
21456 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21457 (CGROUP_SUPER_MAGIC): Define.
21458 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21459 Handle btrfs and cgroup file systems.
21460 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21461 Likewise.
21462
91c42559
LM
214632010-09-27 Luis Machado <luisgpm@br.ibm.com>
21464
21465 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21466 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21467
87a97932
AK
214682010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21469
21470 [BZ #12067]
21471 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21472 trying to locate the ELF header.
21473
c21cc9bc
AS
214742010-09-27 Andreas Schwab <schwab@redhat.com>
21475
21476 [BZ #11611]
21477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21478 Mask out sign-bit copies when constructing f_fsid.
21479
315970f6
PB
214802010-09-24 Petr Baudis <pasky@suse.cz>
21481
21482 * debug/stack_chk_fail_local.c: Add missing licence exception.
21483 * debug/warning-nop.c: Likewise.
21484
1ac7a2c7
JM
214852010-09-15 Joseph Myers <joseph@codesourcery.com>
21486
21487 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21488 implementing getdents64 using getdents syscall, set d_type if
21489 __ASSUME_GETDENTS32_D_TYPE.
21490
56801c50
AS
214912010-09-16 Andreas Schwab <schwab@redhat.com>
21492
21493 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21494 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21495
dda51327
UD
214962010-09-21 Ulrich Drepper <drepper@redhat.com>
21497
21498 [BZ #12037]
21499 * posix/unistd.h: Undo change of feature selection for ftruncate from
21500 2010-01-11.
21501
8ffcee4a
UD
215022010-09-20 Ulrich Drepper <drepper@redhat.com>
21503
a545ecd9 21504 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21505 detection.
21506
e24f0a8b
AS
215072010-09-20 Andreas Schwab <schwab@redhat.com>
21508
21509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21510 fanotify_mark.
21511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21512
7291c56f
AS
215132010-09-14 Andreas Schwab <schwab@redhat.com>
21514
21515 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
21516 variables after CHECK_SP call.
21517 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
21518
bc5fb037
AS
215192010-09-13 Andreas Schwab <schwab@redhat.com>
21520 Ulrich Drepper <drepper@redhat.com>
21521
21522 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
21523 re-relocationg ld.so.
21524 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
21525 _dl_init_paths call.
21526 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
21527 here anymore.
21528
e66e7419
UD
215292010-09-14 Ulrich Drepper <drepper@redhat.com>
21530
21531 * resolv/res_init.c (__res_vinit): Count the default server we added.
21532
c044aa75
CLT
215332010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
21534 Ulrich Drepper <drepper@redhat.com>
21535
21536 [BZ #11968]
21537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21538 (____longjmp_chk): Use %ebx for saving value across system call.
21539 Add unwind info.
21540
32cf4069
AS
215412010-09-06 Andreas Schwab <schwab@redhat.com>
21542
21543 * manual/Makefile: Don't mix pattern rules with normal rules.
21544
817328ee
AS
215452010-09-05 Andreas Schwab <schwab@linux-m68k.org>
21546
21547 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
21548 operation.
21549 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21550 * libio/iofopncook.c (_IO_cookie_init): Likewise.
21551 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21552 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21554 Likewise.
21555
29fddf61
UD
215562010-09-04 Ulrich Drepper <drepper@redhat.com>
21557
21558 [BZ #11979]
21559 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
21560 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
21561
0959ffc9
UD
215622010-09-02 Ulrich Drepper <drepper@redhat.com>
21563
21564 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
21565 * sysdeps/x86_64/addmul_1.S: Likewise.
21566 * sysdeps/x86_64/lshift.S: Likewise.
21567 * sysdeps/x86_64/mul_1.S: Likewise.
21568 * sysdeps/x86_64/rshift.S: Likewise.
21569 * sysdeps/x86_64/sub_n.S: Likewise.
21570 * sysdeps/x86_64/submul_1.S: Likewise.
21571
ece29840
ST
215722010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
21573
0959ffc9
UD
21574 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
21575 Define __sched_param instead of SCHED_* and sched_param when
ece29840 21576 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 21577 * bits/sched.h [__need_schedparam]
ece29840 21578 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
21579 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
21580 (__defined_schedparam): Define to 1.
ece29840
ST
21581 (__sched_param): New structure, identical to sched_param.
21582 (__need_schedparam): Undefine.
21583
e53a31fe
MF
215842010-08-31 Mike Frysinger <vapier@gentoo.org>
21585
fdc0c10d
MF
21586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
21587 (epoll_create1): Declare.
21588
e53a31fe
MF
21589 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
21590
a726d796
AS
215912010-08-31 Andreas Schwab <schwab@redhat.com>
21592
21593 [BZ #7066]
21594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
21595 shifting retval into place.
21596
2f3e3dc7
UD
215972010-09-01 Ulrich Drepper <drepper@redhat.com>
21598
f2933da9
UD
21599 * nis/rpcsvc/nis.h: Update copyright notice.
21600 * nis/rpcsvc/nis.x: Likewise.
21601 * nis/rpcsvc/nis_callback.h: Likewise.
21602 * nis/rpcsvc/nis_callback.x: Likewise.
21603 * nis/rpcsvc/nis_object.x: Likewise.
21604 * nis/rpcsvc/nis_tags.h: Likewise.
21605 * nis/rpcsvc/yp.h: Likewise.
21606 * nis/rpcsvc/yp.x: Likewise.
21607 * nis/rpcsvc/ypupd.h: Likewise.
21608 * nis/yp_xdr.c: Likewise.
21609 * nis/ypupdate_xdr.c: Likewise.
21610
2f3e3dc7
UD
21611 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
21612 mainly the body of pmap_getport. Add parameters to specify timeouts.
21613 (pmap_getport): Use __libc_rpc_getport.
21614 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
21615 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
21616 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
21617
f3dcc2f9
AS
216182010-08-31 Andreas Schwab <schwab@linux-m68k.org>
21619
21620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
21621 fanotify_mark.
21622
6d34eb5b
RM
216232010-08-27 Roland McGrath <roland@redhat.com>
21624
21625 * sysdeps/i386/i686/multiarch/Makefile
21626 (CFLAGS-varshift.c): New variable.
21627
9ea3de11
UD
216282010-08-27 Ulrich Drepper <drepper@redhat.com>
21629
c96d23fc
UD
21630 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
21631 * sysdeps/i386/i686/multiarch/varshift.c: New file.
21632
9ea3de11
UD
21633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
21634
21635 * sysdeps/x86_64/strlen.S: Minimal code improvement.
21636
623aac7f
L
216372010-08-26 H.J. Lu <hongjiu.lu@intel.com>
21638
21639 * sysdeps/x86_64/strlen.S: Unroll the loop.
21640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21641 strlen-sse2 strlen-sse2-bsf.
21642 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
21643 __strlen_no_bsf if bit_Slow_BSF is set.
21644 (__strlen_sse42): Removed.
21645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
21646 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
21647
8b2b7715
RM
216482010-08-25 Roland McGrath <roland@redhat.com>
21649
21650 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21651 * sysdeps/x86_64/multiarch/varshift.c: New file.
21652 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
21653 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
21654 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
21655 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21656
e73015f2
L
216572010-08-25 H.J. Lu <hongjiu.lu@intel.com>
21658
21659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21660 strlen-sse2 strlen-sse2-bsf.
21661 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
21662 __strlen_sse2_bsf if bit_Slow_BSF is unset.
21663 (__strlen_sse2): Removed.
21664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
21665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
21666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21667 bit_Slow_BSF for Atom.
21668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
21669 (index_Slow_BSF): Define.
21670 (HAS_SLOW_BSF): Define.
21671
df24a73e
UD
216722010-08-25 Ulrich Drepper <drepper@redhat.com>
21673
21674 [BZ #10851]
21675 * resolv/res_init.c (__res_vinit): When no server address at all
21676 is given default to loopback.
21677
f2ac4868
RM
216782010-08-24 Roland McGrath <roland@redhat.com>
21679
09055553
RM
21680 * configure.in: Remove config-name.h generation.
21681 * configure: Regenerated.
21682 * config-name.in: File removed.
21683 * scripts/config-uname.sh: New file.
21684 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
21685 ($(objdir)config-name.h): New target.
21686
f2ac4868
RM
21687 * sunrpc/rpc_parse.h: Avoid nested comment.
21688
73f27d5e
RH
216892010-08-24 Richard Henderson <rth@redhat.com>
21690 Ulrich Drepper <drepper@redhat.com>
21691 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
21694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
21695 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
21696 Replace _mm_srli_si128 with __m128i_shift_right. Replace
21697 _mm_alignr_epi8 with _mm_loadu_si128.
21698 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
21699 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
21700 (__m128i_shift_right): Removed.
21701 * sysdeps/i386/i686/multiarch/varshift.h: New file.
21702 * sysdeps/i386/i686/multiarch/varshift.S: New file.
21703 * sysdeps/x86_64/multiarch/varshift.h: New file.
21704 * sysdeps/x86_64/multiarch/varshift.S: New file.
21705
84b9230c
MF
217062010-08-21 Mike Frysinger <vapier@gentoo.org>
21707
21708 * configure.in: Move assembler checks to before sysdep dir checking.
21709
9bbd0ddc
PB
217102010-08-20 Petr Baudis <pasky@suse.cz>
21711
21712 * LICENSES: Sync the sunrpc license.
21713
9da4bb31
UD
217142010-08-19 Ulrich Drepper <drepper@redhat.com>
21715
a7ab6ec8
UD
21716 * sunrpc/auth_des.c: Update copyright notice once again.
21717 * sunrpc/auth_none.c: Likewise.
21718 * sunrpc/auth_unix.c: Likewise.
21719 * sunrpc/authdes_prot.c: Likewise.
21720 * sunrpc/authuxprot.c: Likewise.
21721 * sunrpc/bindrsvprt.c: Likewise.
21722 * sunrpc/clnt_gen.c: Likewise.
21723 * sunrpc/clnt_perr.c: Likewise.
21724 * sunrpc/clnt_raw.c: Likewise.
21725 * sunrpc/clnt_simp.c: Likewise.
21726 * sunrpc/clnt_tcp.c: Likewise.
21727 * sunrpc/clnt_udp.c: Likewise.
21728 * sunrpc/clnt_unix.c: Likewise.
21729 * sunrpc/des_crypt.c: Likewise.
21730 * sunrpc/des_soft.c: Likewise.
21731 * sunrpc/get_myaddr.c: Likewise.
21732 * sunrpc/getrpcport.c: Likewise.
21733 * sunrpc/key_call.c: Likewise.
21734 * sunrpc/key_prot.c: Likewise.
21735 * sunrpc/openchild.c: Likewise.
21736 * sunrpc/pm_getmaps.c: Likewise.
21737 * sunrpc/pm_getport.c: Likewise.
21738 * sunrpc/pmap_clnt.c: Likewise.
21739 * sunrpc/pmap_prot.c: Likewise.
21740 * sunrpc/pmap_prot2.c: Likewise.
21741 * sunrpc/pmap_rmt.c: Likewise.
21742 * sunrpc/rpc/auth.h: Likewise.
21743 * sunrpc/rpc/auth_unix.h: Likewise.
21744 * sunrpc/rpc/clnt.h: Likewise.
21745 * sunrpc/rpc/des_crypt.h: Likewise.
21746 * sunrpc/rpc/key_prot.h: Likewise.
21747 * sunrpc/rpc/netdb.h: Likewise.
21748 * sunrpc/rpc/pmap_clnt.h: Likewise.
21749 * sunrpc/rpc/pmap_prot.h: Likewise.
21750 * sunrpc/rpc/pmap_rmt.h: Likewise.
21751 * sunrpc/rpc/rpc.h: Likewise.
21752 * sunrpc/rpc/rpc_des.h: Likewise.
21753 * sunrpc/rpc/rpc_msg.h: Likewise.
21754 * sunrpc/rpc/svc.h: Likewise.
21755 * sunrpc/rpc/svc_auth.h: Likewise.
21756 * sunrpc/rpc/types.h: Likewise.
21757 * sunrpc/rpc/xdr.h: Likewise.
21758 * sunrpc/rpc_clntout.c: Likewise.
21759 * sunrpc/rpc_cmsg.c: Likewise.
21760 * sunrpc/rpc_common.c: Likewise.
21761 * sunrpc/rpc_cout.c: Likewise.
21762 * sunrpc/rpc_dtable.c: Likewise.
21763 * sunrpc/rpc_hout.c: Likewise.
21764 * sunrpc/rpc_main.c: Likewise.
21765 * sunrpc/rpc_parse.c: Likewise.
21766 * sunrpc/rpc_parse.h: Likewise.
21767 * sunrpc/rpc_prot.c: Likewise.
21768 * sunrpc/rpc_sample.c: Likewise.
21769 * sunrpc/rpc_scan.c: Likewise.
21770 * sunrpc/rpc_scan.h: Likewise.
21771 * sunrpc/rpc_svcout.c: Likewise.
21772 * sunrpc/rpc_tblout.c: Likewise.
21773 * sunrpc/rpc_util.c: Likewise.
21774 * sunrpc/rpc_util.h: Likewise.
21775 * sunrpc/rpcinfo.c: Likewise.
21776 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
21777 * sunrpc/rpcsvc/key_prot.x: Likewise.
21778 * sunrpc/rpcsvc/klm_prot.x: Likewise.
21779 * sunrpc/rpcsvc/mount.x: Likewise.
21780 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
21781 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
21782 * sunrpc/rpcsvc/rex.x: Likewise.
21783 * sunrpc/rpcsvc/rstat.x: Likewise.
21784 * sunrpc/rpcsvc/rusers.x: Likewise.
21785 * sunrpc/rpcsvc/sm_inter.x: Likewise.
21786 * sunrpc/rpcsvc/spray.x: Likewise.
21787 * sunrpc/rpcsvc/yppasswd.x: Likewise.
21788 * sunrpc/rtime.c: Likewise.
21789 * sunrpc/svc.c: Likewise.
21790 * sunrpc/svc_auth.c: Likewise.
21791 * sunrpc/svc_authux.c: Likewise.
21792 * sunrpc/svc_raw.c: Likewise.
21793 * sunrpc/svc_run.c: Likewise.
21794 * sunrpc/svc_simple.c: Likewise.
21795 * sunrpc/svc_tcp.c: Likewise.
21796 * sunrpc/svc_udp.c: Likewise.
21797 * sunrpc/svc_unix.c: Likewise.
21798 * sunrpc/svcauth_des.c: Likewise.
21799 * sunrpc/xcrypt.c: Likewise.
21800 * sunrpc/xdr.c: Likewise.
21801 * sunrpc/xdr_array.c: Likewise.
21802 * sunrpc/xdr_float.c: Likewise.
21803 * sunrpc/xdr_mem.c: Likewise.
21804 * sunrpc/xdr_rec.c: Likewise.
21805 * sunrpc/xdr_ref.c: Likewise.
21806 * sunrpc/xdr_sizeof.c: Likewise.
21807 * sunrpc/xdr_stdio.c: Likewise.
21808
9da4bb31
UD
21809 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
21810 handling.
21811
bdaa77bc
AS
218122010-08-19 Andreas Schwab <schwab@redhat.com>
21813
21814 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
21815
fe2f79db
LM
218162010-08-19 Luis Machado <luisgpm@br.ibm.com>
21817
21818 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
21819 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
21820 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
21821 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
21822 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
21823 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
21824 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
21825 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
21826 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
21827 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
21828 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
21829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
21830 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
21831 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
21832
b9b42ee0
AB
218332010-07-26 Anton Blanchard <anton@samba.org>
21834
21835 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
21836 * malloc/arena.c (heap_trim): Likewise.
21837
1c06ba31
UD
218382010-08-16 Ulrich Drepper <drepper@redhat.com>
21839
21840 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
21841 here. Not...
21842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
21843 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
21844
f8392f40
L
218452010-08-12 H.J. Lu <hongjiu.lu@intel.com>
21846
21847 * sysdeps/i386/elf/Makefile: New file.
21848
3162f12e
AS
218492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21850
21851 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
21852 from fanotify_init.
21853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
21854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21855
28c90b2c
UD
218562010-08-15 Ulrich Drepper <drepper@redhat.com>
21857
21858 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
21859 of strncasecmp_l.
1feccb6c 21860 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 21861
ca6bb004
UD
218622010-08-14 Ulrich Drepper <drepper@redhat.com>
21863
e9f82e0d
UD
21864 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
21865 strncase_l-nonascii.
21866 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
21867 Add strncase_l-ssse3.
21868 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
21869 * sysdeps/x86_64/strcmp.S: Likewise.
21870 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
21871 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
21872 * sysdeps/x86_64/strncase.S: New file.
21873 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
21874 * sysdeps/x86_64/strncase_l.S: New file.
21875 * string/Makefile (strop-tests): Add strncasecmp.
21876 * string/test-strncasecmp.c: New file.
21877
21878 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
21879 warning.
21880
ca6bb004
UD
21881 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21882 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
21883
052fa7b3
AS
218842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
21885
21886 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
21887
962dba78
UD
218882010-08-12 Ulrich Drepper <drepper@redhat.com>
21889
21890 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
21891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
21892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
21893
bebff237
AM
218942010-05-01 Alan Modra <amodra@gmail.com>
21895
21896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
21897 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
21898 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
21899 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
21900 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
21901 tidying. Don't tail-call __sigjmp_save for static lib.
21902 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
21903 save location.
21904 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
21905 (CALL_MCOUNT): Add eh info, and nop after bl.
21906 (TAIL_CALL_SYSCALL_ERROR): New macro.
21907 (PSEUDO_RET): Use it.
21908 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21909 Correct save location of integer regs and cr.
21910 (_dl_profile_resolve): Correct cr save location. Delete nops
21911 after bl when SHARED. Reduce cfi size a little by better
21912 placement of cfi directives.
21913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
21914 make a stack frame. Instead use parm save area as a temp.
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
21916 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
21917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21918 Don't make a stack frame for parent, use parm save area.
21919 Increase child stack frame to 112 bytes. Don't save unused reg,
21920 and adjust reg usage. Set up cfi on error recovery and
21921 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21923 (__makecontext): Add dummy nop after jump to exit.
21924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
21925 Use correct parm save area and cr save, reduce stack frame.
21926 Correct cfi for possible PSEUDO_RET frame setup.
21927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
21928 Branch to local label emitted by PSEUDO_RET rather than
21929 __syscall_error.
21930
02637374
AS
219312010-08-12 Andreas Schwab <schwab@redhat.com>
21932
21933 [BZ #11904]
21934 * locale/programs/locale.c (print_assignment): New function.
21935 (show_locale_vars): Use it.
21936
c3e2f19b
UD
219372010-08-11 Ulrich Drepper <drepper@redhat.com>
21938
3cdaa6ad
UD
21939 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
21940 field.
21941 (struct statfs64): Likewise.
21942 (_STATFS_F_FLAGS): Define.
21943 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
21944 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21945 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
21946 (ST_VALID): Define locally.
21947 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
21948 __statvfs_getflags, use the provided value.
21949 * sysdeps/unix/sysv/linux/kernel-features.h: Define
21950 __ASSUME_STATFS_F_FLAGS.
21951
754f7da3
UD
21952 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
21953
10b3bedc
UD
21954 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
21955 Add sys/fanotify.h.
21956 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
21957 fanotify_mask for GLIBC_2.13.
21958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
21959 fanotify_init and fanotify_mark.
21960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
21961 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
21962
c08fb0d7
UD
21963 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
21964 Add prlimit.
21965 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
21966 prlimit64 for GLIBC_2.13.
21967 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
21968 prlimit64.
21969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
21970 syscall.
21971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
21972 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21973 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
21974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
21975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
21976 add prlimit alias.
21977 * sysdeps/unix/sysv/linux/prlimit.c: New file.
21978
15bac72b
UD
21979 [BZ #11903]
21980 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21981 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
21982
c3e2f19b
UD
21983 * nss/Makefile: Add rules to build and run tst-nss-test1.
21984 * shlib-versions: Add entry for libnss_test1.
21985 * nss/nss_test1.c: New file.
21986 * nss/tst-nss-test1.c: New file.
21987
21988 * nss/nsswitch.c (__nss_database_custom): Define new variable.
21989 (__nss_configure_lookup): Set appropriate entry in
21990 __nss_configure_lookup to true.
21991 * nss/nsswitch.h: Define enum with indeces of databases in
21992 databases and __nss_database_custom arrays. Declare
21993 __nss_database_custom.
21994 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
21995 to avoid using nscd when custom rules are installed.
21996 * nss/getXXbyYY_r.c: Likewise.
21997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21998
21999 * nss/nss_files/files-parse.c: Whitespace fixes.
22000
f15ce4d8
UD
220012010-08-09 Ulrich Drepper <drepper@redhat.com>
22002
22003 [BZ #11883]
22004 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22005 * posix/fnmatch_loop.c: Likewise.
22006
d22e4cc9
AK
220072010-07-17 Andi Kleen <ak@linux.intel.com>
22008
22009 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22010 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22011 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22012 * Versions.def [GLIBC_2.13]: Add.
22013
805bc17d
UD
220142010-08-06 Ulrich Drepper <drepper@redhat.com>
22015
22016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22017 Also fail if tpwd after pwuid call is NULL.
22018
5a42321d
ST
220192010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22020
22021 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22022 when converting to ms.
22023
fd3ebeda
ST
220242010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22025
22026 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22027 EOPNOTSUPP errors with ENOTTY.
22028 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22029 EOPNOTSUPP errors with ENOTTY.
22030
73507d3a
UD
220312010-07-31 Ulrich Drepper <drepper@redhat.com>
22032
22033 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22034 Add strcasecmp_l-ssse3.
22035 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22036 strcasecmp.
22037 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22038 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22039 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22040
fe36dd02
UD
220412010-07-30 Ulrich Drepper <drepper@redhat.com>
22042
66f6765a
UD
22043 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22044
42e08a54
UD
22045 * string/Makefile (strop-tests): Add strcasecmp.
22046 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22047 strcasecmp_l-nonascii.
22048 (gen-as-const-headers): Add locale-defines.sym.
22049 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22050 * sysdeps/x86_64/strcasecmp.S: New file.
22051 * sysdeps/x86_64/strcasecmp_l.S: New file.
22052 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22053 * sysdeps/x86_64/locale-defines.sym: New file.
22054 * string/test-strcasecmp.c: New file.
22055
fe36dd02
UD
22056 * string/test-strcasestr.c: Test both ends of the range of characters.
22057 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22058
48cbc0d6
RM
220592010-07-29 Roland McGrath <roland@redhat.com>
22060
76e6d6bc 22061 [BZ #11856]
48cbc0d6
RM
22062 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22063
880113d9
UD
220642010-07-27 Ulrich Drepper <drepper@redhat.com>
22065
22066 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22067 for ld.so.
22068
deb9cabb
AS
220692010-07-27 Andreas Schwab <schwab@redhat.com>
22070
22071 * manual/memory.texi (Malloc Tunable Parameters): Document
22072 M_PERTURB.
22073
1c7570ff
RM
220742010-07-26 Roland McGrath <roland@redhat.com>
22075
22076 [BZ #11840]
22077 * configure.in (-fgnu89-inline check): Set and substitute
22078 gnu89_inline, not libc_cv_gnu89_inline.
22079 * configure: Regenerated.
22080 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22081
24fb0f88
UD
220822010-07-26 Ulrich Drepper <drepper@redhat.com>
22083
22084 * string/test-strnlen.c: New file.
22085 * string/Makefile (strop-tests): Add strnlen.
22086 * string/tester.c (test_strnlen): Add a few more test cases.
22087 * string/tst-strlen.c: Better error reporting.
22088
22089 * sysdeps/x86_64/strnlen.S: New file.
22090
8e96b93a
UD
220912010-07-24 Ulrich Drepper <drepper@redhat.com>
22092
22093 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22094 lower-latency instructions.
22095
dbc676d4
UD
220962010-07-23 Ulrich Drepper <drepper@redhat.com>
22097
22098 * string/test-strcasestr.c: New file.
22099 * string/test-strstr.c: New file.
22100 * string/Makefile (strop-tests): Add strstr and strcasestr.
22101 * string/str-two-way.h: Don't undefine MAX.
22102 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22103
f6a31e0e
AS
221042010-07-21 Andreas Schwab <schwab@redhat.com>
22105
22106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22107 strcasestr-nonascii.
22108 (CFLAGS-strcasestr-nonascii.c): Define.
22109 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22110 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22111 Remove unused attribute.
22112
5dbc3b6c
RM
221132010-07-20 Roland McGrath <roland@redhat.com>
22114
22115 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22116 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22117 ld.so.cache was broken. With it, there is no way to disable dsocaps
22118 like LD_HWCAP_MASK can disable hwcaps.
22119
23d101d8
EPM
221202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22121
22122 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22123
cc9f2e47
UD
221242010-07-16 Ulrich Drepper <drepper@redhat.com>
22125
22126 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22127 call in strcasestr.
22128 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22129 __strcasestr_sse42_nonascii.
22130 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22131 strcasestr-nonascii.c.
22132 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22133
77c1b069
LM
221342010-06-15 Luis Machado <luisgpm@br.ibm.com>
22135
22136 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22138 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22139 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22140
440566c3
UD
221412010-07-09 Ulrich Drepper <drepper@redhat.com>
22142
22143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22144 fcntl.
22145
5be9d05d
AS
221462010-07-06 Andreas Schwab <schwab@redhat.com>
22147
c30b7ee2 22148 [BZ #11577]
5be9d05d
AS
22149 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22150 dl_signal_cerror.
22151
8a492a67
UD
221522010-07-06 Ulrich Drepper <drepper@redhat.com>
22153
22154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22155 _PC_PIPE_BUF using F_GETPIPE_SZ.
22156
713df3d5
RM
221572010-07-05 Roland McGrath <roland@redhat.com>
22158
22159 * manual/arith.texi (Rounding Functions): Fix rint description
22160 implicit in round description.
22161
702e8f14
UD
221622010-07-02 Ulrich Drepper <drepper@redhat.com>
22163
22164 * elf/Makefile: Fix linking for a few tests to make recent linker
22165 happy.
22166
52ed8be9
AS
221672010-06-30 Andreas Schwab <schwab@redhat.com>
22168
22169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22170 $(common-objpfx)libc_nonshared.a.
22171
f47c9a11
LM
221722010-06-21 Luis Machado <luisgpm@br.ibm.com>
22173
22174 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22175 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22176 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22177 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22178 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22179 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22180 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22181 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22196 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22197 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22198 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22199 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22200 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22201 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22202 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22203 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22204 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22205 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22206 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22207 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22222
6fb8cbcb
L
222232010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22224
22225 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22226 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22227 * string/memmove.c (memmove): Renamed to ...
22228 (MEMMOVE): ...this. Default to memmove.
22229 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22230 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22231 (END_CHK): Define.
22232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22233 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22234 mempcpy-ssse3-back memmove-ssse3-back.
22235 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22236 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22238 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22239 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22240 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22241 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22242 * sysdeps/x86_64/multiarch/memmove.c: New file.
22243 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22244 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22245 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22246 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22247 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22248 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22249 Define.
22250 (index_Fast_Copy_Backward): Define.
22251 (HAS_ARCH_FEATURE): Define.
22252 (HAS_FAST_REP_STRING): Define.
22253 (HAS_FAST_COPY_BACKWARD): Define.
22254
4e733bac 222552010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22256
22257 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22258 Restore proper fallback handling.
22259
63c4ed22
UD
222602010-06-19 Ulrich Drepper <drepper@redhat.com>
22261
ac2b484c
UD
22262 [BZ #11701]
22263 * posix/group_member.c (__group_member): Correct checking loop.
22264
63c4ed22
UD
22265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22266 OOM in getpwuid_r correctly. Return error number when the caller
22267 should return, otherwise -1.
22268 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22269 call returning > 0 value.
22270 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22271
765ade4b
AS
222722010-06-07 Andreas Schwab <schwab@redhat.com>
22273
22274 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22275 libc_nonshared.a from targets in modules-names.
22276
80da2e09
KS
222772010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22278
22279 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22280 requires it.
22281
158db122
LM
222822010-06-10 Luis Machado <luisgpm@br.ibm.com>
22283
22284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22285 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22286 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22288
caa78cf8
AS
222892010-06-02 Andreas Schwab <schwab@redhat.com>
22290
22291 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22292
b2ef2c01
UD
222932010-06-14 Ulrich Drepper <drepper@redhat.com>
22294
22295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22296 and F_GETPIPE_SZ.
22297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22303
fbd643b6
RM
223042010-06-14 Roland McGrath <roland@redhat.com>
22305
22306 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22307
f32f2869
JJ
223082010-06-07 Jakub Jelinek <jakub@redhat.com>
22309
22310 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22311 __REDIRECT followed by __THROW.
22312 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22313 * posix/getopt.h (getopt): Likewise.
22314
2a50c078
EPM
223152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22316
22317 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22318 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22319 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22320 in AT_FLAGS.
22321 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22322 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22323
eb5ad2eb
LM
223242010-05-28 Luis Machado <luisgpm@br.ibm.com>
22325
22326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22327
3c88fe1e
L
223282010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 [BZ #11640]
22331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22332 Properly check family and model.
22333
d2f73151
TY
223342010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22335
22336 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22337
ebd2e13d
LM
223382010-05-24 Luis Machado <luisgpm@br.ibm.com>
22339
22340 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22341
b32b8b45
UD
223422010-05-21 Ulrich Drepper <drepper@redhat.com>
22343
22344 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22345 symbol reference.
22346
9acbe24d
AS
223472010-05-19 Andreas Schwab <schwab@redhat.com>
22348
22349 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22350 symbol reference.
22351
f0ccf6ea
AS
223522010-05-21 Andreas Schwab <schwab@redhat.com>
22353
3d04ff3a
AS
22354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22355 and internal_recvmmsg.
22356 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22357 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22358 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22359 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22360
f0ccf6ea
AS
22361 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22362 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22363 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22364
5b08ac57
AS
223652010-05-20 Andreas Schwab <schwab@redhat.com>
22366
22367 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22368
4828935d
LM
223692010-05-17 Luis Machado <luisgpm@br.ibm.com>
22370
22371 POWER7 optimizations.
22372 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22373 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22374
373d545e
UD
223752010-05-19 Ulrich Drepper <drepper@redhat.com>
22376
22377 * version.h: Update for 2.13 development version.
22378
21a2b1ae
AS
223792010-05-12 Andrew Stubbs <ams@codesourcery.com>
22380
22381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22382 exceptions. Return 0.
22383
3f7dcb2b
RM
223842010-05-07 Roland McGrath <roland@redhat.com>
22385
22386 * elf/ldconfig.c (main): Add a const.
22387
5f24d53a 223882010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22389
a160f8d8
UD
22390 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22391 (args_options): Add no-idn option.
22392 (ahosts_keys_int): Add idn_flags to ai_flags.
22393 (parse_option): Handle 'i' option to clear idn_flags.
22394
5f24d53a
UD
22395 * malloc/malloc.c (_int_free): Possible race in the most recently
22396 added check. Only act on the data if no current modification
22397 happened.
265bb1ce
UD
22398
22399See ChangeLog.17 for earlier changes.