]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix qsort_r namespace (bug 17571).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5a6fa4d7
JM
12014-11-12 Joseph Myers <joseph@codesourcery.com>
2
bef8fd60
JM
3 [BZ #17571]
4 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5 alias of __qsort_r.
6 (qsort): Call __qsort_r instead of qsort_r.
7 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8 (__qsort_r): Declare. Call libc_hidden_proto.
9 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10 instead of qsort_r.
11 * nscd/gai.c (__qsort_r): Define to qsort_r.
12 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
15
c52ff39e
JM
16 [BZ #17570]
17 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18 define as weak alias of __malloc_info.
19
2f5c1b00
JM
20 [BZ #17584]
21 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22 as weak alias of __rewinddir. Don't use libc_hidden_def.
23 (__rewinddir): Use libc_hidden_def.
24 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
25 as weak alias of __rewinddir. Don't use libc_hidden_def.
26 (__rewinddir): Use libc_hidden_def.
27 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28 weak alias of __rewinddir. Don't use libc_hidden_def.
29 (__rewinddir): Use libc_hidden_def.
30 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31 (__rewinddir): Use libc_hidden_proto.
32 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33 rewinddir.
34 (__getcwd): Use __rewinddir instead of rewinddir.
35
5a6fa4d7
JM
36 [BZ #17583]
37 * libio/fileno.c (fileno): Rename to __fileno and define as weak
38 alias of __fileno. Use libc_hidden_weak.
39 (__fileno): Use libc_hidden_def.
40 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41 * libio/ftello.c (ftello): Rename to __ftello and define as weak
42 alias of __ftello.
43 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44 __ftello.
45 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
46 (__fread_unlocked): Define as strong alias of _IO_fread. Use
47 libc_hidden_def.
48 (fread_unlocked): Don't use libc_hidden_ver.
49 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
50 and define as weak alias of __fread_unlocked. Don't use
51 libc_hidden_def.
52 (__fread_unlocked): Use libc_hidden_def.
53 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
54 (ftello): Don't use libc_hidden_proto.
55 (__ftello): Declare. Use libc_hidden_proto.
56 (fread_unlocked): Don't use libc_hidden_proto.
57 (__fread_unlocked): Declare. Use libc_hidden_proto.
58 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
59 and __ftello instead of fileno, fread_unlocked and ftello.
60
2581b98e
SP
612012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
62
63 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
64 GOT12.
65 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
66 Likewise.
67 (_dl_start_user): Likewise.
68 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
69
533bb7c2
SP
702014-11-12 Carlos O'Donell <carlos@redhat.com>
71 Siddhesh Poyarekar <siddhesh@redhat.com>
72
73 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
74 Move argv and envp down instead of moving argc up.
75 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
76
fffa1cf8
LH
772014-11-12 Leonhard Holz <leonhard.holz@web.de>
78
79 [BZ #17506]
80 * test-skeleton.c (main): Return successful if one of
81 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
82 * string/tst-strcoll-overflow.c: Define expected status.
83
fb89b46d
TU
842014-11-12 Tatiana Udalova <t.udalova@samsung.com>
85
86 [BZ #17475]
87 * locale/iso-639.def: Define Bhili and Tulu language codes.
88
5c40c3ba
AH
892014-11-11 Alan Hayward <alan.hayward@arm.com>
90
91 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
92
b17fe01b 932014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
94
95 [BZ #17555]
96 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
97
bd805071
AS
982014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
99
100 * configure.ac: Updated check of minimal required version to
101 2.22.
102 * manual/install.texi (Tools for Compilation): Updated version
103 number.
104 * configure: Regenerated.
105 * INSTALL: Likewise.
106
1400983e
AS
1072014-11-07 Andreas Schwab <schwab@linux-m68k.org>
108
109 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
110 __tls_get_addr.
111
2c46a66a
JM
1122014-11-07 Joseph Myers <joseph@codesourcery.com>
113
114 * include/sys/wait.h (__libc_waitpid): Remove declaration.
115 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
116 (__waitpid): Don't define as alias. Use libc_hidden_def not
117 libc_hidden_weak.
118 (waitpid): Define as alias of __waitpid.
119 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
120 __waitpid.
121 (__waitpid): Don't define as alias. Use libc_hidden_def not
122 libc_hidden_weak.
123 (waitpid): Define as alias of __waitpid.
124 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
125 __libc_waitpid alias.
126 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
127 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
128 Likewise.
129 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
130 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
131 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
132 alias.
133 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
134 __waitpid.
135 (__waitpid): Don't define as alias. Use libc_hidden_def not
136 libc_hidden_weak.
137 (waitpid): Define as alias of __waitpid.
138
da53d6db
CD
1392014-11-06 Carlos O'Donell <carlos@redhat.com>
140
a2887bdb
CD
141 * manual/llio.texi: Add comment that write safety has been
142 fixed in Linux.
143
da53d6db
CD
144 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
145 (localplt-build-dso): Add elf/ld.so.
146 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
147 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
148 and free for ld.so.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
150 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
152 Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
154 Likewise.
155 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
156 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
157 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
158 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
159 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
160 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
161 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
162 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
163 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
164 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
165 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
166
9cf27b8d
JM
1672014-11-05 Joseph Myers <joseph@codesourcery.com>
168
169 [BZ #14132]
170 * include/libc-symbols.h (INTUSE): Remove macro.
171 (INTDEF): Likewise.
172 (INTVARDEF): Likewise.
173 (_INTVARDEF): Likewise.
174 (INTDEF2): Likewise.
175 (INTVARDEF2): Likewise.
176 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
177 rtld_hidden_def instead of INTVARDEF.
178 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
179 (_dl_starting_up_internal): Remove declaration.
180 (_dl_starting_up): Use rtld_hidden_proto.
181 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
182 declaration.
183 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
184 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
185 _dl_starting_up.
186 * elf/dl-writev.h (_dl_writev): Likewise.
187 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
188 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
189 _dl_starting_up_internal.
190
af83568d
AZ
1912014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
194 test-skeleton.c.
195
b01ee67c
WN
1962014-11-05 Will Newton <will.newton@linaro.org>
197
198 * benchtests/Makefile: (bench-malloc): Add malloc thread
199 scalability benchmark.
200 * benchtests/bench-malloc-threads.c: New file.
201
be9d4ccc
RE
2022014-11-05 Richard Earnshaw <rearnsha@arm.com>
203
204 * sysdeps/aarch64/strchrnul.S: New file.
205
7110166d
AZ
2062014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
207
208 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
209 definition.
210 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
211 Likwise.
212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
213 Likewise.
214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
215 Likewise.
216 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
217 Likewise.
218 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
219 Likewise.
220
2212014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
222
223 * catgets/test-gencat.c: Use test-skeleton.c.
224 * catgets/tst-catgets.c: Likewise.
225 * csu/tst-empty.c: Likewise.
226 * elf/tst-audit2.c: Likewise.
227 * elf/tst-global1.c: Likewise.
228 * elf/tst-pathopt.c: Likewise.
229 * elf/tst-piemod1.c: Likewise.
230 * elf/tst-tls10.c: Likewise.
231 * elf/tst-tls11.c: Likewise.
232 * elf/tst-tls12.c: Likewise.
233 * gnulib/tst-gcc.c: Likewise.
234 * iconvdata/tst-e2big.c: Likewise.
235 * iconvdata/tst-loading.c: Likewise.
236 * iconv/tst-iconv1.c: Likewise.
237 * iconv/tst-iconv2.c: Likewise.
238 * inet/test-inet6_opt.c: Likewise.
239 * inet/tst-gethnm.c: Likewise.
240 * inet/tst-network.c: Likewise.
241 * inet/tst-ntoa.c: Likewise.
242 * intl/tst-codeset.c: Likewise.
243 * intl/tst-gettext2.c: Likewise.
244 * intl/tst-gettext3.c: Likewise.
245 * intl/tst-ngettext.c: Likewise.
246 * intl/tst-translit.c: Likewise.
247 * io/test-stat.c: Likewise.
248 * libio/test-fmemopen.c: Likewise.
249 * libio/tst-freopen.c: Likewise.
250 * libio/tst-sscanf.c: Likewise.
251 * libio/tst-ungetwc1.c: Likewise.
252 * libio/tst-ungetwc2.c: Likewise.
253 * libio/tst-widetext.c: Likewise.
254 * localedata/tst-ctype.c: Likewise.
255 * localedata/tst-digits.c: Likewise.
256 * localedata/tst-leaks.c: Likewise.
257 * localedata/tst-mbswcs1.c: Likewise.
258 * localedata/tst-mbswcs2.c: Likewise.
259 * localedata/tst-mbswcs3.c: Likewise.
260 * localedata/tst-mbswcs4.c: Likewise.
261 * localedata/tst-mbswcs5.c: Likewise.
262 * localedata/tst-setlocale.c: Likewise.
263 * localedata/tst-trans.c: Likewise.
264 * localedata/tst-wctype.c: Likewise.
265 * localedata/tst-xlocale1.c: Likewise.
266 * login/tst-grantpt.c: Likewise.
267 * malloc/tst-calloc.c: Likewise.
268 * malloc/tst-malloc.c: Likewise.
269 * malloc/tst-mallocstate.c: Likewise.
270 * malloc/tst-mcheck.c: Likewise.
271 * malloc/tst-mtrace.c: Likewise.
272 * malloc/tst-obstack.c: Likewise.
273 * math/atest-exp2.c: Likewise.
274 * math/atest-exp.c: Likewise.
275 * math/atest-sincos.c: Likewise.
276 * math/test-matherr.c: Likewise.
277 * math/test-misc.c: Likewise.
278 * math/test-powl.c: Likewise.
279 * math/tst-definitions.c: Likewise.
280 * misc/tst-dirname.c: Likewise.
281 * misc/tst-efgcvt.c: Likewise.
282 * misc/tst-fdset.c: Likewise.
283 * misc/tst-hsearch.c: Likewise.
284 * misc/tst-mntent2.c: Likewise.
285 * nptl/tst-sem7.c: Likewise.
286 * nptl/tst-sem8.c: Likewise.
287 * nptl/tst-sem9.c: Likewise.
288 * nss/test-netdb.c: Likewise.
289 * posix/tst-fnmatch.c: Likewise.
290 * posix/tst-getlogin.c: Likewise.
291 * posix/tst-gnuglob.c: Likewise.
292 * posix/tst-mmap.c: Likewise.
293 * pwd/tst-getpw.c: Likewise.
294 * resolv/tst-inet_ntop.c: Likewise.
295 * rt/tst-timer.c: Likewise.
296 * stdio-common/test-fseek.c: Likewise.
297 * stdio-common/test-popen.c: Likewise.
298 * stdio-common/test-vfprintf.c: Likewise.
299 * stdio-common/tst-cookie.c: Likewise.
300 * stdio-common/tst-fileno.c: Likewise.
301 * stdio-common/tst-gets.c: Likewise.
302 * stdio-common/tst-obprintf.c: Likewise.
303 * stdio-common/tst-perror.c: Likewise.
304 * stdio-common/tst-sprintf2.c: Likewise.
305 * stdio-common/tst-sprintf3.c: Likewise.
306 * stdio-common/tst-sprintf.c: Likewise.
307 * stdio-common/tst-swprintf.c: Likewise.
308 * stdio-common/tst-tmpnam.c: Likewise.
309 * stdio-common/tst-unbputc.c: Likewise.
310 * stdio-common/tst-wc-printf.c: Likewise.
311 * stdlib/tst-environ.c: Likewise.
312 * stdlib/tst-fmtmsg.c: Likewise.
313 * stdlib/tst-limits.c: Likewise.
314 * stdlib/tst-rand48-2.c: Likewise.
315 * stdlib/tst-rand48.c: Likewise.
316 * stdlib/tst-random2.c: Likewise.
317 * stdlib/tst-random.c: Likewise.
318 * stdlib/tst-strtol.c: Likewise.
319 * stdlib/tst-strtoll.c: Likewise.
320 * stdlib/tst-tls-atexit.c: Likewise.
321 * stdlib/tst-xpg-basename.c: Likewise.
322 * string/test-ffs.c: Likewise.
323 * string/tst-bswap.c: Likewise.
324 * string/tst-inlcall.c: Likewise.
325 * string/tst-strtok.c: Likewise.
326 * string/tst-strxfrm.c: Likewise.
327 * sysdeps/x86_64/tst-audit10.c: Likewise.
328 * sysdeps/x86_64/tst-audit3.c: Likewise.
329 * sysdeps/x86_64/tst-audit4.c: Likewise.
330 * sysdeps/x86_64/tst-audit5.c: Likewise.
331 * time/tst-ftime_l.c: Likewise.
332 * time/tst-getdate.c: Likewise.
333 * time/tst-mktime3.c: Likewise.
334 * time/tst-mktime.c: Likewise.
335 * time/tst-posixtz.c: Likewise.
336 * time/tst-strptime2.c: Likewise.
337 * time/tst-strptime3.c: Likewise.
338 * wcsmbs/tst-btowc.c: Likewise.
339 * wcsmbs/tst-mbrtowc.c: Likewise.
340 * wcsmbs/tst-mbsrtowcs.c: Likewise.
341 * wcsmbs/tst-wchar-h.c: Likewise.
342 * wcsmbs/tst-wcpncpy.c: Likewise.
343 * wcsmbs/tst-wcrtomb.c: Likewise.
344 * wcsmbs/tst-wcsnlen.c: Likewise.
345 * wcsmbs/tst-wcstof.c: Likewise.
346
2004e7fb
JM
3472014-11-04 Joseph Myers <joseph@codesourcery.com>
348
ab97ee8f
JM
349 [BZ #14132]
350 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
351 INTDEF.
352 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
353 declaration.
354 (_dl_mcount): Use rtld_hidden_proto.
355 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
356 _dl_mcount.
357 * elf/rtld.c (_rtld_global_ro): Likewise.
358
c5684fdb
JM
359 [BZ #14132]
360 * elf/dl-init.c (_dl_init): Don't use INTDEF.
361 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
362 of _dl_init_internal.
363 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
364 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
365 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
366 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
367 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
368 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
369 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
370 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
371 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
372 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
373 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
374 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
375 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
376 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
377 * sysdeps/tile/dl-start.S (_start): Likewise.
378 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
379 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
380
4243cbea
JM
381 [BZ #14132]
382 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
383 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
384 (rtld_progname): Make macro definition unconditional.
385 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
386 INTDEF.
387 (dlmopen_doit): Do not use INTUSE with _dl_argv.
388 (dl_main): Likewise.
389 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
390 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
391 instead of _dl_argv_internal.
392 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
393 __GI__dl_argv instead of INTUSE(_dl_argv).
394 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
395 __GI__dl_argv instead of _dl_argv_internal.
396
2004e7fb
JM
397 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
398 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
399 macro.
400 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
401 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
402 New macro.
403 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
404 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
405 macro.
406 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
407 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
408
97827bfc
AS
4092014-11-04 Andreas Schwab <schwab@suse.de>
410
411 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
412
5e4df284
AZ
4132014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
416 mtvsrd instruction in binary form.
417
04b76b5a
AS
4182014-11-03 Andreas Schwab <schwab@suse.de>
419
420 [BZ #17522]
421 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
422 for less than MB_LEN_MAX use a local buffer of that size.
423 * libio/tst-fputws.c: New file.
424 * libio/Makefile (tests): Add tst-fputws.
425
4c6da7da
JM
4262014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
427
428 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
429 the size of the fpu_fr.fpu_dregs[] array.
430
1679ba8e
JM
4312014-11-01 Joseph Myers <joseph@codesourcery.com>
432
433 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
434 (__nanosleep): Do not define as alias.
435 (nanosleep): Define as alias of __nanosleep.
436 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
437 __libc_nanosleep name.
438
2626c183
JM
4392014-10-31 Joseph Myers <joseph@codesourcery.com>
440
441 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
442 install.texi in comment.
443
7f981fc2
TR
4442014-10-31 Torvald Riegel <triegel@redhat.com>
445
446 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
447 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
448 ... add here and use lwsync or sync ...
449 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
450 ... and add here using lwsync.
451
d6f373d2
MF
4522014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
453
454 * elf/dl-machine-reject-phdr.h: New file.
455 * elf/dl-load.c: #include that.
456 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
457 if that returned true.
458
67c37987
RM
4592014-10-31 Roland McGrath <roland@hack.frob.com>
460
461 [BZ #17496]
462 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
463 gen-as-const-headers chunk. Add a big scare comment after the last
464 safe place to touch before-compile.
465
94a42455 4662014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 467
f3f5d895
JM
468 * manual/install.texi (Tools for Compilation): Update autoconf
469 version requirements.
470 * INSTALL: Regenerated.
471
f62ff286
JM
472 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
473 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
474 (__libc_pselect): Likewise.
94a42455
JM
475
476 [BZ #14138]
477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
481
ff9dbdc0
TR
4822014-10-31 Torvald Riegel <triegel@redhat.com>
483
484 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
485 correct barrier instruction.
486 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
487 Likewise.
488 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
489 Likewise.
490
b4f66884
RM
4912014-10-30 Roland McGrath <roland@hack.frob.com>
492
493 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
494 after defining inlines. Instead, just use parens to defeat macro
495 expansion of __isctype in its declaration.
496
e19c95fd
JM
4972014-10-30 Joseph Myers <joseph@codesourcery.com>
498
499 * include/sys/uio.h (__libc_readv): Remove declaration.
500 (__libc_writev): Likewise.
501 * misc/readv.c (__libc_readv): Rename to __readv.
502 (__readv): Do not define as alias.
503 (readv): Define as alias of __readv.
504 * misc/writev.c (__libc_writev): Rename to __writev.
505 (__writev): Do not define as alias.
506 (writev): Define as alias of __writev.
507 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
508 (__readv): Do not define as alias.
509 (readv): Define unconditionally as alias of __readv.
510 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
511 (__writev): Do not define as alias.
512 (writev): Define unconditionally as alias of __writev.
513 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
514 name.
515 (writev): Do not define __libc_writev name.
516
65b00b6c
RM
5172014-10-30 Roland McGrath <roland@hack.frob.com>
518
519 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
520 (convert_charseq): New function, broken out of ...
521 (use_from_charmap): ... here. Call it.
522 (use_to_charmap): Use convert_charseq and free instead of duplicating
523 its code with a variable-length stack struct.
524
d4e157aa
JM
5252014-10-30 Joseph Myers <joseph@codesourcery.com>
526
527 * include/fcntl.h (__libc_creat): Remove declaration.
528 * io/creat.c (__libc_creat): Rename to creat.
529 (creat): Do not define as alias.
530 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
531 of creat instead of __libc_creat.
532 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
533 to creat.
534 (creat): Do not define as alias.
535 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
536 __libc_creat.
537 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
538 __libc_creat name.
539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
540 Likewise.
541
0c6891a0
CD
5422014-10-29 Carlos O'Donell <carlos@redhat.com>
543
544 * manual/llio.texi: Add comments discussing why write() may be
545 considered MT-unsafe on Linux.
546
cc00cece
CD
5472014-10-28 Carlos O'Donell <carlos@redhat.com>
548
549 * dl-load.c (local_strdup): Remove.
550 (expand_dynamic_string_token): Use __strdup.
551 (decompose_rpath): Likewise.
552 (_dl_map_object): Likewise.
553
51e623f2
JM
5542014-10-28 Joseph Myers <joseph@codesourcery.com>
555
556 [BZ #14132]
557 * sysdeps/generic/unwind-dw2-fde.c
558 (__register_frame_info_bases_internal): Do not declare.
559 (__register_frame_info_table_bases_internal): Likewise.
560 (__deregister_frame_info_bases_internal): Likewise.
561 (__register_frame_info_bases): Declare and use hidden_proto before
562 definition. Use hidden_def instead of INTDEF.
563 (__register_frame_info_table_bases): Likewise.
564 (__deregister_frame_info_bases): Likewise.
565 (__register_frame_info): Do not use INTUSE.
566 (__register_frame): Likewise.
567 (__register_frame_info_table): Likewise.
568 (__register_frame_table): Likewise.
569 (__deregister_frame_info): Likewise.
570 (__deregister_frame): Likewise.
571
03d41216
GC
5722014-10-27 Gratian Crisan <gratian.crisan@ni.com>
573
574 * sysdeps/unix/sysv/linux/arm/kernel-features.h
575 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
576 not undefine.
577 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
578 Likewise.
579 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
580 Likewise.
581
a4b3624d
JM
5822014-10-27 Joseph Myers <joseph@codesourcery.com>
583
584 [BZ #14138]
585 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
586 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
587 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
588 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
589 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
590 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
591 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
592 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
593 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
594 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
595 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
596 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
597 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
598 syscall.
599 (setfsuid): Likewise.
600 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
601 (setfsuid): Likewise.
602 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
603 (setfsuid): Likewise.
604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
605 Likewise.
606 (setfsuid): Likewise.
607 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
608 (setfsuid): Likewise.
609 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
610 Likewise.
611 (setfsuid): Likewise.
612
3574f2fd
AS
6132014-10-27 Andreas Schwab <schwab@suse.de>
614
615 [BZ #17501]
616 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
617 check for Slow_SSE4_2 feature bit.
618 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
619 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
620 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
621 Likewise. Fix check for Fast_Unaligned_Load feature bit.
622
70996a37
RM
6232014-10-24 Roland McGrath <roland@hack.frob.com>
624
461a7b1e
RM
625 * configure.ac: Validate compiler version with a empirical test of
626 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
627 $CC -v output.
628 * configure: Regenerated.
629
70996a37
RM
630 * inet/htons.c (htons): Prototypify.
631 * inet/htonl.c (htonl): Likewise.
632
e80514b5
WD
6332014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
634
635 * string/strncat.c (strncat): Improve performance by using strlen.
636
6e46de42
WD
6372014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
638
639 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
640
6a9ad2fa
WD
6412014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
642
643 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
644 Call libc_fetestexcept_aarch64.
645
1c8810ed
WD
6462014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
647
648 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
649 Call libc_feholdexcept_aarch64.
650
8b1af712
WD
6512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
652
653 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
654 Call get_rounding_mode.
655
a7b00c11
WD
6562014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
657
658 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
659 Simplify logic.
660
3a84f1a6
WD
6612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
662
663 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
664 Simplify logic.
665
48eb7a94
JM
6662014-10-24 Joseph Myers <joseph@codesourcery.com>
667
c8bc4038
JM
668 [BZ #14138]
669 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
670 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
671 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
672 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
673 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
674 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
675 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
676 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
677 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
678 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
679 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
680 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
681 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
682 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
684 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
685 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
686 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
687 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
688 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
689 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
690 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
691 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
692 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
693 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
694 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
695 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
696 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
697 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
698 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
699 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
700 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
701 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
702 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
703 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
705 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
706 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
707 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
709 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
710 syscall.
711 (geteuid): Likewise.
712 (getgid): Likewise.
713 (getuid): Likewise.
714 (getresgid): Likewise.
715 (getresuid): Likewise.
716 (getgroups): Likewise.
717 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
718 (geteuid): Likewise.
719 (getgid): Likewise.
720 (getuid): Likewise.
721 (getresgid): Likewise.
722 (getresuid): Likewise.
723 (getgroups): Likewise.
724 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
725 (geteuid): Likewise.
726 (getgid): Likewise.
727 (getuid): Likewise.
728 (getresgid): Likewise.
729 (getresuid): Likewise.
730 (getgroups): Likewise.
731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
732 Likewise.
733 (geteuid): Likewise.
734 (getgid): Likewise.
735 (getuid): Likewise.
736 (getresgid): Likewise.
737 (getresuid): Likewise.
738 (getgroups): Likewise.
739 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
740 (geteuid): Likewise.
741 (getgid): Likewise.
742 (getuid): Likewise.
743 (getresgid): Likewise.
744 (getresuid): Likewise.
745 (getgroups): Likewise.
746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
747 Likewise.
748 (geteuid): Likewise.
749 (getgid): Likewise.
750 (getuid): Likewise.
751 (getgroups): Likewise.
752
48eb7a94
JM
753 [BZ #14138]
754 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
755 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
756 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
758 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
759 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
760 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
761 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
762 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
763 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
766 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
767 __chown.
768 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
769 (lchown): Likewise.
770 (fchown): Likewise.
771 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
772 Likewise.
773 (lchown): Likewise.
774 (fchown): Likewise.
775 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
776 (lchown): Likewise.
777 (fchown): Likewise.
778 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
779 Likewise.
780 (lchown): Likewise.
781 (fchown): Likewise.
782
ea9a7c8b
WD
7832014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
784
785 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
786 Simplify logic.
787
e226de33
WD
7882014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
789
790 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
791 Cleanup logic.
792
6e3d8ed3
WD
7932014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
794
795 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
796 Remove unused include.
797
eb04247d
WD
7982014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
799
800 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
801 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
802 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
803 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
804
13d84554
CD
8052014-10-23 Carlos O'Donell <carlos@systemhalted.org>
806 Helge Deller <deller@gmx.de>
807
808 [BZ #17508]
809 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
810 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
811 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
812
15f9c5df
JM
8132014-10-23 Joseph Myers <joseph@codesourcery.com>
814
815 [BZ #14132]
816 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
817 Remove macro definition.
818 (__ashrdi3_v_glibc20): Likewise.
819 (__lshrdi3_v_glibc20): Likewise.
820 (__cmpdi2_v_glibc20): Likewise.
821 (__ucmpdi2_v_glibc20): Likewise.
822 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
823 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
824 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
825 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
826 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
827 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
828
c6dfed24
RM
8292014-10-22 Roland McGrath <roland@hack.frob.com>
830
831 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
832 old GNU extension [0] syntax.
833 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
834 alloca rather than an array member with variable length.
835 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
836 * nscd/nscd.c (invalidate_db): New function, broken out of ...
837 (parse_opt): ... here. Likewise use alloca there.
838 Validate the -i argument before checking for rootness.
839 (send_shutdown): New function, broken out of ...
840 (parse_opt): ... here.
841
8c2b1ed8
RM
8422014-10-22 Roland McGrath <roland@hack.frob.com>
843
844 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
845 macro to get at the _rt_local_ro field.
846 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
847 ([PIC] case) or _dl_hwcap ([!PIC] case).
848 * sysdeps/arm/setjmp.S: Likewise.
849
850 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
851 * sysdeps/arm/configure.ac: New check to define it.
852 * sysdeps/arm/configure: Regenerated.
853 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
854 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
855 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
856 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
857 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
858 Use move/movt pair instead of a load.
859 (LDST_GLOBAL): Macro removed.
860 (LDR_GLOBAL): New macro replaces it.
861 (LDR_HIDDEN): New macro.
862 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
863 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
864
865 * setjmp/tst-setjmp-static.c: New file.
866 * setjmp/Makefile (tests): Add it.
867 (tests-static): New variable.
868
b5af9297
MR
8692014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
870
871 [BZ #17485]
872 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
873
a13d0d74
JM
8742014-10-21 Joseph Myers <joseph@codesourcery.com>
875
876 [BZ #14132]
877 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
878
f05e73f6
RM
8792014-10-21 Roland McGrath <roland@hack.frob.com>
880
881 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
882
6ab1d1ea
RM
8832014-10-20 Roland McGrath <roland@hack.frob.com>
884
885 * io/fts.c (dirent_not_directory): New function.
886 (fts_build): Call it.
887
ab49e763
RM
8882014-10-20 Roland McGrath <roland@hack.frob.com>
889
e436eb79
RM
890 * nptl/version.c (__nptl_main): Use normal __write rather than
891 INTERNAL_SYSCALL.
892 (banner): Update copyright years.
893
6af246cf
RM
894 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
895 gettimeofday.
896 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
897 * nptl/pthread_cond_timedwait.c: Likewise.
898 * nptl/pthread_mutex_timedlock.c: Likewise.
899 * nptl/sem_timedwait.c: Likewise.
900
ab49e763
RM
901 * sysdeps/nptl/bits/libc-lock.h
902 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
903 (__libc_lock_init_recursive): Return void, not 0.
904 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
905 (__libc_rwlock_init): Likewise.
906 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
907
f50277c1
TR
9082014-10-20 Torvald Riegel <triegel@redhat.com>
909
910 [BZ #15215]
911 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
912 (__pthread_once_slow): ... here.
913 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
914 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
915
63668b70
TR
9162014-10-20 Torvald Riegel <triegel@redhat.com>
917
918 [BZ #15215]
919 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
920 __PTHREAD_ONCE_FORK_GEN_INCR): New.
921 * sysdeps/nptl/fork.c (__libc_fork): Use them.
922 * nptl/pthread_once.c (__pthread_once): Likewise.
923 Update comments.
924
42b7f5d4
JM
9252014-10-20 Joseph Myers <joseph@codesourcery.com>
926
927 [BZ #14138]
928 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
929 name.
930 (writev): Use __libc_writev as strong name.
931 * sysdeps/unix/sysv/linux/readv.c: Remove file.
932 * sysdeps/unix/sysv/linux/writev.c: Likewise.
933
b0643088
RM
9342014-10-17 Roland McGrath <roland@hack.frob.com>
935
114c4e09
RM
936 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
937
674b8978
RM
938 * sysdeps/i386/nptl/tls.h
939 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
940 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
941 New macros.
942 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
943 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
944 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
945 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
946 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
947 Call CHECK_THREAD_SYSINFO instead of doing an assert.
948
184ee940
RM
949 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
950 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
951 on [__NR_futex].
952 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
953 broken out of ...
954 (__pthread_mutex_init): ... here. Call it.
955 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
956 Conditionalize PI cases on [__NR_futex].
957 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
958 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
959 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
960
327ae257
RM
961 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
962 conditional on [SIGSETXID].
963 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
964 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
965 is defined. Likewise for SIGSETXID.
966 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
967 Conditionalize definitions on [SIGSETXID].
968 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
969 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
970 unblocking on [SIGCANCEL].
971
b0643088
RM
972 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
973 [__NR_set_robust_list].
974
33cc770b
SP
9752014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
976
977 * string/strcoll_l.c (get_next_seq): Fix up formatting.
978 (do_compare): Likewise.
979
0742aef6
LH
9802014-10-17 Leonhard Holz <leonhard.holz@web.de>
981
982 [BZ #15884]
983 * string/strcoll_l.c: Don't include stdio.h.
984 (coll_seq): Remove members idxarr and rulearr.
985 (get_next_seq_cached): Remove function.
986 (get_next_seq): Likewise.
987 (get_next_seq_nocache): Rename to get_next_seq.
988 (do_compare): Remove function.
989 (do_compare_nocache): Rename to do_compare.
990 (STRCOLL): Remove weight and rules cache.
991
ee54ce44
RM
9922014-10-16 Roland McGrath <roland@hack.frob.com>
993
994 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
995 * sysdeps/arm/sfp-machine.h: ... to here.
996 * sysdeps/arm/Implies: Remove arm/soft-fp.
997
a75d3b02
JM
9982014-10-14 Joseph Myers <joseph@codesourcery.com>
999
1000 * conform/data/sys/utsname.h-data (*_t): Allow.
1001 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1002 [POSIX] (WEXITED): Do not expect constant.
1003 [POSIX] (WSTOPPED): Likewise.
1004 [POSIX] (WNOHANG): Likewise.
1005 [POSIX] (WNOWAIT): Likewise.
1006 [POSIX] (siginfo_t): Do not expect type or elements.
1007 [POSIX] (pid_t): Do not expect type.
1008 [POSIX] (signal.h): Do not allow header.
1009 [POSIX] (sys/resource.h): Likewise.
1010 [POSIX] (si_*): Do not allow pattern.
1011 [POSIX] (W*): Likewise.
1012 [POSIX] (P_*): Likewise.
1013 [POSIX] (BUS_*): Likewise.
1014 [POSIX] (CLD_*): Likewise.
1015 [POSIX] (FPE_*): Likewise.
1016 [POSIX] (ILL_*): Likewise.
1017 [POSIX] (POLL_*): Likewise.
1018 [POSIX] (SEGV_*): Likewise.
1019 [POSIX] (SI_*): Likewise.
1020 [POSIX] (TRAP_*): Likewise.
1021 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1022 variable.
1023
fda389c8
SP
10242014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1025
1026 [BZ #12926]
1027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1028 infinite loop when __recvmsg returns 0.
1029
6bc6bd3b
JM
10302014-10-10 Joseph Myers <joseph@codesourcery.com>
1031
fcb32af1
JM
1032 * CANCEL-FCT-WAIVE: Remove file.
1033 * CANCEL-FILE-WAIVE: Likewise.
1034
6bc6bd3b
JM
1035 [BZ #14132]
1036 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1037 instead of INTVARDEF.
1038 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1039 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1040 rtld_hidden_data_def instead of INTVARDEF.
1041 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1042 * elf/dl-deps.c (expand_dst): Likewise.
1043 * elf/dl-load.c (_dl_dst_count): Likewise.
1044 (_dl_dst_substitute): Likewise.
1045 (decompose_rpath): Likewise.
1046 (_dl_init_paths): Likewise.
1047 (open_path): Likewise.
1048 (_dl_map_object): Likewise.
1049 * elf/rtld.c (dl_main): Likewise.
1050 (process_dl_audit): Likewise.
1051 (process_envvars): Likewise.
1052 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1053 Remove declaration.
1054 (__libc_enable_secure): Use rtld_hidden_proto.
1055
b8c80a7e
KS
10562014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1057
1058 * elf/dl-load.c
1059 (add_path): New function broken out of _dl_rtld_di_serinfo.
1060 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1061
ff12c11f
JM
10622014-10-09 Joseph Myers <joseph@codesourcery.com>
1063
5c0508a3
JM
1064 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1065 parentheses around macro arguments.
1066 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1067 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1068 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1069 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1070 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1071 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1072 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1073 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1074 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1075 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1076 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1077 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1078 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1079 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1080 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1081 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1082 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1083 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1084 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1085 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1086 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1087 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1088 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1089 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1090 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1091 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1092 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1093 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1094 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1095 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1096 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1097 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1098 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1099 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1100 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1101 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1102 Likewise.
1103 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1104 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1105 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1107 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1108 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1109 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1110 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1111 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1112 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1113 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1114 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1115 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1116 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1117 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1118 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1120 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1121 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1124 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1125 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1126 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1127 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1129 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1130 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1131 (_FP_FRAC_SRS_1): Likewise.
1132 (_FP_FRAC_CLZ_1): Likewise.
1133 (_FP_MUL_MEAT_1_imm): Likewise.
1134 (_FP_MUL_MEAT_1_wide): Likewise.
1135 (_FP_MUL_MEAT_1_hard): Likewise.
1136 (_FP_SQRT_MEAT_1): Likewise.
1137 (_FP_FRAC_ASSEMBLE_1): Likewise.
1138 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1139 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1140 (__FP_CLZ_2): Likewise.
1141 (_FP_MUL_MEAT_2_wide): Likewise.
1142 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1143 (_FP_MUL_MEAT_2_gmp): Likewise.
1144 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1145 (_FP_SQRT_MEAT_2): Likewise.
1146 (_FP_FRAC_ASSEMBLE_2): Likewise.
1147 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1148 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1149 (_FP_FRAC_CLZ_4): Likewise.
1150 (_FP_MUL_MEAT_4_wide): Likewise.
1151 (_FP_MUL_MEAT_4_gmp): Likewise.
1152 (_FP_SQRT_MEAT_4): Likewise.
1153 (_FP_FRAC_ASSEMBLE_4): Likewise.
1154 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1155 * soft-fp/op-common.h (_FP_CMP): Likewise.
1156 (_FP_CMP_EQ): Likewise.
1157 (_FP_CMP_UNORD): Likewise.
1158 (_FP_TO_INT): Likewise.
1159 (_FP_FROM_INT): Likewise.
1160 [!__FP_CLZ] (__FP_CLZ): Likewise.
1161 (_FP_DIV_HELP_imm): Likewise.
1162 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1163 Likewise.
1164 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1165 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1166 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1167 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1168 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1169 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1170 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1171 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1172 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1173 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1174 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1175 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1176 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1177 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1178 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1179 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1180 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1181 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1182 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1183 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1185 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1186 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1187 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1188 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1189 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1190 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1191 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1192 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1193 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1194 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1195 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1196 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1197 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1198 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1199 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1200 (FP_UNPACK_RAW_SP): Likewise.
1201 (FP_PACK_RAW_S): Likewise.
1202 (FP_PACK_RAW_SP): Likewise.
1203 (FP_UNPACK_S): Likewise.
1204 (FP_UNPACK_SP): Likewise.
1205 (FP_UNPACK_SEMIRAW_S): Likewise.
1206 (FP_UNPACK_SEMIRAW_SP): Likewise.
1207 (FP_PACK_S): Likewise.
1208 (FP_PACK_SP): Likewise.
1209 (FP_PACK_SEMIRAW_S): Likewise.
1210 (FP_PACK_SEMIRAW_SP): Likewise.
1211 (_FP_SQRT_MEAT_S): Likewise.
1212 (FP_CMP_S): Likewise.
1213 (FP_CMP_EQ_S): Likewise.
1214 (FP_CMP_UNORD_S): Likewise.
1215 (FP_TO_INT_S): Likewise.
1216 (FP_FROM_INT_S): Likewise.
1217
a736ec37
JM
1218 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1219
ff12c11f
JM
1220 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1221 (FP_EX_INVALID_IMZ): Likewise.
1222 (FP_EX_INVALID_IMZ_FMA): Likewise.
1223 (FP_EX_INVALID_ISI): Likewise.
1224 (FP_EX_INVALID_ZDZ): Likewise.
1225 (FP_EX_INVALID_IDI): Likewise.
1226 (FP_EX_INVALID_SQRT): Likewise.
1227 (FP_EX_INVALID_CVI): Likewise.
1228 (FP_EX_INVALID_VC): Likewise.
1229 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1230 "invalid" exceptions.
1231 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1232 (_FP_ADD_INTERNAL): Likewise.
1233 (_FP_MUL): Likewise.
1234 (_FP_FMA): Likewise.
1235 (_FP_DIV): Likewise.
1236 (_FP_CMP_CHECK_NAN): Likewise.
1237 (_FP_SQRT): Likewise.
1238 (_FP_TO_INT): Likewise.
1239 (FP_EXTEND): Likewise.
1240
b6dcfe8c
AM
12412014-10-09 Allan McRae <allan@archlinux.org>
1242
1243 * po/fr.po: Update French translation from translation project.
1244
2d6a47ba
JM
12452014-10-09 Joseph Myers <joseph@codesourcery.com>
1246
cb831245
JM
1247 [BZ #14132]
1248 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1249 of INTDEF.
1250 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1251 (__cxa_atexit): Use libc_hidden_proto.
1252 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1253
5deeb190
JM
1254 [BZ #14132]
1255 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1256 declaration.
1257 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1258 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1259 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1260 [!_ISOMAC] (__iswctype_internal): Likewise.
1261 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1262 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1263 alias.
1264 (fcntl): Remove __fcntl_internal alias.
1265 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1266 __connect_internal alias.
1267 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1268 Likewise.
1269
454ac701
JM
1270 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1271 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1272 FP_DENORM_ZERO.
1273 (_FP_CHECK_FLUSH_ZERO): New macro.
1274 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1275 (_FP_CMP): Likewise.
1276 (_FP_CMP_EQ): Likewise.
1277 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1278 FP_DENORM_ZERO.
1279 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1280 (FP_TRUNC): Likewise.
1281
0022e688
JM
1282 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1283 treated as invalid conversion, not as normal exponent.
1284
73e28d9c
JM
1285 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1286 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1287 (_FP_CMP_EQ): Likewise.
1288 (_FP_CMP_UNORD): Likewise.
1289 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1290 (FP_CMP_EQ_D): Likewise.
1291 (FP_CMP_UNORD_D): Likewise.
1292 * soft-fp/extended.h (FP_CMP_E): Likewise.
1293 (FP_CMP_EQ_E): Likewise.
1294 (FP_CMP_UNORD_E): Likewise.
1295 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1296 (FP_CMP_EQ_Q): Likewise.
1297 (FP_CMP_UNORD_Q): Likewise.
1298 * soft-fp/single.h (FP_CMP_S): Likewise.
1299 (FP_CMP_EQ_S): Likewise.
1300 (FP_CMP_UNORD_S): Likewise.
1301 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1302 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1303 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1304 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1305 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1306 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1307 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1308 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1309 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1310 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1311 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1312 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1313 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1314 to FP_CMP_Q.
1315 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1316 FP_CMP_Q.
1317 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1318 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1319 FP_CMP_EQ_Q.
1320 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1321 FP_CMP_Q.
1322 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1323 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1324 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1325 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1326 FP_CMP_EQ_Q.
1327 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1328 FP_CMP_Q.
1329 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1330 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1331 FP_CMP_EQ_Q.
1332 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1333 FP_CMP_Q.
1334 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1335 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1336 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1337 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1338 FP_CMP_EQ_Q.
1339
43059f42
JM
1340 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1341 a subnormal result, set the underflow exception if trapping on
1342 underflow is enabled.
1343 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1344 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1345 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1346 redefine to 0.
1347 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1348 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1349 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1350 * soft-fp/extendxftf2.c (__extendxftf2): Use
1351 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1352
2d6a47ba
JM
1353 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1354 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1355 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1356 FP_HANDLE_EXCEPTIONS.
1357 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1358 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1359 FP_HANDLE_EXCEPTIONS.
1360 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1361 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1362 FP_HANDLE_EXCEPTIONS.
1363 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1364 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1365 FP_HANDLE_EXCEPTIONS.
1366
620f462e
JM
13672014-10-08 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #14132]
1370 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1371 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1372 use INTUSE.
1373 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1374 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1375 Remove alias.
1376 (__adjtimex): Define using libc_hidden_ver.
1377 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1378 Remove declaration.
1379 (ntp_gettime): Call __adjtimex directly.
1380 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1381 Remove declaration.
1382 (ntp_gettimex): Call __adjtimex directly.
1383 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1384 __adjtimex_internal alias.
1385
c763c5d2
RM
13862014-10-08 Roland McGrath <roland@hack.frob.com>
1387
1388 [BZ #17460]
1389 * nscd/nscd.c (more_help): Rewrite list of tables collection
1390 using xstrdup and asprintf.
1391
1392 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1393
7b8fb2b8
RM
13942014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1395 Roland McGrath <roland@hack.frob.com>
1396
1397 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1398 (do_lookup_unique): ... local function 'enter' here; update callers.
1399
abb280f7
JM
14002014-10-06 Joseph Myers <joseph@codesourcery.com>
1401
f7b42517
JM
1402 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1403 compat_symbol calls on [SHARED].
1404 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1405 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1406 Remove.
1407 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1408 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1409 (oldsetrlimit): Remove.
1410 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1412 (lchown): New syscall entry.
1413 (oldsetrlimit): Remove.
1414 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1416 (oldsetrlimit): Remove.
1417 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1418
abb280f7
JM
1419 [BZ #14138]
1420 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1421 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1422 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1423 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1425 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1426 (fchown): Likewise.
1427 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1428 (fchown): Likewise.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1430 Likewise.
1431
47d46237
AZ
14322014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433
1434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1435 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1436 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1437 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1438 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1439 Likewise.
1440 (__old_sem_post): Likewise.
1441
14422014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1443
845a7343
CM
1444 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1445 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1446 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1447 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1448 Use INLINE_VSYSCALL macro.
1449 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1450 __vdso_clock_gettime.
1451 * sysdeps/unix/sysv/linux/tile/init-first.c
1452 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1453 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1454 __vdso_clock_gettime.
1455
83d641ef
CM
1456 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1457 to set up frame more cleanly.
1458
d9cd52e6
CM
1459 * sysdeps/tile/memcmp.c: New file.
1460
4b68ea11
CM
1461 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1462
c86f7b80
CM
1463 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1464 * sysdeps/tile/tilegx/strcasestr.c: New file.
1465 * sysdeps/tile/tilegx/strnlen.c: New file.
1466 * sysdeps/tile/tilegx/strstr.c: New file.
1467
1c4c1a6f
CM
1468 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1469
99d86ea3
AS
14702014-10-06 Arjun Shankar <arjun.is@lostca.se>
1471
1472 * nptl/tst-setuid3.c: Write errors to stdout.
1473
06210a44
KS
14742014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1475
1476 * elf/dl-deps.c
1477 (preload): New functions broken out of _dl_map_object_deps.
1478 (_dl_map_object_deps): Remove a nested function. Update call sites.
1479
6268f532
JM
14802014-10-01 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #14138]
1483 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1484 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1485
b925285f
SE
14862014-10-01 Steve Ellcey <sellcey@mips.com>
1487
1488 * sysdeps/mips/strcmp.S: New.
1489
754a15c6
JM
14902014-09-30 Joseph Myers <joseph@codesourcery.com>
1491
1492 [BZ #14138]
1493 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1494 (linkat): Likewise.
1495 (mkdirat): Likewise.
1496 (readlinkat): Likewise.
1497 (renameat): Likewise.
1498 (symlinkat): Likewise.
1499 (unlinkat): Likewise.
1500 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1501 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1502 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1503 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1504 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1505 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1506 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1507
85bb81c9
WN
15082014-09-30 Will Newton <will.newton@linaro.org>
1509
dc6fe23b
WN
1510 * math/math.h: Define long double math functions if
1511 _LIBC_TEST is defined.
1512 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1513
85bb81c9
WN
1514 * localedata/Makefile: Move assignment to tests-special
1515 into an ifdef testing run-built-tests.
1516 * timezone/Makefile: Likewise.
1517
b7e02da4
JM
15182014-09-29 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1521 with $(BASH) not $(SHELL).
1522
62058ce6
CD
15232014-09-29 Carlos O'Donell <carlos@redhat.com>
1524 Matthew LeGendre <legendre1@llnl.gov>
1525
1526 [BZ #17411]
1527 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1528 l_reloc_result.
1529
8e257a29
KS
15302014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1531
1532 * stdio-common/printf_fp.c
1533 (hack_digit): New function, broken out of ...
1534 (__printf_fp): ... local function here. Update call sites.
1535 hack_digit now takes an additional parameter that is a pointer
1536 to a struct of the referenced locals. Those locals moved inside
1537 the struct and references updated.
1538
f4a58f0d
L
15392014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * aclocal.m4: Require autoconf 2.69.
1542 * configure: Regenerated.
1543 * sysdeps/aarch64/configure: Likewise.
1544 * sysdeps/alpha/configure: Likewise.
1545 * sysdeps/arm/armv7/configure: Likewise.
1546 * sysdeps/arm/configure: Likewise.
1547 * sysdeps/ia64/configure: Likewise.
1548 * sysdeps/mach/configure: Likewise.
1549 * sysdeps/mips/configure: Likewise.
1550 * sysdeps/s390/configure: Likewise.
1551 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1553
1554 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1555 file.
1556 * sysdeps/ia64/configure.ac: Likewise.
1557
93ae1eba
JM
15582014-09-26 Joseph Myers <joseph@codesourcery.com>
1559
1810d3ab
JM
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1561 specify symbol version for ld.so. Do not include entry for
1562 libpthread.
1563 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1564 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1566
93ae1eba
JM
1567 [BZ #14171]
1568 * Makeconfig [$(build-shared) = yes]
1569 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1570 makefiles.
1571 [$(build-shared) = yes && $(soversions.mk-done) = t]
1572 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1573 [$(build-shared) = yes && $(soversions.mk-done) = t]
1574 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1575 to Makerules.
1576 [$(build-shared) = yes && $(soversions.mk-done) = t]
1577 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1578 here.
1579 [$(build-shared) = yes && $(soversions.mk-done) = t]
1580 (common-generated): Don't append gnu/lib-names.h and
1581 gnu/lib-names.stmp here.
1582 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1583 (lib-names-h-abi): New variable.
1584 [$(build-shared) = yes && $(soversions.mk-done) = t]
1585 (lib-names-stmp-abi): Likewise.
1586 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1587 abi-variants] (before-compile): Append
1588 $(common-objpfx)$(lib-names-h-abi).
1589 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1590 abi-variants] (common-generated): Append gnu/lib-names.h.
1591 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1592 abi-variants] (install-others-nosubdir): Depend on
1593 $(inst_includedir)/$(lib-names-h-abi).
1594 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1595 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1596 [$(build-shared) = yes && $(soversions.mk-done) = t]
1597 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1598 [$(build-shared) = yes && $(soversions.mk-done) = t]
1599 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1600 [$(build-shared) = yes && $(soversions.mk-done) = t]
1601 (common-generated): Append $(lib-names-h-abi) and
1602 $(lib-names-stmp-abi).
1603 * scripts/lib-names.awk: Do not handle multi being set.
1604 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1605 Remove variable.
1606 (abi-lp64_be-ld-soname): Likewise.
1607 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1608 Likewise.
1609 (abi-hard-ld-soname): Likewise.
1610 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1611 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1612 Remove variable.
1613 (abi-o32_hard-ld-soname): Likewise.
1614 (abi-o32_soft_2008-ld-soname): Likewise.
1615 (abi-o32_hard_2008-ld-soname): Likewise.
1616 (abi-n32_soft-ld-soname): Likewise.
1617 (abi-n32_hard-ld-soname): Likewise.
1618 (abi-n32_soft_2008-ld-soname): Likewise.
1619 (abi-n32_hard_2008-ld-soname): Likewise.
1620 (abi-n64_soft-ld-soname): Likewise.
1621 (abi-n64_hard-ld-soname): Likewise.
1622 (abi-n64_soft_2008-ld-soname): Likewise.
1623 (abi-n64_hard_2008-ld-soname): Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1625 Likewise.
1626 (abi-64-v2-ld-soname): Likewise.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1628 ld.so entries.
1629 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1630 variable.
1631 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1632 entry.
1633 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1634 variable.
1635 (abi-64-ld-soname): Likewise.
1636 (abi-x32-ld-soname): Likewise.
1637 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1638 entry.
1639 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1640
68870f12
JM
16412014-09-23 Joseph Myers <joseph@codesourcery.com>
1642
1643 [BZ #14138]
1644 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1645 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1646 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1647 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1649 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1650 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1651 syscall entry for GLIBC_2.2 symbol version.
1652 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1653 Likewise.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1655 (setrlimit): Likewise.
1656 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1657 Likewise.
1658
ea58f202
WN
16592014-09-23 Will Newton <will.newton@linaro.org>
1660
1661 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1662 _LINUX_ARM_SYSDEP_H include guard too.
1663 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1664 define.
1665
69eb9a18
RV
16662014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1667
1668 * sysdeps/unix/sysv/linux/eventfd.c:
1669 Make first argument unsigned.
1670 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1671 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1672
20e5a5f7
OB
16732014-09-20 Ondřej Bílka <neleai@seznam.cz>
1674
1675 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1676 * socket/sys/socket.h: Likewise
1677 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1678
d3c827e7
AK
16792014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1680
1681 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1682
fe1cc35a
AS
16832014-09-17 Arjun Shankar <arjun.is@lostca.se>
1684
1685 * time/tst-ftime.c: New test.
1686 * time/Makefile (tests): Add tst-ftime.
1687
4e8afe69
JM
16882014-09-17 Joseph Myers <joseph@codesourcery.com>
1689
c4fe3ea7
JM
1690 * soft-fp/extended.h: Fix comment formatting.
1691 * soft-fp/op-1.h: Likewise.
1692 * soft-fp/op-2.h: Likewise.
1693 * soft-fp/op-4.h: Likewise.
1694 * soft-fp/op-8.h: Likewise.
1695 * soft-fp/op-common.h: Likewise.
1696 * soft-fp/soft-fp.h: Likewise.
1697
4e8afe69
JM
1698 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1699
af296fcd
JM
17002014-09-16 Joseph Myers <joseph@codesourcery.com>
1701
1702 [BZ #6652]
1703 * Makeconfig (soversions-default-setname): Remove variable.
1704 ($(common-objpfx)soversions.i): Don't pass default_setname to
1705 soversions.awk.
1706 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1707 oldest_abi to abi-versions.awk.
1708 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1709 * config.make.in (oldest-abi): Remove variable.
1710 * configure.ac (--enable-oldest-abi): Remove configure option.
1711 * configure: Regenerated.
1712 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1713 text.
1714 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1715 * scripts/soversions.awk: Do not handle default_setname variable.
1716 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1717 variable.
1718 * sysdeps/mach/hurd/configure: Regenerated.
1719 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1720 variable.
1721 * sysdeps/unix/sysv/linux/configure: Regenerated.
1722
545583d6
SP
17232014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1724
d330b980
SP
1725 * elf/Makefile (CFLAGS-interp.c): Remove.
1726 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1727 path string.
1728 * elf/interp.c: Include generated runtime-linker.h
1729
02657da2
SP
1730 * Makerules (lib%.so): Don't include $(+interp) in
1731 prerequisites.
1732 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1733 * dlfcn/eval.c: Remove file.
1734
653b1080
SP
1735 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1736 macros.
1737
602f80ec
SP
1738 [BZ #17266]
1739 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1740 4.2 and newer.
1741
545583d6
SP
1742 [BZ #17370]
1743 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1744
884ddc50
SP
17452014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1746 Jakub Jelinek <jakub@redhat.com>
1747
1748 [BZ #17266]
1749 * libio/stdio.h: Check definition of __fortify_function
1750 instead of __extern_always_inline to include bits/stdio2.h.
1751 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1752 check if __extern_always_inline is defined.
1753 [__USE_MISC || __USE_XOPEN]: Likewise.
1754 [__USE_ISOC99] Likewise.
1755 * misc/sys/cdefs.h (__fortify_function): Define only if
1756 __extern_always_inline is defined.
1757 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1758 __extern_always_inline and __extern_inline only for g++-4.3
1759 and newer or a compatible gcc.
1760
a7b87268
AS
17612014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1762
1763 [BZ #17371]
1764 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1765 last change to handle zero prefix length.
1766
3f41521d
SP
17672014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
61fe374a
SP
1769 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1770 _SC_REGEX_VERSION.
1771
3f41521d
SP
1772 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1773 _POSIX_RAW_SOCKETS.
1774
d8f879ee
AM
17752014-09-13 Allan McRae <allan@archlinux.org>
1776
1777 * po/ru.po: Update Russian translation from translation project.
1778
c079afb7
RM
17792014-09-12 Roland McGrath <roland@hack.frob.com>
1780
a62b3c15
RM
1781 * locale/programs/locale.c (show_locale_vars): Inline local function
1782 into its sole call site. Clean up some style nits.
1783 (print_item): New function, broken out of ...
1784 (show_info): ... local function here. Clean up style nits.
1785
d7e49b19
RM
1786 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1787 out of ...
1788 (set_class_defaults): ... local function set_default here.
1789 Define set_default as a macro locally to pass constant parameters.
1790 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1791 rather than a shared local.
1792
c079afb7
RM
1793 * stdlib/rpmatch.c (try): New function, broken out of ...
1794 (rpmatch): ... local function here. Also, prototypify definition.
1795
0bd72468
JM
17962014-09-12 Joseph Myers <joseph@codesourcery.com>
1797
ba90e050
JM
1798 * scripts/soversions.awk: Do not handle configuration names.
1799 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1800 vendor and os variables to soversions.awk.
1801 * configure.ac: Do not modify gnu-* host_os.
1802 * configure: Regenerated
1803 * shlib-versions: Remove first column with configuration names.
1804 * nptl/shlib-versions: Likewise.
1805 * nptl_db/shlib-versions: Likewise.
1806 * sysdeps/hppa/shlib-versions: Likewise.
1807 * sysdeps/m68k/shlib-versions: Likewise.
1808 * sysdeps/mach/hurd/shlib-versions: Likewise.
1809 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1810 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1811 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1812 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1813 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1814 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1815 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1816 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1818 Likewise.
1819 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1820 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1821 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1822 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1824 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1825 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1826 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1827
73a39112
JM
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1829 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1831 Regenerated.
1832 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1834 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1835
c729e7c1
JM
1836 * shlib-versions: Remove OS-specific entries. Moved to files in
1837 sysdeps.
1838 * sysdeps/mach/hurd/shlib-versions: New file.
1839 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1840
dc932a24
JM
1841 * nptl/shlib-versions: Remove architecture-specific entries.
1842 Moved to files in sysdeps.
1843 * shlib-versions: Likewise.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1845 file.
1846 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1847 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1848 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1850
0bd72468
JM
1851 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1852 (UDP_NO_CHECK6_RX): Likewise.
1853
920238e0
SP
18542014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1855
1856 * sysdeps/posix/sysconf.c (__sysconf): Spell
1857 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1858
ba7b4d29
FW
18592014-08-12 Florian Weimer <fweimer@redhat.com>
1860
1861 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1862 loading.
1863 * iconv/Versions (__gconv_transliterate): Export for use from
1864 gconv modules.
1865 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1866 (struct __gconv_trans_data, __gconv_trans_fct,
1867 __gconv_trans_context_fct, __gconv_trans_query_fct,
1868 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1869 definitions.
1870 (struct __gconv_step_data): Remove __trans member.
1871 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1872 longer hidden. Remove unused trans_data argument.
1873 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1874 (__gconv_translit_find): Remove declaration.
1875 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1876 prototype.
1877 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1878 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1879 trans_data argument. Add hidden definition.
1880 (__gconv_translit_find): Remove.
1881 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1882 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1883 * iconv/skeleton.c: Remove transliteration initialization.
1884 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1885 __gconv_step_data initialization.
1886 * libio/iofwide.c (__libio_translit_): Remove.
1887 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1888 * wcsmbs/btowc.c (__btowc): Likewise.
1889 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1890 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1891 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1892 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1893 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1894 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1895 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1896 * wcsmbs/wctob.c (wctob): Likewise.
1897
5379aebd
SP
18982014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1899
1900 [BZ #16194]
1901 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1902 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1903 register usage.
1904 * sysdeps/x86/Makefile: Adjust.
1905
8c0ab919
RM
19062014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1907 Roland McGrath <roland@hack.frob.com>
1908
1909 * locale/weight.h: Add include guard.
1910 (findidx): Make static rather than auto; take new parameters
1911 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1912 * locale/weightwc.h: Likewise.
1913 * posix/fnmatch_loop.c
1914 (FCT): Change type of EXTRA from int32_t to wint_t.
1915 Don't include either header inside the function.
1916 Call FINDIDX rather than findidx, and pass new arguments.
1917 #undef FINDIDX at the end of the file.
1918 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1919 FINDIDX before including fnmatch_loop.c for the non-wide version.
1920 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1921 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1922 for the wide version.
1923 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1924 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1925 Pass new arguments to findidx.
1926 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1927 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1928 Don't #include it inside the function. Pass new arguments to findidx.
1929 * posix/regex_internal.h
1930 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1931 (re_string_elem_size_at): Don't #include it inside the function.
1932 Pass new arguments to findidx.
1933 * string/strcoll_l.c: #include WEIGHT_H at top level.
1934 (get_next_seq): Don't #include it inside the function.
1935 Pass new arguments to findidx.
1936 (get_next_seq_nocache): Likewise.
1937 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1938 (STRXFRM): Don't #include it inside the function.
1939 Pass new arguments to findidx.
1940
52ffbdf2
FW
19412014-09-11 Florian Weimer <fweimer@redhat.com>
1942
1943 [BZ #17344]
1944 * malloc/malloc.c (unlink): Turn asserts into a call to
1945 malloc_printerr.
1946
984c0ea9
TL
19472014-09-11 Tim Lammens <tim.lammens@gmail.com>
1948
1949 [BZ #17370]
1950 * libio/wfileops (do_ftell_wide): Free OUT.
1951
3daee107
CM
19522014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1953
1954 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1955
58b930ae
SP
19562014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1957
1958 [BZ #17363]
1959 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1960 group if the current group is empty.
1961
3b473fec
AZ
19622014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
71ae8647
AZ
1964 * benchtests/bench-memset.c (test_main): Add more test from size
1965 from 32 to 512 bytes.
1966 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1967 Add POWER8 memset object.
1968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1969 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1970 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1971 implementation.
1972 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1973 Likewise.
1974 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1975 multiarch POWER8 memset optimization.
1976 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1977 POWER8 memset optimization.
1978
3b473fec
AZ
1979 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1980 Remove bzero multiarch objects.
1981 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1982 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1983 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1984 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1985 Remove define.
1986 [__bzero]: Redefine to specific name.
1987 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1988 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1989 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1990 define.
1991 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1992 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1993
e6fb9587
FW
19942014-09-10 Florian Weimer <fweimer@redhat.com>
1995
1996 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1997 warnings into errors.
1998
1999 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2000 __cxa_thread_atexit_impl prototype.
2001
9d3a350b
SE
20022014-09-09 Steve Ellcey <sellcey@mips.com>
2003
2004 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2005 Fix capitalization of error message.
2006
0febba23
SE
20072014-09-09 Steve Ellcey <sellcey@mips.com>
2008
2009 * sysdeps/mips/preconfigure: Modify ABI tests.
2010
645a0e9c
CD
20112014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2012
2013 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2014
d83f0734
CD
20152014-09-07 Roland McGrath <roland@hack.frob.com>
2016 Carlos O'Donell <carlos@systemhalted.org>
2017
2018 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2019 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2020 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2021 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2022 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2023 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2024 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2025 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2026 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2027 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2028 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2029 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2030 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2031 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2032 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2033 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2034 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2035 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2036 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2037 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2038 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2039 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2040 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2041 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2042 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2043 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2044 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2045 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2046 Deconditionalize the code that was previously under [RESET_PID].
2047 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2048 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2049 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2050 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2051 include sysdep.h.
2052
21c83793
AM
20532014-09-08 Allan McRae <allan@archlinux.org>
2054
2055 * version.h (RELEASE): Set to "development".
2056 (VERSION): Set to "2.20.90"
2057
1cd9b65c
AM
20582014-09-07 Allan McRae <allan@archlinux.org
2059
b8079dd0
AM
2060 * version.h (RELEASE): Set to "stable".
2061 (VERSION): Set to "2.20"
2062 * include/features.h (__GLIBC_MINOR__): Set to 20.
2063
c46303ef
AM
2064 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2065 Liebler.
2066
1cd9b65c
AM
2067 * po/ko.po: Update Korean translation from translation project.
2068
8622092d
CM
20692014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2070
2071 [BZ #17354]
2072 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2073 macro for handling signed relocations.
2074
41488498
FW
20752014-09-03 Florian Weimer <fweimer@redhat.com>
2076
2077 [BZ #17325]
2078 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2079 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2080 assert.
2081 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2082 * iconvdata/ibm935.c (BODY): Likewise.
2083 * iconvdata/ibm937.c (BODY): Likewise.
2084 * iconvdata/ibm939.c (BODY): Likewise.
2085 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2086 assert.
2087 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2088 script.
2089 * iconvdata/run-iconv-test.sh: New test loop for checking for
2090 decoder crashers.
2091
a78b712d
KR
20922014-09-02 Khem Raj <raj.khem@gmail.com>
2093
2094 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2095 libm_hidden_ver.
2096
cb08abc6
AM
20972014-09-01 Allan McRae <allan@archlinux.org>
2098
2c31e102
AM
2099 * po/eo.po: Update Esperanto translation from translation project.
2100
cb08abc6
AM
2101 * po/ca.po: Update Catalan translation from translation project.
2102
17a62de1
ST
21032014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2104
2105 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2106 __proc_dostop call.
2107
9570bc53
MW
21082014-08-27 Mark Wielaard <mjw@redhat.com>
2109
2110 [BZ #17319]
2111 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2112 to call set_thread_area instead of hand written asm.
2113 (__NR_set_thread_area): Removed define.
2114 (TLS_FLAG_WRITABLE): Likewise.
2115 (__ASSUME_SET_THREAD_AREA): Remove check.
2116 (TLS_EBX_ARG): Remove define.
2117 (TLS_LOAD_EBX): Likewise.
2118
b0f955c9
ST
21192014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2120
2121 Simplify atomicity of socket creation in bind.
2122
2123 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2124 looking up the name after linking the file.
2125
529bf515
AM
21262014-08-27 Allan McRae <allan@archlinux.org>
2127
2128 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2129
a1a6a401
FW
21302014-08-26 Florian Weimer <fweimer@redhat.com>
2131
2132 [BZ #17187]
2133 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2134 trans_compare, open_translit, __gconv_translit_find):
2135 Remove module loading code.
2136
686ab290
AM
21372014-08-26 Allan McRae <allan@archlinux.org>
2138
e4e7cfd2
AM
2139 * po/vi.po: Update Vietnamese translation from translation project.
2140
6aa09f71
AM
2141 * po/uk.po: Update Ukrainian translation from translation project.
2142
edc0660e
AM
2143 * po/fr.po: Update French translation from translation project.
2144
7eea72ac
AM
2145 * po/ru.po: Update Russian translation from translation project.
2146
93c49eff
AM
2147 * po/pl.po: Update Polish translation from translation project.
2148
46acaf63
AM
2149 * po/cs.po: Update Czech translation from translation project.
2150
a9f5ce98
AM
2151 * po/de.po: Update German translation from translation project.
2152
373f2b78
AM
2153 * po/bg.po: Update Bulgarian translation from translation project.
2154
e7548bd8
AM
2155 * po/sv.po: Update Sweedish translation from translation project.
2156
c526bf4d
AM
2157 * po/nl.po: Update Dutch translation from translation project.
2158
686ab290
AM
2159 * po/es.po: Update Spanish translation from translation project.
2160
eb72478a
SP
21612014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2162
dd763fdb
SP
2163 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2164
318c7a58
SP
2165 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2166 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2167 (CPPFLAGS-iconvconfig): Likewise.
2168 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2169
eb72478a
SP
2170 * include/libc-symbols.h: Remove unnecessary check for
2171 NOT_IN_libc.
2172 * nptl/pthreadP.h: Likewise.
2173 * sysdeps/aarch64/setjmp.S: Likewise.
2174 * sysdeps/alpha/setjmp.S: Likewise.
2175 * sysdeps/arm/sysdep.h: Likewise.
2176 * sysdeps/i386/setjmp.S: Likewise.
2177 * sysdeps/m68k/setjmp.c: Likewise.
2178 * sysdeps/posix/getcwd.c: Likewise.
2179 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2180 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2181 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2182 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2183 * sysdeps/sh/sh3/setjmp.S: Likewise.
2184 * sysdeps/sh/sh4/setjmp.S: Likewise.
2185 * sysdeps/unix/alpha/sysdep.h: Likewise.
2186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2187 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2188 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2189 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2193 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2194 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2197 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2199 * sysdeps/x86_64/setjmp.S: Likewise.
2200
d44a052c
JM
22012014-08-13 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #17263]
2204 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2205 <stdint.h>.
2206 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2207 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2208
508ce3ac
SP
22092014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2210
e44c8b0e
SP
2211 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2212
508ce3ac
SP
2213 [BZ #17262]
2214 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2215 and __x86_64__ when disabling x87 inline functions.
2216
b4acef1f
L
22172014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 [BZ #17259]
2220 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2221 asm statement with __cpuid_count.
2222
61b1ef6e
MF
22232014-08-12 Mike Frysinger <vapier@gentoo.org>
2224
2225 * configure.ac: Change __ehdr_start code to dereference the struct.
2226 Run readelf on the output to look for relocations.
2227 * configure: Regenerated.
2228
898c62f4
JM
22292014-08-12 Joseph Myers <joseph@codesourcery.com>
2230
2231 [BZ #17261]
2232 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2233 value to 0.
2234 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2235
9a8a5720
RM
22362014-08-12 Roland McGrath <roland@hack.frob.com>
2237
2238 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2239
4e75751c
BO
22402014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2241
2242 [BZ #16892]
2243 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2244 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2245
bb2ce416
SA
22462014-08-12 Sean Anderson <seanga2@gmail.com>
2247
2248 * malloc/malloc.c: Fix typo in comment.
2249
7950a4ee
AM
22502014-08-09 Allan McRae <allan@archlinux.org>
2251
2252 * Regenerate libc.po.
2253
f469c49f
MF
22542014-08-08 Mike Frysinger <vapier@gentoo.org>
2255
2256 * intl/tst-gettext2.sh: Check every lang file for creation.
2257
656b84c2
WD
22582014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2259
2260 * sysdeps/aarch64/fpu/math_private.h
2261 (libc_feholdsetround_noex_aarch64_ctx): New function.
2262
538e9e45
W
22632014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2264
2265 * sysdeps/arm/armv6/strcpy.S (strcpy):
2266 Fix performance issue in misaligned cases.
2267
d4795e4a
AZ
22682014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2269
2270 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2271 Move definition from termios.h.
2272 (struct termio): Likewise.
2273 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2274 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2275 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2276 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2279 Move definition to ioctl-types.h
2280 (struct termio): Likewise.
2281 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2282 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2283 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2284 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2285 Likewise.
2286
64accb62
RH
22872014-08-05 Richard Henderson <rth@redhat.com>
2288
27bb6dc0
RH
2289 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2290 exceptions.
2291 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2292 Add fraiseexcpt.
2293 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2294 Use __feraiseexcept.
2295 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2296 Protect libm symbols with IS_IN_libm.
2297
64accb62
RH
2298 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2299
e5292691
BO
23002014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2301
2302 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2303
5b4bd2d4
WN
23042014-08-04 Will Newton <will.newton@linaro.org>
2305
2306 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2307 file.
2308
fcadaeef
MF
23092014-08-04 Mike Frysinger <vapier@gentoo.org>
2310
2311 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2312 variants for each function.
2313
43a94c64
RM
23142014-08-04 Roland McGrath <roland@hack.frob.com>
2315
2316 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2317 appended ...
2318 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2319 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2320 appended ...
2321 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2322 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2323 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2324 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2325 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2326 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2327 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2328 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2329 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2330 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2357 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2358 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2359 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2360 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2361 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2362 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2363 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2364 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2365 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2366 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2367 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2368 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2369 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2370 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2371 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2372 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2373 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2374 Update #include.
2375 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2376 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2377
8f3c1fa4
RM
23782014-08-04 Roland McGrath <roland@hack.frob.com>
2379
2380 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2381 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2382 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2383 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2384 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2385 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2386
ca08746f
RM
23872014-08-04 Roland McGrath <roland@hack.frob.com>
2388
2389 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2390 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2391 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2392 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2393
9c925ff9
RM
23942014-08-04 Roland McGrath <roland@hack.frob.com>
2395
2396 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2397 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2398 (__libc_vfork): Define function under this name.
2399 (__vfork): Define as an alias.
2400 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2401 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2402
e641054c
RM
24032014-08-04 Roland McGrath <roland@hack.frob.com>
2404
2405 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2406 that was previously under [RESET_PID].
2407 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2408
dacdc867
AS
24092014-08-04 Andreas Schwab <schwab@suse.de>
2410
2411 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2412
41f725ff
MF
24132014-08-03 Mike Frysinger <vapier@gentoo.org>
2414
2415 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2416 (main): Likewise.
2417
277cfb31
RM
24182014-08-01 Roland McGrath <roland@hack.frob.com>
2419
2420 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2421
4896f049
RH
24222014-08-01 Richard Henderon <rth@redhat.com>
2423
2424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2425 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2426 typo in exact zero test.
2427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2428 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2430
6f64e7d7
RM
24312014-08-01 Roland McGrath <roland@hack.frob.com>
2432
2433 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2434 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2435 * sysdeps/arm/sysdep.h: ... here.
2436 [!__ASSEMBLER__]: Include <stdint.h>.
2437
3f3dd810
SP
24382014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2439
a476ac4b
SP
2440 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2441 (HAVE_WCTYPE_H): Likewise.
2442 (HAVE_ISWCTYPE): Likewise.
2443 (ENABLE_NLS): Likewise.
2444 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2445 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2446
78dd658a
SP
2447 * posix/regex_internal.c: Check if DEBUG is defined and is
2448 set.
2449
3f3dd810
SP
2450 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2451 (HAVE_MBSRTOWCS): Likewise.
2452 * posix/fnmatch.c: Include string.h unconditionally.
2453
95ee7fb1
SL
24542014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2455
2456 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2457 reversal.
2458
23fe486b
RM
24592014-07-31 Roland McGrath <roland@hack.frob.com>
2460
f61a113f
RM
2461 * sysdeps/generic/safe-fatal.h: New file.
2462 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2463 * nptl/forward.c: Include it.
2464 (__pthread_unwind): Use __safe_fatal as default action, rather
2465 than a bogus use of INTERNAL_SYSCALL that could never work.
2466
9fe7e787
RM
2467 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2468 * configure.ac (libc_cv_builtin_trap): New test.
2469 * configure: Regenerated.
2470 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2471 (ABORT_INSTRUCTION): Define using __builtin_trap.
2472
23fe486b
RM
2473 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2474 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2475 * sysdeps/nptl/nptl-signals.h: New file.
2476 * nptl/pthreadP.h: Include <nptl-signals.h>.
2477
f349489e
SL
24782014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2479
2480 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2481 (ONE_DIRECTION): Define.
2482 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2483 (ONE_DIRECTION): Define.
2484 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2485 (ONE_DIRECTION): Define.
2486
2f438e20
SL
24872014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2488
2489 * sysdeps/s390/Makefile: Delete file.
2490 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2491 * sysdeps/s390/__longjmp.c: Delete file.
2492 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2493 Remove fields __flags and __reserved.
2494 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2495 and add versioning.
2496 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2497 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2498 * sysdeps/s390/rtld-setjmp.S: Likewise.
2499 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2500 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2501 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2502 * sysdeps/s390/s390-32/setjmp.S: ... here.
2503 Add versioning.
2504 (__sigsetjmp): Remove setting __flags field.
2505 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2506 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2507 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2508 * sysdeps/s390/s390-64/setjmp.S: ... here.
2509 Add versioning.
2510 (__sigsetjmp): Remove setting __flags field.
2511 * sysdeps/s390/setjmp.S: Delete file.
2512 * sysdeps/s390/sigjmp.c: Likewise.
2513 * sysdeps/s390/v1-longjmp.c: Likewise.
2514 * sysdeps/s390/v1-setjmp.h: Likewise.
2515 * sysdeps/s390/v1-sigjmp.c: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2517 Remove v1-longjmp_chk.
2518 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2519 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2520 Include debug/longjmp_chk.c and add versioning.
2521 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2522 Include nptl/pt-longjmp.c and add versioning.
2523 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2524 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2525 Include __longjmp.c.
2526 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2527 Move to ...
2528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2529 (__getcontext): Remove setting __flags field.
2530 Add versioning.
2531 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2532 Don't restore upper high grps.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2534 Likewise.
2535 (__swapcontext): Remove setting uc_flags field.
2536 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2537 Delete file.
2538 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2539 Include __longjmp.c.
2540 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2541 Move to ...
2542 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2543 (__getcontext): Remove setting __flags field.
2544 Add versioning.
2545 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2546 (__swapcontext): Remove setting uc_flags field.
2547 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2548 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2549 Remove fields uc_high_gprs and __reserved.
2550 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2551 New file with reverted content.
2552 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2553 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2554 Regenerated.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2556 Regenerated.
2557
6c9578a2
AS
25582014-07-31 Andreas Schwab <schwab@suse.de>
2559
2560 * config.h.in (HAVE_IFUNC): Define to 0.
2561 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2562 definedness.
2563
05f3633d
LM
25642014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2565
2566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2567 memmove-avx-unaligned, memcpy-avx-unaligned and
2568 mempcpy-avx-unaligned.
2569 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2570 Add tests for AVX memcpy functions.
2571 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2572 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2573 memcpy_chk.
2574 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2575 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2576 memmove_chk.
2577 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2578 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2579 mempcpy_chk.
2580 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2581 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2582 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2583
a53fbd8e
AZ
25842013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2585
2586 [BZ #17213]
2587 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2588 powerpc64le.
2589
0961f7e1
JL
25902014-07-29 Jeff Layton <jlayton@poochiereds.net>
2591
2592 [BZ #16839]
2593 * manual/llio.texi: Add section about open file description locks.
2594 * manual/examples/ofdlocks.c: Example of open file description
2595 lock usage.
2596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2597 F_OFD_SETLK, and F_OFD_SETLKW.
2598
cc5fb300
AM
25992014-07-23 Allan McRae <allan@archlinux.org>
2600
2601 * po/es.po: Update Spanish translation from translation project.
2602
23329dca
AS
26032014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2604
2605 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2606
9c82da17
MR
26072014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2608
2609 [BZ #17078]
2610 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2611 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2612 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2613
29c4f53e
JM
26142014-07-17 Joseph Myers <joseph@codesourcery.com>
2615
831b9896
JM
2616 [BZ #17088]
2617 * math/fesetenv.c (__fesetenv)
2618 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2619 * math/feupdateenv.c (__feupdateenv)
2620 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2621
b21c2d50
JM
2622 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2623 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2624 (__ASSUME_SOCKETCALL): Do not define.
2625
067764ef
JM
2626 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2627 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2628 (__ASSUME_SOCKETCALL): Do not define.
2629 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2630 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2631 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2632 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2633 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2634 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2635 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2636 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2637
642530c1
JM
2638 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2639 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2640 (__ASSUME_SOCKETCALL): Do not define.
2641 (__ASSUME_IPC64): Define unconditionally.
2642 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2643 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2644 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2645 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2646 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2647 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2648 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2649 Likewise.
2650
03f77315
JM
2651 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2652 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2653 (__ASSUME_SOCKETCALL): Do not define.
2654 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2655 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2656 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2657 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2658 (__ASSUME_REQUEUE_PI): Define unconditionally.
2659 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2660 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2661 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2662 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2663 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2664 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2665
083b1f7c
JM
2666 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2667 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2668 (__ASSUME_SOCKETCALL): Do not define.
2669 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2670 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2671 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2672 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2673 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2674 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2675
5be44ea6
JM
2676 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2677 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2678 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2679 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2680 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2681 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2682 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2683 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2684 (__ASSUME_GETCPU_SYSCALL): Likewise.
2685
d95ffd4c
JM
2686 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2687 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2688 cases for individual architectures.
2689 * sysdeps/gnu/configure: Regenerated.
2690 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2691 LIBC_SLIBDIR_RTLDDIR.
2692 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2693 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2694 LIBC_SLIBDIR_RTLDDIR.
2695 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2697 LIBC_SLIBDIR_RTLDDIR.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2699 Regenerated.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2702 file.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2705 file.
2706 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2707 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2708 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2709 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2710
29c4f53e
JM
2711 * sysdeps/aarch64/shlib-versions: Move to ...
2712 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2713 * sysdeps/alpha/shlib-versions: Move to ...
2714 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2715 * sysdeps/arm/shlib-versions: Move to ...
2716 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2717 * sysdeps/hppa/shlib-versions: Move all contents except for
2718 libgcc_s entry to ...
2719 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2720 entry from ...
2721 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2722 * sysdeps/ia64/shlib-versions: Move to ...
2723 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2724 entry from ...
2725 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2726 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2727 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2728 * sysdeps/microblaze/shlib-versions: Move to ...
2729 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2730 * sysdeps/mips/shlib-versions: Move to ...
2731 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2732 entry from ...
2733 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2734 * sysdeps/tile/shlib-versions: Move to ...
2735 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2736 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2737 from ...
2738 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2739 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2740 entry from ...
2741 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2742
32bead5b
WN
27432014-07-17 Will Newton <will.newton@linaro.org>
2744
57977c4b
WN
2745 * sysdeps/arm/bits/atomic.h
2746 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2747 (__arch_compare_and_exchange_bool_16_int): Likewise.
2748 (__arch_compare_and_exchange_bool_64_int): Likewise.
2749
32bead5b
WN
2750 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2751 into an #else block.
2752
37fccd41
RM
27532014-07-16 Roland McGrath <roland@hack.frob.com>
2754
2755 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2756 just Linux configurations. Test empirically that the compiler sets
2757 __ARM_EABI__, rather than using the tuple to decide.
2758 * sysdeps/arm/preconfigure: Regenerated.
2759 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2760 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2761 contents appended ...
2762 * sysdeps/arm/configure.ac: ... here.
2763 * sysdeps/arm/configure: Regenerated.
2764
b365f3ec
RM
27652014-07-15 Roland McGrath <roland@hack.frob.com>
2766
8badf496
RM
2767 * nptl/pthread_kill.c: New file.
2768 * nptl/pthread_sigmask.c: New file.
2769 * nptl/pthread_sigqueue.c: New file.
2770
3df6f22e
RM
2771 * sysdeps/nptl/lowlevellock.h: New file.
2772 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2773 * sysdeps/nptl/lowlevellock-futex.h: New file.
2774
b365f3ec
RM
2775 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2776 Remove dead declarations.
2777
f2fef657
L
27782014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2779
2780 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2781 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2782 config-cflags-avx2.
2783 * sysdeps/x86_64/configure.ac: Likewise.
2784 * sysdeps/i386/configure: Regenerated.
2785 * sysdeps/x86_64/configure: Likewise.
2786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2787 memset-avx2 only if config-cflags-avx2 is yes.
2788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2789 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2790 defined.
2791 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2792 only if HAVE_AVX2_SUPPORT is defined.
2793 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2794
f6c44d47
AM
27952014-07-14 Alan Modra <amodra@gmail.com>
2796
2797 [BZ #17153]
2798 * elf/elf.h (DT_PPC64_NUM): Correct value.
2799 * NEWS: Add to fixed bug list.
2800
7ee03f00
JM
28012014-07-13 Jim Meyering <meyering@fb.com>
2802
2803 [BZ 17150]
2804 regex: don't deref NULL upon heap allocation failure
2805 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2806 failure in one more place.
2807 To trigger the segfault, configure grep -with-included-regex,
2808 build it, and run these commands:
2809 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2810
9d39d517
AS
28112014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2814
a75b89b7
RH
28152014-07-11 Richard Henderson <rth@redhat.com>
2816
2817 * sysdeps/aarch64/libm-test-ulps: Update.
2818
771eb141
FW
28192014-07-10 Florian Weimer <fweimer@redhat.com>
2820
2821 [BZ #17135]
2822 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2823 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2824 (__nptl_setxid): Initialize error member. Call
2825 __nptl_setxid_error.
2826 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2827 * nptl/descr.h (struct xid_command): Add error member.
2828 * nptl/tst-setuid3.c: New file.
2829 * nptl/Makefile (tests): Add it.
2830
bc1da176
AZ
28312014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2832
2833 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2834 New define.
2835 (__lll_trylock): Use __lll_base_trylock.
2836 (__lll_cond_trylock): Likewise.
2837
887865fc
RM
28382014-07-10 Roland McGrath <roland@hack.frob.com>
2839
c0c6bac9
RM
2840 * nptl/pthread_create.c (start_thread): Use atomic_or and
2841 lll_futex_wake directly rather than lll_robust_dead.
2842 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2843 (lll_robust_dead): Macro removed.
6a42be57 2844 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
2845 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2846 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2847 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2848 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2849 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2850 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2851 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2852 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2853 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2854 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2855 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2857 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2859
887865fc
RM
2860 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2861 Use atomic_compare_and_exchange_val_acq directly rather than
2862 lll_robust_trylock.
2863 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2864 (__lll_robust_trylock, lll_robust_trylock): Removed.
2865 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2866 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2867 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2868 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2869 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2870 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2871 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2872 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2874 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2875 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2877 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2878 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2879
58536726
FW
28802014-07-02 Florian Weimer <fweimer@redhat.com>
2881
2882 * manual/locale.texi (Locale Names): New section documenting
2883 locale name syntax. Adjust menu and node chaining accordingly.
2884 (Choosing Locale): Reference Locale Names, Locale Categories.
2885 Mention setting LC_ALL=C. Reflect that name syntax is now
2886 documented.
2887 (Locale Categories): New section title. Reference Locale Names.
2888 LC_ALL is an environment variable, but not a category.
2889 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2890 description, now in Locale Name. Reference that section. Locale
2891 name syntax is now documented.
2892
4e8f95a0
FW
28932014-07-02 Florian Weimer <fweimer@redhat.com>
2894
2895 [BZ #17137]
2896 * locale/findlocale.c (name_present, valid_locale_name): New
2897 functions.
2898 (_nl_find_locale): Use the loc_name variable to store name
2899 candidates. Call name_present and valid_locale_name to check and
2900 validate locale names. Return an error if the locale is invalid.
2901
d1836456
FW
29022014-07-02 Florian Weimer <fweimer@redhat.com>
2903
2904 * locale/setlocale.c (setlocale): Use strdup for allocating
2905 composite name copy.
2906
d69b7f5a
SP
29072014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2908
888c679b
SP
2909 Sync up with gnulib.
2910 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2911 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2912 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2913 and _GL_ARG_NONNULL.
2914 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2915 [!_LIBC]: Include code for Windows and Cygwin.
2916 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2917 Include prototype for int strerror_r.
2918 [!_LIBC] (is_open): New function.
2919 (flush_stdout): New function.
2920 (print_errno_message): Use it.
2921 (error): Likewise.
2922 (error_at_line): Likewise.
2923 (error_tail) Add function attribute macros. Use
2924 __builtin_expect.
2925
180e0e4b
SP
2926 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2927
d22f1fe2
SP
2928 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2929
12f2254b
SP
2930 * io/ftw.c: Include sys/param.h unconditionally.
2931
c3c7c360
SP
2932 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2933
d62aa75a
SP
2934 [BZ #17125]
2935 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2936 libc_freeres_ptr.
2937 (freecache): New function to free CACHE on exit.
2938
d69b7f5a
SP
2939 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2940 initialization.
2941
5efe06a1
DM
29422014-07-09 David S. Miller <davem@davemloft.net>
2943
2944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2945
7000d82e
DM
2946 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2947 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2948 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2949 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2950 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2951 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2952 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2953 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2954 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2955 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2956 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2957 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2958 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2959
c213442d
AS
29602014-07-09 Andreas Schwab <schwab@suse.de>
2961
4a2552c3
AS
2962 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2963 output.
2964 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2965 (do_test): Likewise.
2966
c213442d
AS
2967 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2968
82374e65
WN
29692014-07-09 Will Newton <will.newton@linaro.org>
2970
2971 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2972 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2973 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2974 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2975 * sysdeps/hppa/start.S (_start): Likewise.
2976
6680738a
SP
29772014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2978
6ee3eab4
SP
2979 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2980
6680738a
SP
2981 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2982 defined.
2983
80b5c505
SP
29842014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2985
e35c53e3
SP
2986 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2987 after checking that it is non-NULL.
2988
80b5c505
SP
2989 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2990
91f4b564
AZ
29912014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992
27b75f56
AZ
2993 * sysdeps/powerpc/memmove.c: Remove file.
2994 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2995 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2996 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2997 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2998 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2999 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3000 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3001 string memmove instead of removed powerpc one.
3002
e7f95bb5
AZ
3003 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3004 [weak_alias]: Fix compiler warning due trailing data.
3005 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3006 [weak_alias]: Likewise.
3007 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3008 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3009
91f4b564
AZ
3010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3011 (__libc_ifunc_impl_list): Add memmove functions.
3012
7c33f1e5
SP
30132014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3014
3015 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3016 Remove code.
3017 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3018 Likewise
3019 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3020 Likewise
3021 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3022 Likewise
3023 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3024 Likewise
3025 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3026 Likewise
3027 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3028 Likewise
3029 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3030 Likewise
3031 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3032 Likewise
3033 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3034 Likewise
3035 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3036 Likewise
3037 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3038 Likewise
3039 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3040 Likewise
3041 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3042 Likewise
3043 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3044 Likewise
3045 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3046 Likewise
3047 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3048 Likewise
3049
3f17b03b
AZ
30502014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3051
87868c24
AZ
3052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3053 to avoid alignment traps in non-cacheable memory.
3054 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3055
07aedd78
AZ
3056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3057 multiarch objects.
3058 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3059 file: multiarch power7 memmove.
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3061 multiarch default memmove.
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3063 multiarch memove for powerpc32/power4.
3064
17762f66
AZ
3065 * string/bcopy.c: Use full path to include memmove.c.
3066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3067 multiarch objects.
3068 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3069 bcopy for powerpc64.
3070 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3071 bcopy for powerpc64.
3072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3073 and memmove implementations.
3074 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3075 optimized multiarch memmove for POWER7/powerpc64.
3076 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3077 default multiarch memmove for powerpc64.
3078 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3079 multiarch for powerpc64.
3080 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3081 for POWER7/powerpc64.
3082 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3083 memmove for POWER7/powerpc64.
3084
d6f68bbe
AZ
3085 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3086 glibc default one.
3087
3f17b03b
AZ
3088 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3089 __ELF_NATIVE_CLASS equal to 64.
3090
08192659
RM
30912014-07-07 Roland McGrath <roland@hack.frob.com>
3092
f4c4021b
RM
3093 * sysdeps/nptl/lowlevellock.h: File removed.
3094
f083450f
RM
3095 * NEWS: NPTL is no longer an add-on!
3096 * nptl/internaltypes.h: Moved ...
3097 * sysdeps/nptl/internaltypes.h: ... here.
3098 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3099 * sysdeps/nptl/fork.c: Likewise.
3100 * sysdeps/nptl/gai_misc.h: Likewise.
3101 * sysdeps/nptl/librt-cancellation.c: Likewise.
3102 * sysdeps/nptl/jmp-unwind.c: Likewise.
3103 * sysdeps/nptl/setxid.h: Likewise.
3104 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3105 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3106 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3107 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3108 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3109 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3110 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3111 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3112 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3113 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3114 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3115 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3116 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3117 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3118 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3119 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3120 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3121 * nptl/Makeconfig: Moved ...
3122 * sysdeps/nptl/Makeconfig: ... here.
3123 * nptl/configure: File removed.
3124 * nptl/ANNOUNCE: File removed.
3125 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3126 * sysdeps/unix/sysv/linux/configure: Regenerated.
3127
08192659
RM
3128 * nptl/Makefile (routines): Add libc_pthread_init,
3129 libc_multiple_threads, register-atfork and unregister-atfork.
3130 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3131 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3132 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3133 pthread-pi-defines.sym, structsem.sym.
3134 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3135 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3136 [$(subdir) = nptl] (tests): Add tst-setgetname.
3137 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3138 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3139 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3140 [!LIBC_SIGACTION]: Remove aliases.
3141 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3142 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3143 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3144 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3145 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3146 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3147 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3148 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3149 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3150 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3151 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3152 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3153 __libc_allocate_rtsig_private.
3154 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3155 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3156 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3157 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3158 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3159 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3160 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3161 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3162 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3163 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3164 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3165 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3166 * nptl/internaltypes.h: ... here.
3167 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3168 * sysdeps/nptl/jmp-unwind.c: ... here.
3169 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3170 * nptl/libc-lowlevellock.c: ... here.
3171 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3172 * nptl/libc_multiple_threads.c: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3174 * nptl/libc_pthread_init.c: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3176 * nptl/lowlevelbarrier.sym: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3178 * nptl/lowlevelcond.sym: ... here.
3179 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3180 * nptl/lowlevellock.c: ... here.
3181 * nptl/lowlevellock.h: Moved ...
3182 * sysdeps/nptl/lowlevellock.h: ... here.
3183 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3184 * nptl/lowlevelrobustlock.c: ... here.
3185 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3186 * nptl/lowlevelrobustlock.sym: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3188 * nptl/lowlevelrwlock.sym: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3190 * nptl/pt-fork.c: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3192 * nptl/pthread-pi-defines.sym: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3194 * nptl/pthread_attr_getaffinity.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3196 * nptl/pthread_attr_setaffinity.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3198 * nptl/pthread_mutex_cond_lock.c: ... here.
3199 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3200 Update #include.
3201 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3203 * nptl/pthread_once.c: ... here, replacing old file.
3204 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3205 * nptl/pthread_yield.c: ... here.
3206 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3207 * nptl/register-atfork.c: ... here.
3208 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3209 * nptl/sem_post.c: ... here.
3210 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3211 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3212 * nptl/sem_timedwait.c: ... here.
3213 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3214 * nptl/sem_trywait.c: ... here.
3215 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3216 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3217 * nptl/sem_wait.c: ... here.
3218 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3219 * nptl/structsem.sym: ... here.
3220 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3221 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3222 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3223 * nptl/unregister-atfork.c: ... here.
3224 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3225 * nptl/unwindbuf.sym: ... here.
3226 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3227 * sysdeps/nptl/fork.c: ... here.
3228 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3229 * sysdeps/nptl/fork.h: ... here.
3230 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3231 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3232 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3233 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3234 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3235 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3236 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3237 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3238 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3239 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3240 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3241 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3242 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3243 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3244 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3246 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3248 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3250 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3252 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3254 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3255 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3256 * sysdeps/unix/sysv/linux/raise.c: ... here.
3257 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3258 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3259 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3260 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3261 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3262 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3263 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3264 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3266 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3267 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3268 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3269 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3270 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3271 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3272
96baf6ff
SP
32732014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3274
3275 * sysdeps/generic/memcopy.h: Add comment for
3276 MEMCPY_OK_FOR_FWD_MEMMOVE.
3277
6b7b14b2
WN
32782014-07-04 Will Newton <will.newton@linaro.org>
3279
1570a72b
WN
3280 * string/memchr.c: Merge from gnulib.
3281 [_LIBC]: Remove conditionals.
3282 (__ptr_t): Remove define.
3283 (LONG_MAX_32_BITS): Likewise.
3284 (LONG_MAX): Likewise.
3285 (MEMCHR): Use ANSI prototype and optimize algorithm.
3286
6b7b14b2
WN
3287 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3288
38851324
SP
32892014-07-03 Roland McGrath <roland@hack.frob.com>
3290
3d9eb57c
RM
3291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3292 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3293
78b984ae
RM
3294 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3295 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3296 in a bare environment with no <stdlib.h> installed.
3297 * sysdeps/nptl/configure: Regenerated.
3298
2d5976a5
RM
3299 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3300
c1f5acd4
RM
3301 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3302 AC_EGREP_CPP for kernel header checks, so they only succeed if
3303 including <linux/version.h> actually works right.
3304 * sysdeps/unix/sysv/linux/configure: Regenerated.
3305
4d614fe5
RM
3306 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3307 value so it's not diagnosed as unused.
3308
38851324
SP
3309 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3310 thing) with "ifeq ($(subdir),rt)".
3311
b3ec00e5
RH
33122014-07-03 Richard Henderson <rth@redhat.com>
3313
69862e25
RH
3314 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3315 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3316 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3317
d5e16ade
RH
3318 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3319 (math_force_eval): New.
3320
ca7b945c
RH
3321 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3322 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3323
cd1175a3
RH
3324 * sysdeps/alpha/fpu/s_round.c: Remove file.
3325 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3326
b3ec00e5
RH
3327 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3328 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3329 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3330 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3331 (_dl_start, print_statistics): Likewise.
3332 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3333 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3334
3335 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3336 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3337 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3338 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3339 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3340 (HP_SMALL_TIMING_AVAIL): Define.
3341 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3343 (HP_SMALL_TIMING_AVAIL): Define.
3344 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3345 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3346
3347 * sysdeps/aarch64/hp-timing.h: New file.
3348
3349 * sysdeps/generic/hp-timing.h: Remove dead comment.
3350 * sysdeps/generic/hp-timing-common.h: New file.
3351 * sysdeps/alpha/hp-timing.h: Include it.
3352 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3353 * sysdeps/i386/i686/hp-timing.h: Likewise.
3354 * sysdeps/ia64/hp-timing.h: Likewise.
3355 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3356 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3357 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3358 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3359 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3360 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3361 (hp_timing_t): New.
3362
3363 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3364 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3365 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3366 * elf/rtld.c (_dl_start_final): Likewise.
3367 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3368 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3369 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3370 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3371 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3372 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3373 (HP_TIMING_DIFF_INIT): Remove.
3374 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3375 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3376 (HP_TIMING_DIFF_INIT): Remove.
3377 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3378 * sysdeps/i386/i686/hp-timing.c: Remove file.
3379 * sysdeps/x86_64/hp-timing.c: Remove file.
3380 * sysdeps/ia64/hp-timing.c: Remove file.
3381 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3382 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3383 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3384 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3385
3386 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3387 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3388 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3389 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3390 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3391 (HP_TIMING_ACCUM): Remove.
3392 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3393 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3394 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3395
3396 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3397 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3398 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3399 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3401 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3402 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3403 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3404
3405 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3406
225f410f
MR
34072014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3408
3409 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3410
3247f285
SP
34112014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3412
3413 Sync up with gettext.
3414 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3415 [_MSC_VER]: Include malloc.h
3416 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3417 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3418 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3419 TEMP_FAILURE_RETRY. Cast return of alloca.
3420 [!_LIBC] Call gl_rwlock_init.
3421 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3422
d12704c7
SP
34232014-07-02 Roland McGrath <roland@hack.frob.com>
3424
3425 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3426 before checking its value.
3427
99f8dc92
SP
34282014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3429
05fdac77
SP
3430 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3431
99f8dc92
SP
3432 * debug/memcpy_chk.c: Don't include pagecopy.h.
3433 * debug/mempcpy_chk.c: Likewise.
3434 * string/memcpy.c: Likewise.
3435 * string/memmove.c: Likewise.
3436 * sysdeps/powerpc/memmove.c: Likewise.
3437 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3438 definition of PAGE_COPY_FWD_MAYBE here...
3439 * sysdeps/generic/pagecopy.h: ... from here.
3440 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3441
bc8ea385
VR
34422014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3443 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444
3445 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3447 optimizations.
3448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3449 (__libc_ifunc_impl_list): Likewise.
3450 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3451 multiarch strcat for PPC64.
3452 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3453 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3454
fe5f34e4
RM
34552014-07-02 Roland McGrath <roland@hack.frob.com>
3456
3457 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3458
256aa665
SP
34592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3460
d4eb8195
SP
3461 * intl/loadmsgcat.c: Remove declaration of
3462 get_sysdep_segment_value.
3463 (get_sysdep_segment_value): Use ISO C style.
3464 (_nl_load_domain): Use ISO C style. Get rid of redundant
3465 semicolon. Fix typo and formatting in comment.
3466 (_nl_unload_domain): Use ISO C style.
3467
256aa665
SP
3468 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3469
b100f9aa
WN
34702014-07-02 Will Newton <will.newton@linaro.org>
3471
3472 * malloc/obstack.c: Merge from gnulib master.
3473 [HAVE_CONFIG_H]: Remove conditional code.
3474 [!_LIBC]: Include config.h.
3475 [!ELIDE_CODE]: Don't include inttypes.h, include
3476 stdint.h unconditionally.
3477 (print_and_abort): Mark as _Noreturn.
3478 (_obstack_allocated_p): Mark as __attribute_pure__.
3479 (obstack_free): Rename to __obstack_free.
3480 [!__attribute__]: Remove conditional code.
3481 * malloc/obstack.h: Merge from gnulib master.
3482 [__cplusplus]: Move conditional down.
3483 [!__attribute_pure__]: Define __attribute_pure__ here
3484 if it is not already defined.
3485 (_obstack_memory_used): Mark as __attribute_pure__.
3486 [!__obstack_free]: Define as obstack_free.
3487 [__GNUC__]: Remove check for ancient NeXT gcc.
3488
c4c41244
PE
34892014-07-02 Will Newton <will.newton@linaro.org>
3490 Paul Eggert <eggert@cs.ucla.edu>
3491
3492 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3493
e1e041c4
SP
34942014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
3496 * resolv/gethnamaddr.c: Add comment warning that the file is
3497 not maintained.
3498
ccf431ff
CD
34992014-07-01 Carlos O'Donell <carlos@redhat.com>
3500
d34570a6
CD
3501 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3502 entries.
3503
ccf431ff
CD
3504 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3505 entry for aio_cancel and aio_cancel64.
3506 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3507 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3508 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3509 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3510 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3511 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3512 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3513 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3514 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3515 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3516 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3517 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3518 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3519
ca06321d
RM
35202014-07-01 Roland McGrath <roland@hack.frob.com>
3521
3522 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3523 * nptl/pthread_mutex_lock.c: Likewise.
3524 * nptl/pthread_mutex_timedlock.c: Likewise.
3525 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3526
a1ac3184
RH
35272014-07-01 Richard henderson <rth@redhat.com>
3528
631021e0
RH
3529 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3530 (__isnan, __isnanl): Remove.
3531 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3532
a1ac3184
RH
3533 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3534
0c1d731f
SL
35352014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3536
3537 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3538
76985d3e
SP
35392014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3540
3541 * resolv/nss_dns/dns-host.c (getanswer_r)
3542 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3543
b0cb3096
JM
35442014-07-01 Joseph Myers <joseph@codesourcery.com>
3545
3546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3547 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3548 undefine.
3549 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3550 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3551
4d76cb39
RM
35522014-07-01 Roland McGrath <roland@hack.frob.com>
3553
3554 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3555 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3556
3557 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3558 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3559
3560 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3561 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3562 ... here.
3563 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3564 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3565
3566 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3567 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3568 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3569 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3570
3571 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3572 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3573 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3574 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3575 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3576 Moved ...
3577 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3578 ... here.
3579 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3580 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3581 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3582 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3583 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3584 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3585 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3586 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3587 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3588 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3589 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3590 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3591 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3592 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3593 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3594 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3595 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3596 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3597 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3598 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3599 ... here.
3600 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3601 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3602 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3603 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3604 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3605 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3606 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3607 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3608
0cdcad17
DH
36092014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3610
3611 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3612 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3613 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3614 Add sysdep.
3615
9b71d0e3
AZ
36162014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3617
3618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3619
665390c2
JM
36202014-06-30 Joseph Myers <joseph@codesourcery.com>
3621
ae05a9d7
JM
3622 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3623 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3624
a7672a2f
JM
3625 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3626
665390c2
JM
3627 * sysdeps/arm/libm-test-ulps: Regenerated.
3628
d7a05d07
MR
36292014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3630 Roland McGrath <roland@hack.frob.com>
3631
3632 * test-skeleton.c (signal_handler): Kill the whole process group
3633 before killing the child individually.
3634 (main): Report any failure on `setpgid'.
3635
46f1d8a6
RM
36362014-06-30 Roland McGrath <roland@hack.frob.com>
3637
3638 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3639 from _TLS_H to _ARM_NPTL_TLS_H.
3640 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3641 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3642
9c37ec0b
JM
36432014-06-30 Joseph Myers <joseph@codesourcery.com>
3644
ce9c5b3e
JM
3645 [BZ #16539]
3646 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3647 (__expm1l): Return argument unchanged when small but not
3648 subnormal.
3649
3a6e9887
JM
3650 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3651 include macro name.
3652 (_FP_UNPACK_RAW_1_P): Likewise.
3653 (_FP_PACK_RAW_1): Likewise.
3654 (_FP_PACK_RAW_1_P): Likewise.
3655 (_FP_MUL_MEAT_1_wide): Likewise.
3656 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3657 (_FP_MUL_MEAT_1_hard): Likewise.
3658 (_FP_DIV_MEAT_1_imm): Likewise.
3659 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3660 (_FP_DIV_MEAT_1_udiv): Likewise.
3661 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3662 (_FP_UNPACK_RAW_2): Likewise.
3663 (_FP_UNPACK_RAW_2_P): Likewise.
3664 (_FP_PACK_RAW_2): Likewise.
3665 (_FP_PACK_RAW_2_P): Likewise.
3666 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3667 (_FP_MUL_MEAT_2_wide): Likewise.
3668 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3669 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3670 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3671 (_FP_MUL_MEAT_2_gmp): Likewise.
3672 (_FP_DIV_MEAT_2_udiv): Likewise.
3673 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3674 (_FP_FRAC_SRL_4): Likewise.
3675 (_FP_FRAC_SRST_4): Likewise.
3676 (_FP_FRAC_SRS_4): Likewise.
3677 (_FP_UNPACK_RAW_4): Likewise.
3678 (_FP_UNPACK_RAW_4_P): Likewise.
3679 (_FP_PACK_RAW_4): Likewise.
3680 (_FP_PACK_RAW_4_P): Likewise.
3681 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3682 (_FP_MUL_MEAT_4_wide): Likewise.
3683 (_FP_MUL_MEAT_4_gmp): Likewise.
3684 (umul_ppppmnnn): Likewise.
3685 (_FP_DIV_MEAT_4_udiv): Likewise.
3686 (__FP_FRAC_ADD_4): Likewise.
3687 (__FP_FRAC_SUB_3): Likewise.
3688 (__FP_FRAC_SUB_4): Likewise.
3689 (__FP_FRAC_DEC_3): Likewise.
3690 (__FP_FRAC_DEC_4): Likewise.
3691 (__FP_FRAC_ADDI_4): Likewise.
3692 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3693 (_FP_FRAC_SRL_8): Likewise.
3694 (_FP_FRAC_SRS_8): Likewise.
3695
9c37ec0b
JM
3696 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3697 include macro name.
3698 (FP_UNPACK_RAW_EP): Likewise.
3699 (FP_PACK_RAW_E): Likewise.
3700 (FP_PACK_RAW_EP): Likewise.
3701 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3702 (_FP_ISSIGNAN): Likewise.
3703 (_FP_ADD_INTERNAL): Likewise.
3704 (_FP_FMA): Likewise.
3705 (_FP_CMP): Likewise.
3706 (_FP_SQRT): Likewise.
3707 (_FP_TO_INT): Likewise.
3708 (_FP_FROM_INT): Likewise.
3709 (FP_EXTEND): Likewise.
3710 (_FP_DIV_MEAT_N_loop): Likewise.
3711
2125f674
MR
37122014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3713
3714 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3715 throughout.
3716
edea4028
JM
37172014-06-29 Joseph Myers <joseph@codesourcery.com>
3718
3719 [BZ #17097]
3720 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3721 result with correct sign in case of exponents that produce
3722 overflow except for X very close to 1.
3723
dd0ba018
PE
37242014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3725
3726 mktime: merge #if/#ifdef usage from glibc
3727 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3728 as that works with both Glibc's and Gnulib's style.
3729 See thread starting at Siddhesh Poyarekar's bug report at:
3730 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3731
64df73c2
SP
37322014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3733
3734 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3735 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3736 * sysdeps/tile/tilegx/memmove.c: Remove file.
3737
f1eafb41
JM
37382014-06-27 Joseph Myers <joseph@codesourcery.com>
3739
3740 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3741 abi-name definition.
3742 * scripts/soversions.awk: Do not handle or generate ABI lines.
3743 * shlib-versions: Remove ABI entries.
3744 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3745 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3746
58eb0862
RM
37472014-06-27 Roland McGrath <roland@hack.frob.com>
3748
37caf178
RM
3749 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3750 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3751 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3752 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3753 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3754 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3756 Moved ...
3757 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3758 ... here.
3759 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3760 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3761 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3762 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3764 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3765 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3766 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3767 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3768 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3769 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3770 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3771 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3772 Moved ...
3773 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3774 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3775 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3776 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3777 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3778 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3779 Moved ...
3780 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3781 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3782 Moved ...
3783 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3784 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3785 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3787 Moved ...
3788 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3789 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3790 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3792 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3793 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3794 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3795 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3796 Moved ...
3797 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3799 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3800 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3801 Moved ...
3802 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3803 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3804 Moved ...
3805 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3806 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3809 Moved ...
3810 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3811 ... here.
3812 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3813 Identical file removed.
3814 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3815 Moved ...
3816 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3818 Identical file removed.
3819 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3820 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3821 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3822 Moved ...
3823 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3824 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3825 Identical file removed.
3826 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3827 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3828 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3829 Identical file removed.
3830 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3832 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3833 Identical file removed.
3834 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3835 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3836 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3837 Identical file removed.
3838 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3839 Moved ...
3840 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3841 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3842 Identical file removed.
3843 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3844 Moved ...
3845 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3847 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3848 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3849 Identical file removed.
3850 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3851 Moved ...
3852 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3853 ... here.
3854 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3855 Identical file removed.
3856 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3857 Moved ...
3858 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3860 Identical file removed.
3861 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3862 Moved ...
3863 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3868 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3869 Moved ...
3870 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3872 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3873
58eb0862
RM
3874 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3875 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3876 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3877 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3878 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3879
6f12d062
AS
38802014-06-27 Arjun Shankar <arjun.is@lostca.se>
3881
3882 [BZ #17092]
3883 * nscd/nscd.c (monitor_child): Return exit status of child
3884 instead of return value from wait syscall.
3885
be254932
JM
38862014-06-27 Joseph Myers <joseph@codesourcery.com>
3887
cb403c34
JM
3888 * configure.ac (libc_commonpagesize): Remove variable.
3889 (libc_relro_required): Likewise.
3890 (libc_cv_z_relro): Remove configure test.
3891 * configure: Regenerated.
3892 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3893 variable.
3894 (libc_relro_required): Likewise.
3895 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3896 (libc_relro_required): Likewise.
3897 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3898 (libc_relro_required): Likewise.
3899 * sysdeps/arm/preconfigure: Regenerated.
3900 * sysdeps/ia64/preconfigure: Remove file.
3901 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3902 variable.
3903 (libc_relro_required): Likewise.
3904
be254932
JM
3905 [BZ #16561]
3906 [BZ #16562]
3907 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3908 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3909 recompute overflowing results in original rounding mode.
3910 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3911 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3912 recompute overflowing results in original rounding mode.
3913 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3914 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3915 recompute overflowing results in original rounding mode.
3916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3917 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3918 recompute overflowing results in original rounding mode.
3919 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3920 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3921 recompute overflowing results in original rounding mode.
3922 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3923 (libc_feholdsetround_ctx): New macro.
3924 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3927
b351d85a
JM
39282014-06-26 Joseph Myers <joseph@codesourcery.com>
3929
3930 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3931 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3932 corresponding .cpsetup call.
3933
3cb4de47
RM
39342014-06-26 Roland McGrath <roland@hack.frob.com>
3935
3936 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3937 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3938 * sysdeps/arm/Makefile [$(subdir) = csu]
3939 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3940 (static-only-routines): Add aeabi_read_tp here.
3941 (shared-only-routines): Add libc-aeabi_read_tp here.
3942 (CFLAGS-libc-start.c): Add -fexceptions here.
3943 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3944 (sysdep_routines, static-only-routines, shared-only-routines):
3945 Don't add to these here.
3946 (CFLAGS-libc-start.c): Likewise.
3947
3948 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3949 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3950 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3951 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3952 * sysdeps/arm/Makefile [$(subdir) = rt]
3953 (librt-sysdep_routines, librt-shared-only-routines):
3954 Append rt-aeabi_unwind_cpp_pr1 here.
3955 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3956 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3957 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3958 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3959 Append nptl-aeabi_unwind_cpp_pr1 here.
3960 (tests): Filter out tst-cleanupx4 here.
3961 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3962 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3963 Don't do those here.
3964
354426bb
JM
39652014-06-26 Joseph Myers <joseph@codesourcery.com>
3966
3967 * scripts/list-sources.sh: Do not handle ports specially.
3968
28b0a8c9
RM
39692014-06-26 Roland McGrath <roland@hack.frob.com>
3970
a3dd035d
RM
3971 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3972 * sysdeps/arm/feupdateenv.c: Likewise.
3973
28b0a8c9
RM
3974 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3975
e66a8203
JM
39762014-06-26 Joseph Myers <joseph@codesourcery.com>
3977
3978 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3979 trailing whitespace removed.
3980 * scripts/config.guess: Update to version 2014-03-23.
3981 * scripts/config.sub: Update to version 2014-05-01
3982 * scripts/install-sh: Update to version 2013-12-25.23.
3983 * scripts/move-if-change: Update from gnulib.
3984
74171115
SP
39852014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3986
b97c9ce5
SP
3987 * debug/memmove_chk.c: Remove pagecopy.h include.
3988
4000f892
SP
39892014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3990
74171115
SP
3991 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3992 identical to gnulib mktime.
3993
a8779c28
JM
39942014-06-26 Joseph Myers <joseph@codesourcery.com>
3995
e64708de
JM
3996 * configure.ac: Do not test for machine being rs6000. Do not test
3997 for powerpc*-*soft.
3998 * configure: Regenerated.
3999
a8779c28
JM
4000 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4001 test.
4002 * configure: Regenerated.
4003 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4004 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4005 Remove configure test.
4006 * sysdeps/arm/configure: Regenerated.
4007 * sysdeps/nptl/configure.ac: Do not check
4008 libc_cv_asm_cfi_directives.
4009 * sysdeps/nptl/configure: Regenerated.
4010 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4011 * sysdeps/x86_64/nptl/configure: Remove generated file.
4012 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4013 unconditional.
4014 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4015
2aac0a86
SP
40162014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4017
059bf913
SP
4018 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4019 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4020 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4021 it is defined.
4022
4cf5b6d0
SP
4023 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4024 instead of whether it is defined.
4025 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4026 * sysdeps/hppa/dl-machine.h: Likewise.
4027 * sysdeps/ia64/dl-machine.h: Likewise.
4028 * sysdeps/m68k/dl-machine.h: Likewise.
4029 * sysdeps/microblaze/dl-machine.h: Likewise.
4030 * sysdeps/mips/dl-machine.: Likewise.
4031 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4032 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4033 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4034 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4035 * sysdeps/sh/dl-machine.h: Likewise.
4036 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4037 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4038 * sysdeps/tile/dl-machine.h: Likewise.
4039 * sysdeps/x86_64/dl-machine.h: Likewise.
4040
2aac0a86
SP
4041 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4042 code.
4043 (verify_persistent_db): Likewise.
4044
6ad2df0b
RM
40452014-06-26 Roland McGrath <roland@hack.frob.com>
4046
d8a483f3
RM
4047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4048 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4052 Moved ...
4053 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4054 ... here.
4055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4056 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4058 Identical file removed.
4059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4070 Moved ...
4071 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4077 Moved ...
4078 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4082 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4084 Identical file removed.
4085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4086 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4088 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4090 Moved ...
4091 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4092 ... here.
4093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4104 Moved ...
4105 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4107 Moved ...
4108 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4112 Moved ...
4113 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4116
52ae23b4
RM
4117 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4118 folded into ...
4119 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4120 * sysdeps/unix/sysv/linux/s390/Versions
4121 (libpthread: GLIBC_2.19): New version set.
4122 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4123 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4124 (librt: GLIBC_2.3.3): New version set.
4125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4126 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4127 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4129 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4131 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4133 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4135 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4136 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4137 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4139 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4141 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4143 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4145 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4146 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4147 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4149 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4151 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4153 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4155 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4157 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4161 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4163 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4165 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4167 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4169 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4170
39507e4a
RM
4171 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4172 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4173 (__libc_vfork): Define the function under this name.
4174 [!NOT_IN_libc] (__vfork): Make this an alias.
4175 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4176 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4177 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4178 (__libc_vfork): Define the function under this name.
4179 [!NOT_IN_libc] (__vfork): Make this an alias.
4180 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4181 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4182 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4183 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4184 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4185 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4186
e549ee56
RM
4187 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4188 code that was previously under [RESET_PID].
4189 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4190 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4191 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4192
6ad2df0b
RM
4193 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4194 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4195 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4196 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4197 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4198 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4199 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4200 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4201 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4202 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4203 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4204 Moved ...
4205 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4206 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4207 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4213 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4228 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4229 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4230 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4231 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4232 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4233 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4234
7c1c1d8e
RM
42352014-06-25 Roland McGrath <roland@hack.frob.com>
4236
4237 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4238 that was previously under [RESET_PID].
4239 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4240
3e239be6
JM
42412014-06-25 Joseph Myers <joseph@codesourcery.com>
4242
74385da5
JM
4243 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4244 not undefine and redefine.
4245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4246 [O_CLOEXEC]: Make code unconditional.
4247 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4248 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4249 <kernel-features.h>.
4250 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4251 conditional variable definition.
4252 (shm_open) [O_CLOEXEC]: Make code unconditional.
4253 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4254 code.
4255
c2570a0b
JM
4256 * configure.ac (USE_REGPARMS): Don't define here.
4257 * configure: Regenerated.
4258 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4259 * sysdeps/i386/configure: Regenerated.
4260
11b076bb
JM
4261 * nptl/createthread.c: Don't include kernel-features.h.
4262 * nptl/pthread_cancel.c: Likewise.
4263 * nptl/pthread_condattr_setclock.c: Likewise.
4264 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4265 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4266 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4267 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4268 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4269 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4270 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4272 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4273 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4274 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4275 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4276 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4277 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4278 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4279 * nscd/gai.c: Likewise.
4280 * nss/nss_db/db-open.c: Likewise.
4281 * sysdeps/generic/ldsodefs.h: Likewise.
4282 * sysdeps/sh/nptl/tls.h: Likewise.
4283 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4284 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4285 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4286 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4287 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4288 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4289 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4290 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4291 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4292 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4293 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4294 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4295 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4296 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4297 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4298 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4299 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4300 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4301 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4302 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4303 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4304 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4306 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4307 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4309 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4310 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4311 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4312 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4313 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4315 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4316 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4318 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4319 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4320 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4321 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4322 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4323 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4324 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4325 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4326 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4327 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4328 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4329 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4330 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4331 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4332 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4333 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4334 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4335 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4336 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4337 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4338 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4339 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4340 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4363 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4364 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4365 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4366 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4367 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4368 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4369 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4370 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4371 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4372 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4373 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4374 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4375 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4376 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4377 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4378 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4379 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4380 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4381 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4382 * sysdeps/unix/sysv/linux/system.c: Likewise.
4383 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4384 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4385 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4386 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4387 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4389 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4390
92072d57
JM
4391 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4392 * configure: Regenerated.
4393 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4394
3e239be6
JM
4395 * configure.ac (base_machine): Do not set specially for particular
4396 machines here.
4397 * configure: Regenerated.
4398 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4399 settings from configure.ac.
4400 * sysdeps/i386/preconfigure: New file.
4401 * sysdeps/s390/preconfigure: Likewise.
4402 * sysdeps/sh/preconfigure: Likewise.
4403 * sysdeps/sparc/preconfigure: Likewise.
4404
06d50baa
RM
44052014-06-25 Roland McGrath <roland@hack.frob.com>
4406
74836003
RM
4407 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4408 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4409 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4410 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4411 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4412 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4413 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4414 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4415 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4416 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4417 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4418 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4419 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4420 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4421 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4422 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4423 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4424 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4425 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4426
4427 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4428 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4429 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4430 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4431 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4432 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4433 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4434 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4435 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4436 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4437 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4438 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4439 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4440 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4441 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4442 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4443 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4444 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4445 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4446 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4447 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4448 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4449 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4450 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4452 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4453 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4454 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4456 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4457 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4458 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4459 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4460 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4461 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4462 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4463 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4464 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4465
06d50baa
RM
4466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4467 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4469 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4471 Moved ...
4472 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4473 ... here.
4474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4477 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4479 Moved ...
4480 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4484 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4486 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4488 Moved ...
4489 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4491 Moved ...
4492 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4496 Moved ...
4497 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4499 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4501 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4503 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4505 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4507 Moved ...
4508 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4509 ... here.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4513 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4515 Moved ...
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4524 Moved ...
4525 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4527 Moved ...
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4532 Moved ...
4533 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4537 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4538
a4ccbc9b
JM
45392014-06-25 Joseph Myers <joseph@codesourcery.com>
4540
0828edbf
JM
4541 * timezone/checktab.awk: Update from tzcode 2014e.
4542 * timezone/private.h: Likewise.
4543 * timezone/tzfile.h: Likewise.
4544 * timezone/zdump.c: Likewise.
4545 * timezone/zic.c: Likewise.
4546
a4ccbc9b
JM
4547 * sysdeps/unix/sysv/linux/kernel-features.h
4548 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4549 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4550 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4551 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4552 Remove conditional code.
4553
9aea0cb8
WN
45542014-06-25 Will Newton <will.newton@linaro.org>
4555
4556 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4557 (_dl_arm_cap_flags): Add HWCAP2 values.
4558 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4559 (_DL_HWCAP_COUNT): Increase to 37.
4560 (_DL_HWCAP_LAST): New define.
4561 (_DL_HWCAP2_LAST): New define.
4562 (_dl_procinfo): Add support for printing
4563 AT_HWCAP2 entries.
4564 (_dl_string_hwcap): Use _dl_hwcap_string.
4565
6eaa65ce
AZ
45662014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4567
4568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4569
0f5b7185
JM
45702014-06-25 Joseph Myers <joseph@codesourcery.com>
4571
cfd2ea50
JM
4572 * README: Do not mention ports directory.
4573
cecf2ed4
JM
4574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4575 Remove macro.
4576 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4577 <kernel-features.h>.
4578 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4579 conditional variable definition.
4580 (__futimes): Update comment.
4581 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4582 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4583
a638de82
JM
4584 [BZ #16560]
4585 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4586 arguments close to 0.
4587 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4588 Likewise.
4589 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4590 Likewise.
4591 * math/auto-libm-test-in: Add more tests of exp10.
4592 * math/auto-libm-test-out: Regenerated.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4594
0f5b7185
JM
4595 * sysdeps/unix/sysv/linux/kernel-features.h
4596 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4597 * sysdeps/unix/sysv/linux/readv.c: Do not include
4598 <kernel-features.h>.
4599 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4600 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4601 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4602 unconditional.
4603 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4604 conditional code.
4605 * sysdeps/unix/sysv/linux/writev.c: Do not include
4606 <kernel-features.h>.
4607 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4608 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4609 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4610 unconditional.
4611 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4612 conditional code.
4613
c7aec4be
WN
46142014-06-25 Will Newton <will.newton@linaro.org>
4615
4616 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4617 comment changes throughout the file. Remove checks
4618 for HAVE_*_H definitions that are not required.
4619 (__gen_tempname): Call abort if an unknown kind value is
4620 passed.
4621
c5241f95
AS
46222014-06-25 Andreas Schwab <schwab@suse.de>
4623
4624 [BZ #17086]
4625 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4626 scalbln, scalblnf, scalblnl in libc.
4627
911422da
SP
46282014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4629
4630 [BZ #17086]
4631 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4632 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4633 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4634
0d749bbe
RM
46352014-06-24 Roland McGrath <roland@hack.frob.com>
4636
4637 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4638 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4639 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4640 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4641 Update #include.
4642 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4643 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4644 Update #include.
4645 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4646 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4647 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4648 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4649 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4650 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4651 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4652 * sysdeps/x86/bits/semaphore.h: ... here.
4653 * sysdeps/x86/nptl/elide.h: Moved ...
4654 * sysdeps/x86/elide.h: ... here.
4655 * sysdeps/x86_64/nptl/Implies: File removed.
4656 * sysdeps/i386/nptl/Implies: File removed.
4657
0ea5d373
JM
46582014-06-24 Joseph Myers <joseph@codesourcery.com>
4659
4060283d
JM
4660 [BZ #16539]
4661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4662 return the argument for normal arguments with exponent below -64.
4663 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4664 Likewise.
4665 * math/auto-libm-test-in: Add another test of expm1.
4666 * math/auto-libm-test-out: Regenerated.
4667
e7dd3c8c
JM
4668 [BZ #16287]
4669 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4670 calling __erfcl for arguments at least 16.
4671 * math/auto-libm-test-in: Add more tests of erf.
4672 * math/auto-libm-test-out: Regenerated.
4673
0ea5d373
JM
4674 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4675 individual architectures.
4676 * sysdeps/unix/sysv/linux/configure: Regenerated.
4677 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4678 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4679 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4680 (ldd_rewrite_script): Define variable.
4681 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4683 file.
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4685 generated file.
4686 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4687 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4688 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4689 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4690 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4691 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4692 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4693 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4694
2307e126
SP
46952014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4696
4697 [BZ #17084]
4698 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4699 Rename member __data.d to __data.__elision_data.
4700
c0a4ed77
W
47012014-06-24 Wilco <wdijkstr@arm.com>
4702
4703 * NEWS: Add 16918 to fixed bug list.
4704
b8c00573
W
47052014-06-24 Wilco <wdijkstr@arm.com>
4706
4707 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4708
b5570d92
W
47092014-06-24 Wilco <wdijkstr@arm.com>
4710
4711 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4712 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4713 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4714 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4715 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4716 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4717 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4718 Use _FPU_MASK_RM.
4719
947bdca2
W
47202014-06-24 Wilco <wdijkstr@arm.com>
4721
4722 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4723
00f669ed
W
47242014-06-24 Wilco <wdijkstr@arm.com>
4725
4726 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4727 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4728 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4729 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4730
db59bad3
W
47312014-06-24 Wilco <wdijkstr@arm.com>
4732
4733 [BZ #16918]
4734 * sysdeps/arm/feupdateenv.c (feupdateenv):
4735 Rewrite to reduce FPSCR accesses and fix return value.
4736
001f7b77
W
47372014-06-24 Wilco <wdijkstr@arm.com>
4738
4739 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4740 Optimize to avoid unnecessary FPSCR writes.
4741 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4742 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4743 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4744 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4745
4841e6a6
W
47462014-06-24 Wilco <wdijkstr@arm.com>
4747
4748 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4749 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4750 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4751 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4752 Call libc_fetestexcept_vfp.
4753 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4754 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4755 __SOFTFP__ ifdef so that they can be built for softfp.
4756
0813022c
SP
47572014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4758
08e5862f
SP
4759 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4760 argument type signed char.
4761
0813022c
SP
4762 * Makerules (check-abi): Dump diff of symlist if the test
4763 fails.
4764
3fc7236a
RM
47652014-06-23 Roland McGrath <roland@hack.frob.com>
4766
aba8ef95
RM
4767 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4768 using abort.
4769
3fc7236a
RM
4770 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4771 Remove unused variable ST.
4772
4da6db51
JM
47732014-06-23 Joseph Myers <joseph@codesourcery.com>
4774
4648909d
JM
4775 [BZ #16354]
4776 [BZ #17061]
4777 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4778 small arguments before calling __expm1.
4779 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4780 small arguments before calling __expm1f.
4781 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4782 small arguments before calling __expm1l.
4783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4784 Likewise.
4785 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4786 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4787 spurious underflow for some cosh tests.
4788 * math/auto-libm-test-out: Regenerated.
4789 * sysdeps/i386/fpu/libm-test-ulps: Update.
4790
46a3d3c7
JM
4791 [BZ #17050]
4792 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4793 (__ieee754_y1): Set errno if return value overflows.
4794 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4795 (__ieee754_y1f): Set errno if return value overflows.
4796 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4797 (__ieee754_y1l): Set errno if return value overflows.
4798 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4799 (__ieee754_y1l): Set errno if return value overflows.
4800 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4801 * math/auto-libm-test-out: Regenerated.
4802
863893ec
JM
4803 * math/gen-auto-libm-tests.c: Document use of
4804 ignore-zero-inf-sign.
4805 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4806 (input_flags): Add ignore-zero-inf-sign.
4807 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4808 * math/gen-libm-test.pl (generate_testfile): Handle
4809 ignore-zero-inf-sign.
4810 * math/auto-libm-test-in: Mark some cpow tests with
4811 ignore-zero-inf-sign and some with xfail-rounding.
4812 * math/auto-libm-test-out: Regenerated.
4813 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4814 * sysdeps/i386/fpu/libm-test-ulps: Update.
4815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4816
4da6db51
JM
4817 [BZ #16315]
4818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4819 overflowing or underflowing operations take place with sign of
4820 result.
4821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4822 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4823 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4824 (__ieee754_pow): Recompute overflowing and underflowing results in
4825 original rounding mode.
4826 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4827 (__powl_helper): Allow negative argument X and scale negated value
4828 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4829 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4830 overflowing or underflowing operations take place with sign of
4831 result.
4832 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4833 Include <math.h>.
4834 * math/auto-libm-test-in: Add more tests of pow.
4835 * math/auto-libm-test-out: Regenerated.
4836 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4837 (pow_tonearest_test_data): Remove.
4838 (pow_test_tonearest): Likewise.
4839 (pow_towardzero_test_data): Likewise.
4840 (pow_test_towardzero): Likewise.
4841 (pow_downward_test_data): Likewise.
4842 (pow_test_downward): Likewise.
4843 (pow_upward_test_data): Likewise.
4844 (pow_test_upward): Likewise.
4845 (main): Don't call removed functions.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
5686b236
RM
48492014-06-23 Roland McGrath <roland@hack.frob.com>
4850
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4852 Moved ...
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4855 Moved ...
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4858 Moved ...
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4861 Moved ...
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4864 File removed.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4866 File removed.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4868 File removed.
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4870 File removed.
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4872 File removed.
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4874 File removed.
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4876 File removed.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4878 File removed.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4880 File removed.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4882 File removed.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4884 File removed.
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4886 File removed.
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4888 Moved ...
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4891 Moved ...
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4893 ... here.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4895 Moved ...
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4898 Moved ...
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4901 Moved ...
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4904 Moved ...
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4907 Moved ...
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4910 Moved ...
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4913 Moved ...
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4917 ... here.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4919 Moved ...
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4922 Moved ...
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4924 ... here.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4926 Moved ...
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4928 ... here.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4930 Moved ...
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4932 ... here.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4934 Moved ...
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4937 Moved ...
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4942 Moved ...
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4944 ... here.
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4946 Moved ...
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4948 ... here.
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4950 Moved ...
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4953 Moved ...
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4956 Moved ...
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4959 Moved ...
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4962 Moved ...
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4964 ... here.
4965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4966 Moved ...
4967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4972 Moved ...
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4975 Moved ...
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4980 Moved ...
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4983 Moved ...
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4986 Moved ...
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4988 ... here.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4990 Moved ...
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4992 ... here.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4994 Moved ...
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4996 ... here.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4998 Moved ...
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5001 Moved ...
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5004 Moved ...
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5007 Moved ...
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5009 ... here.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5011 Moved ...
5012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5013 ... here.
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5015 Moved ...
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5017 ... here.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5019 Moved ...
5020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5022 Moved ...
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5024
e6d90d67
WD
50252014-06-23 Will Newton <will.newton@linaro.org>
5026 Wilco <wdijkstr@arm.com>
5027
5028 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5029 implementation. Include get-rounding-mode.h.
5030 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5031 [!libc_feholdsetround_noex_ctx]: Define
5032 libc_feholdsetround_noex_ctx.
5033 [!libc_feholdsetround_noexf_ctx]: Define
5034 libc_feholdsetround_noexf_ctx.
5035 [!libc_feholdsetround_noexl_ctx]: Define
5036 libc_feholdsetround_noexl_ctx.
5037 (libc_feholdsetround_ctx): New function.
5038 (libc_feresetround_ctx): New function.
5039 (libc_feholdsetround_noex_ctx): New function.
5040 (libc_feresetround_noex_ctx): New function.
5041
d42df555
RM
50422014-06-23 Roland McGrath <roland@hack.frob.com>
5043
88a46474
RM
5044 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5045 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5046 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5047 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5048 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5049 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5050
15bed472
RM
5051 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5052 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5053 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5054 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5055 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5056 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5057 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5058 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5059 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5060 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5061 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5062 Moved ...
5063 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5064 ... here.
5065 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5070 Moved ...
5071 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5079 Moved ...
5080 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5082 Moved ...
5083 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5087 Moved ...
5088 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5092 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5093 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5094 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5095 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5096 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5097 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5098 Moved ...
5099 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5100 ... here.
5101 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5114 Moved ...
5115 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5117 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5118 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5121 Moved ...
5122 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5126 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5127
d42df555
RM
5128 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5129 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5130 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5137 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5138 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5139 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5140 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5141 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5145 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5156
76e5216e
JM
51572014-06-23 Joseph Myers <joseph@codesourcery.com>
5158
5159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5160 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5161 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5162 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5163 (IPV6_PMTUDISC_INTERFACE): Likewise.
5164 (IPV6_PMTUDISC_OMIT): Likewise.
5165
7a81cbcc
AS
51662014-06-23 Andreas Schwab <schwab@suse.de>
5167
5168 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5169 Remove unused errout label.
5170
db224009
AZ
51712014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172
5173 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5174 macro: hardware supports Vector Crypto instructions.
5175
f393b4aa
WN
51762014-06-23 Will Newton <will.newton@linaro.org>
5177
cc7d0447
WN
5178 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5179 rather than __builtin_expect.
5180
d6d06225
WN
5181 * elf/dl-lookup.c (undefined_msg): Remove variable.
5182 (_dl_lookup_symbol_x): Replace undefined_msg with string
5183 literal.
5184
f393b4aa
WN
5185 * elf/dl-lookup.c (do_lookup_unique): New function.
5186 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5187 to a separate function.
5188
ac60763e
AS
51892014-06-23 Andreas Schwab <schwab@suse.de>
5190
5191 [BZ #17079]
5192 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5193 before reading the next line.
5194
c5c13355
WN
51952014-06-23 Will Newton <will.newton@linaro.org>
5196
5197 * test-skeleton.c (signal_handler): Use printf and %m
5198 rather than perror. Use printf rather than fprintf to
5199 stderr. Use puts rather than fputs to stderr.
5200 (main): Likewise.
5201
bd3675f9
LC
52022014-06-22 Ludovic Courtès <ludo@gnu.org>
5203
5204 * nscd/nscd.c (thread_info_t): Remove typedef.
5205 (thread_info): Remove variable.
5206
d03efb2f
AM
52072014-06-21 Allan McRae <allan@archlinux.org>
5208
5209 * NEWS: Mention CVE-2014-4043.
5210
bc4a86fa
RM
52112014-06-20 Roland McGrath <roland@hack.frob.com>
5212
dc9a54f8
RM
5213 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5214 * nptl/smp.h: ... here.
5215
bd7022c4
RM
5216 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5217
26ffd5e6
RM
5218 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5219 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5220 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5221 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5222
93a6d082
RM
5223 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5224 * nptl/stack-aliasing.h: New file.
5225 * sysdeps/i386/i686/stack-aliasing.h: New file.
5226 * sysdeps/i386/i686/nptl/Makefile: File removed.
5227 * sysdeps/x86_64/stack-aliasing.h: New file.
5228 * sysdeps/x86_64/nptl/Makefile
5229 (CFLAGS-pthread_create.c): Variable removed.
5230
bc4a86fa
RM
5231 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5232 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5233 old file.
5234 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5235 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5236 old file.
5237
2272ffc1
JM
52382014-06-21 Joseph Myers <joseph@codesourcery.com>
5239
5240 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5241 (__ASSUME_SIGFRAME_V2): Remove macro.
5242 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5243 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5244 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5245 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5246 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5247 Declare as function. Remove conditional macro definitions.
5248 (__default_rt_sa_restorer): Likewise.
5249 (__default_sa_restorer_v1): Remove declaration.
5250 (__default_sa_restorer_v2): Likewise.
5251 (__default_rt_sa_restorer_v1): Likewise.
5252 (__default_rt_sa_restorer_v2): Likewise.
5253 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5254 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5255 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5256
4b88139b
RM
52572014-06-20 Roland McGrath <roland@hack.frob.com>
5258
5259 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5260 (libpthread-routines): Add sysdep.
5261 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5262 * sysdeps/unix/sysv/linux/sparc/Versions
5263 (libpthread: GLIBC_2.3.3): New version set.
5264 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5265 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5266 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5268 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5269 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5270 Moved ...
5271 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5273 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5275 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5277 * sysdeps/sparc/nptl/sem_init.c: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5279 * sysdeps/sparc/nptl/sem_post.c: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5281 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5283 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5285 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5286 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5287 (libpthread-routines): Add cpu_relax.
5288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5289 File removed.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5291 (librt: GLIBC_2.3.3): New version set.
5292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5293 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5295 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5296 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5298 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5300 Moved ...
5301 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5303 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5305 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5307 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5309 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5311 Moved ...
5312 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5313 Update #include.
5314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5315 Moved ...
5316 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5317 Update #include.
5318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5319 Moved ...
5320 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5321 Update #include.
5322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5323 Moved ...
5324 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5325 Update #include.
5326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5327 Moved ...
5328 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5329 Update #include.
5330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5331 Moved ...
5332 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5333 Update #include.
5334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5335 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5341 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5343 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5345 Moved ...
5346 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5350 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5351
d7109027
JM
53522014-06-20 Joseph Myers <joseph@codesourcery.com>
5353
9bc6103d
JM
5354 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5355 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5356 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5357 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5358 * nscd/nscd.c: Likewise.
5359 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5360 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5361 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5362 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5363
d7109027
JM
5364 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5365 <kernel-features.h>.
5366 (init_mq_netlink): Remove conditional have_sock_cloexec
5367 definitions. Remove code conditional on have_sock_cloexec < 0.
5368 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5369 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5370 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5371 <kernel-features.h>.
5372 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5373 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5374
d92d8f8a
L
53752014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5376
5377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5378 Add tests for memset_chk and memset.
5379
5380 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5381 with AVX2_Usable.
5382
4e6d2347
MR
53832014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5384
257ce712
MR
5385 [BZ #16046]
5386 * elf/tst-dl-iter-static.c: New file.
5387 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5388
4e6d2347
MR
5389 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5390 error.
5391
a2a76afe
JM
53922014-06-20 Joseph Myers <joseph@codesourcery.com>
5393
7fd00f99
JM
5394 * sysdeps/unix/sysv/linux/kernel-features.h
5395 (__ASSUME_F_GETOWN_EX): Remove macro.
5396 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5397 <kernel-features.h>.
5398 (miss_F_GETOWN_EX): Remove variable or macro.
5399 (do_fcntl): Do not check miss_F_GETOWN_EX.
5400 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5401
4a103975
JM
5402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5403 Remove macro.
5404 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5405 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5406 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5407
a2a76afe
JM
5408 * sysdeps/unix/sysv/linux/kernel-features.h
5409 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5410 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5411 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5412 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5413
90e5dd48
MR
54142014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5415
5416 [BZ #17075]
5417 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5418 Fix calculation of the symbol's value.
5419 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5420 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5421 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5422 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5423 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5424 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5425 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5426 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5427 (modules-names): Add `tst-armtlsdescmod',
5428 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5429 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5430 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5431 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5432 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5433 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5434 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5435 ($(objpfx)tst-armtlsdescloc): New dependency.
5436 ($(objpfx)tst-armtlsdescextnow): Likewise.
5437 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5438 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5439 TLS scheme support.
5440 * sysdeps/arm/configure: Regenerate.
5441
809fdf0d
JM
54422014-06-20 Joseph Myers <joseph@codesourcery.com>
5443
5444 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5445 (__atfct_seterrno_2): Likewise.
5446 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5447 <kernel-features.h>.
5448 (__ASSUME_ATFCTS): Do not undefine and redefine.
5449 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5450 (__have_atfcts): Remove conditional definition.
5451 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5452 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5453 unreachable if [__ASSUME_ATFCTS].
5454 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5455 not undefine and redefine.
5456 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5457 <kernel-features.h>.
5458 (faccessat) [__NR_faccessat]: Make code unconditional.
5459 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5460 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5461 <kernel-features.h>.
5462 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5463 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5464 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5465 <kernel-features.h>.
5466 (fchownat) [__NR_fchownat]: Make code unconditional.
5467 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5468 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5469 <kernel-features.h>.
5470 (futimesat) [__NR_futimesat]: Make code unconditional.
5471 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5472 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5473 <kernel-features.h>.
5474 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5475 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5476 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5477 <kernel-features.h>.
5478 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5479 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5480 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5481 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5482 <kernel-features.h>.
5483 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5484 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5485 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5486 <kernel-features.h>.
5487 (linkat) [__NR_linkat]: Make code unconditional.
5488 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5489 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5490 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5491 <kernel-features.h>.
5492 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5493 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5494 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5495 <kernel-features.h>.
5496 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5497 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5498 * sysdeps/unix/sysv/linux/openat.c: Do not include
5499 <kernel-features.h>.
5500 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5501 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5502 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5503 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5504 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5505 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5506 <kernel-features.h>.
5507 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5508 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5509 result of INLINE_SYSCALL directly, not via int variable.
5510 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5511 <kernel-features.h>.
5512 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5513 (renameat) [__NR_renameat]: Make code unconditional.
5514 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5515 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5516 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5517 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5519 (__ASSUME_ATFCTS): Do not undefine and redefine.
5520 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5521 <kernel-features.h>.
5522 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5523 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5524 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5525 <kernel-features.h>.
5526 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5527 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5528 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5529 (__ASSUME_ATFCTS): Do not undefine and redefine.
5530 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5531 <kernel-features.h>.
5532 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5533 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5534 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5535 <kernel-features.h>.
5536 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5537 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5538
224c6c51
L
55392014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5540
5541 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5542
aa6ec754
AS
55432014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5544
5545 [BZ #17069]
5546 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5547 constructed tree before returning error.
5548 * posix/bug-regexp36.c: Expand test case.
5549
d8c2869d
SL
55502014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5551
3ef6b850
SL
5552 [BZ #6803]
5553 * math/libm-test.inc (scalbln_test_date):
5554 Add errno expectations.
5555 * math/w_scalblnf.c: New File.
5556 Add wrapper which checks for setting errno to ERANGE.
5557 Add weak_alias for corresponding scalbln function.
5558 * math/w_scalbln.c: Likewise.
5559 * math/w_scalblnl.c: Likewise.
5560 * math/Makefile (libm-calls): Add w_scalbln.
5561 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5562 Remove weak_alias for corresponding scalbln function.
5563 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5565 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5567 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5568 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5569 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5570 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5571 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5572 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5573 Remove long_double_symbol for scalblnl function in libm, libc.
5574 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5575 Add wrapper which checks for setting errno to ERANGE.
5576 Add long_double_symbol for scalblnl function in libm, libc.
5577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5578 Remove long_double_symbol for scalblnl in libm.
5579 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5580 Add wrapper which checks for setting errno to ERANGE.
5581 Add long_double_symbol for scalblnl function in libm.
5582 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5583 Do not use wrapper because of own implementation.
5584
c8daec5c
L
55852014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5588 3 bytes for __pad1 for x32.
5589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5590
5c74e47c
LM
55912014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5592 H.J. Lu <hongjiu.lu@intel.com>
5593
5594 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5595 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5596 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5597 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5598 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5599
4d43ef1e
AS
56002014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5601
5602 [BZ #17069]
5603 * posix/regcomp.c (parse_expression): Deallocate partially
5604 constructed tree before returning error.
5605 * posix/Makefile.c (tests): Add bug-regex36.
5606 (generated): Add bug-regex36.mtrace.
5607 (tests-special): Add $(objpfx)bug-regex36-mem.out
5608 (bug-regex36-ENV): New variable.
5609 ($(objpfx)bug-regex36-mem.out): New rule.
5610 * posix/bug-regex36.c: New file.
5611
51a7380b
WN
56122014-06-19 Will Newton <will.newton@linaro.org>
5613
5614 * malloc/malloc.c (systrim): If extra is zero then return
5615 early.
5616
91b84fe5
SP
56172014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5620
f940b965
RE
56212014-06-19 Richard Earnshaw <rearnsha@arm.com>
5622
5623 * sysdeps/aarch64/strchr.S: New file.
5624
4ba7a00f
JM
56252014-06-18 Joseph Myers <joseph@codesourcery.com>
5626
5627 [BZ #17022]
5628 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5629 from arguments -2 or below.
5630 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5631 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5632
b3a9f56b
AS
56332014-06-18 Andreas Schwab <schwab@suse.de>
5634
5635 [BZ #17062]
5636 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5637 of a bracket expr not to run off the end of the string.
5638 * posix/Makefile (tests): Add tst-fnmatch3.
5639 * posix/tst-fnmatch3.c: New file.
5640
85d89278
JM
56412014-06-18 Joseph Myers <joseph@codesourcery.com>
5642
5643 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5644 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5645 [$(cross-compiling) = no]: Likewise.
5646 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5647 [$(cross-compiling) = no]: Likewise.
5648
754c5a08
RS
56492014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5650
5651 [BZ #17031]
5652 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5653 double, adjusted for any remainder from the high double.
5654 * math/libm-test.inc (nearbyint): Add tests.
5655 (rint): Likewise.
5656
556f529d
AZ
56572014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5658
5659 * nptl/sysdeps/powerpc/Makefile: Moved ...
5660 * sysdeps/powerpc/nptl/Makefile: ... here.
5661 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5662 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5663 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5664 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5665 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5666 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5667 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5668 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5669 * nptl/sysdeps/powerpc/tls.h: Moved ...
5670 * sysdeps/powerpc/nptl/tls.h: ... here.
5671
91c03c53
JM
56722014-06-16 Joseph Myers <joseph@codesourcery.com>
5673
5674 [BZ #16681]
5675 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5676 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5677 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5678 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5679 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5680 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5681 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5682 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5683 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5684
a76e63c5
AS
56852014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5686
5687 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5688
f2f6d82f
AS
56892014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5690
ea8a15f6
AS
5691 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5692 defined operator.
5693
f2f6d82f
AS
5694 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5695 $TIMEOUTFACTOR.
5696
a7291117
FW
56972014-06-16 Florian Weimer <fweimer@redhat.com>
5698
5699 [BZ #17058]
5700 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5701 non-executed part of the test.
5702
3d7c00e3
AS
57032014-06-16 Andreas Schwab <schwab@suse.de>
5704
5705 * string/bits/string2.h (strdup, strndup): Update feature guard.
5706
6957fb31
DM
57072014-06-14 David S. Miller <davem@davemloft.net>
5708
5709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5710
11b9e55b
AS
57112014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5712
1d2a0492
AS
5713 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5714 that was previously under [RESET_PID].
5715 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5716
11b9e55b
AS
5717 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5718 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5719 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5720 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5721 (__libc_vfork): New strong alias.
5722 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5723
0f6901d0
AK
57242014-06-14 Andi Kleen <ak@linux.intel.com>
5725
5726 * sysdeps/generic/elide.h: New file.
5727
38bbbb9f
SL
57282014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5729
5730 * Makefile (installed-headers): Adjust path of pthread.h header.
5731
45193bb8
RM
57322014-06-13 Roland McGrath <roland@hack.frob.com>
5733
9a25fd1e
RM
5734 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5735 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5737 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5738
4004f7e4
RM
5739 * nptl/sysdeps/s390/Makefile: Moved ...
5740 * sysdeps/s390/nptl/Makefile: ... here.
5741 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5742 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5743 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5744 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5745 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5746 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5747 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5748 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5749 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5750 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5751 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5752 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5753 * nptl/sysdeps/s390/tls.h: Moved ...
5754 * sysdeps/s390/nptl/tls.h: ... here.
5755
45193bb8
RM
5756 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5757 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5758
f6fdf533
DM
57592014-06-13 David S. Miller <davem@davemloft.net>
5760
5761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5764 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5768 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5769 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5770 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5771 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5772 Remove RESET_PID cpp guards.
5773 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5774 Remove RESET_PID cpp guards.
5775 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5776
f5d71e14
AS
57772014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5778
5779 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5780 __sp to uintptr_t.
5781
b7aa8caa
AK
57822014-06-13 Andi Kleen <ak@linux.intel.com>
5783
4b266200
AZ
5784 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5785 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5786 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5787 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5788 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5789 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5790 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5791 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5792 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5793 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5794 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5795 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5796 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5798 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5799 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5800 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5801 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5802 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5803 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
5804
5805 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
5806 (pthread_rwlock_rdlock): Add elision.
5807 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5808 (pthread_rwlock_wrlock): Add elision.
5809 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5810 (pthread_rwlock_trywrlock): Add elision.
5811 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5812 (pthread_rwlock_tryrdlock): Add elision.
5813 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5814 (pthread_rwlock_tryrdlock): Add elision unlock.
5815 * nptl/sysdeps/pthread/pthread.h:
5816 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5817 (PTHREAD_RWLOCK_INITIALIZER,
5818 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5819 Handle new elision field.
5820 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5821 * sysdeps/arm/nptl/bits/pthreadtypes.h
5822 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5823 * sysdeps/sh/nptl/bits/pthreadtypes.h
5824 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5825 * sysdeps/tile/nptl/bits/pthreadtypes.h
5826 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5827 * sysdeps/a/nptl/bits/pthreadtypes.h
5828 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5829 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5830 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5831 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5832 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5833 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5834 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5836 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5837 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5838 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5839 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5840 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5841 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5843 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5844 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5845 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5846 (elision_init): Set try_xbegin to zero when no RTM.
5847 * sysdeps/x86/nptl/bits/pthreadtypes.h
5848 (pthread_rwlock_t): Change __pad1 to __rwelision.
5849 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 5850
a832bdd3
AK
58512014-06-13 Andi Kleen <ak@linux.intel.com>
5852
5853 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5854 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5855 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5856 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5857
995a46bb
MI
58582014-06-13 Meador Inge <meadori@codesourcery.com>
5859
5860 [BZ #16996]
03ed7738 5861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
5862 that the cached result has been set before returning it.
5863
45262aee
RM
58642014-06-12 Roland McGrath <roland@hack.frob.com>
5865
febf6cc5
RM
5866 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5867 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5868 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5869 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5870 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5871 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5872
e2682246
RM
5873 * nptl/sysdeps/sparc/Makefile: Moved ...
5874 * sysdeps/sparc/nptl/Makefile: ... here.
5875 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5876 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5877 * nptl/sysdeps/sparc/tls.h: Moved ...
5878 * sysdeps/sparc/nptl/tls.h: ... here.
5879 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5880 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5881 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5882 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5883 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5884 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5885 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5886 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5887 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5888 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5889 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5890 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5891 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5892 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5893 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5894 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5895 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5896 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5897 Update #include.
5898 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5899 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5900 Update #include.
5901 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5902 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5903 Update #include.
5904 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5905 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5906 Update #include.
5907
b0725f43
RM
5908 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5909
b14368b8
RM
5910 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5911 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5912
c5620eb3
RM
5913 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5914 (struct list_links): Type removed.
5915 (struct thread_node, struct timer_node): Replace struct list_links
5916 with struct list_head.
5917 (list_unlink_ip): Likewise.
5918 * sysdeps/pthread/timer_routines.c
5919 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5920 (list_append, list_insbefore): Likewise.
5921 (list_init): Function removed.
5922 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
5923 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5924 * sysdeps/pthread/Makefile: ... here, new file.
5925
5926 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5927 * sysdeps/nptl/Implies: ... here.
5928 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5929 * nptl/sysdeps/pthread/list.h: Moved ...
5930 * include/list.h: ... here.
5931 * nptl/sysdeps/pthread/createthread.c: Moved ...
5932 * nptl/createthread.c: ... here.
5933 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5934 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5935 * nptl/pt-longjmp.c: ... here.
5936 * nptl/sysdeps/pthread/Makefile: Moved ...
5937 * sysdeps/nptl/Makefile: ... here.
5938 * nptl/sysdeps/pthread/Subdirs: Moved ...
5939 * sysdeps/nptl/Subdirs: ... here.
5940 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5941 * sysdeps/nptl/aio_misc.h: ... here.
5942 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5943 * sysdeps/nptl/bits/libc-lock.h: ... here.
5944 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5945 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5946 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5947 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5948 * nptl/sysdeps/pthread/configure: Moved ...
5949 * sysdeps/nptl/configure: ... here.
5950 * nptl/sysdeps/pthread/configure.ac: Moved ...
5951 * sysdeps/nptl/configure.ac: ... here.
5952 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5953 * sysdeps/nptl/gai_misc.h: ... here.
5954 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5955 * sysdeps/nptl/librt-cancellation.c: ... here.
5956 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5957 * sysdeps/nptl/malloc-machine.h: ... here.
5958 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5959 * sysdeps/nptl/pthread-functions.h: ... here.
5960 * nptl/sysdeps/pthread/pthread.h: Moved ...
5961 * sysdeps/nptl/pthread.h: ... here.
5962 * nptl/sysdeps/pthread/setxid.h: Moved ...
5963 * sysdeps/nptl/setxid.h: ... here.
5964 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5965 * sysdeps/nptl/sigfillset.c: ... here.
5966 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5967 * sysdeps/nptl/tcb-offsets.h: ... here.
5968 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5969 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5970 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5971 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5972 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5973 * sysdeps/pthread/allocalim.h: ... here.
5974 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5975 * sysdeps/pthread/bits/sigthread.h: ... here.
5976 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5977 * sysdeps/pthread/flockfile.c: ... here.
5978 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5979 * sysdeps/pthread/ftrylockfile.c: ... here.
5980 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5981 * sysdeps/pthread/funlockfile.c: ... here.
5982 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5983 * sysdeps/pthread/posix-timer.h: ... here.
5984 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5985 * sysdeps/pthread/timer_create.c: ... here.
5986 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5987 * sysdeps/pthread/timer_delete.c: ... here.
5988 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5989 * sysdeps/pthread/timer_getoverr.c: ... here.
5990 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5991 * sysdeps/pthread/timer_gettime.c: ... here.
5992 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5993 * sysdeps/pthread/timer_routines.c: ... here.
5994 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5995 * sysdeps/pthread/timer_settime.c: ... here.
5996 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5997 * sysdeps/pthread/tst-timer.c: ... here.
5998 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5999 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6000
e876b090
RM
6001 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6002 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6003
f6b07b3d
RM
6004 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6005 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6006 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6007 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6008 Update #include target.
6009 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6010 * sysdeps/i386/i686/nptl/Makefile: ... here.
6011 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6012 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6013 Update #include target.
6014 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6015 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6016 * nptl/sysdeps/i386/Makefile: Moved ...
6017 * sysdeps/i386/nptl/Makefile: ... here.
6018 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6019 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6020 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6021 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6022 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6023 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6024 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6025 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6026 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6027 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6028 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6029 * nptl/sysdeps/i386/tls.h: Moved ...
6030 * sysdeps/i386/nptl/tls.h: ... here.
6031
45262aee
RM
6032 * sysdeps/sh/Makefile [$(subdir) = csu]
6033 (gen-as-const-headers): Add tcb-offsets.sym.
6034 * nptl/sysdeps/sh/Makefile: File removed.
6035 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6036 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6037 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6038 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6039 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6040 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6041 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6042 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6043 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6044 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6045 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6046 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6047 * nptl/sysdeps/sh/tls.h: Moved ...
6048 * sysdeps/sh/nptl/tls.h: ... here.
6049 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6050 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6052 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6054 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6055 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6056 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6057 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6058 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6060 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6061 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6062 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6063 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6064 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6065 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6066 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6068 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6070 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6072 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6074 Moved ...
6075 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6077 Moved ...
6078 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6079 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6080 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6081 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6082 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6083 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6084 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6086 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6088 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6089 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6090 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6091 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6092 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6093 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6094 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6095 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6096 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6097
35a5e3e3
SL
60982014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6099
6100 * posix/spawn_faction_addopen.c: Include string.h.
6101
14642b85
RM
61022014-06-11 Roland McGrath <roland@hack.frob.com>
6103
6104 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6105 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6106 * nptl/sysdeps/x86_64/Makefile: Moved ...
6107 * sysdeps/x86_64/nptl/Makefile: ... here.
6108 * nptl/sysdeps/x86_64/configure: Moved ...
6109 * sysdeps/x86_64/nptl/configure: ... here.
6110 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6111 * sysdeps/x86_64/nptl/configure.ac: ... here.
6112 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6113 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6114 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6115 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6116 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6117 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6118 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6119 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6120 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6121 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6122 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6123 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6124 * nptl/sysdeps/x86_64/tls.h: Moved ...
6125 * sysdeps/x86_64/nptl/tls.h: ... here.
6126 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6127 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6128 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6129 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6130
6131 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6132
31c44fea
AZ
61332014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6134
6135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6136
e81a4f9a
JM
61372014-06-11 Joseph Myers <joseph@codesourcery.com>
6138
6139 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6140 type.
6141 [POSIX] (off_t): Likewise.
6142 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6143 [POSIX] (S_ISBLK): Require macro.
6144 [POSIX] (S_ISCHR): Likewise.
6145 [POSIX] (S_ISDIR): Likewise.
6146 [POSIX] (S_ISFIFO): Likewise.
6147 [POSIX] (S_ISREG): Likewise.
6148 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6149 optional-macro.
6150 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6151 type.
6152 [POSIX] (time_t): Likewise.
6153 [POSIX] (timer_t): Likewise.
6154
89e435f3
FW
61552014-06-11 Florian Weimer <fweimer@redhat.com>
6156
6157 [BZ #17048]
6158 * posix/spawn_int.h (struct __spawn_action): Make the path string
6159 non-const to support deallocation.
6160 * posix/spawn_faction_addopen.c
6161 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6162 * posix/spawn_faction_destroy.c
6163 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6164 path in all spawn_do_open actions.
6165 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6166 posix_spawn_file_actions_addopen.
6167
c3a2ebe1
CM
61682014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6169
6170 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6171 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6172 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6173 conditional code always true.
6174 (__libc_vfork): New alias.
6175
9503784a
RM
61762014-06-11 Roland McGrath <roland@hack.frob.com>
6177
c9cab3d2
RM
6178 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6179 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6180
d3996c79
RM
6181 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6182
ba5ec611
RM
6183 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6184 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6185
f12b4814
RM
6186 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6187 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6188
9503784a
RM
6189 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6190 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6191
e23d3d26
VR
61922014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6193
6194 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6195 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6196 multiarch strcmp for PPC64.
6197 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6198 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6200 multiarch optimizations.
6201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6202 (__libc_ifunc_impl_list): Likewise.
6203
42b1161e
SP
62042014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
6206 * benchtests/scripts/validate_benchout.py: New script.
6207 * benchtests/Makefile (bench-func): Call it.
6208 * benchtests/scripts/benchout.schema.json: New file.
6209
2d0fc4dc
CM
62102014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6211
4a594c34
AZ
6212 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6213 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6214 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6215 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6216 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6217 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6218 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6219 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6220 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6221 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6222 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6223 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6224 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6225 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6226 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6227 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6229 Moved ...
4a594c34 6230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6231 ... here.
4a594c34 6232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6233 Moved ...
4a594c34
AZ
6234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6236 Moved ...
4a594c34 6237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6238 ... here.
4a594c34 6239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6240 Moved ...
4a594c34 6241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6242 ... here.
4a594c34 6243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6244 Moved ...
4a594c34
AZ
6245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6247 Moved ...
4a594c34 6248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6249 ... here.
4a594c34 6250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6251 Moved ...
4a594c34 6252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6253 ... here.
4a594c34 6254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6255 Moved ...
4a594c34
AZ
6256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6258 Moved ...
4a594c34 6259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6260 ... here.
4a594c34 6261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6262 Moved ...
4a594c34 6263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6264 ... here.
4a594c34 6265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6266 Moved ...
4a594c34 6267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6268 ... here.
4a594c34 6269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6270 Moved ...
4a594c34
AZ
6271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6273 Moved ...
4a594c34 6274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6275 ... here.
4a594c34 6276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6277 Moved ...
4a594c34 6278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6279 ... here.
4a594c34 6280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6281 Moved ...
4a594c34 6282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6283 ... here.
4a594c34 6284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6285 Moved ...
4a594c34
AZ
6286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6288 Moved ...
4a594c34 6289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6290 ... here.
4a594c34 6291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6292 Moved ...
4a594c34 6293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6294 ... here.
4a594c34 6295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6296 Moved ...
4a594c34
AZ
6297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6299 Moved ...
4a594c34 6300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6301 ... here.
4a594c34 6302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6303 Moved ...
4a594c34
AZ
6304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6306 Moved ...
4a594c34
AZ
6307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6309 Moved ...
4a594c34 6310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6311 ... here.
4a594c34 6312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6313 Moved ...
4a594c34 6314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6315 ... here.
4a594c34 6316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6317 Moved ...
4a594c34 6318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6319 ... here.
4a594c34 6320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6321 Moved ...
4a594c34
AZ
6322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6324 Moved ...
4a594c34 6325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6326 ... here.
4a594c34 6327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6328 Moved ...
4a594c34 6329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6330 ... here.
4a594c34
AZ
6331 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6332 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6333 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6336 Moved ...
4a594c34 6337 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6338 ... here.
4a594c34
AZ
6339 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6340 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6341 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6342 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6343 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6344 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6346 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6347 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6348 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6349 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6350 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6352 Moved ...
4a594c34
AZ
6353 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6354 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6355 Moved ...
4a594c34
AZ
6356 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6360 Moved ...
4a594c34
AZ
6361 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6362 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6363 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6364 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6365 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6366 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6367 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6368
0570cfed
W
63692014-06-10 Wilco <wdijkstr@arm.com>
6370
6371 * math/test-fenv-return.c: New file.
6372 * math/Makefile: Add new test test-fenv-return.
6373
f8ba1b56
JM
63742014-06-10 Joseph Myers <joseph@codesourcery.com>
6375
6376 [BZ #17042]
6377 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6378 when x - 1 is zero.
6379 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6380 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6381 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6382 0.0L for an argument of 1.0L.
6383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6384 Likewise.
6385 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6386 value when x - 1 is zero.
6387 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6388 * sysdeps/i386/fpu/libm-test-ulps: Update.
6389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6390
2c3520d9
BO
63912014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6392
6393 [BZ #15119]
6394 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6395
acaa4d24
RM
63962014-06-09 Roland McGrath <roland@hack.frob.com>
6397
6398 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6399 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6400
962b744d
RM
64012014-06-09 Roland McGrath <roland@hack.frob.com>
6402
d752f0cc
RM
6403 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6404 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6405
34eda6d1
RM
6406 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6407 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6408
50f0a637
RM
6409 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6410 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6411
08f41f04
RM
6412 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6413 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6414
962b744d
RM
6415 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6416 if not already defined.
6417 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6418 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6419 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6420 (TLS_INIT_TP): Use it.
6421 (TLS_DEFINE_INIT_TP): New macro.
6422 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6423
09f19b05
JM
64242014-06-09 Joseph Myers <joseph@codesourcery.com>
6425
6426 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6427 constant.
6428 [POSIX] (IXANY): Likewise.
6429 [POSIX] (OLCUC): Likewise.
6430 [POSIX || POSIX2008] (CBAUD): Do not allow.
6431 [POSIX || POSIX2008] (DEFECHO): Likewise.
6432 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6433 [POSIX || POSIX2008] (ECHOKE): Likewise.
6434 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6435 [POSIX || POSIX2008] (EXTA): Likewise.
6436 [POSIX || POSIX2008] (EXTB): Likewise.
6437 [POSIX || POSIX2008] (FLUSHO): Likewise.
6438 [POSIX || POSIX2008] (LOBLK): Likewise.
6439 [POSIX || POSIX2008] (PENDIN): Likewise.
6440 [POSIX || POSIX2008] (SWTCH): Likewise.
6441 [POSIX || POSIX2008] (VDISCARD): Likewise.
6442 [POSIX || POSIX2008] (VDSUSP): Likewise.
6443 [POSIX || POSIX2008] (VLNEXT): Likewise.
6444 [POSIX || POSIX2008] (VREPRINT): Likewise.
6445 [POSIX || POSIX2008] (VSTATUS): Likewise.
6446 [POSIX || POSIX2008] (VWERASE): Likewise.
6447 (B*): Change to B[0123456789]*.
6448 * conform/data/time.h-data [POSIX || UNIX98]
6449 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6450 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6451 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6452 [POSIX] (tm_*): Do not allow.
6453
686554bf
JM
64542014-06-07 Joseph Myers <joseph@codesourcery.com>
6455
6456 * Makefile (install): Don't set LANGUAGE.
6457 * Makefile.in (install): Likewise.
6458 * assert/Makefile (test-assert-ENV): Remove variable.
6459 (test-assert-perr-ENV): Likewise.
6460 * elf/Makefile (neededtest4-ENV): Likewise.
6461 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6462 [$(cross-compiling) = no]: Don't set LANGUAGE.
6463 * io/ftwtest-sh (LANG): Remove variable.
6464 * libio/Makefile (tst-widetext-ENV): Likewise.
6465 * manual/install.texi (Running make install): Don't refer to
6466 environment settings for make install.
6467 * INSTALL: Regenerated.
6468 * nptl/tst-tls6.sh: Don't set LANG.
6469 * posix/globtest.sh (LANG): Remove variable.
6470 * string/Makefile (tester-ENV): Likewise.
6471 (inl-tester-ENV): Likewise.
6472 (noinl-tester-ENV): Likewise.
6473 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6474 [$(cross-compiling) = no]: Don't set LANGUAGE.
6475 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6476 without explicit environment settings.
6477
68e6b6b1
RM
64782014-06-06 Roland McGrath <roland@hack.frob.com>
6479
6480 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6481 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6482 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6483 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6484
4d3ae034
CM
64852014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6486
6487 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6488 other files in the crypt directory.
6489 * crypt/crypt.c: Remove duplicate includes.
6490 * crypt/crypt-entry.c: Likewise.
6491 * crypt/crypt_util.c: Likewise.
6492
8540f6d2
JM
64932014-06-06 Joseph Myers <joseph@codesourcery.com>
6494
6495 * Makeconfig (run-program-env): New variable.
6496 (run-program-prefix-before-env): Likewise.
6497 (run-program-prefix-after-env): Likewise.
6498 (run-program-prefix): Define in terms of new variables.
6499 (built-program-cmd-before-env): New variable.
6500 (built-program-cmd-after-env): Likewise.
6501 (built-program-cmd): Define in terms of new variables.
6502 (test-program-prefix-before-env): New variable.
6503 (test-program-prefix-after-env): Likewise.
6504 (test-program-prefix): Define in terms of new variables.
6505 (test-program-cmd-before-env): New variable.
6506 (test-program-cmd-after-env): Likewise.
6507 (test-program-cmd): Define in terms of new variables.
6508 * Rules (make-test-out): Use $(run-program-env).
6509 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6510 (help): Do not mention environment variables. Mention
6511 --timeoutfactor option.
6512 (timeoutfactor): New variable.
6513 (blacklist_exports): Remove function.
6514 (exports): Remove variable.
6515 (command): Do not include ${exports}.
6516 * manual/install.texi (Configuring and compiling): Do not mention
6517 test wrappers preserving environment variables. Mention that last
6518 assignment to a variable must take precedence.
6519 * INSTALL: Regenerated.
6520 * benchtests/Makefile (run-bench): Use $(run-program-env).
6521 * catgets/Makefile ($(objpfx)test1.cat): Use
6522 $(built-program-cmd-before-env), $(run-program-env) and
6523 $(built-program-cmd-after-env).
6524 ($(objpfx)test2.cat): Do not specify environment variables
6525 explicitly.
6526 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6527 $(run-program-env) and $(built-program-cmd-after-env).
6528 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6529 $(run-program-env) and $(test-program-cmd-after-env).
6530 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6531 explicitly.
6532 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6533 run_program_env and test_program_cmd_after_env arguments.
6534 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6535 * elf/tst-pathopt.sh: Use run_program_env argument.
6536 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6537 $(test-wrapper-env) and $(run-program-env).
6538 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6539 run_program_env arguments.
6540 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6541 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6542 $(test-program-prefix-before-env), $(run-program-env) and
6543 $(test-program-prefix-after-env).
6544 ($(objpfx)tst-gettext2.out): Likewise.
6545 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6546 run_program_env and test_program_prefix_after_env arguments.
6547 * intl/tst-gettext2.sh: Likewise.
6548 * intl/tst-gettext4.sh: Do not set environment variables
6549 explicitly.
6550 * intl/tst-gettext6.sh: Likewise.
6551 * intl/tst-translit.sh: Likewise.
6552 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6553 $(test-program-prefix-before-env), $(run-program-env) and
6554 $(test-program-prefix-after-env).
6555 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6556 run_program_env and test_program_prefix_after_env arguments.
6557 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6558 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6559 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6560 explicitly with each use of ${test_wrapper_env}.
6561 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6562 $(test-program-prefix-before-env), $(run-program-env) and
6563 $(test-program-prefix-after-env).
6564 * posix/tst-getconf.sh: Do not set environment variables
6565 explicitly.
6566 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6567 run_program_env and test_program_prefix_after_env arguments.
6568 * stdio-common/tst-printf.sh: Do not set environment variables
6569 explicitly.
6570 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6571 $(test-program-prefix-before-env), $(run-program-env) and
6572 $(test-program-prefix-after-env).
6573 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6574 run_program_env and test_program_prefix_after_env arguments.
6575 Split $test calls into $test_pre and $test.
6576 * timezone/Makefile (build-testdata): Use
6577 $(built-program-cmd-before-env), $(run-program-env) and
6578 $(built-program-cmd-after-env).
6579
ed36bfa1
AZ
65802014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581
6582 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6583 strlen for non SHARED builds.
6584
fc75bf46
SP
65852014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6586
6587 * nptl/allocatestack.c (check_list): Inlined function...
6588 (__reclaim_stacks): ... here.
6589
d89b3d80
OB
65902014-06-05 Ondřej Bílka <neleai@seznam.cz>
6591
6592 [BZ #15698]
6593 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6594 memory overrun.
6595
2bf18041
JM
65962014-06-05 Joseph Myers <joseph@codesourcery.com>
6597
6598 * Rules (make-test-out): Include
6599 LOCPATH=$(common-objpfx)localedata in default environment.
6600 * debug/Makefile (tst-chk1-ENV): Remove variable.
6601 (tst-chk2-ENV): Likewise.
6602 (tst-chk3-ENV): Likewise.
6603 (tst-chk4-ENV): Likewise.
6604 (tst-chk5-ENV): Likewise.
6605 (tst-chk6-ENV): Likewise.
6606 (tst-lfschk1-ENV): Likewise.
6607 (tst-lfschk2-ENV): Likewise.
6608 (tst-lfschk3-ENV): Likewise.
6609 (tst-lfschk4-ENV): Likewise.
6610 (tst-lfschk5-ENV): Likewise.
6611 (tst-lfschk6-ENV): Likewise.
6612 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6613 (tst-iconv7-ENV): Likewise.
6614 * intl/Makefile (LOCPATH-ENV): Likewise.
6615 (tst-codeset-ENV): Likewise.
6616 (tst-gettext3-ENV): Likewise.
6617 (tst-gettext5-ENV): Likewise.
6618 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6619 (tst-fopenloc-ENV): Likewise.
6620 (tst-fgetws-ENV): Remove variable.
6621 (tst-ungetwc1-ENV): Likewise.
6622 (tst-ungetwc2-ENV): Likewise.
6623 (bug-ungetwc2-ENV): Likewise.
6624 (tst-swscanf-ENV): Likewise.
6625 (bug-ftell-ENV): Likewise.
6626 (tst-fgetwc-ENV): Likewise.
6627 (tst-fseek-ENV): Likewise.
6628 (tst-ftell-partial-wide-ENV): Likewise.
6629 (tst-ftell-active-handler-ENV): Likewise.
6630 (tst-ftell-append-ENV): Likewise.
6631 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6632 (tst-regexloc-ENV): Likewise.
6633 (bug-regex1-ENV): Likewise.
6634 (tst-regex-ENV): Likewise.
6635 (tst-regex2-ENV): Likewise.
6636 (bug-regex5-ENV): Likewise.
6637 (bug-regex6-ENV): Likewise.
6638 (bug-regex17-ENV): Likewise.
6639 (bug-regex18-ENV): Likewise.
6640 (bug-regex19-ENV): Likewise.
6641 (bug-regex20-ENV): Likewise.
6642 (bug-regex22-ENV): Likewise.
6643 (bug-regex23-ENV): Likewise.
6644 (bug-regex25-ENV): Likewise.
6645 (bug-regex26-ENV): Likewise.
6646 (bug-regex30-ENV): Likewise.
6647 (bug-regex32-ENV): Likewise.
6648 (bug-regex33-ENV): Likewise.
6649 (bug-regex34-ENV): Likewise.
6650 (bug-regex35-ENV): Likewise.
6651 (tst-rxspencer-ENV): Likewise.
6652 (tst-rxspencer-no-utf8-ENV): Likewise.
6653 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6654 (tst-sscanf-ENV): Likewise.
6655 (tst-swprintf-ENV): Likewise.
6656 (tst-swscanf-ENV): Likewise.
6657 (test-vfprintf-ENV): Likewise.
6658 (scanf13-ENV): Likewise.
6659 (bug14-ENV): Likewise.
6660 (tst-grouping-ENV): Likewise.
6661 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6662 (tst-strtod3-ENV): Likewise.
6663 (tst-strtod4-ENV): Likewise.
6664 (tst-strtod5-ENV): Likewise.
6665 (testmb2-ENV): Likewise./
6666 * string/Makefile (tst-strxfrm-ENV): Likewise.
6667 (tst-strxfrm2-ENV): Likewise.
6668 (bug-strcoll1-ENV): Likewise.
6669 (test-strcasecmp-ENV): Likewise.
6670 (test-strncasecmp-ENV): Likewise.
6671 * time/Makefile (tst-strptime-ENV): Likewise.
6672 (tst-ftime_l-ENV): Likewise.
6673 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6674 (tst-mbrtowc-ENV): Likewise.
6675 (tst-wcrtomb-ENV): Likewise.
6676 (tst-mbrtowc2-ENV): Likewise.
6677 (tst-c16c32-1-ENV): Likewise.
6678 (tst-mbsnrtowcs-ENV): Likewise.
6679
cd1fb604
OB
66802014-06-05 Ondřej Bílka <neleai@seznam.cz>
6681
6682 * manual/resource.texi (How to get information about the memory
6683 subsystem?): Fix typo.
6684 Reported by Peon de la Parra Ivan <peon@keba.com>
6685
b42eca7d
GY
66862014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6687
6688 [BZ #16882]
6689 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6690 (pthread_spin_lock): Branch out of spin loop to proper location.
6691 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6692 (pthread_spin_lock): Likewise.
6693
902b71f9
DM
6694 * nptl/tst-spin4.c: New test.
6695 * nptl/Makefile (tests): Add tst-spin4.
6696
f9d2d032
AS
66972014-06-03 Andreas Schwab <schwab@suse.de>
6698
6699 [BZ #15946]
6700 * resolv/res_send.c (send_dg): Reload file descriptor after
6701 calling reopen.
6702
cf7bfd28
SL
67032014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6704
6705 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6706
111cc714
RH
67072014-06-03 Richard Henderson <rth@redhat.com>
6708
89b4bd6b
RH
6709 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6710 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6711 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6712 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6713 in the SAVE_PID block.
6714 (__libc_vfork): New alias.
71840409 6715 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6716
111cc714
RH
6717 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6718 child in registers, not on the stack. Remove RESET_PID conditionals.
6719 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6720
ccc39911
MS
67212014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6722
6723 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6724
693096cc
W
67252014-06-03 Wilco <wdijkstr@arm.com>
6726
6727 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6728 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6729 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6730 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6731 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6732 Likewise.
6733
0b4366bc
W
67342014-06-03 Wilco <wdijkstr@arm.com>
6735
6736 * sysdeps/aarch64/fpu/math_private.h
6737 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6738 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6739 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6740 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6741 Fix declarations.
6742
8747cd03
KS
67432014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6744
6745 * crypt/crypt-private.h: Include ufc-crypt.h.
6746 (__b64_from_24bit): Declare extern.
6747 * crypt/crypt_util.c(__b64_from_24bit): New function.
6748 (b64t): New static const variable.
6749 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6750 (b64t): Remove variable.
6751 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6752 * crypt/sha256-crypt.c: Include crypt-private.h.
6753 (b64t): Remove variable.
6754 (__sha256_crypt_r): Remove b64_from_24bit and replace
6755 with __b64_from_24bit.
6756 * crypt/sha512-crypt.c: Likewise.
6757
d936d379
RM
67582014-06-02 Roland McGrath <roland@hack.frob.com>
6759
6760 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6761 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6762 Label the code __libc_vfork rather than __vfork.
6763 [!NOT_IN_libc] (vfork): Define as weak alias.
6764 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6765 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6766 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6767
9fa76613
SP
67682014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6769
6770 * malloc/malloc.c (malloc_info): Fix format specifier for
6771 n_mmaps.
6772
a88dadbe
W
67732014-06-02 Wilco <wdijkstr@arm.com>
6774
6775 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6776 FPCR write.
6777
c95b3011
W
67782014-06-02 Wilco <wdijkstr@arm.com>
6779
6780 [BZ #17009]
6781 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6782 Rewrite to reduce FPCR/FPSR accesses.
6783
6b4d7a90
DM
67842014-06-01 David S. Miller <davem@davemloft.net>
6785
6786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6787
30f3d07c
DM
67882014-05-31 David S. Miller <davem@davemloft.net>
6789
6790 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6791 to occur in round to nearest mode when |x| >= 2.0
6792
74f31c18
RH
67932014-05-30 Richard Henderson <rth@twiddle.net>
6794
f0712b54
RH
6795 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6796 (PSEUDO_RET_NOERRNO): Remove.
6797 (ret): Don't redefine.
6798 (ret_NOERRNO): Define in terms of ret.
6799 (ret_ERRVAL): Likewise.
6800
74f31c18
RH
6801 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6802 use of PSEUDO_RET; perform the error check directly.
6803
30477995
MM
68042014-05-30 Marko Myllynen <myllynen@redhat.com>
6805
6806 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6807 with __int128_t.
6808
62a58816
SP
68092014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6810
6811 * malloc/malloc (malloc_info): Fix formatting.
6812
4d653a59
SP
68132014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6814 Roland McGrath <roland@hack.frob.com>
6815
6816 * malloc/malloc (malloc_info): Also print mmapped statistics.
6817
5190c17f
RM
68182014-05-30 Roland McGrath <roland@hack.frob.com>
6819
6820 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6821 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6822
987c0269
OB
68232014-05-30 Ondřej Bílka <neleai@seznam.cz>
6824
6825 * malloc/malloc.c (malloc_info): Inline mi_arena.
6826
af4e8ef9
RH
68272014-05-29 Richard Henderson <rth@twiddle.net>
6828
1670e207
RH
6829 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6830 Remove comma before expanding ASM_ARGS_##nr.
6831 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6832 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6833 of ASM_ARGS_##nr.
6834 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6835 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6836 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6837 (ASM_ARGS_1): Add leading comma.
6838
11a28aee
RH
6839 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6840 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6841 to __errno_location.
6842 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6843 Remove the expected plt for __errno_location.
6844
a17e5ffb 6845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 6846 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
6847 call to __read_tp.
6848
b5be4597
RH
6849 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6850 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6851 it and break it down.
6852 (DOCARGS_0, DOCARGS_1): Do nothing.
6853 (DOCARGS_2): Update to store into the new stack frame.
6854 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6855 (UNDOCARGS_1): Update to restore from the new stack frame.
6856 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6857 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6858
645d44ab
RH
6859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6860 (SINGLE_THREAD_P): New parameter for result regno.
6861 (PSEUDO): Update to match; use cbz instead of beq.
6862
a8b4f04a
RH
6863 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6864 Use ENTRY to define the _nocancel entry point. Share the syscall
6865 and syscall error check paths with the cancel path.
6866 (PSEUDO_END): New.
6867
af4e8ef9
RH
6868 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6869 whitespace; tabs before and after asm mnemonics.
6870
26b0d2e1
EW
68712014-05-29 Eric Wong <normalperson@yhbt.net>
6872
6873 [BZ #15132]
6874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6875 Call fstat64 or stat64 internally, depending on arguments passed.
6876 Replace stat buffer argument with file descriptor argument.
6877 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6878 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6879 Pass fd to __internal_statvfs instead of calling fstat64.
6880 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6881 Pass fd to __internal_statvfs64 instead of calling fstat64.
6882 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6883 Pass -1 to __internal_statvfs instead of calling stat64.
6884 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6885 Pass -1 to __internal_statvfs64 instead of calling stat64.
6886
1efe2bd9
RM
68872014-05-28 Roland McGrath <roland@hack.frob.com>
6888
0d3b7a19
RM
6889 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6890 that was previously under [RESET_PID].
6891 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6892
1efe2bd9
RM
6893 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6894 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6895
a6bea3ca
RM
68962014-05-27 Roland McGrath <roland@hack.frob.com>
6897
30b6629e
RM
6898 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6899
a6bea3ca
RM
6900 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6901 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6902
3dfb9a5c
OB
69032014-05-27 Ondřej Bílka <neleai@seznam.cz>
6904
6905 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6906
774f9285
AS
69072014-05-27 Andreas Schwab <schwab@suse.de>
6908
6909 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6910 TLS_INIT_TP macro.
6911 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6912 * elf/rtld.c (init_tls, dl_main): Likewise.
6913 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6914 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6915 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6916 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6917 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6918 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6919 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6920 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6921 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6922 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6923 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6924 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6925 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6926 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6927 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6928 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6929 * sysdeps/generic/tls.h: Update description.
6930
36ffe739
WN
69312014-05-27 Will Newton <will.newton@linaro.org>
6932
6933 [BZ #16990]
6934 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6935 and restore r2 rather than just restoring.
6936
2482ae43
SP
69372014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6938
6939 [BZ #16724]
6940 * libio/tst-ftell-append.c: New test case.
6941 * libio/Makefile (tests): Add test case.
6942 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6943 append mode.
6944 * libio/wfileops.c (do_ftell_wide): Likewise.
6945
3d1024e8
AZ
69462014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6947
bab90016
AZ
6948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6949
c7a8d667
AZ
6950 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6951 ...
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6954 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6955 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6956 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6957 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6958 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6959 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6961 Moved ...
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6964 Moved ...
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6966 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6967 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6968 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6969 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6971 ...
6972 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6973 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6974 Moved ...
6975 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6976 here.
6977 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6978 ...
6979 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6980 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6981 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6982
daee7851
AZ
6983 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6984 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6985 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6986 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6987
50a40819
AZ
6988 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6989 merge into ...
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6991 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6992 ...
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6994 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6995 ...
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6998 Moved ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7000 here.
7001 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7002 Moved ...
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7005 Moved ...
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7007
8464c2a1
AZ
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7009 conditional [RESET_PID].
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7011 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7012 removed.
7013 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7014 removed.
7015
3d1024e8
AZ
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7017 <tcb-offsets.h>.
7018 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7019 (__libc_vfork): New strong alias.
7020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7021 removed.
7022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7023 Removed.
7024
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7026 <tcb-offsets.h>.
7027 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7028 (__libc_vfork): New strong alias.
7029 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7030 removed.
7031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7032 removed.
7033
fdfd175d
CD
70342014-05-26 Carlos O'Donell <carlos@redhat.com>
7035
7036 * malloc/malloc.c (mi_arena): New function.
7037 (malloc_info): Remove nested function mi_arena. Call non-nosted
7038 function mi_arena.
7039
d298c416
AZ
70402014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041
7042 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7043 by insrwi.
7044 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7045 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7046 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7047 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7048 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7049 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7050 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7051
b60ea6ff
AS
70522014-05-26 Andreas Schwab <schwab@suse.de>
7053
7054 [BZ #16984]
7055 * locale/programs/repertoire.c (repertoire_read): Add slash
7056 between I18NPATH element and file name.
7057 * locale/programs/locfile.c (locfile_read): Likewise.
7058
67365926
SL
70592014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7060
7061 * nptl/pthread_mutexattr_settype.c
7062 (__pthread_mutexattr_settype):
7063 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7064
f8bdf1f0
SL
70652014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7066
7067 * nptl/tst-mutex5 (do_test):
7068 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7069
15eaf6ff
SP
70702014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7071
7072 * benchtests/README: Document 'init' directive.
7073 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7074 BENCH_INIT.
7075 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7076 (parse_file): Recognize 'init' directive.
7077
75f11331
KM
70782014-05-26 Kyle McMartin <kyle@redhat.com>
7079
7080 [BZ #16796]
7081 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7082 alignment of struct pthread.
7083
c3ec475c
SP
70842014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 [BZ #16878]
7087 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7088 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7089 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7090 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7091
82aab97c
RH
70922014-05-25 Richard Henderson <rth@twiddle.net>
7093
aa2f176d
RH
7094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7095 (SINGLE_THREAD_P_PIC): Remove.
7096 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7097 (SINGLE_THREAD_P_PIC): Remove.
7098
ca3cfa40
RH
7099 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7100 branch to syscall error ...
7101 (PSEUDO): ... here.
7102 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7103 from __local_syscall_error to .Lsyscall_error.
7104 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7105 (SYSCALL_ERROR): Update label name.
7106
6e6c2d01
RH
7107 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7108 Do not use DOARGS/UNDOARGS.
7109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7110 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7111 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7112 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7113 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7114
c69abcee
RH
7115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7116 block comment.
7117
82aab97c
RH
7118 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7119 define if !NOT_IN_libc.
7120 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7121 define with non-default symbol versions.
7122
8820e3ac
RH
71232014-05-23 Richard Henderson <rth@twiddle.net>
7124
900e445f
RH
7125 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7126 (vfork, __vfork): Define via compat_symbol.
7127
8820e3ac
RH
7128 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7129 [!HAVE_IFUNC] (vfork_compat): Remove.
7130 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7131
e59252a5
JM
71322014-05-23 Joseph Myers <joseph@codesourcery.com>
7133
7134 [BZ #16978]
7135 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7136 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7137 variable.
7138
132c7f5f
RH
71392014-05-23 Richard Henderson <rth@twiddle.net>
7140
bc89e962
RH
7141 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7142 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7143 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7144 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7145
7146 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7147 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7148 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7149 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7150 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7151 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7152 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7153 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7154 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7155 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7156 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7157 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7158 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7159 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7173 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7174 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7175 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7177 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7178 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7179 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7180 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7181 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7185 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7186 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7187 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7188 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7189 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7190 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7191 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7192 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7193 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7194 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7195 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7196 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7197 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7198 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7199 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7200 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7201 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7202
e2fa4bc2
RH
7203 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7204 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7205 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7206 before exiting on error.
7207 (__libc_vfork): New strong alias.
7208 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7209 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7210
279b24e2
RH
7211 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7212 that was previously under [RESET_PID].
7213 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7214
132c7f5f
RH
7215 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7216
b72592e7
JM
72172014-05-23 Joseph Myers <joseph@codesourcery.com>
7218
7219 [BZ #16977]
7220 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7221 value when x - 1 is zero.
7222 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7223 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7224 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7225 0.0L for an argument of 1.0L.
7226 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7227 Likewise.
7228 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7229 value when x - 1 is zero.
7230 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7231 * sysdeps/i386/fpu/libm-test-ulps: Update.
7232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7233
2302d679
RV
72342014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7235
7236 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7237 alphasort and versionsort.
7238
32999d63
AZ
72392014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7240
7241 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7242 macro.
7243 [copysignf]: Likewise.
7244
019324d0
SP
72452014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
7247 * crypt/md5-crypt.c: Fix formatting.
7248
34fff5c2
KS
72492014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7250
7251 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7252 (b64_from_24bit): New function.
7253
3d2badac
AZ
72542014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7257 libc_hidden_builtin_def to ifunc.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7259 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7260
f7bb179f 72612014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7262
7263 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7264 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7265
4134b50d
JM
72662014-05-21 Joseph Myers <joseph@codesourcery.com>
7267
bb7d0337
JM
7268 * nscd/Depend (linuxthreads): Remove.
7269 (nptl): Add.
7270 * resolv/Depend (linuxthreads): Remove.
7271 * rt/Depend (linuxthreads): Remove.
7272
4134b50d
JM
7273 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7274 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7275 $(common-objpfx)elf/.
7276 (link-libc-before-gnulib): Likewise.
7277 (elfobjdir): Remove variable.
7278 * Makefile (install): Use $(elf-objpfx) instead of
7279 $(common-objpfx)elf/.
7280 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7281 $(elfobjdir)/.
7282 (link-libc-deps): Likewise.
7283 ($(common-objpfx)libc.so): Likewise.
7284 ($(common-objpfx)linkobj/libc.so): Likewise.
7285 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7286 instead of $(common-objpfx)elf/.
7287 (symbolic-link-list): Likewise.
7288 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7289 [$(cross-compiling) = no]: Likewise.
7290 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7291 $(elfobjdir)/.
7292 (static-gnulib-arch): Likewise.
7293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7294 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7295 $(common-objpfx)elf/.
7296
3612eb8f
RH
72972014-05-21 Richard Henderson <rth@redhat.com>
7298
a6b3657b
RH
7299 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7300 (SINGLE_THREAD_P): Use the correct width load. Fold
7301 into the ldr offset.
7302
3612eb8f
RH
7303 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7304 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7305
175cef41
JM
73062014-05-20 Joseph Myers <joseph@codesourcery.com>
7307
7308 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7309 (libgcc_s_resume): Use __attribute_used__.
7310 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7311 Likewise.
7312
e13bccd3
AZ
73132014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7314
7315 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7316 optimization when used with float constants.
7317
7c112a38
AZ
7318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7319
ae75a883
AJ
73202014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7321
7322 [BZ #16915]
7323 * locale/nl_langinfo_l.c: Make direct reference to every
7324 _nl_current_CATEGORY symbol.
7325 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7326 (tests-static): Add tst-langinfo-static.
7327 (tests-special): Add tst-langinfo-static.out.
7328 ($(objpfx)tst-langinfo.out): Redirect output.
7329 ($(objpfx)tst-langinfo-static.out): New.
7330 * localedata/tst-langinfo.sh: Send output to stdout.
7331 * localedata/tst-langinfo-static.c: New file.
7332
4406c41c
AJ
7333 [BZ #16965]
7334 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7335 when the shift amount is modulo the limb size.
7336
4c0a1e63
RH
73372014-05-20 Richard Henderson <rth@redhat.com>
7338
de9d8f20
RH
7339 [BZ #16967]
7340 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7341 Change type of sa_flags from unsigned int to int.
7342
4c0a1e63
RH
7343 [BZ #16966]
7344 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7345
7346 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7347
a60339aa
WN
73482014-05-20 Will Newton <will.newton@linaro.org>
7349
7350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7351 Test the return value of the system call in the nocancel case.
7352
7d05a816
YR
73532014-05-20 Will Newton <will.newton@linaro.org>
7354 Yvan Roux <yvan.roux@linaro.org>
7355
7356 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7357 #include of asm/ptrace.h.
7358 (PTRACE_GET_THREAD_AREA): Remove #undef.
7359 (PTRACE_GETHBPREGS): Likewise.
7360 (PTRACE_SETHBPREGS): Likewise.
7361 (struct user_regs_struct): New structure.
7362 (struct user_fpsimd_struct): New structure.
7363 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7364 #include of asm/ptrace.h and second #include of sys/user.h.
7365 (PTRACE_GET_THREAD_AREA): Remove #undef.
7366 (PTRACE_GETHBPREGS): Likewise.
7367 (PTRACE_SETHBPREGS): Likewise.
7368 (ELF_NGREG): Use new struct user_regs_struct.
7369 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7370
af121e37
AZ
73712014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7372
7373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7375
834caf06
JM
73762014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7377
7378 [BZ #16958]
7379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7380 membar to avoid block loads/stores to overlap previous stores.
7381
e184a918
RH
73822014-05-17 Richard Henderson <rth@redhat.com>
7383
7384 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7385 Create the __##syscall_name##_nocancel entry point.
7386 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7387 Remove; let the sysdep-cancel.h code create it.
7388
f56c7a6a
DM
73892014-05-17 David S. Miller <davem@davemloft.net>
7390
7391 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7392 Protect with __USE_GNU.
7393 (TIOCSET_TEMPT): Likewise.
7394 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7395 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7396 these are already provided in bits/ioctl-types.h
7397
f75616b2
RM
73982014-05-16 Roland McGrath <roland@hack.frob.com>
7399
3edeca86
RM
7400 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7401 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7402
f75616b2
RM
7403 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7404 Use wait4 regardless of [__NR_waitpid].
7405
deb0f7f6
MR
74062014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7407
7408 PR libgcc/60166
7409 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7410 (_FP_NANSIGN_Q): Set the quiet bit.
7411
79520f4b
JM
74122014-05-16 Joseph Myers <joseph@codesourcery.com>
7413
7414 * benchtests/Makefile
7415 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7416 not $(common-objpfx)math/libm.so.
7417 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7418 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7419 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7420 $(common-objpfx)dlfcn/libdl.so.
7421 ($(objpfx)tst-audit8): Depend on $(libm), not
7422 $(common-objpfx)math/libm.so.
7423 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7424 not $(common-objpfx)dlfcn/libdl.so.
7425 * math/Makefile
7426 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7427 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7428 [$(build-shared) = yes].
7429 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7430 $(common-objpfx)nptl/libpthread.so.
7431 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7432 $(common-objpfx)math/libm.so$(libm.so-version) or
7433 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7434 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7435 $(common-objpfx)dlfcn/libdl.so.
7436 * setjmp/Makefile (link-libm): Remove variable.
7437 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7438 * stdio-common/Makefile (link-libm): Remove variable.
7439 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7440 * stdlib/Makefile (link-libm): Remove variable.
7441 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7442 ($(objpfx)tst-strtod-round): Likewise.
7443 ($(objpfx)tst-tininess): Likewise.
7444 ($(objpfx)tst-strtod-underflow): Likewise.
7445 ($(objpfx)tst-strtod6): Likewise.
7446 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7447 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7448 $(common-objpfx)dlfcn/libdl.so.
7449
026b0fe4
AZ
74502014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7451
7452 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7453 BSD terminal modes definitions.
7454
def4bcb2
RM
74552014-05-16 Roland McGrath <roland@hack.frob.com>
7456
fe39b021
RM
7457 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7458 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7459
1d1fc46e 7460 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7461 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7462 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7463 Don't do #include_next.
7464 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7465 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7466 Don't do #include_next.
7467 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7468 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7469 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7470 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7471
c72399fb
AM
74722014-05-16 Allan McRae <allan@archlinux.org>
7473
d51d659d
AM
7474 * po/sv.po: Update Swedish translation from translation project.
7475
c72399fb
AM
7476 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7477 in sed expression.
7478
d0583c40
AJ
74792014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7480
7481 [BZ #16917]
7482 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7483 errno if the TIOCGPTN ioctl fails with an error different than
7484 EINVAL.
7485 * login/tst-ptsname.c: New file.
7486 * login/Makefile (tests): Add tst-ptsname.
7487
d16e6ec7
AJ
7488 [BZ #16943]
7489 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7490 and prlimit64.
7491
cf26a0cb
SP
74922014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7493
7494 [BZ #16849]
7495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7496 herrno to return EAI_AGAIN.
7497
5675da1e
RM
74982014-05-14 Roland McGrath <roland@hack.frob.com>
7499
a5d87b3d
RM
7500 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7501 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7502 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7503 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7504 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7509 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7510 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7511 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7512 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7513 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7514 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7523 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7524 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7525 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7526 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7527 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7528 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7529 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7531 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7535 Moved ...
7536 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7538 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7540 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7542 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7544 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7546 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7548 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7550 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7552 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7554 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7556 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7558 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7560 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7562 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7564 Moved ...
7565 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7567 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7569 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7573 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7575 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7577 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7579 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7583 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7585 Moved ...
7586 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7588 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7589
039890a6
RM
7590 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7591 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7592 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7593 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7594 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7596 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7598 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7600 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7601 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7602 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7603 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7604 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7606 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7608 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7610 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7612 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7614 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7616 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7618 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7620 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7621
65c89320
RM
7622 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7623 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7624
348f8e8c
RM
7625 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7626 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7627 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7629 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7631 Moved ...
7632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7634 Moved ...
7635 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7637 Moved ...
7638 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7639 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7640 Moved ...
7641 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7643 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7644 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7645 Moved ...
7646 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7647 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7648 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7650 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7652 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7654 Moved ...
7655 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7657 Moved ...
7658 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7659 ... here.
7660 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7661 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7663 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7665 Moved ...
7666 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7667 ... here.
7668 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7669 Moved ...
7670 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7672 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7674 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7676 Moved ...
7677 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7678 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7679 Moved ...
7680 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7681 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7682 Moved ...
7683 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7685 Moved ...
7686 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7688 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7690 Moved ...
7691 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7693 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7695 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7697 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7699 Moved ...
7700 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7702 Moved ...
7703 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7704 ... here.
7705 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7706 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7708 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7710 Moved ...
7711 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7712 ... here.
7713 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7714 Moved ...
7715 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7716 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7717 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7719 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7720 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7721 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7722 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7723 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7724 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7725 Moved ...
7726 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7727 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7728 Moved ...
7729 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7730 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7731 Moved ...
7732 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7734 Moved ...
7735 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7736 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7737 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7738 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7739 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7740 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7741 Moved ...
7742 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7743 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7744 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7746 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7747 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7748 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7749 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7750 Moved ...
7751 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7752 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7753 Moved ...
7754 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7755 ... here.
7756 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7757 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7759 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7760 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7761 Moved ...
7762 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7763 ... here.
7764 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7765 Moved ...
7766 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7768 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7770 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7771 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7772 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7773 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7774 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7775 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7776 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7777
5085af05
RM
7778 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7779 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7780
708f0813
RM
7781 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7782 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7783
c96067bc
RM
7784 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7785 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7786 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7787 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7788 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7789 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7790 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7791 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7792 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7793 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7794 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7796 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7797 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7798 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7800 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7802 Moved ...
7803 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7804 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7805 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7807 Moved ...
7808 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7809 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7810 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7811 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7812 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7813 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7814 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7815 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7816 Moved ...
7817 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7819 Moved ...
7820 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7822 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7824 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7826 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7827 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7828 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7829 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7830 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7831 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7832 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7833 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7834 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7835 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7836 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7837
ec136444
RM
7838 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7839 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7840 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7841 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7842 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7843
2fbdf533
RM
7844 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7845 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7846 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7847 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7848 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7849 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7850 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7851 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7852 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7853 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7854
4c68138b
RM
7855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7857
4eaae765
RM
7858 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7859 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
7860 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7861 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7862 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7863 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7864 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7865 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7866 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7867 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7868 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7869 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7870 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7871 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7873 Update #include.
7874 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7875 Likewise.
7876 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7877 Likewise.
7878 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7879 Likewise.
7880 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7881 Likewise.
7882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7883 Likewise.
7884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7885 Likewise.
7886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7887 Likewise.
7888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7889 Likewise.
7890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7891 Likewise.
4ef6befa
RM
7892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7894 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7896 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
7897 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7899 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7901 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7902 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7903 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7904 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7905 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7906 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 7907
941d7dfd
RM
7908 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7909 that was previously under [RESET_PID].
7910 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7911 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7912 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7913
1b731c35
RM
7914 * sysdeps/i386/nptl/Implies: New file.
7915 * sysdeps/x86_64/nptl/Implies: New file.
7916 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7917 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7919 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7920
e2787137
RM
7921 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7922 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7923 (__libc_vfork): New strong alias.
7924 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7925 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7926
7927 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7928 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7929 (__libc_vfork): New strong alias.
7930 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7931 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7932
5675da1e
RM
7933 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7934 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7935 (__libc_vfork): New strong alias.
7936 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7937 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7938 * nptl/pt-vfork.c: New file.
7939 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7940 (libpthread: GLIBC_2.20): New version set (empty).
7941
4f02e2b8
WN
79422014-05-14 Will Newton <will.newton@linaro.org>
7943
7944 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7945 rather than #if.
7946
0bf061d3
JM
79472014-05-14 Joseph Myers <joseph@codesourcery.com>
7948
1a84c3d6
JM
7949 [BZ #16564]
7950 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7951 arguments with exponent 65 or above.
7952 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7953 arguments 0x1p113L or above.
7954 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7955 to arguments 0x1p107L or above.
7956 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7957 positive arguments with exponent 65 or above.
7958 * math/auto-libm-test-in: Add more tests of log1p.
7959 * math/auto-libm-test-out: Regenerated.
7960
01dbacd2
JM
7961 [BZ #16928]
7962 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7963 non-finite arguments is +0.
7964 * math/s_cacosf.c (__cacosf): Likewise.
7965 * math/s_cacosl.c (__cacosl): Likewise.
7966 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7967 * sysdeps/i386/fpu/libm-test-ulps: Update.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7969
913d03c8
JM
7970 [BZ #16927]
7971 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7972 value.
7973 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7974 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7975 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7976 for explicit high bit of mantissa when testing for argument equal
7977 to 1.
7978 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7979 * sysdeps/i386/fpu/libm-test-ulps: Update.
7980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7981
0bf061d3
JM
7982 [BZ #16516]
7983 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7984 (__erf): Scale by 16 instead of 8 in potentially underflowing
7985 case. Ensure exception if result actually underflows.
7986 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7987 (__erff): Scale by 16 instead of 8 in potentially underflowing
7988 case. Ensure exception if result actually underflows.
7989 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7990 (efx8): Remove variable.
7991 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7992 case. Ensure exception if result actually underflows.
7993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7994 (efx8): Remove variable.
7995 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7996 case. Ensure exception if result actually underflows.
7997 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7998 (efx8): Remove variable.
7999 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8000 case. Ensure exception if result actually underflows.
8001 * math/auto-libm-test-in: Add more tests of erf.
8002 * math/auto-libm-test-out: Regenerated.
8003
73ba67cb
AS
80042014-05-14 Andreas Schwab <schwab@suse.de>
8005
3d8c8bff
AS
8006 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8007 Remove code conditionalized on USE___THREAD.
8008
73ba67cb
AS
8009 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8010 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8011 not definedness.
8012
5c521ecd
JM
80132014-05-14 Joseph Myers <joseph@codesourcery.com>
8014
5e7698c6
JM
8015 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8016 Define unconditionally.
8017 (__ASSUME_O_CLOEXEC): Likewise.
8018 (__ASSUME_SOCK_CLOEXEC): Likewise.
8019 (__ASSUME_IN_NONBLOCK): Likewise.
8020 (__ASSUME_PIPE2): Likewise.
8021 (__ASSUME_EVENTFD2): Likewise.
8022 (__ASSUME_SIGNALFD4): Likewise.
8023 (__ASSUME_DUP3): Likewise.
8024 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8025 (__ASSUME_DUP3): Do not define.
8026 (__ASSUME_EVENTFD2): Likewise.
8027 (__ASSUME_IN_NONBLOCK): Likewise.
8028 (__ASSUME_O_CLOEXEC): Likewise.
8029 (__ASSUME_PIPE2): Likewise.
8030 (__ASSUME_SIGNALFD4): Likewise.
8031 (__ASSUME_SOCK_CLOEXEC): Likewise.
8032 (__ASSUME_UTIMES): Undefine.
8033 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8034 (__ASSUME_UTIMES): Do not define.
8035 (__ASSUME_O_CLOEXEC): Likewise.
8036 (__ASSUME_SOCK_CLOEXEC): Likewise.
8037 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8038 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8039 0x020621].
8040 (__ASSUME_PIPE2): Likewise.
8041 (__ASSUME_EVENTFD2): Likewise.
8042 (__ASSUME_SIGNALFD4): Likewise.
8043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8044 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8045 Do not define.
8046 (__ASSUME_EVENTFD2): Likewise.
8047 (__ASSUME_SIGNALFD4): Likewise.
8048 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8049 (__ASSUME_32BITUIDS): Likewise.
8050 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8051 (__ASSUME_IPC64): Likewise.
8052 (__ASSUME_ST_INO_64_BIT): Likewise.
8053 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8054 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8055 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8056 (__ASSUME_UTIMES): Do not define.
8057 (__ASSUME_PSELECT): Likewise.
8058 (__ASSUME_PPOLL): Likewise.
8059 (__ASSUME_O_CLOEXEC): Likewise.
8060 (__ASSUME_SOCK_CLOEXEC): Likewise.
8061 (__ASSUME_IN_NONBLOCK): Likewise.
8062 (__ASSUME_PIPE2): Likewise.
8063 (__ASSUME_EVENTFD2): Likewise.
8064 (__ASSUME_SIGNALFD4): Likewise.
8065 (__ASSUME_DUP3): Likewise.
8066 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8067 (__ASSUME_UTIMES): Likewise.
8068 (__ASSUME_O_CLOEXEC): Likewise.
8069 (__ASSUME_SOCK_CLOEXEC): Likewise.
8070 (__ASSUME_IN_NONBLOCK): Likewise.
8071 (__ASSUME_PIPE2): Likewise.
8072 (__ASSUME_EVENTFD2): Likewise.
8073 (__ASSUME_SIGNALFD4): Likewise.
8074 (__ASSUME_DUP3): Likewise.
8075 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8076 (__ASSUME_UTIMES): Likewise.
8077 (__ASSUME_O_CLOEXEC): Likewise.
8078 (__ASSUME_SOCK_CLOEXEC): Likewise.
8079 (__ASSUME_IN_NONBLOCK): Likewise.
8080 (__ASSUME_PIPE2): Likewise.
8081 (__ASSUME_EVENTFD2): Likewise.
8082 (__ASSUME_SIGNALFD4): Likewise.
8083 (__ASSUME_DUP3): Likewise.
8084 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8085 Likewise.
8086 (__ASSUME_UTIMES): Likewise.
8087 (__ASSUME_EVENTFD2): Likewise.
8088 (__ASSUME_SIGNALFD4): Likewise.
8089 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8090 (__ASSUME_O_CLOEXEC): Likewise.
8091 (__ASSUME_SOCK_CLOEXEC): Likewise.
8092 (__ASSUME_IN_NONBLOCK): Likewise.
8093 (__ASSUME_PIPE2): Likewise.
8094 (__ASSUME_EVENTFD2): Likewise.
8095 (__ASSUME_SIGNALFD4): Likewise.
8096 (__ASSUME_DUP3): Likewise.
8097 (__ASSUME_UTIMES): Undefine.
8098
5c521ecd
JM
8099 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8100 feclearexcept. Remove symbol versioning code.
8101 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8102 symbol versioning code.
8103 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8104 symbol versioning code.
8105 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8106 feupdateenv. Remove symbol versioning code.
8107 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8108 fegetexceptflag. Remove symbol versioning code.
8109 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8110 fesetexceptflag. Remove symbol versioning code.
8111 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8112 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8113 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8114 (__posix_fadvise64_l32): Remove prototype.
8115 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8116 code.
8117
5da9dfad
RM
81182014-05-13 Roland McGrath <roland@hack.frob.com>
8119
8120 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8121 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8122 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8123 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8124
893b4f37
SK
81252014-05-13 Sami Kerola <kerolasa@iki.fi>
8126
8127 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8128 current working directory
8129
e0db6517
RM
81302014-05-13 Roland McGrath <roland@hack.frob.com>
8131
58aa195d
RM
8132 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8133 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8134 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8135 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8136 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8137 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8138 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8157 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8165 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8166 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8167 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8168 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8169 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8170 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8171 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8172 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8173 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8174
8c6d01f0
RM
8175 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8176 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8177
8178 * sysdeps/unix/sysv/linux/arm/Makefile
8179 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8180 Add rt-aeabi_unwind_cpp_pr1.
8181 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8182 Add nptl-aeabi_unwind_cpp_pr1.
8183 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8184 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8185 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8186 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8187 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8188 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8189
8190 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8191 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8192 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8193 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8194
bba6da4e
RM
8195 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8196 Deconditionalize the code that was previously under [RESET_PID].
8197 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8198
e0db6517
RM
8199 * sysdeps/generic/exit-thread.h: New file.
8200 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8201 * include/unistd.h (__exit_thread): Remove declaration.
8202 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8203 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8204 * csu/libc-start.c: Include <exit-thread.h>.
8205 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8206 * nptl/pthread_create.c: Include <exit-thread.h>.
8207 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8208 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8209 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8210 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8211 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8212 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8213 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8214 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8215 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8216 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8217 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8218 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8219 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8220 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8221 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8222 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8223 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8224
01eb16fd
AS
82252014-05-13 Andreas Schwab <schwab@suse.de>
8226
8227 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8228
637461d9
JM
82292014-05-12 Joseph Myers <joseph@codesourcery.com>
8230
8231 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8232 (__ASSUME_UTIMES): Do not condition on kernel version.
8233 (__ASSUME_PSELECT): Define unconditionally.
8234 (__ASSUME_PPOLL): Likewise.
8235 (__ASSUME_ATFCTS): Likewise.
8236 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8237 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8238 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8239 (__ASSUME_UTIMENSAT): Define unconditionally.
8240 (__ASSUME_PRIVATE_FUTEX): Likewise.
8241 (__ASSUME_FALLOCATE): Likewise.
8242 (__ASSUME_O_CLOEXEC): Likewise.
8243 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8244 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8245 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8246 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8247 (__ASSUME_IN_NONBLOCK): Likewise.
8248 (__ASSUME_PIPE2): Likewise.
8249 (__ASSUME_EVENTFD2): Likewise.
8250 (__ASSUME_SIGNALFD4): Likewise.
8251 (__ASSUME_DUP3): Likewise.
8252 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8253 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8254 (__ASSUME_AT_RANDOM): Likewise.
8255 (__ASSUME_PREADV): Likewise.
8256 (__ASSUME_PWRITEV): Likewise.
8257 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8258 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8259 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8260 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8261 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8262 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8263 (__ASSUME_O_CLOEXEC): Define unconditionally.
8264 (__ASSUME_PSELECT): Do not undefine conditionally.
8265 (__ASSUME_PPOLL): Likewise.
8266 (__ASSUME_ATFCTS): Likewise.
8267 (__ASSUME_SET_ROBUST_LIST): Likewise.
8268 (__ASSUME_UTIMENSAT): Likewise.
8269 (__ASSUME_FDATASYNC): Define unconditionally.
8270 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8271 (__ASSUME_SIGFRAME_V2): Likewise.
8272 )__ASSUME_EVENTFD2): Likewise.
8273 (__ASSUME_SIGNALFD4): Likewise.
8274 (__ASSUME_PSELECT): Do not undefine conditionally.
8275 (__ASSUME_PPOLL): Likewise.
8276 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8277 (__ASSUME_PSELECT): Define unconditionally.
8278 (__ASSUME_PPOLL): Likewise.
8279 (__ASSUME_O_CLOEXEC): Likewise.
8280 (__ASSUME_SOCK_CLOEXEC): Likewise.
8281 (__ASSUME_IN_NONBLOCK): Likewise.
8282 (__ASSUME_PIPE2): Likewise.
8283 (__ASSUME_EVENTFD2): Likewise.
8284 (__ASSUME_SIGNALFD4): Likewise.
8285 (__ASSUME_DUP3): Likewise.
8286 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8287 (__ASSUME_O_CLOEXEC): Likewise.
8288 (__ASSUME_SOCK_CLOEXEC): Likewise.
8289 (__ASSUME_IN_NONBLOCK): Likewise.
8290 (__ASSUME_PIPE2): Likewise.
8291 (__ASSUME_EVENTFD2): Likewise.
8292 (__ASSUME_SIGNALFD4): Likewise.
8293 (__ASSUME_DUP3): Likewise.
8294 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8295 (__ASSUME_EVENTFD2): Likewise.
8296 (__ASSUME_SIGNALFD4): Likewise.
8297 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8298
315eb1d8
AS
82992014-05-12 Andreas Schwab <schwab@suse.de>
8300
8301 [BZ #16932]
8302 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8303 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8304 than maximum RPC packet size.
8305 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8306 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8307 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8308 (_nss_nis_getservbyport_r): Likewise.
8309
91df99f7
WN
83102014-05-12 Will Newton <will.newton@linaro.org>
8311
8312 * malloc/Makefile (tests): Add tst-mallopt.
8313 * malloc/tst-mallopt.c: New file.
8314
0a982a29
RM
83152014-05-09 Roland McGrath <roland@hack.frob.com>
8316
8317 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8318 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8319
0ded08a5
AZ
83202014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8321
8322 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8323 (tst-tlsmod6.so): Likewise.
8324
55d4d550
RM
83252014-05-09 Roland McGrath <roland@hack.frob.com>
8326
8327 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8328
77d08aca
JM
83292014-05-09 Joseph Myers <joseph@codesourcery.com>
8330
8331 [BZ #16064]
8332 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8333 and <dl-procinfo.h>.
8334 (__fegetenv): Save SSE state in envp->__eip if supported.
8335 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8336 envp->__eip if supported.
8337 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8338 and <dl-procinfo.h>.
8339 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8340 __data_offset and __data_selector in environment to 0. Set SSE
8341 state if supported.
8342 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8343 test-fenv-sse.
8344 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8345 -mfpmath=sse.
8346 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8347
28162f4d
WN
83482014-05-09 Will Newton <will.newton@linaro.org>
8349
8350 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8351 and libc_relro_required for ARM.
8352 * sysdeps/arm/preconfigure: Regenerate.
8353
5a414ff7
DV
83542014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8355 Stefan Liebler <stli@linux.vnet.ibm.com>
8356
8357 * config.make.in (enable-lock-elision): New Makefile variable.
8358 * configure.ac: Likewise.
8359 * configure: Regenerate.
8360 * sysdeps/s390/configure.ac:
8361 Add check for gcc transactions support.
8362 * sysdeps/s390/configure: Regenerate.
8363 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8364 Build elision files if enabled.
8365 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8366 Add lock elision support for s390.
8367 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8368 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8369 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8370 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8371 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8372 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8373 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8374 Likewise.
8375 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8376 Likewise.
8377 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8378 Likewise.
8379 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8380 Likewise.
8381 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8382 (__lll_timedlock_elision, __lll_lock_elision)
8383 (__lll_unlock_elision, __lll_trylock_elision)
8384 (lll_timedlock_elision, lll_lock_elision)
8385 (lll_unlock_elision, lll_trylock_elision): Add.
8386 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8387 (pthread_mutex_t): Add lock elision support for s390.
8388
1a2f40e5
W
83892014-05-14 Wilco <wdijkstr@arm.com>
8390
8391 * sysdeps/arm/fclrexcpt.c: Cleanup.
8392 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8393 * sysdeps/arm/feenablxcpt.c: Cleanup.
8394 * sysdeps/arm/fegetenv.c: Cleanup.
8395 * sysdeps/arm/fegetexcept.c: Cleanup.
8396 * sysdeps/arm/fegetround.c: Cleanup.
8397 * sysdeps/arm/feholdexcpt.c: Cleanup.
8398 * sysdeps/arm/fesetenv.c: Cleanup.
8399 * sysdeps/arm/fesetround.c: Cleanup.
8400 * sysdeps/arm/feupdateenv.c: Cleanup.
8401 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8402 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8403 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8404 * sysdeps/arm/ftestexcept.c: Cleanup.
8405 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8406 * sysdeps/arm/setfpucw.c: Cleanup.
8407
f63c86fe
WN
84082014-05-09 Will Newton <will.newton@linaro.org>
8409
8410 * sysdeps/arm/armv7/strcmp.S: New file.
8411 * NEWS: Mention addition of ARMv7 optimized strcmp.
8412
7a1a51b5
RM
84132014-05-08 Roland McGrath <roland@hack.frob.com>
8414
95afbbe5
RM
8415 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8416 look for %.ac rather than %.in.
8417
8418 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8419 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8420 * sysdeps/mach/hurd/configure: Regenerated.
8421 * sysdeps/unix/sysv/linux/configure: Regenerated.
8422
7a1a51b5
RM
8423 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8424
5057ad3b
SE
84252014-05-07 Steve Ellcey <sellcey@mips.com>
8426
8427 [BZ# 16922]
8428 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8429 (LONG_SUB): Ditto.
8430 (PTR_SUB): Ditto.
8431
8dc97517
AS
84322014-05-07 Andreas Schwab <schwab@suse.de>
8433
8434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8435 when skipping over non-matching result from nscd.
8436
ce0c5b8f
OB
84372014-05-07 Ondřej Bílka <neleai@seznam.cz>
8438
8439 [BZ #16876]
8440 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8441
a1189263
OB
8442 [BZ #16877]
8443 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8444 nscd security class.
ce0c5b8f 8445
0f58d252
RM
84462014-05-06 Roland McGrath <roland@hack.frob.com>
8447
8448 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8449 * sysdeps/arm/unwind.h: ... here.
8450
83df9ad0
AJ
84512014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8452
ce0c5b8f
OB
8453 [BZ# 16916]
8454 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8455 Define.
83df9ad0 8456
f360f94a
VR
84572014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8458
8459 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8460 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8461 multiarch strncpy for PPC64.
8462 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8463 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8465 multiarch optimizations.
8466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8467 (__libc_ifunc_impl_list): Likewise.
8468 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8469 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8470 multiarch stpncpy for PPC64.
8471 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8472 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8473
978a41c3
AS
84742014-05-06 Andreas Schwab <schwab@suse.de>
8475
8476 [BZ #16912]
8477 * gmon/mcount.c (_MCOUNT_DECL): Use
8478 atomic_compare_and_exchange_bool_acq instead of
8479 catomic_compare_and_exchange_bool_acq.
8480
eb1ed03d
RM
84812014-05-05 Roland McGrath <roland@hack.frob.com>
8482
fe658845
RM
8483 * elf/Makefile (others, install-bin): Remove pldd.
8484 (pldd-modules): Variable removed.
8485 ($(objpfx)pldd): Target removed.
8486 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8487 (others, install-bin): Append pldd here.
8488 ($(objpfx)pldd): New target.
8489
eb1ed03d
RM
8490 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8491 to 0, so the first #if test emitted later doesn't see it undefined.
8492 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8493 * sysdeps/gnu/errlist.c: Regenerated.
8494
19c4bec0
AZ
84952014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8496
8497 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8498 [libc_hidden_builtin_def]: Define to empty value.
8499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8500 [libc_hidden_builtin_def]: Likewise.
8501 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8502 [libc_hidden_builtin_def]: Likewise.
8503 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8504 [libc_hidden_builtin_def]: Likewise.
8505 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8506 __redirect_memcpy and define ifunc as default hidden symbol.
8507 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8508 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8509
7776e669
AC
85102014-05-04 Adam Conrad <adconrad@0c3.net>
8511
8512 * locale/iso-4217.def: Reintroduce XDR currency.
8513
d69aeb12
AM
85142014-05-04 Allan McRae <allan@archlinux.org>
8515
8516 * po/eo.po: Update Esperanto translation from translation project.
8517
8f1df5cf
CD
85182014-05-02 Carlos O'Donell <carlos@redhat.com>
8519
8520 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8521 and FEATURE_INDEX_MAX to 1.
8522 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8523
13e402e7
SE
85242014-05-01 Steve Ellcey <sellcey@mips.com>
8525
8526 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8527 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8528 * iconvdata/big5.c (ONE_DIRECTION): Define.
8529 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8530 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8531 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8532 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8533 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8534 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8535 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8536 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8537 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8538 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8539 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8540 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8541 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8542 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8543 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8544 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8545 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8546 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8547 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8548 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8549 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8550 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8551 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8552 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8553 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8554 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8555 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8556 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8557 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8558 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8559 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8560 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8561 * iconvdata/johab.c (ONE_DIRECTION): Define.
8562 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8563 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8564 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8565 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8566 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8567 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8568 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8569 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8570 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8571 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8572
c727f032
RM
85732014-05-01 Roland McGrath <roland@hack.frob.com>
8574
8f2f08d0
RM
8575 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8576 (_IO_JUMPS_OFFSET): Define to 0.
8577
c727f032
RM
8578 * nptl/sysdeps/pthread/bits/libc-lock.h
8579 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8580 (__libc_lock_define_initialized_recursive): Always define using
8581 initializer. Modern compilers treat uninitialized (implicit zero) and
8582 explicit zero initializers the same (i.e. put the datum in bss).
8583
a849e800
AS
85842014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8585
8586 * nscd/nscd-client.h: Include <string.h>.
8587
5331255b
DM
85882014-05-01 David S. Miller <davem@davemloft.net>
8589
8590 [BZ #16885]
8591 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8592 multiple zero bytes exist at the end of a string.
8593 Reported by Aurelien Jarno <aurelien@aurel32.net>
8594
8595 * string/test-strcmp.c (check): Add explicit test for situations where
8596 there are multiple zero bytes after the first.
8597
4fdfe821
AS
85982014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 [BZ #16890]
8601 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8602 when compiling wprintf.
8603 * stdio-common/tstdiomisc.c (t3): New function.
8604 (main): Call it.
8605
0cdddc25
SE
86062014-05-01 Steve Ellcey <sellcey@mips.com>
8607
8608 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8609 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8610 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8611 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8612
6426d77e
SE
86132014-05-01 Steve Ellcey <sellcey@mips.com>
8614
8615 * stdlib/longlong.h: Updated from GCC.
8616
6d96f5e4
WN
86172014-05-01 Will Newton <will.newton@linaro.org>
8618 Bernard Ogden <bernie.ogden@linaro.org>
8619
7470db0c
WN
8620 * NEWS: Update fixed bug list.
8621
6d96f5e4
WN
8622 [BZ #15119]
8623 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8624
211d653c
DM
86252014-04-30 David S. Miller <davem@davemloft.net>
8626
4fa262fa
DM
8627 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8628 (libc_feholdexcept_setround_sparc_ctx): New function.
8629 (libc_fesetenv_sparc_ctx): Likewise.
8630 (libc_feupdateenv_sparc_ctx): Likewise.
8631 (libc_feholdsetround_sparc_ctx): Likewise.
8632 (libc_feholdexcept_setround_ctx): Define.
8633 (libc_feholdexcept_setroundf_ctx): Likewise.
8634 (libc_feholdexcept_setroundl_ctx): Likewise.
8635 (libc_fesetenv_ctx): Likewise.
8636 (libc_fesetenvf_ctx): Likewise.
8637 (libc_fesetenvl_ctx): Likewise.
8638 (libc_feupdateenv_ctx): Likewise.
8639 (libc_feupdateenvf_ctx): Likewise.
8640 (libc_feupdateenvl_ctx): Likewise.
8641 (libc_feresetround_ctx): Likewise.
8642 (libc_feresetroundf_ctx): Likewise.
8643 (libc_feresetroundl_ctx): Likewise.
8644 (libc_feholdsetround_ctx): Likewise.
8645 (libc_feholdsetroundf_ctx): Likewise.
8646 (libc_feholdsetroundl_ctx): Likewise.
8647
1d3d93ef
DM
8648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8649 with __USE_GNU instead of XOPEN cpp guards.
8650
8aa583c3
DM
8651 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8652 0.
8653
211d653c
DM
8654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8655 with XOPEN cpp guards.
8656
60c8f1f6
JB
86572014-04-30 Julian Brown <julian@codesourcery.com>
8658
8659 [BZ #16888]
8660 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8661 handling.
8662
9a461d46
JM
86632014-04-30 Joseph Myers <joseph@codesourcery.com>
8664
d0f5b3f8
JM
8665 [BZ #9894]
8666 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8667 Change to 2.6.32.
8668 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8669 * sysdeps/unix/sysv/linux/configure: Regenerated.
8670 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8671 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8672 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8673 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8674 * README: Update reference to required Linux kernel version.
8675 * manual/install.texi (Linux): Update reference to required Linux
8676 kernel headers version.
8677 * INSTALL: Regenerated.
8678
9a461d46
JM
8679 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8680 header inclusion.
8681 [POSIX] (limits.h): Likewise.
8682 [POSIX] (math.h): Likewise.
8683 [POSIX] (sys/wait.h): Likewise.
8684 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8685 function.
8686 [POSIX] (stddef.h): Do not allow header inclusion.
8687
1775babf
AZ
86882014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8689
57f41c40 8690 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8691
8f630cca
YY
86922014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8693
8694 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8695 Return immediately after lll_futex_wake.
8696
1cdeb237
SP
86972014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8698
bc8f194c
SP
8699 [BZ #16791]
8700 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8701 structure.
8702 (datahead_init_pos): Call datahead_init_common early.
8703 (datahead_init_neg): Likewise.
8704
1cdeb237
SP
8705 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8706 datahead_init_neg): New functions.
8707 * nscd/aicache.c (addhstaiX): Use them.
8708 * nscd/grpcache.c (cache_addgr): Likewise.
8709 * nscd/hstcache.c (cache_addhst): Likewise.
8710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8711 * nscd/netgroupcache.c (do_notfound): Likewise.
8712 (addgetnetgrentX): Likewise.
8713 (addinnetgrX): Likewise.
8714 * nscd/pwdcache.c (cache_addpw): Likewise.
8715 * nscd/servicescache.c (cache_addserv): Likewise.
8716
16b293a7
SP
87172014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8718 Atsushi Onoe <atsushi@onoe.org>
8719
8720 [BZ #14308]
8721 [BZ #12994]
8722 [BZ #13651]
8723 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8724 one response is valid.
8725 * resolv/res_send.c (send_dg): Check for validity of other
8726 response if the current response is a referral.
8727
a28a9b94
SE
87282014-04-29 Steve Ellcey <sellcey@mips.com>
8729
8730 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8731
2ca180e9
SL
87322014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8733
8734 [BZ #16823]
8735 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8736 Always divide by positive zero when computing -Inf result.
8737 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8738 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8739
18f2945a
AZ
87402014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8741
8742 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8743 FPSCR if value do not change.
8744 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8745 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8746 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8747 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8748 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8749 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8750 function.
8751
5abebba4
CD
87522014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8753
8754 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8755 * sysdeps/unix/sysv/linux/hppa: Move directory from
8756 ports/systeps/unix/sysv/linux/hppa.
8757 * README: Update listing for hppa-*-linux-gnu.
8758
f7ed60c2
OB
87592014-04-28 Ondřej Bílka <neleai@seznam.cz>
8760
fff763a5
OB
8761 [BZ #16754]
8762 * manual/stdio.texi (Hook functions): Fix types of stream hook
8763 functions.
f7ed60c2
OB
8764 [BZ #16854]
8765 * socket/sys/socket.h: Fix typo in comment.
8766
df639d73
WD
87672014-04-28 Wilco <wdijkstr@arm.com>
8768
f7ed60c2 8769 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
8770 * sysdeps/arm/math_private.h: New file.
8771 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8772
48332d82
L
87732014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8776 with __int128_t.
8777 (La_x86_64_retval): Likewise.
8778
e5e0d9a4
IB
87792014-04-24 Ian Bolton <ian.bolton@arm.com>
8780
8781 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8782 fpsr if value didn't change.
8783 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8784 to fpcr if value didn't change.
8785 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8786 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8787 fpsr or fpcr if value didn't change.
8788 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8789 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8790 fpcr if value didn't change.
8791 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8792 to fpsr if value didn't change.
8793
bacc75f7
SP
87942014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8795
8796 * nptl/tst-sem3.c: Use test-skeleton.c
8797 (main): Rename to do_test. Use return instead of
8798 exit.
8799 * nptl/tst-sem4.c: Use test-skeleton.c
8800 (main): Rename to do_test.
8801
a059d359
DM
88022014-04-22 David S. Miller <davem@davemloft.net>
8803
8804 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8805 (struct sigaction): New struct member __glibc_reserved0, change
8806 type of sa_flags to int.
8807
ea6c92f3
YZ
88082014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8809
8810 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8811 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8812
766c4a36
SP
88132014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8814
8815 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8816 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8817
140cc7ab
VK
88182014-04-22 Will Newton <will.newton@linaro.org>
8819 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8820
8821 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8822 (__longjmp): Add longjmp and longjmp_target SystemTap
8823 probes.
8824 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8825 (__sigsetjmp): Add setjmp SystemTap probe.
8826
c54e5cf7
CD
88272014-04-17 Carlos O'Donell <carlos@redhat.com>
8828
8829 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8830 match manual order.
8831
75ffb047
AZ
88322014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8833
8834 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8835
2cd925f7
AZ
8836 * sysdeps/powerpc/fpu/fenv_private.h
8837 (libc_feholdexcept_setroundl_ctx): Define to
8838 libc_feholdexcept_setround_ppc_ctx.
8839 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8840 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8841 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8842 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8843
39e6cd8d
IB
88442014-04-17 Ian Bolton <ian.bolton@arm.com>
8845
8846 * sysdeps/aarch64/math-tests.h: New file.
8847
f9281df9
SY
88482014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8849
8850 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8851 New.
8852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8853 Check and set bit_AVX2_Usable.
8854 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8855 macro.
8856 (bit_AVX2): Likewise.
8857 (index_AVX2_Usable): Likewise.
8858 (CPUID_AVX2): Likewise.
8859 (HAS_AVX2): Likewise.
8860
37d35007
WN
88612014-04-17 Will Newton <will.newton@linaro.org>
8862
7c677662
WN
8863 * manual/setjmp.texi (System V contexts): Add note that
8864 calling setcontext on a context created by a call to a
8865 signal handler is undefined. Update text to note that
8866 setcontext from a signal handler is possible but not
8867 recommended.
8868
37d35007 8869 [BZ #16629]
e04a4e9d
WN
8870 * stdlib/tst-setcontext.c: Include signal.h.
8871 (main): Check that the signal stack before and
8872 after swapcontext is the same.
8873
37d35007
WN
8874 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8875 Re-implement to restore registers in user code and avoid
8876 rt_sigreturn system call.
8877
423a7160
W
88782014-04-17 Wilco <wdijkstr@arm.com>
8879
8880 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8881 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8882 * math/test-fenv.c: Skip exception trap tests on targets which only
8883 support non-stop mode.
8884
bc93ab29
IB
88852014-04-17 Ian Bolton <ian.bolton@arm.com>
8886 Wilco Dijkstra <wilco.dijkstra@arm.com>
8887
8888 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8889 (libc_feholdsetround_aarch64_ctx)
8890 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8891 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8892 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8893 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8894 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8895 (libc_feresetround_noexl_ctx): Define.
8896
95fc5fa3
RH
88972014-04-16 Richard Henderson <rth@redhat.com>
8898
ddb04724
RH
8899 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8900
d77c0899
RH
8901 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8902 unwind tables.
8903
a3df56fc
RH
8904 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8905 const from the non-libc, non-ldso copy.
8906
95fc5fa3
RH
8907 * sysdeps/alpha/libm-test-ulps: Regenerate.
8908
7e0b6763
IB
89092014-04-16 Ian Bolton <ian.bolton@arm.com>
8910 Wilco Dijkstra <wilco.dijkstra@arm.com>
8911
8912 * sysdeps/aarch64/fpu/math_private.h: New file.
8913
a9ea2e0c
MS
89142014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8915
8916 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8917
ea8ba7cd
IZ
89182014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8919
7e54fd04 8920 [BZ #16275]
ea8ba7cd
IZ
8921 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8922 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8924 Intel MPX bound registers before _dl_profile_fixup.
8925 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8926 registers after _dl_profile_fixup. Save and restore bound
8927 registers bnd0/bnd1 when calling _dl_call_pltexit.
8928 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8929 (LR_BND_OFFSET): Likewise.
8930 (LRV_BND0_OFFSET): Likewise.
8931 (LRV_BND1_OFFSET): Likewise.
8932
9f2a4fbc
ST
89332014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8934
8935 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8936 to...
8937 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
8938 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8939 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8940 fields.
9f2a4fbc 8941
fd15a59b
ST
89422014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8943
8944 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8945
f19dfa0a
SL
89462014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8947
8948 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8949
4fa8bc3b
SL
89502014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8951
8952 [BZ #14770]
8953 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8954 * sysdeps/s390/configure: Regenerate.
8955
8ea587db
SL
8956 [BZ #16824]
8957 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8958 Set round-to-nearest internally to reduce error accumulation.
8959
aa5f0ff1
AM
89602014-04-16 Alan Modra <amodra@gmail.com>
8961
8962 [BZ #16740]
8963 [BZ #16619]
8964 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8965 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 8966 * NEWS: Update fixed bug list.
aa5f0ff1 8967
bb9c256f
SP
89682014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8969
8970 * benchtests/Makefile: Depend on libraries in build directory.
8971 (bench-math): Separate out math tests.
8972 (bench-pthread): Separate out pthread tests.
8973 (bench): Include math and pthread tests.
8974
f737dfd0
CD
89752014-04-14 Carlos O'Donell <carlos@redhat.com>
8976
8977 [BZ #16831]
8978 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8979 _dl_debug_initialize.
8980
0699f766
CD
8981 * configure.ac: Remove SELinux header check.
8982 * configure: Regenerate.
8983 * nscd/selinux.c (perms): Array of const char* to permission names.
8984 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8985 default policy. Call string_to_security_class and string_to_av_perm to
8986 translate strings. Enforce default policy and call avs_has_perm with
8987 results of translated strings.
8988
809bd45f
DM
89892014-04-13 David S. Miller <davem@davemloft.net>
8990
8991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8992
89e691f2
AM
89932014-04-12 Allan McRae <allan@archlinux.org>
8994
8995 [BZ #16838]
8996 * manual/string.texi (Collation Functions): Fix qsort argument
8997 order in example.
8998 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8999
9c9daaeb
CM
90002014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9001
9002 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9003 Make the test a no-op if there are no exceptions defined.
9004
95561fb9
PP
90052014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9006
fe8d072c 9007 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9008 enable-hardcoded-path-in-tests
9009
970c602a
WN
90102014-04-11 Will Newton <will.newton@linaro.org>
9011
9012 * benchtests/Makefile (extra-objs): Add json-lib.o.
9013 (bench-func): Tidy up JSON output.
9014 * benchtests/bench-skeleton.c: Include json-lib.h.
9015 (main): Use JSON library functions to do output of
9016 benchmark results.
9017 * benchtests/bench-timing-type.c (main): Output the
9018 timing type simply, leaving formatting to the user.
9019 * benchtests/json-lib.c: New file.
9020 * benchtests/json-lib.h: Likewise.
9021
36875b06
TR
90222014-04-11 Torvald Riegel <triegel@redhat.com>
9023
9024 [BZ #15215]
9025 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9026 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9027 memory barriers. Add comments.
9028 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9029 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9030 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9031 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9032 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9033 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9034
579db35a
SL
90352014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9036
9037 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9038 * sysdeps/s390/s390-64/configure.ac: ... this ...
9039 * sysdeps/s390/configure.ac: ... to here.
9040 * sysdeps/s390/s390-32/configure: Delete file.
9041 * sysdeps/s390/s390-64/configure: Delete file.
9042 * sysdeps/s390/configure: Regenerate.
9043
c12e9f37
JAPH
90442014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9045
9046 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9047
439bda32
WN
90482014-04-11 Will Newton <will.newton@linaro.org>
9049
9050 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9051 to zero if it is not defined elsewhere. (mtrim): Test
9052 the value of MALLOC_DEBUG with #if rather than #ifdef.
9053
6a5d6ea1
TR
90542014-04-10 Torvald Riegel <triegel@redhat.com>
9055
9056 * benchtests/pthread_once-inputs: New file.
9057 * benchtests/pthread_once-source.c: New file.
9058 * benchtests/README: Update documentation.
9059
a4c75cfd
IZ
90602014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9061 H.J. Lu <hongjiu.lu@intel.com>
9062
7e54fd04 9063 [BZ #16275]
a4c75cfd
IZ
9064 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9065 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9066 * sysdeps/x86_64/configure: Regenerated.
9067 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9068 macro.
9069 (REGISTER_SAVE_RAX): Likewise.
9070 (REGISTER_SAVE_RCX): Likewise.
9071 (REGISTER_SAVE_RDX): Likewise.
9072 (REGISTER_SAVE_RSI): Likewise.
9073 (REGISTER_SAVE_RDI): Likewise.
9074 (REGISTER_SAVE_R8): Likewise.
9075 (REGISTER_SAVE_R9): Likewise.
9076 (REGISTER_SAVE_BND0): Likewise.
9077 (REGISTER_SAVE_BND1): Likewise.
9078 (REGISTER_SAVE_BND2): Likewise.
9079 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9080 bound registers when calling _dl_fixup.
9081
27822ce6
AZ
90822014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083
9084 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9085 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9086 of its definition.
27822ce6
AZ
9087 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9088 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9089 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9090 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9091 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9092 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9093 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9094
a88ddc90
PTB
90952014-04-09 Peter Brett <peter@peter-b.co.uk>
9096
9097 [BZ #15514]
9098 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9099 pathconf(_PC_NAME_MAX).
9100
01f8eac2
AZ
91012014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9102
9103 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9104 Remove macro usage.
9105 (__PTHREAD_SPINS): Move definition to ...
9106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9107 (__PTHREAD_SPINS): ... here.
9108 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9109 (__PTHREAD_SPIN): Likewise.
9110 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9111 (__PTHREAD_SPIN): Likewise.
9112 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9113 (__PTHREAD_SPIN): Likewise.
9114 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9115 (__PTHREAD_SPIN): Likewise.
9116 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9117 (__PTHREAD_SPIN): Likewise.
9118 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9119 (__PTHREAD_SPIN): Likewise.
9120 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9121 (__PTHREAD_SPIN): Likewise.
9122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9123 (__PTHREAD_SPIN): Likewise.
9124 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9125 (__PTHREAD_SPIN): Likewise.
9126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9127 (__PTHREAD_SPIN): Likewise.
9128 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9129 (__PTHREAD_SPIN): Likewise.
9130 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9131 (__PTHREAD_SPIN): Likewise.
9132
de21c33c
AZ
9133 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9135 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9136 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9137 imply folder.
9138 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9139 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9140 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9141 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9142 correct imply path.
9143 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9144 strlen symbol for non multi-arch builds.
9145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9146 missing hidden_def and weak_alias.
9147
862c472e
CD
91482014-04-08 Carlos O'Donell <carlos@redhat.com>
9149
9150 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9151
8667f90e
WN
91522014-04-07 Will Newton <will.newton@linaro.org>
9153
9154 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9155 and contents. [!_LIBC] Remove #ifndef and contents.
9156 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9157 * string/memccpy.c (__memccpy): Use ANSI prototype.
9158 * string/memfrob.c (memfrob): Likewise.
9159 * string/strcoll.c (STRCOLL): Likewise.
9160 * string/strlen.c (strlen): Likewise.
9161 * string/strtok.c (STRTOK): Likewise.
9162 * string/strcat.c: Remove unused #include of memcopy.h.
9163 (strcat): Use ANSI prototype.
9164 * string/strchr.c: Remove unused #include of memcopy.h.
9165 (strchr): Use ANSI prototype.
9166 * string/strcmp.c: Remove unused #include of memcopy.h.
9167 (strcmp): Use ANSI prototype.
9168 * string/strcpy.c: Remove unused #include of memcopy.h.
9169 (strcpy): Use ANSI prototype.
9170
7ffa9423
AZ
91712014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9172
9173 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9174 * config.make.in (config-extra-cppflags): Set it from
9175 libc_extra_cppflags.
9176 * configure.ac (libc_extra_cflags): Make it accumulate over
9177 configure fragments.
9178 (libc_extra_cppflags): New flag.
9179 * configure. Regenerate.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9181 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9182 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9184
8bd70862
AZ
9185 [BZ #16815]
9186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9187 result for FE_DOWNWARD rounding mode.
9188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9189 Likewise.
9190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9191
d42f3448
CM
91922014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9193
9194 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9195 in function argument name.
9196
1c21d115
DS
91972014-04-03 David Svoboda <svoboda@cert.org>
9198
9199 [BZ #5666]
9200 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9201 explicitly.
9202
fcccd512
RM
92032014-04-03 Roland McGrath <roland@hack.frob.com>
9204
9205 * elf/dl-unmap-segments.h: New file.
9206 * sysdeps/generic/ldsodefs.h
9207 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9208 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9209 * elf/dl-fptr.c: Likewise.
9210 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9211 * sysdeps/aarch64/tlsdesc.c: Likewise.
9212 * sysdeps/arm/tlsdesc.c: Likewise.
9213 * sysdeps/i386/tlsdesc.c: Likewise.
9214 * sysdeps/tile/dl-runtime.c: Likewise.
9215 * sysdeps/x86_64/tlsdesc.c: Likewise.
9216 * elf/dl-load.h: New file.
9217 * elf/dl-load.c: Include it.
9218 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9219 Macros moved to dl-load.h.
9220 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9221 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9222 Use _dl_unmap_segments in place of __munmap.
9223 Break out segment-mapping loop into ...
9224 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9225
f6488e2b
WN
92262014-04-03 Will Newton <will.newton@linaro.org>
9227
9228 * elf/dl-lookup.c (do_lookup_x): Remove comment
9229 referring to nested function and move variable
9230 declarations down to before first use.
9231
6f05bafe
JM
92322014-04-02 Joseph Myers <joseph@codesourcery.com>
9233
a84e78c8
JM
9234 [BZ #16799]
9235 [BZ #16800]
9236 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9237 with 0 numerator.
9238 * math/s_catanf.c (__catanf): Likewise.
9239 * math/s_catanh.c (__catanh): Likewise.
9240 * math/s_catanhf.c (__catanhf): Likewise.
9241 * math/s_catanhl.c (__catanhl): Likewise.
9242 * math/s_catanl.c (__catanl): Likewise.
9243 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9244 by positive zero when computing -Inf result.
9245 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9246 (catanh_test): Likewise.
9247 * sysdeps/i386/fpu/libm-test-ulps: Update.
9248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9249
6f05bafe
JM
9250 [BZ #16789]
9251 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9252 instead of using underflowing value in computing result.
9253 * math/s_clog10.c (__clog10): Likewise.
9254 * math/s_clog10f.c (__clog10f): Likewise.
9255 * math/s_clog10l.c (__clog10l): Likewise.
9256 * math/s_clogf.c (__clogf): Likewise.
9257 * math/s_clogl.c (__clogl): Likewise.
9258 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9259 (clog10_test): Likewise.
9260 * sysdeps/i386/fpu/libm-test-ulps: Update.
9261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9262
b0abbc21
AM
92632014-04-02 Alan Modra <amodra@gmail.com>
9264
9265 [BZ #16739]
9266 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9267 output when value is near a power of two. Use int64_t for lx and
9268 remove casts. Use decimal rather than hex exponent constants.
9269 Don't use long double multiplication when double will suffice.
9270 * math/libm-test.inc (nextafter_test_data): Add tests.
9271 * NEWS: Add 16739 and 16786 to bug list.
9272
af6b1797
AM
9273 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9274
483818d7
AM
9275 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9276
f6c55796
WN
92772014-04-01 Will Newton <will.newton@linaro.org>
9278
9279 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9280 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9281
13f7fe35
FW
92822014-04-01 Florian Weimer <fweimer@redhat.com>
9283
9284 [BZ #13347]
9285 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9286 * nptl/tst-setuid2.c: New file.
9287 * nptl/Makefile (xtests): Add tst-setuid2.
9288
c859b32e
AM
92892014-04-01 Alan Modra <amodra@gmail.com>
9290
9291 [BZ #16786]
9292 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9293
54fa2475
JM
92942014-03-31 Joseph Myers <joseph@codesourcery.com>
9295
8795b4a4
JM
9296 [BZ #6803]
9297 [BZ #6804]
9298 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9299 set errno as appropriate.
9300 * math/w_scalbf.c (__scalbf): Likewise.
9301 * math/w_scalbl.c (__scalbl): Likewise.
9302 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9303 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9304 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9305 Add more NaN tests.
9306
54fa2475
JM
9307 [BZ #16349]
9308 * math/w_atan2.c: Include <errno.h>.
9309 (__atan2): Set errno for result underflowing to zero.
9310 * math/w_atan2f.c: Include <errno.h>.
9311 (__atan2f): Set errno for result underflowing to zero.
9312 * math/w_atan2l.c: Include <errno.h>.
9313 (__atan2l): Set errno for result underflowing to zero.
9314 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9315 tests.
9316 * math/auto-libm-test-out: Regenerated.
9317
757d9dd5
AZ
93182014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9319
9320 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9321 Encode instruction correctly in little endian.
9322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9323 Likewise.
9324 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9325 Likewise.
9326 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9327 Likewise.
9328 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9329 Likewise.
9330
d7a68734
JM
93312014-03-31 Joseph Myers <joseph@codesourcery.com>
9332
47c5adeb
JM
9333 [BZ #9894]
9334 * sysdeps/unix/sysv/linux/kernel-features.h
9335 [__sparc__ && !__arch64__ && !__sparc_v9__]
9336 (__ASSUME_SET_ROBUST_LIST): Do not define.
9337 [__sparc__ && !__arch64__ && !__sparc_v9__]
9338 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9339 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9340 Likewise.
9341 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9342 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9343 (__ASSUME_REQUEUE_PI): Likewise.
9344 (__ASSUME_SET_ROBUST_LIST): Likewise.
9345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9346 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9347 Undefine.
9348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9349 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9350 Likewise.
9351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9352 Likewise.
9353 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9354 Likewise.
9355 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9356 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9357 Undefine.
9358 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9359 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9360 Likewise.
9361
d7a68734
JM
9362 [BZ #16648]
9363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9364 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9365 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9366
c760f5c2
WN
93672014-03-31 Will Newton <will.newton@linaro.org>
9368
9369 * benchtests/Makefile (bench): Add ffs and ffsll to list
9370 of tests.
9371 * benchtests/ffs-inputs: New file.
9372 * benchtests/ffsll-inputs: Likewise.
9373
ea6029b1
JM
93742014-03-29 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #16770]
9377 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9378 too large before casting to int.
9379 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9380 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9381 * math/libm-test.inc (scalb_test_data): Add more tests.
9382
cf806aff
SP
93832014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
56737508
SP
9385 * benchtests/Makefile (DETAILED_OPT): New make option.
9386 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9387 set.
9388 * benchtests/bench-skeleton.c: Include stdbool.h.
9389 (main): Store and print timings per input.
9390 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9391 member to each argument value.
9392 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9393 (_print_arg_data): Initialize per-input timing to 0.
9394
cb5e4aad
SP
9395 * benchtests/Makefile (timing-type): New binary.
9396 (bench-clean): Also remove bench-timing-type.
9397 (bench): New target for timing-type.
9398 (bench-func): Print output in JSON format.
9399 * benchtests/bench-skeleton.c (main): Print output in JSON
9400 format.
9401 * benchtests/bench-timing-type.c: New file.
9402 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9403 (TIMING_PRINT_STATS): Remove.
9404 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9405 name separately.
9406
cf806aff
SP
9407 * benchtests/bench-modf.c: Remove.
9408 * benchtests/modf-inputs: New inputs file.
9409
289e0779
JM
94102014-03-28 Joseph Myers <joseph@codesourcery.com>
9411
9412 [BZ #16362]
9413 * math/s_clog10.c (M_PI_LOG10E): New macro.
9414 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9415 imaginary parts are 0.
9416 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9417 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9418 imaginary parts are 0.
9419 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9420 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9421 imaginary parts are 0.
9422 * math/libm-test.inc (clog10_test_data): Update expected results
9423 for when real and imaginary parts are 0.
9424
277ae3f1
PP
94252014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9426
9427 * elf/dl-load.c: Finish conversion of __builtin_expect into
9428 __glibc_{un}likely.
9429
03a7091f
JM
94302014-03-27 Joseph Myers <joseph@codesourcery.com>
9431
9432 [BZ #16348]
9433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9434 1+x for argument with exponent below -67.
9435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9436 Likewise.
9437 * math/auto-libm-test-in: Add more tests of exp.
9438 * math/auto-libm-test-out: Regenerated.
9439
ea7d8b95
SP
94402014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9441
dd3022d7
SP
9442 [BZ #16759]
9443 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9444 (nscd_getnetgrent): Use it.
9445
ea7d8b95
SP
9446 [BZ #16760]
9447 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9448 of stpcpy.
9449
df5b85da
AK
94502014-03-27 Andi Kleen <ak@linux.intel.com>
9451
57f41c40
AS
9452 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9453 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9454 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9455 (lll_robust_unlock): Remove out of line section. Use cfi
9456 intrinsics.
df5b85da 9457 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9458 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9459 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9460 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9461 (lll_robust_unlock): Remove out of line section. Use cfi
9462 intrinsics.
df5b85da
AK
9463 (LLL_STUB_UNWIND_INFO*): Remove.
9464
fbd6b5a4
SP
94652014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9466
9467 [BZ #16758]
9468 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9469 blank values.
9470
1b26b855
PP
94712014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9472
9473 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9474
9be36fb8
JM
94752014-03-26 Joseph Myers <joseph@codesourcery.com>
9476
9477 [BZ #16198]
9478 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9479 fnstenv.
9480 * math/test-fenv-preserve.c: New file.
9481 * math/Makefile (tests): Add test-fenv-preserve.
9482
60a2f3c1
WN
94832014-03-26 Will Newton <will.newton@linaro.org>
9484
9485 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9486
a5e5f1e2
RM
94872014-03-25 Roland McGrath <roland@hack.frob.com>
9488
9489 * scripts/versionlist.awk: Partition the version sets and emit all
9490 GLIBC_* (sorted) before all others (sorted).
9491
00f4012a
JM
94922014-03-25 Joseph Myers <joseph@codesourcery.com>
9493
9494 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9495 GLIBC_2.2.5 version.
9496
7bc5a741
AZ
94972014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9498
9499 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9500 calls.
9501
7578473b
AZ
9502 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9503 previous change.
9504
f3f1dab3
AZ
9505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9506
6da36183
AS
95072014-03-25 Andreas Schwab <schwab@suse.de>
9508
9509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9510 label to be used after in6ailist is initialized.
9511
f3f1dab3 95122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9513
7578473b 9514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9515 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9516
046651c1
JM
95172014-03-25 Joseph Myers <joseph@codesourcery.com>
9518
9519 [BZ #16357]
9520 [BZ #16599]
9521 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9522 min_plus_half.
9523 (fp_formats): Update initializers.
9524 (init_fp_formats): Initialize new field.
9525 (output_for_one_input_case): Allow underflow for results up to
9526 min_plus_half.
9527 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9528 * math/auto-libm-test-in: Don't mark some underflows from asin and
9529 atanh as spurious.
9530 * math/auto-libm-test-out: Regenerated.
9531 * sysdeps/i386/fpu/libm-test-ulps: Update.
9532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9533
003e49ed
AS
95342014-03-25 Andreas Schwab <schwab@suse.de>
9535
9536 * libio/Makefile (tst-ftell-partial-wide-ENV)
9537 (tst-ftell-active-handler-ENV): Define.
9538
de031874
SL
95392014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9540
9541 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9542
55a81e3b
PP
95432014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9544
9545 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9546
f3426898
JM
95472014-03-24 Joseph Myers <joseph@codesourcery.com>
9548
9549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9550 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9551 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9552
a42faf59
PP
95532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9554
9555 [BZ #16634]
a42faf59 9556 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9557 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9558 (open_path): Change from boolean 'secure' to complete flag 'mode'
9559 (_dl_map_object): Adjust.
a42faf59
PP
9560 * elf/Makefile (tests): Add tst-dlopen-aout.
9561 * elf/tst-dlopen-aout.c: New test.
9562
50936127
SL
95632014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9564
9565 [BZ #16714]
9566 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9567 (struct stat): Rename member pad0 to __glibc_reserved0.
9568
26011b5c
SL
9569 [BZ #16712]
9570 * sysdeps/s390/s390-32/bits/wordsize.h
9571 (__WORDSIZE32_SIZE_ULONG): New define.
9572 * sysdeps/s390/s390-64/bits/wordsize.h
9573 (__WORDSIZE32_SIZE_ULONG): Likewise.
9574 * sysdeps/generic/stdint.h (SIZE_MAX):
9575 Define as UL if __WORDSIZE32_SIZE_ULONG.
9576
a2d86bf1
SL
9577 [BZ #16713]
9578 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9579 (__glibc_reserved0): New variable.
9580 (sa_flags): Change type to int.
9581
78b6eebc
SL
9582 * posix/Makefile (before-compile): Use += before-compile instead
9583 of a :=.
9584
f1399b5a
SL
9585 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9586 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9587
a071766e
AS
95882014-03-20 Andreas Schwab <schwab@suse.de>
9589
9590 [BZ #16743]
9591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9592 non-matching result from nscd.
9593
27c673b8
SP
95942014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9595
9596 * scripts/bench.py: Moved to ...
9597 * benchtests/scripts/bench.py: ... here.
9598 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9599
44152e4b
AS
96002014-03-24 Andreas Schwab <schwab@suse.de>
9601
9602 [BZ #16002]
9603 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9604 alloca_account and account alloca use for struct in6ailist.
9605
b376a11a
JM
96062014-03-24 Joseph Myers <joseph@codesourcery.com>
9607
9608 [BZ #16284]
9609 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9610 rounding mode to recompute results that overflow to infinity or
9611 underflow to zero.
9612 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9613 bug 16284.
9614 * math/auto-libm-test-out: Regenerated.
9615 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9616 (ccosh_test): Likewise.
9617 (csin_test_data): Use plus_oflow.
9618 (csin_test): Use ALL_RM_TEST.
9619 (csinh_test_data): Use plus_oflow.
9620 (csinh_test): Use ALL_RM_TEST.
9621 * sysdeps/i386/fpu/libm-test-ulps: Update.
9622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623
f7be7376
JM
96242014-03-21 Joseph Myers <joseph@codesourcery.com>
9625
1ca2d03e
JM
9626 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9627 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9628 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9629
f7be7376
JM
9630 [BZ #16731]
9631 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9632 when x - 1 is zero.
9633 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9634 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9635 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9637 argument is 1.
9638 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9639 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9640 zero.
9641 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9642 * sysdeps/i386/fpu/libm-test-ulps: Update.
9643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9644
fdf4534d
SP
96452014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9646
df26ea53
SP
9647 * scripts/bench.pl: Remove file.
9648 * scripts/bench.py: New benchmark script.
9649 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9650 * benchtests/README: Mention python dependency.
9651 * scripts/pylintrc: New file.
9652 * scripts/pylint: New file.
9653
fdf4534d
SP
9654 * bits/mathdef.h: Use #ifdef instead of #if.
9655 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9656 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9657 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9658 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9659 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9660 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9661
6f23d093
AZ
96622014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9663 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9664
9665 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9667 and strpbrk-ppc64 objects.
9668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9669 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9670 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9671 multiarch strpbrk for POWER7.
9672 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9673 multiarch strpbrk for PPC64.
9674 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9675 ifunc selector.
9676 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9677 strpbrk for POWER7.
9678
8c92dfff
JM
96792014-03-20 Joseph Myers <joseph@codesourcery.com>
9680
9681 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9682 (atan_test): Likewise.
9683 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9684 (atanh_test): Use ALL_RM_TEST.
9685 (atan2_test_data): Likewise.
9686 (cabs_test): Likewise.
9687 (cacosh_test): Likewise.
9688 (carg_test): Likewise.
9689 (casin_test): Likewise.
9690 (casinh_test): Likewise.
9691 (cbrt_test): Likewise.
9692 (csqrt_test): Likewise.
9693 (erf_test): Likewise.
9694 (erfc_test): Likewise.
9695 (pow10_test): Likewise.
9696 (exp2_test): Likewise.
9697 (hypot_test): Likewise.
9698 (j0_test): Likewise.
9699 (j1_test): Likewise.
9700 (lgamma_test): Likewise.
9701 (gamma_test): Likewise.
9702 (sincos_test): Likewise.
9703 (tanh_test): Likewise.
9704 (y0_test): Likewise.
9705 (y1_test): Likewise.
9706 * sysdeps/i386/fpu/libm-test-ulps: Update.
9707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9708
6eaf95cb
AZ
97092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9710
a387428c
SP
9711 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9713 and strcspn-ppc64 objects.
9714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9715 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9716 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9717 multiarch strcspn for POWER7.
9718 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9719 multiarch strcspn for PPC64.
9720 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9721 ifunc selector.
9722 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9723 strcspn for POWER7.
9724
ae3a5dff
JM
97252014-03-20 Joseph Myers <joseph@codesourcery.com>
9726
9727 * math/gen-libm-test.pl (generate_testfile): Expect only function
9728 name as argument to AUTO_TESTS_* and pass results for all rounding
9729 modes to parse_args.
9730 (parse_auto_input): Separate inputs of automatic tests from
9731 outputs before storing in %auto_tests.
9732 * math/libm-test.inc (acos_test_data): Update call to
9733 AUTO_TESTS_f_f.
9734 (acos_test): Use ALL_RM_TEST.
9735 (acos_tonearest_test_data): Remove.
9736 (acos_test_tonearest): Likewise.
9737 (acos_towardzero_test_data): Likewise.
9738 (acos_test_towardzero): Likewise.
9739 (acos_downward_test_data): Likewise.
9740 (acos_test_downward): Likewise.
9741 (acos_upward_test_data): Likewise.
9742 (acos_test_upward): Likewise.
9743 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9744 (asin_test_data): Likewise.
9745 (asin_test): Use ALL_RM_TEST.
9746 (asin_tonearest_test_data): Remove.
9747 (asin_test_tonearest): Likewise.
9748 (asin_towardzero_test_data): Likewise.
9749 (asin_test_towardzero): Likewise.
9750 (asin_downward_test_data): Likewise.
9751 (asin_test_downward): Likewise.
9752 (asin_upward_test_data): Likewise.
9753 (asin_test_upward): Likewise.
9754 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9755 (atan_test_data): Likewise.
9756 (atanh_test_data): Likewise.
9757 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9758 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9759 (carg_test_data): Likewise.
9760 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9761 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9762 (ccosh_test_data): Likewise.
9763 (cexp_test_data): Likewise.
9764 (clog_test_data): Likewise.
9765 (clog10_test_data): Likewise.
9766 (cos_test_data): Update call to AUTO_TESTS_f_f.
9767 (cos_test): Use ALL_RM_TEST.
9768 (cos_tonearest_test_data): Remove.
9769 (cos_test_tonearest): Likewise.
9770 (cos_towardzero_test_data): Likewise.
9771 (cos_test_towardzero): Likewise.
9772 (cos_downward_test_data): Likewise.
9773 (cos_test_downward): Likewise.
9774 (cos_upward_test_data): Likewise.
9775 (cos_test_upward): Likewise.
9776 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9777 (cosh_test): Use ALL_RM_TEST.
9778 (cosh_tonearest_test_data): Remove.
9779 (cosh_test_tonearest): Likewise.
9780 (cosh_towardzero_test_data): Likewise.
9781 (cosh_test_towardzero): Likewise.
9782 (cosh_downward_test_data): Likewise.
9783 (cosh_test_downward): Likewise.
9784 (cosh_upward_test_data): Likewise.
9785 (cosh_test_upward): Likewise.
9786 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9787 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9788 (ctan_test_data): Likewise.
9789 (ctan_test): Use ALL_RM_TEST.
9790 (ctan_tonearest_test_data): Remove.
9791 (ctan_test_tonearest): Likewise.
9792 (ctan_towardzero_test_data): Likewise.
9793 (ctan_test_towardzero): Likewise.
9794 (ctan_downward_test_data): Likewise.
9795 (ctan_test_downward): Likewise.
9796 (ctan_upward_test_data): Likewise.
9797 (ctan_test_upward): Likewise.
9798 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9799 (ctanh_test): Use ALL_RM_TEST.
9800 (ctanh_tonearest_test_data): Remove.
9801 (ctanh_test_tonearest): Likewise.
9802 (ctanh_towardzero_test_data): Likewise.
9803 (ctanh_test_towardzero): Likewise.
9804 (ctanh_downward_test_data): Likewise.
9805 (ctanh_test_downward): Likewise.
9806 (ctanh_upward_test_data): Likewise.
9807 (ctanh_test_upward): Likewise.
9808 (erf_test_data): Update call to AUTO_TESTS_f_f.
9809 (erfc_test_data): Likewise.
9810 (exp_test_data): Likewise.
9811 (exp_test): Use ALL_RM_TEST.
9812 (exp_tonearest_test_data): Remove.
9813 (exp_test_tonearest): Likewise.
9814 (exp_towardzero_test_data): Likewise.
9815 (exp_test_towardzero): Likewise.
9816 (exp_downward_test_data): Likewise.
9817 (exp_test_downward): Likewise.
9818 (exp_upward_test_data): Likewise.
9819 (exp_test_upward): Likewise.
9820 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9821 (exp10_test): Use ALL_RM_TEST.
9822 (exp10_tonearest_test_data): Remove.
9823 (exp10_test_tonearest): Likewise.
9824 (exp10_towardzero_test_data): Likewise.
9825 (exp10_test_towardzero): Likewise.
9826 (exp10_downward_test_data): Likewise.
9827 (exp10_test_downward): Likewise.
9828 (exp10_upward_test_data): Likewise.
9829 (exp10_test_upward): Likewise.
9830 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9831 (expm1_test_data): Likewise.
9832 (expm1_test): Use ALL_RM_TEST.
9833 (expm1_tonearest_test_data): Remove.
9834 (expm1_test_tonearest): Likewise.
9835 (expm1_towardzero_test_data): Likewise.
9836 (expm1_test_towardzero): Likewise.
9837 (expm1_downward_test_data): Likewise.
9838 (expm1_test_downward): Likewise.
9839 (expm1_upward_test_data): Likewise.
9840 (expm1_test_upward): Likewise.
9841 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9842 (fma_test): Use ALL_RM_TEST.
9843 (fma_towardzero_test_data): Remove.
9844 (fma_test_towardzero): Likewise.
9845 (fma_downward_test_data): Likewise.
9846 (fma_test_downward): Likewise.
9847 (fma_upward_test_data): Likewise.
9848 (fma_test_upward): Likewise.
9849 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9850 (j0_test_data): Update call to AUTO_TESTS_f_f.
9851 (j1_test_data): Likewise.
9852 (jn_test_data): Update call to AUTO_TESTS_if_f.
9853 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9854 (log_test_data): Update call to AUTO_TESTS_f_f.
9855 (log10_test_data): Likewise.
9856 (log1p_test_data): Likewise.
9857 (log2_test_data): Likewise.
9858 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9859 (pow_tonearest_test_data): Likewise.
9860 (sin_test_data): Update call to AUTO_TESTS_f_f.
9861 (sin_test): Use ALL_RM_TEST.
9862 (sin_tonearest_test_data): Remove.
9863 (sin_test_tonearest): Likewise.
9864 (sin_towardzero_test_data): Likewise.
9865 (sin_test_towardzero): Likewise.
9866 (sin_downward_test_data): Likewise.
9867 (sin_test_downward): Likewise.
9868 (sin_upward_test_data): Likewise.
9869 (sin_test_upward): Likewise.
9870 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9871 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9872 (sinh_test): Use ALL_RM_TEST.
9873 (sinh_tonearest_test_data): Remove.
9874 (sinh_test_tonearest): Likewise.
9875 (sinh_towardzero_test_data): Likewise.
9876 (sinh_test_towardzero): Likewise.
9877 (sinh_downward_test_data): Likewise.
9878 (sinh_test_downward): Likewise.
9879 (sinh_upward_test_data): Likewise.
9880 (sinh_test_upward): Likewise.
9881 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9882 (sqrt_test): Use ALL_RM_TEST.
9883 (sqrt_tonearest_test_data): Remove.
9884 (sqrt_test_tonearest): Likewise.
9885 (sqrt_towardzero_test_data): Likewise.
9886 (sqrt_test_towardzero): Likewise.
9887 (sqrt_downward_test_data): Likewise.
9888 (sqrt_test_downward): Likewise.
9889 (sqrt_upward_test_data): Likewise.
9890 (sqrt_test_upward): Likewise.
9891 (tan_test_data): Update call to AUTO_TESTS_f_f.
9892 (tan_test): Use ALL_RM_TEST.
9893 (tan_tonearest_test_data): Remove.
9894 (tan_test_tonearest): Likewise.
9895 (tan_towardzero_test_data): Likewise.
9896 (tan_test_towardzero): Likewise.
9897 (tan_downward_test_data): Likewise.
9898 (tan_test_downward): Likewise.
9899 (tan_upward_test_data): Likewise.
9900 (tan_test_upward): Likewise.
9901 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9902 (tgamma_test_data): Likewise.
9903 (y0_test_data): Likewise.
9904 (y1_test_data): Likewise.
9905 (yn_test_data): Update call to AUTO_TESTS_if_f.
9906 (main): Do not call removed functions.
9907
d71aeee8
JM
99082014-03-19 Joseph Myers <joseph@codesourcery.com>
9909
9910 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9911 (ldexp_test_data): Remove.
9912 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9913 scalbn_test_data.
9914 (scalb_test): Use ALL_RM_TEST.
9915
baaf1ded
AS
99162014-03-19 Andreas Schwab <schwab@suse.de>
9917
9918 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9919
b1115e91
JM
99202014-03-19 Joseph Myers <joseph@codesourcery.com>
9921
9922 [BZ #16649]
9923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9924 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9925 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9927 (__ASSUME_PREADV): Undefine.
9928 (__ASSUME_PWRITEV): Likewise.
9929
0283ecca
RM
99302014-03-18 Roland McGrath <roland@hack.frob.com>
9931
7d375303
RM
9932 * bits/mman-linux.h: Add comment about non-Linux use.
9933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9934 bits/mman-linux.h resting place.
9935
0283ecca
RM
9936 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9937 * bits/mman-linux.h: ... here.
9938
aebe1003
AZ
99392014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * conform/conformtest.pl: Add standard definition when calling C
9942 preprocessor on data files.
9943 (checknamespace): Remove unused variable.
9944
b29b6bb8
JM
99452014-03-18 Joseph Myers <joseph@codesourcery.com>
9946
9947 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9948 minus_oflow, plus_uflow and minus_uflow in expected results.
9949 * math/libm-test.inc (scalbn_test_data): Add more tests of
9950 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9951 minus_uflow.
9952 (scalbn_test): Use ALL_RM_TEST.
9953 (scalbln_test_data): Add more tests of negative arguments. Use
9954 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9955 (scalbln_test): Use ALL_RM_TEST.
9956
c8f8fa15
RM
99572014-03-18 Roland McGrath <roland@hack.frob.com>
9958
9959 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9960
fede7a5f
WN
99612014-03-18 Will Newton <will.newton@linaro.org>
9962
9963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9964 inaccurate comment.
9965
80cf0a58
JM
99662014-03-18 Joseph Myers <joseph@codesourcery.com>
9967
9968 * Makerules [!subdir] (check-abi): Exit with error status if a
9969 test failed.
9970
b3620862
JM
99712014-03-17 Joseph Myers <joseph@codesourcery.com>
9972
9973 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9974 for rint. Include results for all rounding modes.
9975 (nearbyint_test): Use ALL_RM_TEST.
9976 (rint_test_data): Include all tests used for nearbyint.
9977
788bba36
WN
99782014-03-17 Will Newton <will.newton@linaro.org>
9979
04ec140a
WN
9980 * nptl/sysdeps/pthread/pthread.h: Revert previous
9981 change.
9982
7579d8d5
WN
9983 * sysdeps/generic/ldsodefs.h: Revert previous
9984 change.
9985
c15cf13a
WN
9986 * libio/genops.c: Revert previous change.
9987 * libio/libioP.h: Likewise.
9988 * stdio-common/vfprintf.c: Likewise.
9989
d0ac1324
WN
9990 * sysdeps/generic/math_private.h: Revert previous
9991 change.
9992
9290130a
WN
9993 * sysdeps/generic/math_private.h: Check whether
9994 HAVE_RM_CTX is defined with #ifdef rather
9995 than #if.
9996
afb466fc
WN
9997 * argp/argp-fmtstream.h: Check whether
9998 __STRICT_ANSI__ is defined with #ifdef rather
9999 than #if.
10000 * argp/argp.h: Likewise.
10001
f7efd7c3
WN
10002 * libio/genops.c: Check whether
10003 _IO_JUMPS_OFFSET is defined with #ifdef rather
10004 than #if.
10005 * libio/libioP.h: Likewise.
10006 * stdio-common/vfprintf.c: Likewise.
10007
53f1bed3
WN
10008 * sysdeps/generic/ldsodefs.h: Check whether
10009 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10010 than #if.
10011
788bba36
WN
10012 * nptl/sysdeps/pthread/pthread.h: Check
10013 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10014 its value.
10015
fcd89ebe
SP
100162014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10017
ae42bbc5
SP
10018 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10019 setting O_APPEND.
10020 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10021 test case.
10022
ea33158c
SP
10023 [BZ #16680]
10024 * libio/fileops.c (_IO_file_open): Seek to end of file but
10025 don't cache the offset.
10026 (get_file_offset): Remove function.
10027 (do_ftell): Use cached offset when available.
10028 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10029 don't cache the offset.
10030 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10031 case.
10032 (do_one_test): Call it.
10033 (do_ftell_test): Fix up expected old offset for a+ mode.
10034 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10035 available.
10036
b1dbb426
SP
10037 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10038 up test status with function return status.
10039 (do_write_test): Likewise.
10040 (do_append_test): Likewise.
10041
fcd89ebe
SP
10042 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10043 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10044 Remove.
10045
9962a2d3
JM
100462014-03-17 Joseph Myers <joseph@codesourcery.com>
10047
10048 * math/gen-libm-test.pl (parse_args): Handle results specified for
10049 each rounding mode separately.
10050 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10051 tests and results from lrint_tonearest_test_data,
10052 lrint_towardzero_test_data, lrint_downward_test_data and
10053 lrint_upward_test_data.
10054 (lrint_test): Use ALL_RM_TEST.
10055 (lrint_tonearest_test_data): Remove.
10056 (lrint_test_tonearest): Likewise.
10057 (lrint_towardzero_test_data): Likewise.
10058 (lrint_test_towardzero): Likewise.
10059 (lrint_downward_test_data): Likewise.
10060 (lrint_test_downward): Likewise.
10061 (lrint_upward_test_data): Likewise.
10062 (lrint_test_upward): Likewise.
10063 (llrint_test_data): Merge in per-rounding-mode tests and results
10064 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10065 llrint_downward_test_data and llrint_upward_test_data.
10066 (llrint_test): Use ALL_RM_TEST.
10067 (llrint_tonearest_test_data): Remove.
10068 (llrint_test_tonearest): Likewise.
10069 (llrint_towardzero_test_data): Likewise.
10070 (llrint_test_towardzero): Likewise.
10071 (llrint_downward_test_data): Likewise.
10072 (llrint_test_downward): Likewise.
10073 (llrint_upward_test_data): Likewise.
10074 (llrint_test_upward): Likewise.
10075 (rint_test_data): Merge in per-rounding-mode tests and results
10076 from rint_tonearest_test_data, rint_towardzero_test_data,
10077 rint_downward_test_data and rint_upward_test_data. Add
10078 per-rounding-mode results for tests not in those arrays.
10079 (rint_test): Use ALL_RM_TEST.
10080 (rint_tonearest_test_data): Remove.
10081 (rint_test_tonearest): Likewise.
10082 (rint_towardzero_test_data): Likewise.
10083 (rint_test_towardzero): Likewise.
10084 (rint_downward_test_data): Likewise.
10085 (rint_test_downward): Likewise.
10086 (rint_upward_test_data): Likewise.
10087 (rint_test_upward): Likewise.
10088 (main): Don't call removed functions.
10089
5006148e
RM
100902014-03-14 Roland McGrath <roland@hack.frob.com>
10091
10092 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10093 "Compiled on ..." crapola. It is anti-useful.
10094
d6fe5e58
JM
100952014-03-14 Joseph Myers <joseph@codesourcery.com>
10096
10097 * scripts/evaluate-test.sh: Handle fourth argument to determine
10098 whether test run should stop on failure.
10099 * Makeconfig (stop-on-test-failure): New variable.
10100 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10101 $(stop-on-test-failure).
10102 * Makefile (tests): Give a summary of results from testing and
10103 exit with failure status if they include an ERROR or FAIL.
10104 (xtests): Likewise.
10105 * manual/install.texi (Configuring and compiling): Mention
10106 stop-on-test-failure=y.
10107 * INSTALL: Regenerated.
10108
498a2233
RM
101092014-03-14 Roland McGrath <roland@hack.frob.com>
10110
22dbc19d
RM
10111 * scripts/versionlist.awk: New file.
10112 * Makerules [$(build-shared) = yes]
10113 (postclean-generated): Add Versions.def, not Versions.def.v and
10114 Versions.def.v.i.
10115 ($(common-objpfx)Versions.def.v.i): Target removed.
10116 ($(common-objpfx)Versions.def): New target.
10117 ($(common-objpfx)Versions.all): Depend on that rather that
10118 $(common-objpfx)Versions.def.v.
10119 * Versions.def: File removed.
10120
498a2233
RM
10121 * Makeconfig (+gccwarn): Add -Wundef.
10122 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10123 a dl-sysdep.h breaking its contract.
10124 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10125 * include/stackinfo.h: New file.
10126 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10127 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10128 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10129 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10130 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10131 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10132 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10133 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10134 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10135 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10136 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10137 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10138 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10139 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10140 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10141
c7de5025
AZ
101422014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
10144 [BZ #16707]
10145 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10146 implementation.
10147 * math/libm-test.inc (round_test_data): Add more tests.
10148
98fb27a3
AZ
10149 [BZ #16706]
10150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10151 implementation.
10152 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10153
374f7f61
AZ
10154 [BZ #16701]
10155 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10156 implementation.
10157 * math/libm-test.inc (ceil_test_data): Add more tests.
10158
4655c291
AZ
10159 * math/libm-test.inc (trunc_test_data): Add more tests related to
10160 BZ#16414.
10161
d7329d4b
RM
101622014-03-14 Roland McGrath <roland@hack.frob.com>
10163
10164 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10165 with #if rather than #ifdef.
10166 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10167
aa4de9ce
L
101682014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10169
10170 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10171 first. Disable AVX-512 GCC support if assembler doesn't support
10172 it.
10173 * sysdeps/x86_64/configure: Regenerated.
10174
2e03fae7
CD
101752014-03-13 Carlos O'Donell <carlos@redhat.com>
10176
10177 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10178 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10179 (__old_pthread_attr_setstack): Likewise.
10180 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10181 [!_STACK_GROWS_DOWN]: Likewise.
10182
43ca83ec
MF
101832014-03-13 Mike Frysinger <vapier@gentoo.org>
10184
10185 * config.make.in (have-bash2): Delete.
10186 * configure.ac (libc_cv_have_bash2): Delete.
10187 * configure: Regenerate.
10188 * elf/Makefile (common-ldd-rewrite): Rename to ...
10189 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10190 (sh-ldd-rewrite): Delete.
10191 (bash-ldd-rewrite): Delete.
10192 (have-bash2): Delete checks.
57f41c40
AS
10193 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10194 ldd-rewrite.
c66e48b4
MF
10195
10196 * config.make.in (have-ksh): Delete.
10197 (KSH): Delete.
10198 * configure.ac (libc_cv_have_ksh): Delete.
10199 * configure: Regenerate.
10200
b93834ef
MF
10201 * elf/Makefile: Delete $(have-ksh) check.
10202 ($(objpfx)sotruss): Change KSH to BASH.
10203 * elf/sotruss.ksh: Rename to ...
10204 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10205 function style to match POSIX. Drop ksh vim mode setting.
10206
f3a4632a
MF
10207 * manual/time.texi (Specifying the Time Zone with TZ): Change
10208 Tuesday to Thursday.
10209
5896c8bd
MF
10210 * debug/tst-longjmp_chk2.c: Update header comment.
10211 (stackoverflow_handler): Add comment. Call assert on pass value.
10212
2d63a517
IZ
102132014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10214
7e54fd04 10215 [BZ #16194]
2d63a517
IZ
10216 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10217 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10218 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10219 (La_x86_64_vector): Add zmm.
10220 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10221 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10222 ($(objpfx)tst-audit10): New target.
10223 ($(objpfx)tst-audit10.out): Likewise.
10224 (tst-audit10-ENV): New.
10225 (AVX512-CFLAGS): Likewise.
10226 (CFLAGS-tst-audit10.c): Likewise.
10227 (CFLAGS-tst-auditmod10a.c): Likewise.
10228 (CFLAGS-tst-auditmod10b.c): Likewise.
10229 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10230 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10231 * sysdeps/x86_64/configure: Regenerated.
10232 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10233 AVX-512 zmm register support.
10234 (_dl_x86_64_save_sse): Likewise.
10235 (_dl_x86_64_restore_sse): Likewise.
10236 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10237 size vector registers.
10238 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10239 (ZMM_SIZE): Likewise.
10240 * sysdeps/x86_64/tst-audit10.c: New file.
10241 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10242 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10243
44c4e5d5
RM
102442014-03-13 Roland McGrath <roland@hack.frob.com>
10245
10246 * configure.ac (HAVE_EHDR_START): New check.
10247 * configure: Regenerated.
10248 * config.h.in (HAVE_EHDR_START): New #undef.
10249 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10250 assuming the lowest-addressed segment maps the start of the file.
10251
acd6e389
JM
102522014-03-13 Joseph Myers <joseph@codesourcery.com>
10253
10254 * INSTALL: Regenerated.
10255
6f918f36
WN
102562014-03-13 Will Newton <will.newton@linaro.org>
10257
10258 * manual/setjmp.texi (System V contexts): Improve
10259 clarity and grammar of documentation.
10260
798212a0
PP
102612014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10262
10263 [BZ #16381]
798212a0 10264 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10265 (tests-pie): Add tst-pie2.
798212a0
PP
10266 * elf/tst-pie2.c: New file.
10267 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10268 for ET_EXEC.
10269 * elf/rtld.c (map_doit): Load executable as lt_executable.
10270 (dl_main): Likewise.
10271
abe6d90c
JM
102722014-03-12 Joseph Myers <joseph@codesourcery.com>
10273
10274 [BZ #16642]
10275 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10276 (__ASSUME_PSELECT): Undefine.
10277
dd3946c6
AZ
102782014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10279
10280 [BZ #16689]
10281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10282 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10283 static build.
10284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10285 selector for static builds.
10286
c44496df
SP
102872014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10288
10289 [BZ #16695]
10290 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10291 key in the buffer.
10292
27c7220a
AZ
102932014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10294
57f41c40
AS
10295 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10296 IFUNC selector for static builds.
27c7220a 10297
600fa361
JM
102982014-03-11 Joseph Myers <joseph@codesourcery.com>
10299
76c96cf7
JM
10300 * sysdeps/mips/math_private.h [__mips_hard_float]
10301 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10302 libc_feresetround_mips_ctx.
10303 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10304 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10305 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10306
600fa361
JM
10307 [BZ #16677]
10308 * math/s_nextafter.c (__nextafter): Do not return value from
10309 overflowing computation.
10310 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10311 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10312 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10313 Likewise.
10314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10315 Likewise.
10316 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10317 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10318
d7706c32
RM
103192014-03-11 Roland McGrath <roland@hack.frob.com>
10320
10321 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10322 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10323 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10324 the new mov targetting sp.
10325
4facea47
AZ
103262014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10327
10328 [BZ #16683]
10329 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10330 Define it for static builds as well.
10331 (NO_BZERO_IMPL): Likewise.
10332
e65caf1f
VR
103332014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10334
10335 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10336 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10337 multiarch strspn for PPC64.
10338 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10339 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10341 (__libc_ifunc_impl_list): Likewise.
10342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10343 multiarch optimizations
10344 * string/strspn.c (strspn): Using macro to redefine symbol name.
10345
ba9cc071
AZ
103462014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10347 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10348
10349 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10350 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10351 multiarch strncat for PPC64.
10352 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10353 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10355 (__libc_ifunc_impl_list): Likewise.
10356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10357 multiarch optimizations
10358
8b4ff974
SP
103592014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10360
10361 [BZ #16639]
10362 * nscd/nscd.service: Make service type forking.
10363
54b46a4b
AZ
103642014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10365
10366 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10367 sign in non default rounding modes.
10368 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10369
e9996ef7
JM
103702014-03-08 Joseph Myers <joseph@codesourcery.com>
10371
10372 * math/libm-test.inc (ALL_RM_TEST): New macro.
10373 (ceil_test): Use ALL_RM_TEST.
10374 (cimag_test): Likewise.
10375 (conj_test): Likewise.
10376 (copysign_test): Likewise.
10377 (cproj_test): Likewise.
10378 (creal_test): Likewise.
10379 (fabs_test): Likewise.
10380 (floor_test): Likewise.
10381 (fmax_test): Likewise.
10382 (fmin_test): Likewise.
10383 (fmod_test): Likewise.
10384 (fpclassify_test): Likewise.
10385 (frexp_test): Likewise.
10386 (ilogb_test): Likewise.
10387 (isfinite_test): Likewise.
10388 (finite_test): Likewise.
10389 (isgreater_test): Likewise.
10390 (isgreaterequal_test): Likewise.
10391 (isinf_test): Likewise.
10392 (isless_test): Likewise.
10393 (islessequal_test): Likewise.
10394 (islessgreater_test): Likewise.
10395 (isnan_test): Likewise.
10396 (isnormal_test): Likewise.
10397 (issignaling_test): Likewise.
10398 (isunordered_test): Likewise.
10399 (logb_test): Likewise.
10400 (logb_downward_test_data): Remove.
10401 (logb_test_downward): Likewise.
10402 (lround_test): Use ALL_RM_TEST.
10403 (llround_test): Likewise.
10404 (modf_test): Likewise.
10405 (nexttoward_test): Likewise.
10406 (remainder_test): Likewise.
10407 (drem_test): Likewise.
10408 (remainder_tonearest_test_data): Likewise.
10409 (remainder_test_tonearest): Likewise.
10410 (drem_test_tonearest): Likewise.
10411 (remainder_towardzero_test_data): Likewise.
10412 (remainder_test_towardzero): Likewise.
10413 (drem_test_towardzero): Likewise.
10414 (remainder_downward_test_data): Likewise.
10415 (remainder_test_downward): Likewise.
10416 (drem_test_downward): Likewise.
10417 (remainder_upward_test_data): Likewise.
10418 (remainder_test_upward): Likewise.
10419 (drem_test_upward): Likewise.
10420 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10421 (round_test): Use ALL_RM_TEST.
10422 (signbit_test): Likewise.
10423 (trunc_test): Likewise.
10424 (significand_test): Likewise.
10425 (main): Don't call removed functions.
10426
bc61d27c
JM
104272014-03-07 Joseph Myers <joseph@codesourcery.com>
10428
5c780849
JM
10429 [BZ #16674]
10430 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10431 || __USE_XOPEN2K8].
10432 (ILL_ILLOPN): Likewise.
10433 (ILL_ILLADR): Likewise.
10434 (ILL_ILLTRP): Likewise.
10435 (ILL_PRVOPC): Likewise.
10436 (ILL_PRVREG): Likewise.
10437 (ILL_COPROC): Likewise.
10438 (ILL_BADSTK): Likewise.
10439 (FPE_INTDIV): Likewise.
10440 (FPE_INTOVF): Likewise.
10441 (FPE_FLTDIV): Likewise.
10442 (FPE_FLTOVF): Likewise.
10443 (FPE_FLTUND): Likewise.
10444 (FPE_FLTRES): Likewise.
10445 (FPE_FLTINV): Likewise.
10446 (FPE_FLTSUB): Likewise.
10447 (SEGV_MAPERR): Likewise.
10448 (SEGV_ACCERR): Likewise.
10449 (BUS_ADRALN): Likewise.
10450 (BUS_ADRERR): Likewise.
10451 (BUS_OBJERR): Likewise.
10452 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10453 (TRAP_TRACE): Likewise.
10454 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10455 __USE_XOPEN2K8].
10456 (CLD_KILLED): Likewise.
10457 (CLD_DUMPED): Likewise.
10458 (CLD_TRAPPED): Likewise.
10459 (CLD_STOPPED): Likewise.
10460 (CLD_CONTINUED): Likewise.
10461 (POLL_IN): Likewise.
10462 (POLL_OUT): Likewise.
10463 (POLL_MSG): Likewise.
10464 (POLL_ERR): Likewise.
10465 (POLL_PRI): Likewise.
10466 (POLL_HUP): Likewise.
10467 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10468 Likewise.
10469 (ILL_ILLOPN): Likewise.
10470 (ILL_ILLADR): Likewise.
10471 (ILL_ILLTRP): Likewise.
10472 (ILL_PRVOPC): Likewise.
10473 (ILL_PRVREG): Likewise.
10474 (ILL_COPROC): Likewise.
10475 (ILL_BADSTK): Likewise.
10476 (FPE_INTDIV): Likewise.
10477 (FPE_INTOVF): Likewise.
10478 (FPE_FLTDIV): Likewise.
10479 (FPE_FLTOVF): Likewise.
10480 (FPE_FLTUND): Likewise.
10481 (FPE_FLTRES): Likewise.
10482 (FPE_FLTINV): Likewise.
10483 (FPE_FLTSUB): Likewise.
10484 (SEGV_MAPERR): Likewise.
10485 (SEGV_ACCERR): Likewise.
10486 (BUS_ADRALN): Likewise.
10487 (BUS_ADRERR): Likewise.
10488 (BUS_OBJERR): Likewise.
10489 (BUS_MCEERR_AR): Likewise.
10490 (BUS_MCEERR_AO): Likewise.
10491 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10492 (TRAP_TRACE): Likewise.
10493 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10494 __USE_XOPEN2K8].
10495 (CLD_KILLED): Likewise.
10496 (CLD_DUMPED): Likewise.
10497 (CLD_TRAPPED): Likewise.
10498 (CLD_STOPPED): Likewise.
10499 (CLD_CONTINUED): Likewise.
10500 (POLL_IN): Likewise.
10501 (POLL_OUT): Likewise.
10502 (POLL_MSG): Likewise.
10503 (POLL_ERR): Likewise.
10504 (POLL_PRI): Likewise.
10505 (POLL_HUP): Likewise.
10506 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10507 (ILL_ILLOPN): Likewise.
10508 (ILL_ILLADR): Likewise.
10509 (ILL_ILLTRP): Likewise.
10510 (ILL_PRVOPC): Likewise.
10511 (ILL_PRVREG): Likewise.
10512 (ILL_COPROC): Likewise.
10513 (ILL_BADSTK): Likewise.
10514 (FPE_INTDIV): Likewise.
10515 (FPE_INTOVF): Likewise.
10516 (FPE_FLTDIV): Likewise.
10517 (FPE_FLTOVF): Likewise.
10518 (FPE_FLTUND): Likewise.
10519 (FPE_FLTRES): Likewise.
10520 (FPE_FLTINV): Likewise.
10521 (FPE_FLTSUB): Likewise.
10522 (SEGV_MAPERR): Likewise.
10523 (SEGV_ACCERR): Likewise.
10524 (BUS_ADRALN): Likewise.
10525 (BUS_ADRERR): Likewise.
10526 (BUS_OBJERR): Likewise.
10527 (BUS_MCEERR_AR): Likewise.
10528 (BUS_MCEERR_AO): Likewise.
10529 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10530 (TRAP_TRACE): Likewise.
10531 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10532 __USE_XOPEN2K8].
10533 (CLD_KILLED): Likewise.
10534 (CLD_DUMPED): Likewise.
10535 (CLD_TRAPPED): Likewise.
10536 (CLD_STOPPED): Likewise.
10537 (CLD_CONTINUED): Likewise.
10538 (POLL_IN): Likewise.
10539 (POLL_OUT): Likewise.
10540 (POLL_MSG): Likewise.
10541 (POLL_ERR): Likewise.
10542 (POLL_PRI): Likewise.
10543 (POLL_HUP): Likewise.
10544 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10545 Likewise.
10546 (ILL_ILLOPN): Likewise.
10547 (ILL_ILLADR): Likewise.
10548 (ILL_ILLTRP): Likewise.
10549 (ILL_PRVOPC): Likewise.
10550 (ILL_PRVREG): Likewise.
10551 (ILL_COPROC): Likewise.
10552 (ILL_BADSTK): Likewise.
10553 (ILL_BADIADDR): Likewise.
10554 (ILL_BREAK): Likewise.
10555 (FPE_INTDIV): Likewise.
10556 (FPE_INTOVF): Likewise.
10557 (FPE_FLTDIV): Likewise.
10558 (FPE_FLTOVF): Likewise.
10559 (FPE_FLTUND): Likewise.
10560 (FPE_FLTRES): Likewise.
10561 (FPE_FLTINV): Likewise.
10562 (FPE_FLTSUB): Likewise.
10563 (FPE_DECOVF): Likewise.
10564 (FPE_DECDIV): Likewise.
10565 (FPE_DECERR): Likewise.
10566 (FPE_INVASC): Likewise.
10567 (FPE_INVDEC): Likewise.
10568 (SEGV_MAPERR): Likewise.
10569 (SEGV_ACCERR): Likewise.
10570 (SEGV_PSTKOVF): Likewise.
10571 (BUS_ADRALN): Likewise.
10572 (BUS_ADRERR): Likewise.
10573 (BUS_OBJERR): Likewise.
10574 (BUS_MCEERR_AR): Likewise.
10575 (BUS_MCEERR_AO): Likewise.
10576 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10577 (TRAP_TRACE): Likewise.
10578 (TRAP_BRANCH): Likewise.
10579 (TRAP_HWBKPT): Likewise.
10580 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10581 __USE_XOPEN2K8].
10582 (CLD_KILLED): Likewise.
10583 (CLD_DUMPED): Likewise.
10584 (CLD_TRAPPED): Likewise.
10585 (CLD_STOPPED): Likewise.
10586 (CLD_CONTINUED): Likewise.
10587 (POLL_IN): Likewise.
10588 (POLL_OUT): Likewise.
10589 (POLL_MSG): Likewise.
10590 (POLL_ERR): Likewise.
10591 (POLL_PRI): Likewise.
10592 (POLL_HUP): Likewise.
10593 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10594 (ILL_ILLOPN): Likewise.
10595 (ILL_ILLADR): Likewise.
10596 (ILL_ILLTRP): Likewise.
10597 (ILL_PRVOPC): Likewise.
10598 (ILL_PRVREG): Likewise.
10599 (ILL_COPROC): Likewise.
10600 (ILL_BADSTK): Likewise.
10601 (FPE_INTDIV): Likewise.
10602 (FPE_INTOVF): Likewise.
10603 (FPE_FLTDIV): Likewise.
10604 (FPE_FLTOVF): Likewise.
10605 (FPE_FLTUND): Likewise.
10606 (FPE_FLTRES): Likewise.
10607 (FPE_FLTINV): Likewise.
10608 (FPE_FLTSUB): Likewise.
10609 (SEGV_MAPERR): Likewise.
10610 (SEGV_ACCERR): Likewise.
10611 (BUS_ADRALN): Likewise.
10612 (BUS_ADRERR): Likewise.
10613 (BUS_OBJERR): Likewise.
10614 (BUS_MCEERR_AR): Likewise.
10615 (BUS_MCEERR_AO): Likewise.
10616 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10617 (TRAP_TRACE): Likewise.
10618 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10619 __USE_XOPEN2K8].
10620 (CLD_KILLED): Likewise.
10621 (CLD_DUMPED): Likewise.
10622 (CLD_TRAPPED): Likewise.
10623 (CLD_STOPPED): Likewise.
10624 (CLD_CONTINUED): Likewise.
10625 (POLL_IN): Likewise.
10626 (POLL_OUT): Likewise.
10627 (POLL_MSG): Likewise.
10628 (POLL_ERR): Likewise.
10629 (POLL_PRI): Likewise.
10630 (POLL_HUP): Likewise.
10631 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10632 (ILL_ILLOPN): Likewise.
10633 (ILL_ILLADR): Likewise.
10634 (ILL_ILLTRP): Likewise.
10635 (ILL_PRVOPC): Likewise.
10636 (ILL_PRVREG): Likewise.
10637 (ILL_COPROC): Likewise.
10638 (ILL_BADSTK): Likewise.
10639 (FPE_INTDIV): Likewise.
10640 (FPE_INTOVF): Likewise.
10641 (FPE_FLTDIV): Likewise.
10642 (FPE_FLTOVF): Likewise.
10643 (FPE_FLTUND): Likewise.
10644 (FPE_FLTRES): Likewise.
10645 (FPE_FLTINV): Likewise.
10646 (FPE_FLTSUB): Likewise.
10647 (SEGV_MAPERR): Likewise.
10648 (SEGV_ACCERR): Likewise.
10649 (BUS_ADRALN): Likewise.
10650 (BUS_ADRERR): Likewise.
10651 (BUS_OBJERR): Likewise.
10652 (BUS_MCEERR_AR): Likewise.
10653 (BUS_MCEERR_AO): Likewise.
10654 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10655 (TRAP_TRACE): Likewise.
10656 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10657 __USE_XOPEN2K8].
10658 (CLD_KILLED): Likewise.
10659 (CLD_DUMPED): Likewise.
10660 (CLD_TRAPPED): Likewise.
10661 (CLD_STOPPED): Likewise.
10662 (CLD_CONTINUED): Likewise.
10663 (POLL_IN): Likewise.
10664 (POLL_OUT): Likewise.
10665 (POLL_MSG): Likewise.
10666 (POLL_ERR): Likewise.
10667 (POLL_PRI): Likewise.
10668 (POLL_HUP): Likewise.
10669 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10670 (ILL_ILLOPN): Likewise.
10671 (ILL_ILLADR): Likewise.
10672 (ILL_ILLTRP): Likewise.
10673 (ILL_PRVOPC): Likewise.
10674 (ILL_PRVREG): Likewise.
10675 (ILL_COPROC): Likewise.
10676 (ILL_BADSTK): Likewise.
10677 (FPE_INTDIV): Likewise.
10678 (FPE_INTOVF): Likewise.
10679 (FPE_FLTDIV): Likewise.
10680 (FPE_FLTOVF): Likewise.
10681 (FPE_FLTUND): Likewise.
10682 (FPE_FLTRES): Likewise.
10683 (FPE_FLTINV): Likewise.
10684 (FPE_FLTSUB): Likewise.
10685 (SEGV_MAPERR): Likewise.
10686 (SEGV_ACCERR): Likewise.
10687 (BUS_ADRALN): Likewise.
10688 (BUS_ADRERR): Likewise.
10689 (BUS_OBJERR): Likewise.
10690 (BUS_MCEERR_AR): Likewise.
10691 (BUS_MCEERR_AO): Likewise.
10692 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10693 (TRAP_TRACE): Likewise.
10694 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10695 __USE_XOPEN2K8].
10696 (CLD_KILLED): Likewise.
10697 (CLD_DUMPED): Likewise.
10698 (CLD_TRAPPED): Likewise.
10699 (CLD_STOPPED): Likewise.
10700 (CLD_CONTINUED): Likewise.
10701 (POLL_IN): Likewise.
10702 (POLL_OUT): Likewise.
10703 (POLL_MSG): Likewise.
10704 (POLL_ERR): Likewise.
10705 (POLL_PRI): Likewise.
10706 (POLL_HUP): Likewise.
10707 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10708 (ILL_ILLOPN): Likewise.
10709 (ILL_ILLADR): Likewise.
10710 (ILL_ILLTRP): Likewise.
10711 (ILL_PRVOPC): Likewise.
10712 (ILL_PRVREG): Likewise.
10713 (ILL_COPROC): Likewise.
10714 (ILL_BADSTK): Likewise.
10715 (ILL_DBLFLT): Likewise.
10716 (ILL_HARDWALL): Likewise.
10717 (FPE_INTDIV): Likewise.
10718 (FPE_INTOVF): Likewise.
10719 (FPE_FLTDIV): Likewise.
10720 (FPE_FLTOVF): Likewise.
10721 (FPE_FLTUND): Likewise.
10722 (FPE_FLTRES): Likewise.
10723 (FPE_FLTINV): Likewise.
10724 (FPE_FLTSUB): Likewise.
10725 (SEGV_MAPERR): Likewise.
10726 (SEGV_ACCERR): Likewise.
10727 (BUS_ADRALN): Likewise.
10728 (BUS_ADRERR): Likewise.
10729 (BUS_OBJERR): Likewise.
10730 (BUS_MCEERR_AR): Likewise.
10731 (BUS_MCEERR_AO): Likewise.
10732 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10733 (TRAP_TRACE): Likewise.
10734 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10735 __USE_XOPEN2K8].
10736 (CLD_KILLED): Likewise.
10737 (CLD_DUMPED): Likewise.
10738 (CLD_TRAPPED): Likewise.
10739 (CLD_STOPPED): Likewise.
10740 (CLD_CONTINUED): Likewise.
10741 (POLL_IN): Likewise.
10742 (POLL_OUT): Likewise.
10743 (POLL_MSG): Likewise.
10744 (POLL_ERR): Likewise.
10745 (POLL_PRI): Likewise.
10746 (POLL_HUP): Likewise.
10747 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10748 (ILL_ILLOPN): Likewise.
10749 (ILL_ILLADR): Likewise.
10750 (ILL_ILLTRP): Likewise.
10751 (ILL_PRVOPC): Likewise.
10752 (ILL_PRVREG): Likewise.
10753 (ILL_COPROC): Likewise.
10754 (ILL_BADSTK): Likewise.
10755 (FPE_INTDIV): Likewise.
10756 (FPE_INTOVF): Likewise.
10757 (FPE_FLTDIV): Likewise.
10758 (FPE_FLTOVF): Likewise.
10759 (FPE_FLTUND): Likewise.
10760 (FPE_FLTRES): Likewise.
10761 (FPE_FLTINV): Likewise.
10762 (FPE_FLTSUB): Likewise.
10763 (SEGV_MAPERR): Likewise.
10764 (SEGV_ACCERR): Likewise.
10765 (BUS_ADRALN): Likewise.
10766 (BUS_ADRERR): Likewise.
10767 (BUS_OBJERR): Likewise.
10768 (BUS_MCEERR_AR): Likewise.
10769 (BUS_MCEERR_AO): Likewise.
10770 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10771 (TRAP_TRACE): Likewise.
10772 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10773 __USE_XOPEN2K8].
10774 (CLD_KILLED): Likewise.
10775 (CLD_DUMPED): Likewise.
10776 (CLD_TRAPPED): Likewise.
10777 (CLD_STOPPED): Likewise.
10778 (CLD_CONTINUED): Likewise.
10779 (POLL_IN): Likewise.
10780 (POLL_OUT): Likewise.
10781 (POLL_MSG): Likewise.
10782 (POLL_ERR): Likewise.
10783 (POLL_PRI): Likewise.
10784 (POLL_HUP): Likewise.
10785 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10786 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10787
bc61d27c
JM
10788 [BZ #16670]
10789 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10790 before #include of <time.h>.
10791 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10792 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10793 (test-xfail-UNIX98/sched.h/conform): Likewise.
10794
302949e2
MS
107952014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10796
10797 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10798 error absence of trapping exception support.
10799 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10800
a00f522a
JM
108012014-03-07 Joseph Myers <joseph@codesourcery.com>
10802
6f99f280
JM
10803 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10804 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10805 * timezone/Makefile (testdata): Move definition above include of
10806 Rules.
10807 (test-zones): New variable.
10808 (tests-special): Add zone files.
10809 (build-testdata): Use $(evaluate-test).
10810
0b20a9e8
JM
10811 * elf/Makefile (tests-special): Rename tests to end with .out.
10812 ($(objpfx)noload-mem): Likewise.
10813 ($(objpfx)tst-leaks1-mem): Likewise.
10814 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10815 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10816 $(objpfx)test-iconvconfig.out.
10817 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10818 set -e inside subshell and redirect output to file.
10819 * iconvdata/Makefile (generated): Rename tests to end with .out.
10820 Correct type.
10821 (tests-special): Rename tests to end with .out.
10822 ($(objpfx)mtrace-tst-loading): Likewise.
10823 * intl/Makefile (generated): Likewise.
10824 (tests-special): Likewise.
10825 ($(objpfx)mtrace-tst-gettext): Likewise.
10826 * misc/Makefile (generated): Likewise.
10827 (tests-special): Likewise.
10828 ($(objpfx)tst-error1-mem): Likewise.
10829 * nptl/Makefile (tests-special): Likewise.
10830 ($(objpfx)tst-stack3-mem): Likewise.
10831 (generated): Likewise.
10832 * posix/Makefile (generated): Likewise.
10833 (tests-special): Likewise.
10834 (xtests-special): Likewise.
10835 ($(objpfx)tst-fnmatch-mem): Likewise.
10836 ($(objpfx)bug-regex2-mem): Likewise.
10837 ($(objpfx)bug-regex14-mem): Likewise.
10838 ($(objpfx)bug-regex21-mem): Likewise.
10839 ($(objpfx)bug-regex31-mem): Likewise.
10840 ($(objpfx)tst-vfork3-mem): Likewise.
10841 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10842 ($(objpfx)tst-pcre-mem): Likewise.
10843 ($(objpfx)tst-boost-mem): Likewise.
10844 ($(objpfx)bug-ga2-mem): Likewise.
10845 ($(objpfx)bug-glob2-mem): Likewise.
10846 * resolv/Makefile (generate): Likewise.
10847 (tests-special): Likewise.
10848 (xtests-special): Likewise.
10849 (generated): Likewise.
10850 ($(objpfx)mtrace-tst-leaks): Likewise.
10851 ($(objpfx)mtrace-tst-leaks2): Likewise.
10852
265d52ab
JM
10853 * scripts/merge-test-results.sh: New file.
10854 * Makefile (tests-special-notdir): New variable.
10855 (tests): Run merge-test-results.sh.
10856 (xtests): Likewise.
10857 * Rules (tests-special-notdir): New variable.
10858 (xtests-special-notdir): Likewise.
10859 (tests): Run merge-test-results.sh
10860 (xtests): Likewise.
10861
54ee292d
JM
10862 * Makeconfig (test-xfail-name): New variable.
10863 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10864 compute variable name for expected failures.
10865 * conform/Makefile (conformtest-headers-data): New variable.
10866 (conformtest-standards): Likewise.
10867 (conformtest-headers-ISO): Likewise.
10868 (conformtest-headers-ISO99): Likewise.
10869 (conformtest-headers-ISO11): Likewise.
10870 (conformtest-headers-POSIX): Likewise.
10871 (conformtest-headers-XPG3): Likewise.
10872 (conformtest-headers-XPG4): Likewise.
10873 (conformtest-headers-UNIX98): Likewise.
10874 (conformtest-headers-XOPEN2K): Likewise.
10875 (conformtest-headers-POSIX2008): Likewise.
10876 (conformtest-headers-XOPEN2K8): Likewise.
10877 (conformtest-header-list-base): Likewise.
10878 (conformtest-header-list-tests): Likewise.
10879 (conformtest-header-base): Likewise.
10880 (conformtest-header-tests): Likewise.
10881 (tests-special): Add $(conformtest-header-list-tests). If
10882 [$(fast-check) && !$(cross-compiling)], add
10883 $(conformtest-header-tests) instead of
10884 $(objpfx)run-conformtest.out.
10885 (generated): Add $(conformtest-header-list-base). If
10886 [$(fast-check) && !$(cross-compiling)], add
10887 $(conformtest-header-base). Remove previous setting.
10888 ($(conformtest-header-list-tests)): New target.
10889 (test-xfail-run-conformtest): Remove variable.
10890 ($(objpfx)run-conformtest.out): Remove target.
10891 (test-xfail-ISO11/complex.h/conform): New variable.
10892 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10893 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10894 (test-xfail-XPG3/varargs.h/conform): Likewise.
10895 (test-xfail-XPG4/varargs.h/conform): Likewise.
10896 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10897 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10898 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10899 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10900 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10901 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10902 (test-xfail-XPG3/ftw.h/conform): Likewise.
10903 (test-xfail-XPG3/grp.h/conform): Likewise.
10904 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10905 (test-xfail-XPG3/limits.h/conform): Likewise.
10906 (test-xfail-XPG3/pwd.h/conform): Likewise.
10907 (test-xfail-XPG3/search.h/conform): Likewise.
10908 (test-xfail-XPG3/signal.h/conform): Likewise.
10909 (test-xfail-XPG3/stdio.h/conform): Likewise.
10910 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10911 (test-xfail-XPG3/string.h/conform): Likewise.
10912 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10913 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10914 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10915 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10916 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10917 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10918 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10919 (test-xfail-XPG3/termios.h/conform): Likewise.
10920 (test-xfail-XPG3/time.h/conform): Likewise.
10921 (test-xfail-XPG3/unistd.h/conform): Likewise.
10922 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10923 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10924 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10925 (test-xfail-XPG4/netdb.h/conform): Likewise.
10926 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10927 (test-xfail-XPG4/signal.h/conform): Likewise.
10928 (test-xfail-XPG4/stdio.h/conform): Likewise.
10929 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10930 (test-xfail-XPG4/stropts.h/conform): Likewise.
10931 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10932 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10933 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10934 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10935 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10936 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10937 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10938 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10939 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10940 (test-xfail-XPG4/termios.h/conform): Likewise.
10941 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10942 (test-xfail-XPG4/unistd.h/conform): Likewise.
10943 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10944 (test-xfail-POSIX/sched.h/conform): Likewise.
10945 (test-xfail-POSIX/signal.h/conform): Likewise.
10946 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10947 (test-xfail-POSIX/tar.h/conform): Likewise.
10948 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10949 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10950 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10951 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10952 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10953 (test-xfail-UNIX98/sched.h/conform): Likewise.
10954 (test-xfail-UNIX98/signal.h/conform): Likewise.
10955 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10956 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10957 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10958 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10959 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10960 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10961 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10962 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10963 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10964 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10965 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10966 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10967 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10968 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10969 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10970 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10971 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10972 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10973 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10974 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10975 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10976 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10977 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10978 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10979 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10980 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10981 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10982 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10983 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10984 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10985 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10986 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10987 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10988 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10989 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10990 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10991 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10992 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10993 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10994 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10995 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10996 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10997 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10998 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10999 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11000 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11001 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11002 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11003 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11004 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11005 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11006 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11007 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11008 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11009 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11010 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11011 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11012 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11013 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11014 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11015 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11016 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11017 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11018 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11019 (conformtest-cc-flags): Likewise.
11020 ($(conformtest-header-tests): New target.
11021 * conform/check-header-lists.sh: New file.
11022 * conform/run-conformtest.sh: Remove.
11023
a00f522a
JM
11024 * conform/conformtest.pl: Allow ' and \ in values given for
11025 constants.
11026 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11027 inclusion.
11028 [POSIX] (sys/types.h): Likewise.
11029 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11030 inclusion.
11031 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11032 inclusion.
11033 * conform/data/signal.h-data (SIGIO): Remove expectation.
11034 [XPG3] (SIGBUS): Do not expect.
11035 [POSIX || XPG3] (SIGPOLL): Likewise.
11036 [POSIX || XPG3] (SIGPROF): Likewise.
11037 [POSIX || XPG3] (SIGSYS): Likewise.
11038 [XPG3] (SIGTRAP): Likewise.
11039 [POSIX || XPG3] (SIGURG): Likewise.
11040 [POSIX || XPG3] (SIGVTALRM): Likewise.
11041 [POSIX || XPG3] (SIGXCPU): Likewise.
11042 [POSIX || XPG3] (SIGXFSZ): Likewise.
11043 [POSIX] (SA_SIGINFO): Expect.
11044 [XPG3] (siginfo_t): Do not expect type or contents.
11045 [POSIX] (si_pid): Do not expect element.
11046 [POSIX] (si_uid): Likewise.
11047 [POSIX] (si_addr): Likewise.
11048 [POSIX] (si_status): Likewise.
11049 [POSIX] (si_band): Likewise.
11050 [XPG4] (si_value): Likewise.
11051 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11052 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11053 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11054 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11055 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11056 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11057 [POSIX || XPG3] (ILL_COPROC): Likewise.
11058 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11059 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11060 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11061 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11062 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11063 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11064 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11065 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11066 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11067 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11068 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11069 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11070 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11071 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11072 [POSIX || XPG3] (CLD_EXITED): Likewise.
11073 [POSIX || XPG3] (CLD_KILLED): Likewise.
11074 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11075 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11076 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11077 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11078 [POSIX || XPG3] (POLL_IN): Likewise.
11079 [POSIX || XPG3] (POLL_OUT): Likewise.
11080 [POSIX || XPG3] (POLL_MSG): Likewise.
11081 [POSIX || XPG3] (POLL_ERR): Likewise.
11082 [POSIX || XPG3] (POLL_PRI): Likewise.
11083 [POSIX || XPG3] (POLL_HUP): Likewise.
11084 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11085 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11086 (SIG*): Do not allow.
11087 [XPG3] (si_*): Likewise.
11088 [XPG3] (SI_*): Likewise.
11089 [XPG3 || XPG4] (sigev_*): Likewise.
11090 [XPG3 || XPG4] (SIGEV_*): Likewise.
11091 [XPG3 || XPG4] (sival_*): Likewise.
11092 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11093 [POSIX || XPG3] (BUS_*): Likewise.
11094 [POSIX || XPG3] (CLD_*): Likewise.
11095 [POSIX || XPG3] (FPE_*): Likewise.
11096 [POSIX || XPG3] (ILL_*): Likewise.
11097 [POSIX || XPG3] (POLL_*): Likewise.
11098 [POSIX || XPG3] (SEGV_*): Likewise.
11099 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11100 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11101 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11102 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11103 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11104 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11105 Specify type and value.
11106 (TVERSLEN): Likewise.
11107 (REGTYPE): Likewise.
11108 (AREGTYPE): Likewise.
11109 (LNKTYPE): Likewise.
11110 (SYMTYPE): Likewise.
11111 (CHRTYPE): Likewise.
11112 (BLKTYPE): Likewise.
11113 (DIRTYPE): Likewise.
11114 (FIFOTYPE): Likewise.
11115 (CONTTYPE): Likewise.
11116 (TSUID): Likewise.
11117 (TSGID): Likewise.
11118 (TSVTX): Likewise.
11119 (TUREAD): Likewise.
11120 (TUWRITE): Likewise.
11121 (TUEXEC): Likewise.
11122 (TGREAD): Likewise.
11123 (TGWRITE): Likewise.
11124 (TGEXEC): Likewise.
11125 (TOREAD): Likewise.
11126 (TOWRITE): Likewise.
11127 (TOEXEC): Likewise.
11128 [POSIX] (TSVTX): Expect constant.
11129
aa97dee1
JM
111302014-03-06 Joseph Myers <joseph@codesourcery.com>
11131
f214606a
JM
11132 * Makefile (tests): Change dependencies to ....
11133 (tests-special): ... additions to this variable.
11134 (tests): Depend on $(tests-special).
11135 * Makerules (check-abi-list): New variable.
11136 (check-abi): Depend on $(check-abi-list).
11137 [$(subdir) = elf] (tests-special): Add
11138 $(objpfx)check-abi-libc.out.
11139 [$(build-shared) = yes && subdir] (tests-special): Add
11140 $(check-abi-list).
11141 [$(build-shared) = yes && subdir] (tests): Do not depend on
11142 check-abi.
11143 * Rules (tests): Depend on $(tests-special).
11144 (xtests): Depend on $(xtests-special).
11145 * catgets/Makefile (tests): Change dependencies to ....
11146 (tests-special): ... additions to this variable.
11147 * conform/Makefile (tests): Change dependencies to ....
11148 (tests-special): ... additions to this variable.
11149 * elf/Makefile (tests): Change dependencies to ....
11150 (tests-special): ... additions to this variable.
11151 * grp/Makefile (tests): Change dependencies to ....
11152 (tests-special): ... additions to this variable.
11153 * iconv/Makefile (xtests): Change dependencies to ....
11154 (xtests-special): ... additions to this variable.
11155 * iconvdata/Makefile (tests): Change dependencies to ....
11156 (tests-special): ... additions to this variable.
11157 * intl/Makefile (tests): Change dependencies to ....
11158 (tests-special): ... additions to this variable. Also add
11159 $(objpfx)tst-gettext.out.
11160 * io/Makefile (tests): Change dependencies to ....
11161 (tests-special): ... additions to this variable.
11162 * libio/Makefile (tests): Change dependencies to ....
11163 (tests-special): ... additions to this variable.
11164 * malloc/Makefile (tests): Change dependencies to ....
11165 (tests-special): ... additions to this variable.
11166 * misc/Makefile (tests): Change dependencies to ....
11167 (tests-special): ... additions to this variable.
11168 * nptl/Makefile (tests): Change dependencies to ....
11169 (tests-special): ... additions to this variable.
11170 * nptl_db/Makefile (tests): Change dependencies to ....
11171 (tests-special): ... additions to this variable.
11172 * posix/Makefile (tests): Change dependencies to ....
11173 (tests-special): ... additions to this variable.
11174 (xtests): Change dependencies to ....
11175 (xtests-special): ... additions to this variable.
11176 * resolv/Makefile (tests): Change dependencies to ....
11177 (tests-special): ... additions to this variable.
11178 (xtests): Change dependencies to ....
11179 (xtests-special): ... additions to this variable.
11180 * stdio-common/Makefile (tests): Change dependencies to ....
11181 (tests-special): ... additions to this variable.
11182 (do-tst-unbputc): Remove target.
11183 (do-tst-printf): Likewise.
11184 * stdlib/Makefile (tests): Change dependencies to ....
11185 (tests-special): ... additions to this variable.
11186 * string/Makefile (tests): Change dependencies to ....
11187 (tests-special): ... additions to this variable.
11188 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11189 (tests-special): ... additions to this variable.
11190
81700b53
JM
11191 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11192 whole file.
11193 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11194 whole file.
11195 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11196 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11197
2ea18461
JM
11198 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11199 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11200 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11201 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11202 * conform/data/libgen.h-data [XPG3]: Likewise.
11203 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11204 * conform/data/ndbm.h-data [XPG3]: Likewise.
11205 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11206 * conform/data/netdb.h-data [XPG3]: Likewise.
11207 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11208 * conform/data/poll.h-data [XPG3]: Likewise.
11209 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11210 * conform/data/strings.h-data [XPG3]: Likewise.
11211 * conform/data/stropts.h-data [XPG3]: Likewise.
11212 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11213 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11214 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11215 Likewise.
11216 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11217 * conform/data/sys/time.h-data [XPG3]: Likewise.
11218 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11219 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11220 * conform/data/sys/un.h-data [XPG3]: Likewise.
11221 * conform/data/syslog.h-data [XPG3]: Likewise.
11222 * conform/data/ucontext.h-data [XPG3]: Likewise.
11223 * conform/data/utmpx.h-data [XPG3]: Likewise.
11224 * conform/data/varargs.h-data [UNIX98]: Enable file.
11225
355bc986
JM
11226 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11227
215db402
JM
11228 * math/libm-test.inc (struct test_f_f_data): Move expected results
11229 into structure for each rounding mode.
11230 (struct test_ff_f_data): Likewise.
11231 (struct test_ff_f_data_nexttoward): Likewise.
11232 (struct test_fi_f_data): Likewise.
11233 (struct test_fl_f_data): Likewise.
11234 (struct test_if_f_data): Likewise.
11235 (struct test_fff_f_data): Likewise.
11236 (struct test_c_f_data): Likewise.
11237 (struct test_f_f1_data): Likewise.
11238 (struct test_fF_f1_data): Likewise.
11239 (struct test_ffI_f1_data): Likewise.
11240 (struct test_c_c_data): Likewise.
11241 (struct test_cc_c_data): Likewise.
11242 (struct test_f_i_data): Likewise.
11243 (struct test_ff_i_data): Likewise.
11244 (struct test_f_l_data): Likewise.
11245 (struct test_f_L_data): Likewise.
11246 (struct test_fFF_11_data): Likewise.
11247 (RM_): New macro.
11248 (RM_FE_DOWNWARD): Likewise.
11249 (RM_FE_TONEAREST): Likewise.
11250 (RM_FE_TOWARDZERO): Likewise.
11251 (RM_FE_UPWARD): Likewise.
11252 (RUN_TEST_LOOP_f_f): Update references to expected results.
11253 (RUN_TEST_LOOP_2_f): Likewise.
11254 (RUN_TEST_LOOP_fff_f): Likewise.
11255 (RUN_TEST_LOOP_c_f): Likewise.
11256 (RUN_TEST_LOOP_f_f1): Likewise.
11257 (RUN_TEST_LOOP_fF_f1): Likewise.
11258 (RUN_TEST_LOOP_fI_f1): Likewise.
11259 (RUN_TEST_LOOP_ffI_f1): Likewise.
11260 (RUN_TEST_LOOP_c_c): Likewise.
11261 (RUN_TEST_LOOP_cc_c): Likewise.
11262 (RUN_TEST_LOOP_f_i): Likewise.
11263 (RUN_TEST_LOOP_f_i_tg): Likewise.
11264 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11265 (RUN_TEST_LOOP_f_b): Likewise.
11266 (RUN_TEST_LOOP_f_b_tg): Likewise.
11267 (RUN_TEST_LOOP_f_l): Likewise.
11268 (RUN_TEST_LOOP_f_L): Likewise.
11269 (RUN_TEST_LOOP_fFF_11): Likewise.
11270 * math/gen-libm-test.pl (parse_args): Output four copies of
11271 expected results for each test.
11272
67737b8f
JM
11273 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11274 (__ASSUME_UTIMES): Remove.
11275 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11276 (__ASSUME_UTIMES): Likewise.
11277
aa97dee1
JM
11278 * math/gen-auto-libm-tests.c: Update comment on output format.
11279 (output_for_one_input_case): Generate before-rounding and
11280 after-rounding information as conditions on output flags not
11281 floating-point format.
11282 * math/auto-libm-test-out: Regenerated.
11283 * math/gen-libm-test.pl (cond_value): New function.
11284 (or_cond_value): Use cond_value.
11285 (generate_testfile): Handle conditional exceptions.
11286
e6b6a857
JM
112872014-03-05 Joseph Myers <joseph@codesourcery.com>
11288
2f0a0f44
JM
11289 * math/libm-test.inc (max_valid_error): New variable.
11290 (init_max_error): Take new argument specifying whether function
11291 results are exactly determined. Set max_valid_error and bound
11292 other variables for errors based on this argument.
11293 (set_max_error): Do not record results above max_valid_error.
11294 (check_float_internal): Only accept errors of up to 0.5ulps if
11295 also at most max_valid_error.
11296 (START): Take new argument EXACT and pass it to init_max_error.
11297 (acos_test): Update call to START.
11298 (acos_test_tonearest): Likewise.
11299 (acos_test_towardzero): Likewise.
11300 (acos_test_downward): Likewise.
11301 (acos_test_upward): Likewise.
11302 (acosh_test): Likewise.
11303 (asin_test): Likewise.
11304 (asin_test_tonearest): Likewise.
11305 (asin_test_towardzero): Likewise.
11306 (asin_test_downward): Likewise.
11307 (asin_test_upward): Likewise.
11308 (asinh_test): Likewise.
11309 (atan_test): Likewise.
11310 (atanh_test): Likewise.
11311 (atan2_test): Likewise.
11312 (cabs_test): Likewise.
11313 (cacos_test): Likewise.
11314 (cacosh_test): Likewise.
11315 (carg_test): Likewise.
11316 (casin_test): Likewise.
11317 (casinh_test): Likewise.
11318 (catan_test): Likewise.
11319 (catanh_test): Likewise.
11320 (cbrt_test): Likewise.
11321 (ccos_test): Likewise.
11322 (ccosh_test): Likewise.
11323 (ceil_test): Likewise.
11324 (cexp_test): Likewise.
11325 (cimag_test): Likewise.
11326 (clog_test): Likewise.
11327 (clog10_test): Likewise.
11328 (conj_test): Likewise.
11329 (copysign_test): Likewise.
11330 (cos_test): Likewise.
11331 (cos_test_tonearest): Likewise.
11332 (cos_test_towardzero): Likewise.
11333 (cos_test_downward): Likewise.
11334 (cos_test_upward): Likewise.
11335 (cosh_test): Likewise.
11336 (cosh_test_tonearest): Likewise.
11337 (cosh_test_towardzero): Likewise.
11338 (cosh_test_downward): Likewise.
11339 (cosh_test_upward): Likewise.
11340 (cpow_test): Likewise.
11341 (cproj_test): Likewise.
11342 (creal_test): Likewise.
11343 (csin_test): Likewise.
11344 (csinh_test): Likewise.
11345 (csqrt_test): Likewise.
11346 (ctan_test): Likewise.
11347 (ctan_test_tonearest): Likewise.
11348 (ctan_test_towardzero): Likewise.
11349 (ctan_test_downward): Likewise.
11350 (ctan_test_upward): Likewise.
11351 (ctanh_test): Likewise.
11352 (ctanh_test_tonearest): Likewise.
11353 (ctanh_test_towardzero): Likewise.
11354 (ctanh_test_downward): Likewise.
11355 (ctanh_test_upward): Likewise.
11356 (erf_test): Likewise.
11357 (erfc_test): Likewise.
11358 (exp_test): Likewise.
11359 (exp_test_tonearest): Likewise.
11360 (exp_test_towardzero): Likewise.
11361 (exp_test_downward): Likewise.
11362 (exp_test_upward): Likewise.
11363 (exp10_test): Likewise.
11364 (exp10_test_tonearest): Likewise.
11365 (exp10_test_towardzero): Likewise.
11366 (exp10_test_downward): Likewise.
11367 (exp10_test_upward): Likewise.
11368 (pow10_test): Likewise.
11369 (exp2_test): Likewise.
11370 (expm1_test): Likewise.
11371 (expm1_test_tonearest): Likewise.
11372 (expm1_test_towardzero): Likewise.
11373 (expm1_test_downward): Likewise.
11374 (expm1_test_upward): Likewise.
11375 (fabs_test): Likewise.
11376 (fdim_test): Likewise.
11377 (floor_test): Likewise.
11378 (fma_test): Likewise.
11379 (fma_test_towardzero): Likewise.
11380 (fma_test_downward): Likewise.
11381 (fma_test_upward): Likewise.
11382 (fmax_test): Likewise.
11383 (fmin_test): Likewise.
11384 (fmod_test): Likewise.
11385 (fpclassify_test): Likewise.
11386 (frexp_test): Likewise.
11387 (hypot_test): Likewise.
11388 (ilogb_test): Likewise.
11389 (isfinite_test): Likewise.
11390 (finite_test): Likewise.
11391 (isgreater_test): Likewise.
11392 (isgreaterequal_test): Likewise.
11393 (isinf_test): Likewise.
11394 (isless_test): Likewise.
11395 (islessequal_test): Likewise.
11396 (islessgreater_test): Likewise.
11397 (isnan_test): Likewise.
11398 (isnormal_test): Likewise.
11399 (issignaling_test): Likewise.
11400 (isunordered_test): Likewise.
11401 (j0_test): Likewise.
11402 (j1_test): Likewise.
11403 (jn_test): Likewise.
11404 (ldexp_test): Likewise.
11405 (lgamma_test): Likewise.
11406 (gamma_test): Likewise.
11407 (lrint_test): Likewise.
11408 (lrint_test_tonearest): Likewise.
11409 (lrint_test_towardzero): Likewise.
11410 (lrint_test_downward): Likewise.
11411 (lrint_test_upward): Likewise.
11412 (llrint_test): Likewise.
11413 (llrint_test_tonearest): Likewise.
11414 (llrint_test_towardzero): Likewise.
11415 (llrint_test_downward): Likewise.
11416 (llrint_test_upward): Likewise.
11417 (log_test): Likewise.
11418 (log10_test): Likewise.
11419 (log1p_test): Likewise.
11420 (log2_test): Likewise.
11421 (logb_test): Likewise.
11422 (logb_test_downward): Likewise.
11423 (lround_test): Likewise.
11424 (llround_test): Likewise.
11425 (modf_test): Likewise.
11426 (nearbyint_test): Likewise.
11427 (nextafter_test): Likewise.
11428 (nexttoward_test): Likewise.
11429 (pow_test): Likewise.
11430 (pow_test_tonearest): Likewise.
11431 (pow_test_towardzero): Likewise.
11432 (pow_test_downward): Likewise.
11433 (pow_test_upward): Likewise.
11434 (remainder_test): Likewise.
11435 (drem_test): Likewise.
11436 (remainder_test_tonearest): Likewise.
11437 (drem_test_tonearest): Likewise.
11438 (remainder_test_towardzero): Likewise.
11439 (drem_test_towardzero): Likewise.
11440 (remainder_test_downward): Likewise.
11441 (drem_test_downward): Likewise.
11442 (remainder_test_upward): Likewise.
11443 (drem_test_upward): Likewise.
11444 (remquo_test): Likewise.
11445 (rint_test): Likewise.
11446 (rint_test_tonearest): Likewise.
11447 (rint_test_towardzero): Likewise.
11448 (rint_test_downward): Likewise.
11449 (rint_test_upward): Likewise.
11450 (round_test): Likewise.
11451 (scalb_test): Likewise.
11452 (scalbn_test): Likewise.
11453 (scalbln_test): Likewise.
11454 (signbit_test): Likewise.
11455 (sin_test): Likewise.
11456 (sin_test_tonearest): Likewise.
11457 (sin_test_towardzero): Likewise.
11458 (sin_test_downward): Likewise.
11459 (sin_test_upward): Likewise.
11460 (sincos_test): Likewise.
11461 (sinh_test): Likewise.
11462 (sinh_test_tonearest): Likewise.
11463 (sinh_test_towardzero): Likewise.
11464 (sinh_test_downward): Likewise.
11465 (sinh_test_upward): Likewise.
11466 (sqrt_test): Likewise.
11467 (sqrt_test_tonearest): Likewise.
11468 (sqrt_test_towardzero): Likewise.
11469 (sqrt_test_downward): Likewise.
11470 (sqrt_test_upward): Likewise.
11471 (tan_test): Likewise.
11472 (tan_test_tonearest): Likewise.
11473 (tan_test_towardzero): Likewise.
11474 (tan_test_downward): Likewise.
11475 (tan_test_upward): Likewise.
11476 (tanh_test): Likewise.
11477 (tgamma_test): Likewise.
11478 (trunc_test): Likewise.
11479 (y0_test): Likewise.
11480 (y1_test): Likewise.
11481 (yn_test): Likewise.
11482 (significand_test): Likewise.
11483
e6b6a857
JM
11484 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11485 individual tests in comment.
11486 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11487 (prev_max_error): New variable.
11488 (prev_real_max_error): Likewise.
11489 (prev_imag_max_error): Likewise.
11490 (compare_ulp_data): Don't refer to test names in comment.
11491 (find_test_ulps): Remove function.
11492 (find_function_ulps): Likewise.
11493 (find_complex_function_ulps): Likewise.
11494 (init_max_error): Take function name as argument. Look up ulps
11495 for that function.
11496 (print_ulps): Remove function.
11497 (print_max_error): Use prev_max_error instead of calling
11498 find_function_ulps.
11499 (print_complex_max_error): Use prev_real_max_error and
11500 prev_imag_max_error instead of calling find_complex_function_ulps.
11501 (check_float_internal): Take max_ulp parameter instead of calling
11502 find_test_ulps. Don't call print_ulps.
11503 (check_float): Update call to check_float_internal.
11504 (check_complex): Update calls to check_float_internal.
11505 (START): Pass argument to init_max_error.
11506 * math/gen-libm-test.pl (%results): Don't include "kind"
11507 information.
11508 (parse_ulps): Don't handle ulps of individual tests.
11509 (print_ulps_file): Likewise.
11510 (output_ulps): Likewise.
11511 * math/README.libm-test: Update.
11512 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11513 individual tests.
11514 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11515 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11516 * sysdeps/arm/libm-test-ulps: Likewise.
11517 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11518 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11519 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11520 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11521 * sysdeps/microblaze/libm-test-ulps: Likewise.
11522 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11523 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11525 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11527 * sysdeps/sh/libm-test-ulps: Likewise.
11528 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11529 * sysdeps/tile/libm-test-ulps: Likewise.
11530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11531
45adef3c
JM
115322014-03-04 Joseph Myers <joseph@codesourcery.com>
11533
11534 * math/libm-test.inc (print_complex_max_error): Check separately
11535 whether real and imaginary errors are within allowed range and
11536 pass 0 to print_complex_function_ulps instead of value within
11537 allowed range.
11538
000232b9
SP
115392014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11540
d4b17258
SP
11541 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11542 formatting.
11543 (get_handles_fopen): Likewise.
11544 (do_write_test): Likewise.
11545
091eff71
SP
11546 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11547
fa3cd248
SP
11548 * libio/fileops.c (do_ftell): Use cached offset when
11549 available.
11550 * libio/iofwide.c (do_ftell_wide): Likewise.
11551 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11552 _IO_file_attach.
11553 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11554
000232b9
SP
11555 [BZ #16532]
11556 * libio/libioP.h (get_file_offset): New function.
11557 * libio/fileops.c (get_file_offset): Likewise.
11558 (do_ftell): Likewise.
11559 (_IO_new_file_seekoff): Split out ftell logic.
11560 * libio/wfileops.c (do_ftell_wide): Likewise.
11561 (_IO_wfile_seekoff): Split out ftell logic.
11562 * libio/tst-ftell-active-handler.c: New test case.
11563 * libio/Makefile (tests): Add it.
11564
116f4d1a
RM
115652014-03-03 Roland McGrath <roland@hack.frob.com>
11566
11567 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11568 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11569
532a6035
SP
115702014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 [BZ #16639]
11573 * nscd/connections.c (nscd_init): Call do_exit.
11574 (start_threads): Call do_exit and notify_parent.
11575 (begin_drop_privileges): Call do_exit.
11576 (finish_drop_privileges): Likewise.
11577 * nscd/selinux.c (preserve_capabilities): Likewise.
11578 (install_real_capabilities): Likewise.
11579 (nscd_selinux_enabled): Likewise.
11580 (avc_create_thread): Likewise.
11581 (avc_alloc_lock): Likewise.
11582 (nscd_avc_init): Likewise.
11583 * nscd/nscd.c (parent_fd): New static variable.
11584 (main): Create a pipe between parent and child processes.
11585 Skip closing parent_fd.
11586 (monitor_child): New function.
11587 (do_exit): Likewise.
11588 (notify_parent): Likewise.
11589 * nscd/nscd.h (notify_parent): Likewise.
11590 (do_exit): Likewise.
11591
d6285c9f
CD
115922014-03-03 Carlos O'Donell <carlos@redhat.com>
11593
11594 * malloc/malloc.c (__libc_calloc): Revert last change.
11595
2b85d2a0
AZ
115962014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11599
c7debbdf
RS
116002014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11601
11602 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11604 implementation.
11605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11606 (__libc_ifunc_impl_list): Likewise.
11607 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11608 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11609 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11610 * string/strrchr.c: Define STRRCHR.
11611
235eed86
OB
116122014-02-28 Ondřej Bílka <neleai@seznam.cz>
11613
11614 * benchtest/bench-strtok.c (simple_strtok): Delete.
11615 (strtok_string): Use as benchmark.
11616 * string/strtok (STRTOK): New macro.
11617
8e25d1e7
CD
116182014-02-28 Carlos O'Donell <carlos@redhat.com>
11619
ef563f92
CD
11620 * manual/threads.texi: Add header and standard comments to all
11621 functions.
11622
8e25d1e7
CD
11623 * elf/dl-lookup.c (check_match): New function.
11624 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11625 (do_lookup_x): Remove nested function check_match. Use non-nested
11626 function check_match.
11627
ff71cc37
RM
116282014-02-28 Roland McGrath <roland@hack.frob.com>
11629
f08e9a26
RM
11630 * csu/Makefile (generated, before-compile): Use += rather than =.
11631 * catgets/Makefile (generated, generated-dirs): Likewise.
11632 * debug/Makefile (generated): Likewise.
11633 * dlfcn/Makefile (generated): Likewise.
11634 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11635 * iconvdata/Makefile (before-compile, generated): Likewise.
11636 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11637 * libio/Makefile (generated): Likewise.
11638 * malloc/Makefile (generated): Likewise.
11639 * manual/Makefile (generated, generated-dirs): Likewise.
11640 * misc/Makefile (generated): Likewise.
11641 * posix/Makefile (generated): Likewise.
11642 * resolv/Makefile (generated): Likewise.
11643 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11644 * timezone/Makefile (generated, generated-dirs): Likewise.
11645
ff71cc37
RM
11646 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11647
fe13a20c
AZ
116482014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11649
57f41c40
AS
11650 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11651 power8 implementation.
11652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11653 file: POWER8 llround ifunc implementation.
11654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11655 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11656 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11657 POWER8 llround implementation.
11658
57f41c40
AS
11659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11660 power8 implementation.
11661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11662 file: POWER8 llrint ifunc implementation.
11663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11664 Add POWER8 implementation.
1ad8950a
AZ
11665 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11666 POWER8 llrint implementation.
11667
57f41c40
AS
11668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11669 power8 implementation.
11670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11671 file: POWER8 finite ifunc implementation.
11672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11673 Add POWER8 implementation.
cac626d6
AZ
11674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11675 Likewise.
11676 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11677 POWER8 finite implementation.
11678 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11679
57f41c40
AS
11680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11681 power8 implementation.
11682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11683 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11685 POWER8 implementation.
11686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11687 Likewise.
57f41c40
AS
11688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11689 isinf implementation.
4393fc11
AZ
11690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11691
57f41c40
AS
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11693 (INIT_ARCH): Add hwcap2 initialization.
11694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11695 power8 implementation.
11696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11697 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11699 POWER8 implementation.
11700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11701 Likewise.
57f41c40
AS
11702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11703 isnan implementation.
487972ae
AZ
11704 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11705
7d92b787
JY
117062014-02-27 Joey Ye <joey.ye@arm.com>
11707
11708 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11709 (_FP_NANFRAC_Q): Set to zero.
11710
1cadc858
SP
117112014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11712
11713 [BZ #16623]
11714 * math/auto-libm-test-in: New test inputs.
11715 * math/auto-libm-test-out: Regenerate.
11716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11717 and DA.
11718 (__cos): Likewise.
11719 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11720
f8c17e79
JM
117212014-02-27 Joseph Myers <joseph@codesourcery.com>
11722
11723 * scripts/evaluate-test.sh: Take new argument indicating whether
11724 failure is expected.
11725 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11726 indicating whether failure is expected.
11727 * conform/Makefile (test-xfail-run-conformtest): New variable.
11728 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11729 level.
11730 * posix/Makefile (test-xfail-annexc): New variable.
11731 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11732
a5f891ac
JM
117332014-02-26 Joseph Myers <joseph@codesourcery.com>
11734
11735 * argp/Makefile: Include Makeconfig immediately after defining
11736 subdir.
11737 * assert/Makefile: Likewise.
11738 * benchtests/Makefile: Likewise.
11739 * catgets/Makefile: Likewise.
11740 * conform/Makefile: Likewise.
11741 * crypt/Makefile: Likewise.
11742 * csu/Makefile: Likewise.
11743 (all): Remove target.
11744 * ctype/Makefile: Include Makeconfig immediately after defining
11745 subdir.
11746 * debug/Makefile: Likewise.
11747 * dirent/Makefile: Likewise.
11748 * dlfcn/Makefile: Likewise.
11749 * gmon/Makefile: Likewise.
11750 * gnulib/Makefile: Likewise.
11751 * grp/Makefile: Likewise.
11752 * gshadow/Makefile: Likewise.
11753 * hesiod/Makefile: Likewise.
11754 * hurd/Makefile: Likewise.
11755 (all): Remove target.
11756 * iconvdata/Makefile: Include Makeconfig immediately after
11757 defining subdir.
11758 * inet/Makefile: Likewise.
11759 * intl/Makefile: Likewise.
11760 * io/Makefile: Likewise.
11761 * libio/Makefile: Likewise.
11762 (all): Remove target.
11763 * locale/Makefile: Include Makeconfig immediately after defining
11764 subdir.
11765 * login/Makefile: Likewise.
11766 * mach/Makefile: Likewise.
11767 (all): Remove target.
11768 * malloc/Makefile: Include Makeconfig immediately after defining
11769 subdir.
11770 (all): Remove target.
11771 * manual/Makefile: Include Makeconfig immediately after defining
11772 subdir.
11773 * math/Makefile: Likewise.
11774 * misc/Makefile: Likewise.
11775 * nis/Makefile: Likewise.
11776 * nss/Makefile: Likewise.
11777 * po/Makefile: Likewise.
11778 (all): Remove target.
11779 * posix/Makefile: Include Makeconfig immediately after defining
11780 subdir.
11781 * pwd/Makefile: Likewise.
11782 * resolv/Makefile: Likewise.
11783 * resource/Makefile: Likewise.
11784 * rt/Makefile: Likewise.
11785 * setjmp/Makefile: Likewise.
11786 * shadow/Makefile: Likewise.
11787 * signal/Makefile: Likewise.
11788 * socket/Makefile: Likewise.
11789 * soft-fp/Makefile: Likewise.
11790 * stdio-common/Makefile: Likewise.
11791 * stdlib/Makefile: Likewise.
11792 * streams/Makefile: Likewise.
11793 * string/Makefile: Likewise.
11794 * sunrpc/Makefile: Likewise.
11795 (all): Remove target.
11796 * sysvipc/Makefile: Include Makeconfig immediately after defining
11797 subdir.
11798 * termios/Makefile: Likewise.
11799 * time/Makefile: Likewise.
11800 * timezone/Makefile: Likewise.
11801 (all): Remove target.
11802 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11803 subdir.
11804 * wctype/Makefile: Likewise.
11805
5b456e9d
SE
118062014-02-26 Steve Ellcey <sellcey@mips.com>
11807
11808 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11809 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11810 (libc_feholdexcept_setround_mips): Ditto.
11811 (libc_feholdsetround): New.
11812 (libc_feholdsetroundf): New.
11813 (libc_feholdsetroundl): New.
11814 (libc_feupdateenv_test_mips): New.
11815 (libc_feupdateenv_test): New.
11816 (libc_feupdateenv_testf): New.
11817 (libc_feupdateenv_testl): New.
11818 (libc_feresetround): New.
11819 (libc_feresetroundf): New.
11820 (libc_feresetroundl): New.
11821 (libc_fetestexcept_mips): New.
11822 (libc_fetestexcept): New.
11823 (libc_fetestexceptf): New.
11824 (libc_fetestexceptl): New.
11825 (HAVE_RM_CTX): New.
11826 (libc_feholdexcept_setround_mips_ctx): New.
11827 (libc_feholdexcept_setround_ctx): New.
11828 (libc_feholdexcept_setroundf_ctx): New.
11829 (libc_feholdexcept_setroundl_ctx): New.
11830 (libc_fesetenv_mips_ctx): New.
11831 (libc_fesetenv_ctx): New.
11832 (libc_fesetenv_ctxf): New.
11833 (libc_fesetenv_ctxl): New.
11834 (libc_feupdateenv_mips_ctx): New.
11835 (libc_feupdateenv_ctx): New.
11836 (libc_feupdateenvf_ctx): New.
11837 (libc_feupdateenvl_ctx): New.
11838 (libc_feholdsetround_mips_ctx): New.
11839 (libc_feholdsetround_ctx): New.
11840 (libc_feholdsetroundf_ctx): New.
11841 (libc_feholdsetroundl_ctx): New.
11842 (libc_feresetround_mips_ctx): New.
11843 (libc_feresetround_ctx): New.
11844 (libc_feresetroundf_ctx): New.
11845 (libc_feresetroundl_ctx): New.
11846
085d0e35
CD
118472014-02-26 Carlos O'Donell <carlos@redhat.com>
11848
f067bf1f
CD
11849 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11850
085d0e35
CD
11851 * manual/ipc.texi: New file.
11852 * manual/Makefile (chapters): Add ipc.
11853 * manual/job.texi: Add "Inter-Process Communication" to next.
11854 * manual/process.texi: Add "Inter-Process Communication" to prev.
11855
86e58c08
AZ
118562014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857
11858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11859
4248f0da
OB
118602014-02-26 Ondřej Bílka <neleai@seznam.cz>
11861
11862 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11863
cf822e3c
OB
11864 * manual/arith.texi: Fix spaces after sentences.
11865 * manual/charset.texi: Likewise.
11866 * manual/errno.texi: Likewise.
11867 * manual/install.texi: Likewise.
11868 * manual/llio.texi: Likewise.
11869 * manual/locale.texi: Likewise.
11870 * manual/maint.texi: Likewise.
11871 * manual/math.texi: Likewise.
11872 * manual/memory.texi: Likewise.
11873 * manual/message.texi: Likewise.
11874 * manual/probes.texi: Likewise.
11875 * manual/resource.texi: Likewise.
11876 * manual/signal.texi: Likewise.
11877 * manual/socket.texi: Likewise.
11878 * manual/stdio.texi: Likewise.
11879 * manual/string.texi: Likewise.
11880 * manual/time.texi: Likewise.
11881 * manual/users.texi: Likewise.
11882
ade40b10
CD
118832014-02-25 Carlos O'Donell <carlos@redhat.com>
11884
11885 [BZ #16632]
11886 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11887 _DEFAULT_SOURCE is defined.
11888
d0503676
CD
118892014-02-25 Ulrich Drepper <drepper@gmail.com>
11890 Carlos O'Donell <carlos@redhat.com>
11891
11892 [BZ #16613]
11893 * elf/dl-tls.c (_dl_count_modids): New function.
11894 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11895 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11896 audit library and increment generation counter.
11897 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11898 * elf/tst-audit9.c: New file.
11899 * elf/tst-auditmod9a.c: New file.
11900 * elf/tst-auditmod9b.c: New file.
11901 * elf/Makefile: Add rules to build and run tst-audit9.
11902
4cbf380c
FW
119032014-02-25 Florian Weimer <fweimer@redhat.com>
11904
11905 [BZ #15347]
11906 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11907
80a56cc3
WN
119082014-02-25 Will Newton <will.newton@linaro.org>
11909
11910 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11911 (__longjmp): Restore sp and lr before restoring callee
11912 saved registers. Add longjmp and longjmp_target
11913 SystemTap probe point.
11914 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11915 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11916 Define to zero to match jmpbuf layout.
11917 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11918 (__sigsetjmp): Save sp and lr before saving callee
11919 saved registers. Add setjmp SystemTap probe point.
11920
3ea0f74e
SL
119212014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11922
11923 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11924
b04acb26
AS
119252014-02-24 Andreas Schwab <schwab@suse.de>
11926
11927 [BZ #15804]
11928 * elf/pldd.c (wait_for_ptrace_stop): New function.
11929 (main): Call it after attaching.
11930
098ad55c
RM
119312014-02-22 Roland McGrath <roland@hack.frob.com>
11932
d4ec6ae1
RM
11933 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11934 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11935 Versions files is now verboten.
11936 * hurd/Versions (libc: GLIBC_2.0):
11937 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11938 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11939 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11940 * mach/Versions: Likewise.
11941
098ad55c
RM
11942 * csu/Versions: Remove unused %include.
11943 * resolv/Versions: Likewise.
11944
acd7f096
JM
119452014-02-21 Joseph Myers <joseph@codesourcery.com>
11946
f0881698
JM
11947 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11948 ($(objpfx)check-local-headers.out): Likewise.
11949 ($(objpfx)begin-end-check.out): Likewise.
11950 * Makerules (check-abi-%.out): Likewise.
11951 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11952 ($(objpfx)test2.cat): Likewise.
11953 ($(objpfx)de/libc.cat): Likewise.
11954 ($(objpfx)test-gencat.out): Likewise.
11955 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11956 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11957 ($(objpfx)noload-mem): Likewise.
11958 ($(objpfx)tst-pathopt.out): Likewise.
11959 ($(objpfx)tst-rtld-load-self.out): Likewise.
11960 ($(objpfx)tst-array1-cmp.out): Likewise.
11961 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11962 ($(objpfx)tst-array2-cmp.out): Likewise.
11963 ($(objpfx)tst-array3-cmp.out): Likewise.
11964 ($(objpfx)tst-array4-cmp.out): Likewise.
11965 ($(objpfx)tst-array5-cmp.out): Likewise.
11966 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11967 ($(objpfx)check-textrel.out): Likewise.
11968 ($(objpfx)check-execstack.out): Likewise.
11969 ($(objpfx)check-localplt.out): Likewise.
11970 ($(objpfx)order2-cmp.out): Likewise.
11971 ($(objpfx)tst-leaks1-mem): Likewise.
11972 ($(objpfx)tst-leaks1-static-mem): Likewise.
11973 ($(objpfx)tst-initorder-cmp.out): Likewise.
11974 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11975 ($(objpfx)tst-unused-dep.out): Likewise.
11976 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11977 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11978 * iconv/Makefile (test-iconvconfig): Likewise.
11979 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11980 ($(objpfx)iconv-test.out): Likewise.
11981 ($(objpfx)tst-tables.out): Likewise.
11982 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11983 ($(objpfx)tst-gettext.out): Likewise.
11984 ($(objpfx)tst-translit.out): Likewise.
11985 ($(objpfx)tst-gettext2.out): Likewise.
11986 ($(objpfx)tst-gettext4.out): Likewise.
11987 ($(objpfx)tst-gettext6.out): Likewise.
11988 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11989 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11990 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11991 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11992 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11993 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11994 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11995 ($(objpfx)wordexp-tst.out): Likewise.
11996 ($(objpfx)annexc.out): Likewise.
11997 ($(objpfx)tst-fnmatch-mem): Likewise.
11998 ($(objpfx)bug-regex2-mem): Likewise.
11999 ($(objpfx)bug-regex14-mem): Likewise.
12000 ($(objpfx)bug-regex21-mem): Likewise.
12001 ($(objpfx)bug-regex31-mem): Likewise.
12002 ($(objpfx)tst-vfork3-mem): Likewise.
12003 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12004 ($(objpfx)tst-pcre-mem): Likewise.
12005 ($(objpfx)tst-boost-mem): Likewise.
12006 ($(objpfx)tst-getconf.out): Likewise.
12007 ($(objpfx)bug-ga2-mem): Likewise.
12008 ($(objpfx)bug-glob2-mem): Likewise.
12009 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12010 ($(objpfx)mtrace-tst-leaks2): Likewise.
12011 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12012 ($(objpfx)tst-printf.out): Likewise.
12013 ($(objpfx)tst-setvbuf1.out): Likewise.
12014 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12015 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12016 ($(objpfx)tst-fmtmsg.out): Likewise.
12017 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12018 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12019
acd7f096
JM
12020 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12021 * bits/sigaction.h [__USE_MISC]: Likewise.
12022 * bits/waitstatus.h: Update #endif comments.
12023 * ctype/ctype.h: Likewise.
12024 * dirent/dirent.h: Likewise.
12025 [__USE_MISC]: Remove redundant conditionals.
12026 * grp/grp.h: Update #endif comments.
12027 [__USE_GNU]: Remove redundant conditionals.
12028 [__USE_MISC]: Likewise.
12029 * inet/netinet/in.h [__USE_GNU]: Likewise.
12030 * io/sys/stat.h [__USE_MISC]: Likewise.
12031 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12032 * libio/bits/stdio.h: Update #endif comments.
12033 [__USE_MISC]: Remove redundant conditionals.
12034 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12035 * libio/stdio.h: Update #endif comments.
12036 [__USE_MISC]: Remove redundant conditionals.
12037 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12038 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12039 * math/math.h: Update #else and #endif comments.
12040 [__USE_MISC]: Remove redundant conditionals.
12041 * misc/sys/uio.h: Update #endif comments.
12042 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12043 * posix/glob.h [__USE_MISC]: Likewise.
12044 * posix/sys/types.h: Update #endif comments.
12045 [__USE_MISC]: Remove redundant conditionals.
12046 * posix/sys/wait.h: Update #endif comments.
12047 [__USE_MISC]: Remove redundant conditionals.
12048 * posix/unistd.h: Update #endif comments.
12049 [__USE_MISC]: Remove redundant conditionals.
12050 * pwd/pwd.h [__USE_GNU]: Likewise.
12051 [__USE_MISC]: Likewise.
12052 * resolv/netdb.h [__USE_GNU]: Likewise.
12053 * signal/signal.h: Update #endif comments.
12054 [__USE_MISC]: Remove redundant conditionals.
12055 * stdlib/stdlib.h: Update #else and #endif comments.
12056 [__USE_MISC]: Remove redundant conditionals.
12057 [__USE_GNU]: Likewise.
12058 * string/bits/string2.h [__USE_MISC]: Likewise.
12059 * string/string.h: Update #endif comments.
12060 [__USE_MISC]: Remove redundant conditionals.
12061 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12062 Likewise.
12063 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12064 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12065 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12066 Likewise.
12067 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12068 Likewise.
12069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12070 comments.
12071 [__USE_MISC]: Remove redundant conditionals.
12072 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12073 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12074 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12075 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12076 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12077 Likewise.
12078 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12079 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12080 Likewise.
12081 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12082 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12083 Likewise.
12084 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12085 Likewise.
12086 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12087 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12088 Likewise.
12089 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12090 Likewise.
12091 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12092 * sysdeps/x86/bits/string.h: Update #endif comments.
12093 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12094 conditionals.
12095 * time/sys/time.h: Update #endif comments.
12096 * time/time.h: Likewise.
12097 [__USE_MISC]: Remove redundant conditionals.
12098
a5d82e4e
YG
120992014-02-21 Yury Gribov <y.gribov@samsung.com>
12100
12101 [BZ #16600]
12102 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12103
9a80491d
AS
121042014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12105
12106 * Versions.def (librt): Add GLIBC_2.17.
12107
105fa381
AC
121082014-02-21 Adam Conrad <adconrad@0c3.net>
12109
12110 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12111 synonym for _SYS_AUXV_H to allow direct inclusion.
12112 * sysdeps/sparc/bits/hwcap.h: Likewise.
12113 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12114 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12115 * sysdeps/sparc/sysdep.h: Likewise.
12116
b8cd1c4e
SP
121172014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12118
12119 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12120
bd939d23
RS
121212014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12122
12123 * benchtests/bench-strrchr.c: Print length instead of position.
12124
5d7b57ca
JM
121252014-02-20 Joseph Myers <joseph@codesourcery.com>
12126
bc688c10
JM
12127 [BZ #16611]
12128 * sysdeps/unix/sysv/linux/kernel-features.h
12129 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12130 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12131 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12132 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12133 Likewise.
12134 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12135 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12136 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12137 (__ASSUME_SENDMMSG): Define instead of using previous
12138 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12139 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12140 (__ASSUME_SENDMMSG_SYSCALL): Define.
12141 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12142 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12143 Likewise.
12144 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12145 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12146 Likewise.
12147 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12148 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12149 Likewise.
12150 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12151 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12152 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12153 [__ASSUME_SENDMMSG]: Change conditionals to
12154 [__ASSUME_SENDMMSG_SOCKETCALL].
12155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12156 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12157 Define.
12158 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12159 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12160 Likewise.
12161 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12162 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12163 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12164 [!__ASSUME_SENDMMSG]: Change conditional to
12165 [!__ASSUME_SENDMMSG_SOCKETCALL].
12166 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12167 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12168 Define.
12169
0e31b18c
JM
12170 [BZ #16610]
12171 * sysdeps/unix/sysv/linux/kernel-features.h
12172 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12173 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12174 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12175 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12176 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12177 [__i386__ || __sparc__]
12178 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12179 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12180 (__ASSUME_RECVMMSG): Define instead of using previous
12181 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12182 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12183 (__ASSUME_RECVMMSG_SYSCALL): Define.
12184 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12185 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12188 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12189 Likewise.
12190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12191 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12192 Likewise.
12193 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12194 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12195 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12196 [__ASSUME_RECVMMSG]: Change condition to
12197 [__ASSUME_RECVMMSG_SOCKETCALL].
12198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12200 Define.
12201 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12202 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12203 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12204 Likewise.
12205 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12206 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12207 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12208 [!__ASSUME_RECVMMSG]: Change condition to
12209 [!__ASSUME_RECVMMSG_SOCKETCALL].
12210 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12211 (__ASSUME_RECVMMSG_SYSCALL): Define.
12212
dd481ccf
JM
12213 [BZ #16609]
12214 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12215 __powerpc__ || __s390__ || __sh__ || __sparc__]
12216 (__ASSUME_SOCKETCALL): Define.
12217 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12218 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12219 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12220 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12221 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12222 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12223 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12224 (__ASSUME_ACCEPT4): Define instead of using previous
12225 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12226 __powerpc__ || __sparc__ || __s390__)] condition.
12227 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12228 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12229 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12230 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12231 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12232 [!__ASSUME_ACCEPT4]: Change condition to
12233 [!__ASSUME_ACCEPT4_SOCKETCALL].
12234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12235 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12236 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12238 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12239 __ASSUME_ACCEPT4_SYSCALL.
12240 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12241 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12242 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12243 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12244 __ASSUME_ACCEPT4_SYSCALL.
12245 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12246 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12247 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12248 [__ASSUME_ACCEPT4]: Change condition to
12249 [__ASSUME_ACCEPT4_SOCKETCALL].
12250 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12251 (__ASSUME_SOCKETCALL): Define.
12252 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12253 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12254 (__ASSUME_SOCKETCALL): Define.
12255 (__ASSUME_ACCEPT4): Remove.
12256 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12257 Define.
12258 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12259 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12260 Likewise.
12261 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12262 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12263
5d7b57ca
JM
12264 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12265 macro.
12266 (HWCAP_ARM_LPAE): Likewise.
12267 (HWCAP_ARM_EVTSTRM): Likewise.
12268 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12269 Add vpfd32, lpae and evtstrm.
12270 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12271 Increase to 22.
12272
63689d61
JM
122732014-02-19 Joseph Myers <joseph@codesourcery.com>
12274
12275 * math/auto-libm-test-in: Add tests of clog10.
12276 * math/auto-libm-test-out: Regenerated.
12277 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12278 * sysdeps/i386/fpu/libm-test-ulps: Update.
12279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280
ab09bf61
AS
122812014-02-18 Andreas Schwab <schwab@suse.de>
12282
12283 [BZ #16574]
12284 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12285 Store non-zero if the second buffer was newly allocated.
12286 (send_dg): Likewise.
12287 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12288 to send_vc and send_dg.
12289 (res_nsend): Pass NULL for ansp2_malloced.
12290 * resolv/res_query.c (__libc_res_nquery): Add parameter
12291 answerp2_malloced and pass it down to __libc_res_nsend.
12292 (res_nquery): Pass additional NULL to __libc_res_nquery.
12293 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12294 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12295 second answer buffer if answerp2_malloced was set.
12296 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12297 (__libc_res_nquerydomain): Add parameter
12298 answerp2_malloced and pass it down to __libc_res_nquery.
12299 (res_nquerydomain): Pass additional NULL to
12300 __libc_res_nquerydomain.
12301 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12302 additional NULL to __libc_res_nsend and __libc_res_nquery.
12303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12304 additional NULL to __libc_res_nsearch.
12305 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12306 parameter of __libc_res_nsearch to check for separately allocated
12307 second buffer.
12308 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12309 __libc_res_nquery.
12310 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12311 additional NULL to __libc_res_nquery.
12312 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12313 __libc_res_nsearch.
12314 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12315 * include/resolv.h: Update prototypes of __libc_res_nquery,
12316 __libc_res_nsearch, __libc_res_nsend.
12317
a4fb7861
JM
123182014-02-18 Joseph Myers <joseph@codesourcery.com>
12319
c6af2d89
JM
12320 * math/auto-libm-test-in: Add tests of fma.
12321 * math/auto-libm-test-out: Regenerated.
12322 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12323 (fma_towardzero_test_data): Likewise.
12324 (fma_downward_test_data): Likewise.
12325 (fma_upward_test_data): Likewise.
12326 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12327 mpc_mode.
12328 (rounding_modes): Add values for new field.
12329 (func_calc_method): Add value mpfr_fff_f.
12330 (func_calc_desc): Add mpfr_fff_f union field.
12331 (test_function): Add field exact_args.
12332 (FUNC): Add macro argument EXACT_ARGS.
12333 (FUNC_mpfr_f_f): Update call to FUNC.
12334 (FUNC_mpfr_f_f): Likewise.
12335 (FUNC_mpfr_ff_f): Likewise.
12336 (FUNC_mpfr_if_f): Likewise.
12337 (FUNC_mpc_c_f): Likewise.
12338 (FUNC_mpc_c_c): Likewise.
12339 (test_functions): Add fma. Update calls to FUNC.
12340 (handle_input_arg): Add argument exact_args.
12341 (add_test): Update call to handle_input_arg.
12342 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12343 (output_for_one_input_case): Update call to calc_generic_results.
12344 Recalculate exact zero results in each rounding mode.
12345
a4fb7861
JM
12346 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12347 non-negative before setting low bit.
12348 * math/auto-libm-test-in: Mark one asin test possibly having
12349 spurious underflow.
12350 * math/auto-libm-test-out: Regenerated.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12353
ef114eaf
DH
123542014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12355
2b7f4f2c
SP
12356 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12357 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12358 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12359 * README: Add missing listing for microblaze*-*-linux-gnu.
12360
8125aedc
AM
123612014-02-16 Ondřej Bílka <neleai@seznam.cz>
12362
12363 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12364 duplicate code
12365
c70a4b1d
MF
123662014-02-16 Mike Frysinger <vapier@gentoo.org>
12367
12368 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12369 * sysdeps/unix/sysv/linux/ia64: Move directory from
12370 ports/sysdeps/unix/sysv/linux/ia64.
12371 * README: Update listing for ia64-*-linux-gnu.
12372
591aeaf7
TD
123732014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12374 Joseph Myers <joseph@codesourcery.com>
12375
12376 * Makeconfig (test-name): New variable.
12377 (evaluate-test): Likewise.
12378 * Makerules (do-test-clean): Remove .test-result files.
12379 (common-mostlyclean): Likewise.
12380 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12381 * scripts/evaluate-test.sh: New file.
12382
6e89caf1
JM
123832014-02-14 Joseph Myers <joseph@codesourcery.com>
12384
7f98f180
JM
12385 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12386 separate $(objpfx)tst-fopenloc-cmp.out and
12387 $(objpfx)tst-fopenloc-mem.out targets.
12388 (tests): Update dependencies.
12389 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12390 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12391 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12392 (tst-rxspencer-no-utf8-ARGS): New variable.
12393 (tst-rxspencer-no-utf8-ENV): Likewise.
12394 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12395 instead of $(objpfx)tst-rxspencer-mem.
12396 ($(objpfx)tst-rxspencer-mem): Change target to
12397 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12398 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12399 * posix/tst-rxspencer-no-utf8.c: New file.
12400
6e89caf1
JM
12401 * elf/Makefile ($(objpfx)order.out): Remove rule.
12402 [$(run-built-tests) = yes] (tests): Depend on
12403 $(objpfx)order-cmp.out.
12404 ($(objpfx)order-cmp.out): New rule.
12405 [$(run-built-tests) = yes] (tests): Depend on
12406 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12407 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12408 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12409 $(objpfx)tst-array5-static-cmp.out.
12410 ($(objpfx)tst-array1.out): Remove rule.
12411 ($(objpfx)tst-array1-cmp.out): New rule.
12412 ($(objpfx)tst-array1-static.out): Remove rule.
12413 ($(objpfx)tst-array1-static-cmp.out): New rule.
12414 ($(objpfx)tst-array2.out): Remove rule.
12415 ($(objpfx)tst-array2-cmp.out): New rule.
12416 ($(objpfx)tst-array3.out): Remove rule.
12417 ($(objpfx)tst-array3-cmp.out): New rule.
12418 ($(objpfx)tst-array4.out): Remove rule.
12419 ($(objpfx)tst-array4-cmp.out): New rule.
12420 ($(objpfx)tst-array5.out): Remove rule.
12421 ($(objpfx)tst-array5-cmp.out): New rule.
12422 ($(objpfx)tst-array5-static.out): Remove rule.
12423 ($(objpfx)tst-array5-static-cmp.out): New rule.
12424 [$(run-built-tests) = yes] (tests): Depend on
12425 $(objpfx)order2-cmp.out.
12426 ($(objpfx)order2.out): Remove rule.
12427 ($(objpfx)order2-cmp.out): New rule.
12428 ($(objpfx)tst-initorder.out): Remove rule.
12429 [$(run-built-tests) = yes] (tests): Depend on
12430 $(objpfx)tst-initorder-cmp.out.
12431 ($(objpfx)tst-initorder-cmp.out): New rule.
12432 ($(objpfx)tst-initorder2.out): Remove rule.
12433 [$(run-built-tests) = yes] (tests): Depend on
12434 $(objpfx)tst-initorder2-cmp.out.
12435 ($(objpfx)tst-initorder2-cmp.out): New rule.
12436 [$(run-built-tests) = yes] (tests): Depend on
12437 $(objpfx)tst-unused-dep-cmp.out.
12438 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12439 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12440 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12441 on $(objpfx)tst-setvbuf1-cmp.out.
12442 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12443 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12444 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12445 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12446 ($(objpfx)tst-svc.out): Remove rule.
12447 ($(objpfx)tst-svc-cmp.out): New rule.
12448
ed9a38e2
JM
124492014-02-13 Joseph Myers <joseph@codesourcery.com>
12450
12451 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12452 * ctype/ctype.h [__USE_MISC]: Likewise.
12453 * dirent/dirent.h [__USE_MISC]: Likewise.
12454 * grp/grp.h [__USE_MISC]: Likewise.
12455 * io/fcntl.h [__USE_MISC]: Likewise.
12456 * io/sys/stat.h [__USE_MISC]: Likewise.
12457 * libio/stdio.h [__USE_MISC]: Likewise.
12458 * posix/unistd.h [__USE_MISC]: Likewise.
12459 * pwd/pwd.h [__USE_MISC]: Likewise.
12460 * stdlib.h [__USE_MISC]: Likewise.
12461 * string/bits/string2.h [__USE_MISC]: Likewise.
12462 * string/string.h [__USE_MISC]: Likewise.
12463 * time/time.h [__USE_MISC]: Likewise.
12464
d6680619
AS
124652014-02-13 Andreas Schwab <schwab@suse.de>
12466
12467 [BZ #16574]
12468 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12469 second answer buffer if it was separately allocated.
12470
ace614b8
JM
124712014-02-12 Joseph Myers <joseph@codesourcery.com>
12472
743151ae
JM
12473 * sysdeps/mips/math-tests.h: Include <features.h>.
12474 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12475 (ROUNDING_TESTS_long_double): Do not define.
12476 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12477 (EXCEPTION_TESTS_long_double): Likewise.
12478 * sysdeps/mips/mips64/libm-test-ulps: Update.
12479
498afc54
JM
12480 * include/features.h (__USE_BSD): Remove macro definitions.
12481 (__USE_SVID): Likewise.
12482 (_BSD_SOURCE): Likewise.
12483 (_SVID_SOURCE): Likewise.
12484 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12485 from definition of _DEFAULT_SOURCE.
12486 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12487 [_DEFAULT_SOURCE].
12488 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12489 * bits/mman.h [__USE_BSD]: Likewise.
12490 * bits/termios.h [__USE_BSD]: Likewise.
12491 * bits/waitstatus.h [__USE_BSD]: Likewise.
12492 * ctype/ctype.h [__USE_SVID]: Likewise.
12493 * dirent/dirent.h [__USE_BSD]: Likewise.
12494 * grp/grp.h [__USE_SVID]: Likewise.
12495 [__USE_BSD]: Likewise.
12496 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12497 * io/fcntl.h [__USE_BSD]: Likewise.
12498 * io/ftw.h [__USE_BSD]: Likewise.
12499 * io/sys/stat.h [__USE_BSD]: Likewise.
12500 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12501 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12502 * libio/stdio.h [__USE_SVID]: Likewise.
12503 [__USE_BSD]: Likewise.
12504 * math/math.h [__USE_SVID]: Likewise.
12505 [__USE_BSD]: Likewise.
12506 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12507 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12508 * misc/search.h [__USE_SVID]: Likewise.
12509 * misc/sys/mman.h [__USE_BSD]: Likewise.
12510 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12511 * misc/sys/uio.h [__USE_BSD]: Likewise.
12512 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12513 * posix/glob.h [__USE_BSD]: Likewise.
12514 * posix/regex.h [__USE_BSD]: Likewise.
12515 * posix/sys/types.h [__USE_BSD]: Likewise.
12516 [__USE_SVID]: Likewise.
12517 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12518 * posix/sys/wait.h [__USE_BSD]: Likewise.
12519 [__USE_SVID]: Likewise.
12520 * posix/unistd.h [__USE_BSD]: Likewise.
12521 [__USE_SVID]: Likewise.
12522 * pwd/pwd.h [__USE_SVID]: Likewise.
12523 * resolv/netdb.h [__USE_BSD]: Likewise.
12524 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12525 * signal/signal.h [__USE_BSD]: Likewise.
12526 [__USE_SVID]: Likewise.
12527 * socket/sys/socket.h [__USE_BSD]: Likewise.
12528 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12529 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12530 [__USE_SVID]: Likewise.
12531 * string/bits/string2.h [__USE_BSD]: Likewise.
12532 [__USE_SVID]: Likewise.
12533 * string/bits/string3.h [__USE_BSD]: Likewise.
12534 * string/endian.h [__USE_BSD]: Likewise.
12535 * string/string.h [__USE_SVID]: Likewise.
12536 [__USE_BSD]: Likewise.
12537 * string/strings.h [__USE_BSD]: Likewise.
12538 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12539 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12540 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12541 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12542 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12543 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12544 Likewise.
12545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12546 Likewise.
12547 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12548 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12549 Likewise.
12550 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12551 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12552 Likewise.
12553 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12554 Likewise.
12555 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12556 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12558 Likewise.
12559 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12560 Likewise.
12561 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12562 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12563 * termios/termios.h [__USE_BSD]: Likewise.
12564 * time/sys/time.h [__USE_BSD]: Likewise.
12565 * time/time.h [__USE_BSD]: Likewise.
12566 [__USE_SVID]: Likewise.
12567
dd7b064c
JM
12568 * Makefile (subdir_targets): Remove subdir_lint.out.
12569
a2c4c199
JM
12570 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12571 (do-tst-printf): Likewise.
12572 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12573 $(objpfx)tst-printf.out.
12574
8756f740
JM
12575 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12576
1b6dd3f1
JM
12577 * Makerules (check-abi-%): Change target to
12578 $(objpfx)check-abi-%.out.
12579 (check-abi target): Update dependencies.
12580 (check-abi-pattern variable): Redirect output of diff to $@.
12581 (check-abi variable): Likewise.
12582 * elf/Makefile (check-abi): Update dependencies.
12583
ace614b8
JM
12584 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12585 unused.
12586 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12587 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12588 subnormal range.
12589 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12590 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12591 value has largest subnormal exponent.
12592 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12593 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12594 * sysdeps/aarch64/soft-fp/sfp-machine.h
12595 (_FP_TININESS_AFTER_ROUNDING): New macro.
12596 * sysdeps/alpha/soft-fp/sfp-machine.h
12597 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12598 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12599 Likewise.
12600 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12601 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12602 * sysdeps/mips/soft-fp/sfp-machine.h
12603 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12604 * sysdeps/powerpc/soft-fp/sfp-machine.h
12605 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12606 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12607 Likewise.
12608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12609 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12611 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12612 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12613 Likewise.
12614
fbfdf9cb
DAS
126152014-02-12 Dylan Alex Simon <dylan@dylex.net>
12616
12617 [BZ #16545]
12618 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12619 model 1.
12620
68b7efaa
RH
126212014-02-12 Richard Henderson <rth@redhat.com>
12622
c70a4b1d 12623 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12624 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12625 * sysdeps/unix/sysv/linux/alpha: Move directory from
12626 ports/sysdeps/unix/sysv/linux/alpha.
12627 * README: Update listing for alpha-*-linux-gnu.
12628
cb4a2928
JM
126292014-02-11 Joseph Myers <joseph@codesourcery.com>
12630
c941736c
JM
12631 * include/features.h: Update comment documenting feature test
12632 macros.
12633 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12634 _DEFAULT_SOURCE.
12635 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12636 (_SVID_SOURCE): Likewise.
12637 (_DEFAULT_SOURCE): Update description of default features.
12638 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12639 with _GNU_SOURCE.
12640 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12641 (S_ISVTX): Likewise.
12642 * manual/math.texi (Mathematical Constants): Likewise.
12643 * manual/signal.texi (Interrupted Primitives): Likewise.
12644 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12645 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12646 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12647 Don't refer to _SVID_SOURCE in warning text.
12648
e8d8d7ec
JM
12649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12650
cb4a2928
JM
12651 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12652 already defined.
12653 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12654 * sysdeps/mips/dl-lookup.c: Remove.
12655 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12656
7e6424e3
AK
126572014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12658
12659 [BZ #16447]
12660 * math/auto-libm-test-in: Add testcase for expl.
12661 * math/auto-libm-test-out: Regenerate.
12662 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12663 calculation of unsafe.
12664 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12665
75eff3fe
MS
126662014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12667
12668 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12669 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12670 ports/sysdeps/unix/sysv/linux/aarch64.
12671 * README: Update listing for aarch64*-*-linux-gnu.
12672
d35f1e80
WN
126732014-02-11 Will Newton <will.newton@linaro.org>
12674
12675 * manual/probes.texi (Mathematical Function Probes): Use
12676 "triggered" instead of "hit".
12677
7b3436d4
WN
12678 * manual/probes.texi (Internal Probes): Add documentation
12679 of setjmp, longjmp and longjmp_target probes.
12680
b4f12ca3
WN
12681 * include/stap-probe.h: Add comment about probe argument
12682 format.
12683
c13a72b7
WN
12684 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12685 definition. (tr_where, tr_freehook, tr_mallochook,
12686 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12687
195b8165
DM
126882014-02-11 David S. Miller <davem@davemloft.net>
12689
12690 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12691 processing int_tests.
12692
2ad7600b
JM
126932014-02-10 Joseph Myers <joseph@codesourcery.com>
12694
12695 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12696 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12697 * sysdeps/unix/sysv/linux/mips: Move directory from
12698 ports/sysdeps/unix/sysv/linux/mips.
12699 * README: Update listing for mips-*-linux-gnu and
12700 mips64-*-linux-gnu.
12701
73588a72
AS
127022014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12703
12704 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12705 * sysdeps/unix/sysv/linux/m68k: Move directory from
12706 ports/sysdeps/unix/sysv/linux/m68k.
12707 * README: Update listing for m68k-*-linux-gnu.
12708
4372980f
CM
127092014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12710
12711 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12712 * sysdeps/unix/sysv/linux/generic: Move directory from
12713 ports/sysdeps/unix/sysv/linux/generic.
12714 * sysdeps/unix/sysv/linux/tile: Move directory from
12715 ports/sysdeps/unix/sysv/linux/tile.
12716 * README: Update listing for tile*-*-linux-gnu.
12717
a1ffb40e
OB
127182014-02-10 Ondřej Bílka <neleai@seznam.cz>
12719
57f41c40
AS
12720 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12721 __builtin_expect.
a1ffb40e
OB
12722 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12723 * catgets/open_catalog.c (__open_catalog): Likewise.
12724 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12725 * debug/confstr_chk.c: Likewise.
12726 * debug/fread_chk.c (__fread_chk): Likewise.
12727 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12728 * debug/getgroups_chk.c: Likewise.
12729 * debug/mbsnrtowcs_chk.c: Likewise.
12730 * debug/mbsrtowcs_chk.c: Likewise.
12731 * debug/mbstowcs_chk.c: Likewise.
12732 * debug/memcpy_chk.c: Likewise.
12733 * debug/memmove_chk.c: Likewise.
12734 * debug/mempcpy_chk.c: Likewise.
12735 * debug/memset_chk.c: Likewise.
12736 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12737 * debug/strcat_chk.c (__strcat_chk): Likewise.
12738 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12739 * debug/strncat_chk.c (__strncat_chk): Likewise.
12740 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12741 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12742 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12743 * debug/wcpncpy_chk.c: Likewise.
12744 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12745 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12746 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12747 * debug/wcsncpy_chk.c: Likewise.
12748 * debug/wcsnrtombs_chk.c: Likewise.
12749 * debug/wcsrtombs_chk.c: Likewise.
12750 * debug/wcstombs_chk.c: Likewise.
12751 * debug/wmemcpy_chk.c: Likewise.
12752 * debug/wmemmove_chk.c: Likewise.
12753 * debug/wmempcpy_chk.c: Likewise.
12754 * debug/wmemset_chk.c: Likewise.
12755 * dirent/scandirat.c (SCANDIRAT): Likewise.
12756 * dlfcn/dladdr1.c (dladdr1): Likewise.
12757 * dlfcn/dladdr.c (dladdr): Likewise.
12758 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12759 * dlfcn/dlerror.c (__dlerror): Likewise.
12760 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12761 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12762 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12763 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12764 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12765 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12766 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12767 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12768 Likewise.
12769 * elf/dl-conflict.c: Likewise.
12770 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12771 * elf/dl-dst.h: Likewise.
12772 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12773 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12774 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12775 * elf/dl-init.c (call_init, _dl_init): Likewise.
12776 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
12777 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12778 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12779 Likewise.
a1ffb40e
OB
12780 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12781 Likewise.
12782 * elf/dl-minimal.c (__libc_memalign): Likewise.
12783 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12784 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12785 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12786 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
12787 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12788 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
12789 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12790 * elf/dl-writev.h (_dl_writev): Likewise.
12791 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
12792 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12793 (dl_main): Likewise.
a1ffb40e
OB
12794 * elf/setup-vdso.h (setup_vdso): Likewise.
12795 * grp/compat-initgroups.c (compat_call): Likewise.
12796 * grp/fgetgrent.c (fgetgrent): Likewise.
12797 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12798 * grp/putgrent.c (putgrent): Likewise.
12799 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12800 Likewise.
12801 * hurd/hurdinit.c: Likewise.
12802 * iconvdata/8bit-gap.c (struct): Likewise.
12803 * iconvdata/ansi_x3.110.c : Likewise.
12804 * iconvdata/big5.c : Likewise.
12805 * iconvdata/big5hkscs.c : Likewise.
12806 * iconvdata/cp1255.c: Likewise.
12807 * iconvdata/cp1258.c : Likewise.
12808 * iconvdata/cp932.c : Likewise.
12809 * iconvdata/euc-cn.c: Likewise.
12810 * iconvdata/euc-jisx0213.c : Likewise.
12811 * iconvdata/euc-jp.c: Likewise.
12812 * iconvdata/euc-jp-ms.c : Likewise.
12813 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12814 * iconvdata/gb18030.c : Likewise.
12815 * iconvdata/gbbig5.c (const): Likewise.
12816 * iconvdata/gbgbk.c: Likewise.
12817 * iconvdata/gbk.c : Likewise.
12818 * iconvdata/ibm1364.c : Likewise.
12819 * iconvdata/ibm930.c : Likewise.
12820 * iconvdata/ibm932.c: Likewise.
12821 * iconvdata/ibm933.c : Likewise.
12822 * iconvdata/ibm935.c : Likewise.
12823 * iconvdata/ibm937.c : Likewise.
12824 * iconvdata/ibm939.c : Likewise.
12825 * iconvdata/ibm943.c: Likewise.
12826 * iconvdata/iso_11548-1.c: Likewise.
12827 * iconvdata/iso-2022-cn.c : Likewise.
12828 * iconvdata/iso-2022-cn-ext.c : Likewise.
12829 * iconvdata/iso-2022-jp-3.c: Likewise.
12830 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12831 * iconvdata/iso-2022-kr.c : Likewise.
12832 * iconvdata/iso646.c (gconv_end): Likewise.
12833 * iconvdata/iso_6937-2.c : Likewise.
12834 * iconvdata/iso_6937.c : Likewise.
12835 * iconvdata/iso8859-1.c: Likewise.
12836 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12837 * iconvdata/shift_jisx0213.c : Likewise.
12838 * iconvdata/sjis.c : Likewise.
12839 * iconvdata/t.61.c : Likewise.
12840 * iconvdata/tcvn5712-1.c : Likewise.
12841 * iconvdata/tscii.c: Likewise.
12842 * iconvdata/uhc.c : Likewise.
12843 * iconvdata/unicode.c (gconv_end): Likewise.
12844 * iconvdata/utf-16.c (gconv_end): Likewise.
12845 * iconvdata/utf-32.c (gconv_end): Likewise.
12846 * iconvdata/utf-7.c (base64): Likewise.
12847 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12848 * iconv/gconv_close.c (__gconv_close): Likewise.
12849 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
12850 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12851 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12852 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12853 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12854 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
12855 * iconv/iconv.c (iconv): Likewise.
12856 * iconv/iconv_close.c: Likewise.
12857 * iconv/loop.c (SINGLE): Likewise.
12858 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12859 * include/atomic.h: Likewise.
12860 * inet/inet6_option.c (option_alloc): Likewise.
12861 * intl/bindtextdom.c (set_binding_values): Likewise.
12862 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12863 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12864 * intl/localealias.c (read_alias_file): Likewise.
12865 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
12866 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12867 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
12868 * libio/fmemopen.c (fmemopen): Likewise.
12869 * libio/iofgets.c (_IO_fgets): Likewise.
12870 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12871 * libio/iofgetws.c (fgetws): Likewise.
12872 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12873 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
12874 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12875 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
12876 * locale/findlocale.c (_nl_find_locale): Likewise.
12877 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12878 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12879 Likewise.
12880 * locale/setlocale.c (setlocale): Likewise.
12881 * login/programs/pt_chown.c (main): Likewise.
12882 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12883 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
12884 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12885 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
12886 * math/e_exp2l.c: Likewise.
12887 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12888 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12889 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12890 * math/s_catan.c (__catan): Likewise.
12891 * math/s_catanf.c (__catanf): Likewise.
12892 * math/s_catanh.c (__catanh): Likewise.
12893 * math/s_catanhf.c (__catanhf): Likewise.
12894 * math/s_catanhl.c (__catanhl): Likewise.
12895 * math/s_catanl.c (__catanl): Likewise.
12896 * math/s_ccosh.c (__ccosh): Likewise.
12897 * math/s_ccoshf.c (__ccoshf): Likewise.
12898 * math/s_ccoshl.c (__ccoshl): Likewise.
12899 * math/s_cexp.c (__cexp): Likewise.
12900 * math/s_cexpf.c (__cexpf): Likewise.
12901 * math/s_cexpl.c (__cexpl): Likewise.
12902 * math/s_clog10.c (__clog10): Likewise.
12903 * math/s_clog10f.c (__clog10f): Likewise.
12904 * math/s_clog10l.c (__clog10l): Likewise.
12905 * math/s_clog.c (__clog): Likewise.
12906 * math/s_clogf.c (__clogf): Likewise.
12907 * math/s_clogl.c (__clogl): Likewise.
12908 * math/s_csin.c (__csin): Likewise.
12909 * math/s_csinf.c (__csinf): Likewise.
12910 * math/s_csinh.c (__csinh): Likewise.
12911 * math/s_csinhf.c (__csinhf): Likewise.
12912 * math/s_csinhl.c (__csinhl): Likewise.
12913 * math/s_csinl.c (__csinl): Likewise.
12914 * math/s_csqrt.c (__csqrt): Likewise.
12915 * math/s_csqrtf.c (__csqrtf): Likewise.
12916 * math/s_csqrtl.c (__csqrtl): Likewise.
12917 * math/s_ctan.c (__ctan): Likewise.
12918 * math/s_ctanf.c (__ctanf): Likewise.
12919 * math/s_ctanh.c (__ctanh): Likewise.
12920 * math/s_ctanhf.c (__ctanhf): Likewise.
12921 * math/s_ctanhl.c (__ctanhl): Likewise.
12922 * math/s_ctanl.c (__ctanl): Likewise.
12923 * math/w_pow.c: Likewise.
12924 * math/w_powf.c: Likewise.
12925 * math/w_powl.c: Likewise.
12926 * math/w_scalb.c (sysv_scalb): Likewise.
12927 * math/w_scalbf.c (sysv_scalbf): Likewise.
12928 * math/w_scalbl.c (sysv_scalbl): Likewise.
12929 * misc/error.c (error_tail): Likewise.
12930 * misc/pselect.c (__pselect): Likewise.
12931 * nis/nis_callback.c (__nis_create_callback): Likewise.
12932 * nis/nis_call.c (__nisfind_server): Likewise.
12933 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12934 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12935 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12936 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12937 * nis/nis_lookup.c (nis_lookup): Likewise.
12938 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
12939 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12940 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 12941 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
12942 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12943 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12944 * nis/nss_compat/compat-initgroups.c (add_group)
12945 (internal_getgrent_r): Likewise.
12946 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12947 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12948 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12949 (internal_getspnam_r): Likewise.
12950 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12951 (_nss_nis_getaliasbyname_r): Likewise.
12952 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12953 (_nss_nis_getntohost_r): Likewise.
12954 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12955 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12956 (_nss_nis_getgrgid_r): Likewise.
12957 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12958 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12959 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12960 (_nss_nis_gethostbyname4_r): Likewise.
12961 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12962 (initgroups_netid): Likewise.
a1ffb40e 12963 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
12964 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12965 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12966 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12967 (_nss_nis_getprotobynumber_r): Likewise.
12968 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12969 (_nss_nis_getsecretkey): Likewise.
12970 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12971 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12972 (_nss_nis_getpwuid_r): Likewise.
12973 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12974 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12975 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12976 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12977 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12978 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
12979 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12980 Likewise.
57f41c40
AS
12981 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12982 (_nss_nisplus_getntohost_r): Likewise.
12983 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12984 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12985 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12986 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 12987 Likewise.
57f41c40
AS
12988 * nis/nss_nisplus/nisplus-initgroups.c
12989 (_nss_nisplus_initgroups_dyn): Likewise.
12990 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12991 (_nss_nisplus_getnetbyaddr_r): Likewise.
12992 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12993 (_nss_nisplus_getprotobynumber_r): Likewise.
12994 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12995 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
12996 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12997 Likewise.
57f41c40
AS
12998 * nis/nss_nisplus/nisplus-service.c
12999 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13000 (_nss_nisplus_getservbyport_r): Likewise.
13001 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13002 (_nss_nisplus_getspnam_r): Likewise.
13003 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13004 Likewise.
a1ffb40e
OB
13005 * nscd/aicache.c (addhstaiX): Likewise.
13006 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13007 * nscd/connections.c (register_traced_file, send_ro_fd)
13008 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13009 (main_loop_epoll): Likewise.
a1ffb40e
OB
13010 * nscd/grpcache.c (addgrbyX): Likewise.
13011 * nscd/hstcache.c (addhstbyX): Likewise.
13012 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13013 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13014 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13015 (addinnetgrX): Likewise.
13016 * nscd/nscd-client.h (__nscd_acquire_maplock)
13017 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13018 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13019 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13020 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13021 Likewise.
13022 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13023 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13024 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13025 (__nscd_get_map_ref): Likewise.
a1ffb40e 13026 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13027 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13028 Likewise.
a1ffb40e
OB
13029 * nscd/pwdcache.c (addpwbyX): Likewise.
13030 * nscd/selinux.c (preserve_capabilities): Likewise.
13031 * nscd/servicescache.c (addservbyX): Likewise.
13032 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13033 * posix/fnmatch.c (fnmatch): Likewise.
13034 * posix/getopt.c (_getopt_internal_r): Likewise.
13035 * posix/glob.c (glob, glob_in_dir): Likewise.
13036 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13037 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13038 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13039 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13040 * resolv/res_init.c: Likewise.
13041 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13042 * resolv/res_query.c (__libc_res_nquery): Likewise.
13043 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13044 Likewise.
13045 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13046 * stdio-common/perror.c (perror): Likewise.
13047 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13048 * stdio-common/tmpnam.c (tmpnam): Likewise.
13049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13050 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13051 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13052 Likewise.
a1ffb40e
OB
13053 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13054 * stdlib/putenv.c (putenv): Likewise.
13055 * stdlib/setenv.c (__add_to_environ): Likewise.
13056 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13057 * stdlib/strtol_l.c (INTERNAL): Likewise.
13058 * string/memmem.c (memmem): Likewise.
13059 * string/strerror.c (strerror): Likewise.
13060 * string/strnlen.c (__strnlen): Likewise.
13061 * string/test-memmem.c (simple_memmem): Likewise.
13062 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13063 * sunrpc/pm_getport.c (__get_socket): Likewise.
13064 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13065 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13066 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13067 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13068 Likewise.
13069 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13070 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13071 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13072 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13073 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13074 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13075 Likewise.
13076 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13077 Likewise.
a1ffb40e
OB
13078 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13079 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13081 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13082 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13084 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13085 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13086 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13087 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13088 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13089 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13090 Likewise.
13091 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13092 Likewise.
13093 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13094 Likewise.
13095 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13097 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13098 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13099 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13100 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13101 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13104 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13110 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13111 Likewise.
a1ffb40e
OB
13112 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13113 Likewise.
13114 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13115 Likewise.
13116 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13117 Likewise.
13118 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13120 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13121 Likewise.
13122 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13123 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13124 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13125 * sysdeps/posix/sleep.c: Likewise.
13126 * sysdeps/posix/tempname.c: Likewise.
13127 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13128 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13129 Likewise.
57f41c40
AS
13130 * sysdeps/powerpc/powerpc32/dl-machine.h
13131 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13132 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13134 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13135 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13136 Likewise.
13137 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13138 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13139 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13140 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13141 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13142 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13143 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13144 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13145 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13146 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13148 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13149 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13151 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13152 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13153 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13154 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13155 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13156 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13157 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13158 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13160 Likewise.
13161 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13162 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13163 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13164 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13165 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13166 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13167 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13168 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13169 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13170 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13171 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13174 (__posix_fallocate64_l64): Likewise.
13175 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13176 (posix_fallocate): Likewise.
57f41c40
AS
13177 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13178 Likewise.
a1ffb40e 13179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13180 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13181 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13182 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13184 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13185 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13186 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13187 (__posix_fallocate64_l64): Likewise.
13188 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13191 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13192 (__get_clockfreq): Likewise.
a1ffb40e
OB
13193 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13194 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13195 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13198 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13199 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13200 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13203 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13204 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13206 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13207 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13208 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13209 Likewise.
13210 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13211 (posix_fallocate): Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13213 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13214 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13215 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13216 (elf_machine_rela, elf_machine_rela_relative)
13217 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13218 * time/asctime.c (asctime_internal): Likewise.
13219 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13220 * time/tzset.c (__tzset_parse_tz): Likewise.
13221 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13222 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13223 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13224 * wcsmbs/wcsmbsload.h: Likewise.
13225
f3d338c9
OB
13226 [BZ #15894]
13227 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13228
57f41c40
AS
13229 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13230 (arena_get2): Remove THREAD_STATS conditionals.
13231 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13232 (__malloc_stats, int): Likewise.
bdfe308a 13233
d674667c
MF
132342014-02-08 Mike Frysinger <vapier@gentoo.org>
13235
13236 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13237 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13238
6349768c
MF
13239 * manual/setjmp.texi: Fix typos/grammar errors.
13240
0b7c7473
MF
13241 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13242 Only return early when n is <= 0. Delete unused return statement.
13243
ac8cc9e3
MF
13244 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13245 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13246 * debug/tst-longjmp_chk3.c: New file.
13247
c5bb8e23
MF
13248 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13249 (test_main): Replace code with set_fortify_handler call.
13250 * debug/test-strcpy_chk.c: Likewise.
13251 * debug/tst-chk1.c: Likewise.
13252 * debug/tst-longjmp_chk.c: Likewise.
13253 * test-skeleton.c: Include fcntl.h & paths.h
13254 (set_fortify_handler): Define.
13255
10444e42
MF
13256 * debug/tst-longjmp_chk.c: Add header comment and include
13257 ../test-skeleton.c.
13258 (do_test): Mark static.
13259 (TEST_FUNCTION): Define.
13260
1e805e8d
MF
13261 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13262 (IP_PMTUDISC_INTERFACE): Likewise.
13263 (IP_MULTICAST_IF): Likewise.
13264 (IP_MULTICAST_TTL): Likewise.
13265 (IP_MULTICAST_LOOP): Likewise.
13266 (IP_ADD_MEMBERSHIP): Likewise.
13267 (IP_DROP_MEMBERSHIP): Likewise.
13268 (IP_UNBLOCK_SOURCE): Likewise.
13269 (IP_BLOCK_SOURCE): Likewise.
13270 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13271 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13272 (IP_MSFILTER): Likewise.
13273 (MCAST_JOIN_GROUP): Likewise.
13274 (MCAST_BLOCK_SOURCE): Likewise.
13275 (MCAST_UNBLOCK_SOURCE): Likewise.
13276 (MCAST_LEAVE_GROUP): Likewise.
13277 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13278 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13279 (MCAST_MSFILTER): Likewise.
13280 (IP_MULTICAST_ALL): Likewise.
13281 (IP_UNICAST_IF): Likewise.
13282
73f79bb7
MF
13283 * timezone/Makefile: Delete $(have-ksh) check.
13284 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13285 * timezone/tzselect.ksh: Add +x mode bits.
13286
8da79b60
MF
13287 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13288 (ANON_INODE_FS_MAGIC): Likewise.
13289 (BDEVFS_MAGIC): Likewise.
13290 (BINFMTFS_MAGIC): Likewise.
13291 (BTRFS_TEST_MAGIC): Likewise.
13292 (CRAMFS_MAGIC_WEND): Likewise.
13293 (DEBUGFS_MAGIC): Likewise.
13294 (ECRYPTFS_SUPER_MAGIC): Likewise.
13295 (EXT3_SUPER_MAGIC): Likewise.
13296 (EXT4_SUPER_MAGIC): Likewise.
13297 (FUTEXFS_SUPER_MAGIC): Likewise.
13298 (HOSTFS_SUPER_MAGIC): Likewise.
13299 (HUGETLBFS_MAGIC): Likewise.
13300 (MINIX3_SUPER_MAGIC): Likewise.
13301 (MTD_INODE_FS_MAGIC): Likewise.
13302 (NILFS_SUPER_MAGIC): Likewise.
13303 (OPENPROM_SUPER_MAGIC): Likewise.
13304 (PIPEFS_MAGIC): Likewise.
13305 (PSTOREFS_MAGIC): Likewise.
13306 (QNX6_SUPER_MAGIC): Likewise.
13307 (RAMFS_MAGIC): Likewise.
13308 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13309 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13310 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13311 (SECURITYFS_MAGIC): Likewise.
13312 (SELINUX_MAGIC): Likewise.
13313 (SMACK_MAGIC): Likewise.
13314 (SOCKFS_MAGIC): Likewise.
13315 (SQUASHFS_MAGIC): Likewise.
13316 (STACK_END_MAGIC): Likewise.
13317 (TMPFS_MAGIC): Likewise.
13318 (USBDEVICE_SUPER_MAGIC): Likewise.
13319 (V9FS_MAGIC): Likewise.
13320 (XENFS_SUPER_MAGIC): Likewise.
13321 (CRAMFS_MAGIC): Fix typo in comment.
13322 (EXT2_SUPER_MAGIC): Update comment.
13323 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13324
464263cc
JM
133252014-02-08 Joseph Myers <joseph@codesourcery.com>
13326
c6bfe5c4
JM
13327 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13328 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13329 * sysdeps/unix/sysv/linux/arm: Move directory from
13330 ports/sysdeps/unix/sysv/linux/arm.
13331 * README: Update listing for arm-*-linux-gnueabi.
13332
464263cc
JM
13333 * README: Remove mention of am33.
13334
32749f6c
RM
133352014-02-07 Roland McGrath <roland@hack.frob.com>
13336
13337 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13338 than the comma operator, to avoid "rhs of comma has no effect"
13339 compiler warnings.
13340 (__sigfillset, __sigandset, __sigorset): Likewise.
13341 * include/signal.h (__sigemptyset): Likewise.
13342 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13343
d5b396c1
AM
133442014-02-07 Allan McRae <allan@archlinux.org>
13345
13346 * version.h (RELEASE): Set to "development".
13347 (VERSION): Set to "2.19.90"
13348 * NEWS: Add 2.20 section.
13349
3bfff2ed
CD
133502014-02-06 Carlos O'Donell <carlos@redhat.com>
13351
13352 [BZ #16529]
13353 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13354
ee7cc385
SP
133552014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13356
13357 * manual/contrib.texi: Update entry for Carlos O'Donell,
13358 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13359
f877c4f2
CD
133602014-02-05 Carlos O'Donell <carlos@rehdat.com>
13361
27e839f6
CD
13362 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13363
f877c4f2
CD
13364 * sysdeps/unix/sysv/linux/kernel-features.h
13365 [__LINUX_KERNEL_VERSION >= 0x020621]
13366 (__ASSUME_PROC_PID_TASK_COMM): Define.
13367
68159946
SP
133682014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13369
ba17cdbd
SP
13370 [BZ #16398]
13371 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13372 conversion when destination buffer does not have enough space.
13373 * libio/tst-ftell-partial-wide.c: New test case.
13374 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13375
68159946
SP
13376 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13377 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13378 Leonard and Allan McRae.
13379
2b528732
DM
133802014-02-04 David S. Miller <davem@davemloft.net>
13381
13382 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13383 32-bit.
13384
0ff82463
AZ
133852014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13386
57f41c40
AS
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13388 New file
c01603f7
AZ
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13390 New file
57f41c40
AS
13391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13392 New file.
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13394 New file.
c01603f7
AZ
13395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13396 New file.
57f41c40
AS
13397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13398 New file.
13399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13400 New file.
c01603f7
AZ
13401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13402 New file.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13404 New file.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13406 New file.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13408 New file.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13410 New file.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13412 New file.
13413
134142014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13415
0ff82463
AZ
13416 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13417 * shlib-versions: Likewise.
13418
1695c773
AZ
134192014-02-04 Roland McGrath <roland@hack.frob.com>
13420 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13421
13422 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13423 (abilist-pattern): New variable, set to %-le.abilist.
13424
13425 * Makerules (abilist-pattern): New variable.
13426 (vpath): Use $(abilist-pattern) in place of %.abilist.
13427 (check-abi-% pattern rule): Likewise.
13428 (check-abi, update-abi): Likewise.
13429
6c0ce4b4
EW
134302014-02-04 Eric Wong <normalperson@yhbt.net>
13431
13432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13433
481e3524
CD
134342014-02-03 Carlos O'Donell <carlos@redhat.com>
13435
13436 * manual/startup.texi: Add next, previous, and top entries for
13437 the `Program Arguments' and `Environment Variables' nodes.
13438
375592d3
AO
134392014-02-03 Alexandre Oliva <aoliva@redhat.com>
13440
13441 * manual/macros.texi: Add comments before MTASC-safety macros.
13442
f54838ba
AO
13443 * manual/users.texi: Document MTASC-safety properties.
13444
57f41c40
AS
13445 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13446 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13447 @deftypefun, and add @safety note.
13448 * manual/signal.texi: Move comments that analyze the above
13449 functions to their home place.
13450
fd3daba4
AM
134512014-02-03 Allan McRae <allan@archlinux.org>
13452
13453 * po/sl.po: Update Slovenian translation from translation project.
13454
597636d7
AO
134552014-02-02 Alexandre Oliva <aoliva@redhat.com>
13456
13457 * manual/time.texi (timegm): Add missing blank after @c.
13458 Reported by Joseph Myers <joseph@codesourcery.com>.
13459
ee196e3c
AO
134602014-02-01 Alexandre Oliva <aoliva@redhat.com>
13461
13462 * manual/check-safety.sh: New.
13463 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13464
f8d529d5
AO
13465 * manual/terminal.texi: Document MTASC-safety properties.
13466
de55fdf4
AO
13467 * manual/filesys.texi: Document MTASC-safety properties.
13468
c3299c08
AO
13469 * manual/errno.texi: Document MTASC-safety properties.
13470
06e90b14
AO
13471 * manual/intro.texi: Document safety identifiers and
13472 conditionals.
13473
1acd4371
AO
13474 * manual/string.texi (wcstok): Fix prototype.
13475 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13476
23e5b8cb
AO
13477 * manual/time.texi: Document MTASC-safety properties.
13478
11087373
AO
13479 * manual/string.texi: Document MTASC-safety properties.
13480
5da2c93d
AO
13481 * manual/threads.texi: Document MTASC-safety properties.
13482
171e9210
AO
13483 * manual/stdio.texi: Document MTASC-safety properties.
13484
d9e02532
AO
13485 * manual/syslog.texi: Document MTASC-safety properties.
13486
6af8bab7
AO
13487 * manual/sysinfo.texi: Document MTASC-safety properties.
13488
663b02d7
AO
13489 * manual/startup.texi: Document MTASC-safety properties.
13490
973f180b
AO
13491 * manual/socket.texi: Document MTASC-safety properties.
13492
8f3c25c8
AO
13493 * manual/signal.texi: Document MTASC-safety properties.
13494
542210fb
AO
134952014-01-31 Alexandre Oliva <aoliva@redhat.com>
13496
13497 * manual/setjmp.texi: Document MTASC-safety properties.
13498
433c45a2
AO
13499 * manual/search.texi: Document MTASC-safety properties.
13500
c8ce789c
AO
13501 * manual/resource.texi: Document MTASC-safety properties.
13502
19f5d29c
AO
13503 * manual/process.texi: Document MTASC-safety properties.
13504
e2dfb7f4
AO
13505 * manual/platform.texi: Document MTASC-safety properties.
13506
8c1413f5
AO
13507 * manual/pipe.texi: Document MTASC-safety properties.
13508
03483ada
AO
13509 * manual/pattern.texi: Document MTASC-safety properties.
13510
29e7e2df
AO
13511 * manual/message.texi: Document MTASC-safety properties.
13512
9f529d7c
AO
13513 [BZ #12751]
13514 * manual/memory.texi: Document MTASC-safety properties.
13515
27aaa791
AO
13516 * manual/math.texi: Document MTASC-safety properties.
13517
f2d58726
AO
13518 * manual/locale.texi: Document MTASC-safety properties.
13519
2cc3615c
AO
13520 * manual/llio.texi: Document MTASC-safety properties.
13521
d9f0ec97
AO
13522 * manual/libdl.texi: New.
13523
e7c4409a
AO
13524 * manual/lang.texi: Document MTASC-safety properties.
13525
27bdc63c
AO
13526 * manual/job.texi: Document MTASC-safety properties.
13527
a7b90ea9
AO
13528 * manual/getopt.texi: Document MTASC-safety properties.
13529
c49130e3
AO
13530 * manual/ctype.texi: Document MTASC-safety properties.
13531
0d23a5c1
MR
135322014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13533
13534 [BZ #16046]
13535 * csu/libc-tls.c (static_map): Remove variable.
13536 (__libc_setup_tls): Use main executable's link map for TLS data.
13537 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13538 casing for LM_ID_BASE and GL(dl_nns).
13539 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13540 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13541 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13542 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13543 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13544 member.
13545 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13546 l_phnum members.
13547
0037bb60
AO
135482014-01-30 Alexandre Oliva <aoliva@redhat.com>
13549
13550 * manual/debug.texi: Document MTASC-safety properties.
13551
409e00bd
L
135522014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 [BZ #16510]
13555 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13556 of __x86_64__ when disabling x87 inline functions.
13557
86e60666
AO
135582014-01-29 Alexandre Oliva <aoliva@redhat.com>
13559
13560 * manual/charset.texi: Document MTASC-safety properties.
13561
76167637
AO
13562 * manual/crypt.texi: Document MTASC-safety properties.
13563
e567f2a0
AO
13564 * manual/conf.texi: Document MTASC-safety properties.
13565
b719dafd
AO
13566 * manual/arith.texi: Document MTASC-safety properties.
13567
4a16c662
AO
13568 * manual/argp.texi: Document MTASC-safety properties.
13569
0a57b83e
AO
13570 * manual/macros.texi: Introduce macros to document multi
13571 thread, asynchronous signal and asynchronous cancellation
13572 safety properties.
13573 * manual/intro.texi: Introduce the properties themselves.
13574
feab2397
KK
135752014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13576
13577 * sysdeps/sh/sh4/Makefile: New file.
13578
1c0d11bc
AS
135792014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13580
13581 * math/gen-libm-test.pl ($srcdir): New variable.
13582 ($auto_input): Use it.
13583
af37a8a3
SP
135842014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13585
d7b00f98
SP
13586 [BZ #16506]
13587 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13588 access beyond array bounds when parsing netgroups file.
13589
af37a8a3
SP
13590 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13591 the old buffer before realloc.
13592
0c00f062
AM
135932014-01-27 Allan McRae <allan@archlinux.org>
13594
13595 * po/fr.po: Update French translation from translation project.
13596
7d69a1b0
KK
135972014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13598
13599 * sysdeps/sh/libm-test-ulps: Regenerate.
13600
6e697ff7
DM
136012014-01-24 David S. Miller <davem@davemloft.net>
13602
13603 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13604
9cadb35c
KK
136052014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13606
13607 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13608 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13609
5d41dadf
SP
136102013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13611
13612 [BZ #16474]
13613 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13614 string pointers after reallocation.
13615
0bad441c
KK
136162014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13617
13618 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13619 __SH4A__ instead of __SH_FPU_ANY__.
13620
7007c661
KK
136212014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13622
13623 * sysdeps/sh/fpu_control.h: New file.
13624 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13625 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13626 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13627 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13628 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13629 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13630 * sysdeps/sh/sys/ucontext.h: Remove.
13631 * sysdeps/sh/sys: Remove directory.
13632
0f0c35e4
AK
136332014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13634
13635 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13636 s390/sys/ucontext.h.
13637 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13638 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13639
4959e284
L
136402014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13641
13642 [BZ #15605]
13643 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13644
d98720e0
AZ
136452014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13646
13647 [BZ#16431]
13648 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13649 Adjust the vDSO correctly for internal calls.
13650 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13651
91cbd0bc
AM
136522014-01-20 Allan McRae <allan@archlinux.org>
13653
13654 * po/ca.po: Update Catalan translation from translation project.
13655
7a02cfad
MF
136562014-01-16 Mike Frysinger <vapier@gentoo.org>
13657
13658 * sysdeps/s390/sotruss-lib.c: New file.
13659
736c304a
AZ
136602014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13661
13662 [BZ#16430]
6e077ee5 13663 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13664 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13665 local calls issues by not having a PLT stub required for IFUNC calls.
13666 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13667
94d0cea0
JM
136682014-01-16 Joseph Myers <joseph@codesourcery.com>
13669
13670 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13671 * math/test-fpucw-static.c: Likewise.
13672
980cb518
SP
136732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13674
13675 [BZ #16453]
13676 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13677
2393fc01
AZ
136782014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13679
13680 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13681 implementation for powerpc.
13682
d359bcc2
OB
136832014-01-15 Ondřej Bílka <neleai@seznam.cz>
13684
13685 [BZ #14782]
13686 * sysdeps/posix/system.c (__libc_system): Do not enable
13687 asynchronous cancellation.
13688
7beb48cb
AK
136892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13690
13691 [BZ #16427]
13692 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13693 handling only for numbers special also in the IEEE case.
13694
c20d5bf5
AK
136952014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13696
13697 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13698
e83bd4ee
AM
136992014-01-11 Allan McRae <allan@archlinux.org>
13700
76d0ea69
AM
13701 * po/bg.po: Update Bulgarian translation from translation project.
13702
e83bd4ee
AM
13703 * po/de.po: Update German translation from translation project.
13704
bc2ba20a
RM
137052014-01-10 Roland McGrath <roland@hack.frob.com>
13706
13707 * sysdeps/generic/gcc-compat.h: New file.
13708
649ecea2
SP
137092014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13710
13711 * benchtests/asin-inputs: Correct slow inputs.
13712 * benchtests/acos-inputs: Likewise.
13713
1b19c006
AM
137142014-01-10 Allan McRae <allan@archlinux.org>
13715
a46dab08
AM
13716 * po:sv.po: Update Swedish translation from translation project.
13717
421df74a
AM
13718 * po/vi.po: Update Vietnamese translation from translation project.
13719
d61c51a7
AM
13720 * po/eo.po: Update Esperanto translation from translation project.
13721
0339a319
AM
13722 * po/cs.po: Update Czech translation from translation project.
13723
94ad3e99
AM
13724 * po/nl.po: Update Dutch translation from translation project.
13725
e349ca71
AM
13726 * po/pl.po: Update Polish translation from translation project.
13727
ddf930c1
AM
13728 * po/ru.po: Update Russian translation from translation project.
13729
1b19c006
AM
13730 * po/uk.po: Update Ukrainian translation from translation project.
13731
9f236c49
BM
137322014-01-08 Brooks Moses <bmoses@google.com>
13733
13734 * elf/dl-load.c: Fix comment typo.
13735
cd6701cf
CD
137362014-01-08 Carlos O'Donell <carlos@redhat.com>
13737
13738 * po/header.pot: Rename to...
13739 * po/pot.header: ... this.
13740 * po/Makefile: Use pot.header.
13741
66671c84
YK
137422014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13743 Maxim Kuvyrkov <maxim@kugelworks.com>
13744
13745 [BZ #16394]
cd6701cf
CD
13746 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13747 SRC and DEST against LEN.
66671c84 13748
38f34581
AZ
137492014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13750
13751 [BZ #16414]
13752 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13753 implementation.
13754 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13755
137562014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
13757
13758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13759
4c327f2a
JM
137602014-01-08 Joseph Myers <joseph@codesourcery.com>
13761
13762 [BZ #16408]
13763 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13764 for large positive arguments.
13765
b821f414
JM
137662014-01-07 Joseph Myers <joseph@codesourcery.com>
13767
1f0f2067
JM
13768 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13769
a5a326f6
JM
13770 * math/auto-libm-test-in: Mark various tests with
13771 xfail-rounding:ldbl-128ibm.
13772 * math/auto-libm-test-out: Regenerated.
13773
b821f414
JM
13774 [BZ #16407]
13775 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13776 Increase overflow threshold.
13777
94c8a4bc
OB
137782014-01-07 Ondřej Bílka <neleai@seznam.cz>
13779
13780 [BZ #14286]
13781 * stdio-common/vfprintf.c: Check for integer overflow.
13782
87ded0c3
AK
137832014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13784
13785 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13786 the first argument and return value of __tls_get_addr_internal.
13787
c5eebdd0
AK
137882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13789
13790 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13791 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13792
05d138ef
AK
137932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13794
13795 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13796 * sysdeps/s390/rtld-global-offsets.sym: New file.
13797 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13798 GLIBC_2.19 symbol.
13799 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13801 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13802 ... this.
13803 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13804 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13805 ... this.
13806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13807 Regenerate.
13808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13809 Regenerate.
13810 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13811 halfs of GPRs for high_gprs contexts.
13812 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13813 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13814 field.
13815 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13816 uc_flags field.
13817 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13818 64 bit versions:
13819 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13820 for high GPRs (uc_high_gprs) and for future extensions
13821 (__reserved).
13822 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13823 for future extensions (__reserved).
13824 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13825 64 bit versions:
13826 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13827 SC_HIGHGPRS offset definition.
13828 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13829 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13830
93a45ff1
AK
13831 * Versions.def: Add GLIBC_2.19 for libpthread.
13832 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13833 siglongjmp for libpthread with GLIBC_2.19 symver.
13834 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13835 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13836 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13837 * sysdeps/s390/__longjmp.c: New file.
13838 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13839 * sysdeps/s390/longjmp.c: New file.
13840 * sysdeps/s390/setjmp.S: New file.
13841 * sysdeps/s390/sigjmp.S: New file.
13842 * sysdeps/s390/v1-longjmp.c: New file.
13843 * sysdeps/s390/v1-setjmp.h: New file.
13844 * sysdeps/s390/v1-sigjmp.c: New file.
13845 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13846 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13847 GLIBC_2.19 version.
13848 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13849 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13850 versioned symbols for ____longjmp_chk.
13851 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13852 Likewise.
13853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13854 Regenerate.
13855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13856 Regenerate.
13857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13858 Regenerate.
13859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13860 Regenerate.
13861 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13862 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13863 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13864 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13865 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13866 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13867 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13868 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13869 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13870 * sysdeps/s390/rtld-__longjmp.c: New file.
13871 * sysdeps/s390/rtld-setjmp.S: New file.
13872
eb3fc44b
JM
138732014-01-06 Joseph Myers <joseph@codesourcery.com>
13874
13875 [BZ #16400]
13876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13877 Return -__logl (x) for small positive arguments without evaluating
13878 a polynomial.
13879
9341dde4
MF
138802014-01-06 Mike Frysinger <vapier@gentoo.org>
13881
13882 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13883 Rename to ...
13884 (__ptrace_peeksiginfo_args): ... this.
13885 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13887 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13888
4cff0293
AM
138892014-01-06 Allan McRae <allan@archlinux.org>
13890
13891 * inet/netinet/in.h: Fix typo in comment.
13892
75595dcf
AJ
138932014-01-05 Andreas Jaeger <aj@suse.de>
13894
13895 * sysdeps/i386/fpu/libm-test-ulps: Update.
13896
79c1e109
AM
138972014-01-05 Allan McRae <allan@archlinux.org>
13898
dd804818
AM
13899 * po/libc.pot: Regenerated.
13900
79c1e109
AM
13901 * malloc/memusagestat.c: Fix gettext call formatting.
13902
0c813d1f
SK
139032014-01-04 Sami Kerola <kerolasa@iki.fi>
13904
13905 * nscd/nscd.c: Improve usage() output.
13906
20f4a8d9
MF
139072014-01-04 Mike Frysinger <vapier@gentoo.org>
13908
13909 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13910 * sysdeps/unix/sysv/linux/configure: Regenerated.
13911 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13912 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13913
22562bb2
JM
139142014-01-03 Joseph Myers <joseph@codesourcery.com>
13915
13916 [BZ #16390]
13917 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13918 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13919
d7ad2d9b
AZ
139202014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13921
13922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13923 extra tokens at end of #undef directive.
13924 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13925 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13926 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13927
7dd009d8
JM
139282014-01-03 Joseph Myers <joseph@codesourcery.com>
13929
24db925a
JM
13930 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13931
7dd009d8
JM
13932 * math/auto-libm-test-in: Mark various tests with
13933 xfail-rounding:ldbl-128ibm.
13934 * math/auto-libm-test-out: Regenerated.
13935
396e3ecf
JM
139362014-01-02 Joseph Myers <joseph@codesourcery.com>
13937
819e5d50
JM
13938 [BZ #16386]
13939 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13940 numbers with subnormal high part when calculating exponent.
13941
90b6a1e5
JM
13942 [BZ #16385]
13943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13944 fabs.
13945
396e3ecf
JM
13946 [BZ #16384]
13947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13948 M_LN2l.
13949 (__ieee754_acoshl): Use __log1pl not __log1p.
13950
6c8dbf00
OB
139512013-01-02 Ondřej Bílka <neleai@seznam.cz>
13952
57f41c40
AS
13953 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13954 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13955 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13956 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13957 (reused_arena, arena_get2): Convert to GNU style.
13958 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13959 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13960 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 13961 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
13962 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13963 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13964 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13965 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13966 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13967 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 13968 * malloc/malloc.h: Likewise.
57f41c40
AS
13969 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13970 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 13971 * malloc/mcheck.h: Likewise.
57f41c40
AS
13972 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13973 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
13974 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13975 * malloc/morecore.c (__default_morecore): Likewise.
13976 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
13977 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13978 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13979 (print_and_abort): Likewise.
6c8dbf00
OB
13980 * malloc/obstack.h: Likewise.
13981 * malloc/set-freeres.c (__libc_freeres): Likewise.
13982 * malloc/tst-mallocstate.c (main): Likewise.
13983 * malloc/tst-mtrace.c (main): Likewise.
13984 * malloc/tst-realloc.c (do_test): Likewise.
13985
d4124212
SP
139862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13987
9a3c6a6f
SP
13988 [BZ #16366]
13989 * nscd/netgroupcache.c (do_notfound): New function.
13990 (addgetnetgrentX): Use it.
13991
d4124212
SP
13992 [BZ # 16365]
13993 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13994 NSS_STATUS_NOTFOUND.
13995
97b9a009
JM
139962014-01-01 Joseph Myers <joseph@codesourcery.com>
13997
13998 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000
d4697bc9
AM
140012014-01-01 Allan McRae <allan@archlinux.org>
14002
ddb3687f
AM
14003 * scripts/update-copyrights: Update configure input file suffix.
14004
88726d48
AM
14005 * NEWS: Update copyright year.
14006 * catgets/gencat.c: Likewise.
14007 * csu/version.c: Likewise.
14008 * debug/catchsegv.sh: Likewise.
14009 * debug/pcprofiledump.c: Likewise.
14010 * debug/xtrace.sh: Likewise.
14011 * elf/ldconfig.c: Likewise.
14012 * elf/ldd.bash.in: Likewise.
14013 * elf/pldd.c: Likewise.
14014 * elf/sotruss.ksh: Likewise.
14015 * elf/sprof.c: Likewise.
14016 * iconv/iconv_prog.c: Likewise.
14017 * iconv/iconvconfig.c: Likewise.
14018 * locale/programs/locale.c: Likewise.
14019 * locale/programs/localedef.c: Likewise.
14020 * login/programs/pt_chown.c: Likewise.
14021 * malloc/memusage.sh: Likewise.
14022 * malloc/memusagestat.c: Likewise.
14023 * malloc/mtrace.pl: Likewise.
14024 * manual/libc.texinfo: Likewise.
14025 * nscd/nscd.c: Likewise.
14026 * nss/getent.c: Likewise.
14027 * nss/makedb.c: Likewise.
14028 * posix/getconf.c: Likewise.
14029 * scripts/test-installation.pl: Likewise.
14030
d4697bc9
AM
14031 * All files with FSF copyright notices: Update copyright dates
14032 using scripts/update-copyrights.
14033 * intl/plural.c: Regenerated.
14034 * locale/programs/charmap-kw.h: Likewise.
14035 * locale/programs/locfile-kw.h: Likewise.
14036
c8590f9d
MF
140372013-12-31 Mike Frysinger <vapier@gentoo.org>
14038
14039 * sysdeps/unix/sysv/linux/configure: Regenerated.
14040 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14041 the linux/fanotify.h header.
14042 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14043 HAVE_LINUX_FANOTIFY_H is defined.
14044
b19221b9
SP
140452013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14046
dd1d85e5
SP
14047 * benchtests/cos-inputs: New inputs.
14048 * benchtests/sin-inputs: Likewise.
14049
1acbb90f
SP
14050 * benchtests/atan-inputs: New inputs. Fix name of multiple
14051 precision fallback inputs.
14052
4c012ed3
SP
14053 * benchtests/atanh-inputs: New inputs.
14054 * benchtests/tanh-inputs: Likewise.
14055
eff98324
SP
14056 * benchtests/acosh-inputs: New inputs.
14057 * benchtests/asinh-inputs: Likewise.
14058
ce641152
SP
14059 * benchtests/cosh-inputs: New inputs.
14060 * benchtests/sinh-inputs: Likewise.
14061
b19221b9
SP
14062 * benchtests/acos-inputs: Add more inputs.
14063 * benchtests/asin-inputs: Likewise.
14064
030a4976 140652013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14066
030a4976 14067 [BZ #16375]
9dcc8f11
VS
14068 * manual/arith.texi: Fix spelling.
14069 * manual/charset.texi: Likewise.
14070 * manual/errno.texi: Likewise.
14071 * manual/filesys.texi: Likewise.
14072 * manual/lang.texi: Likewise.
14073 * manual/llio.texi: Likewise.
14074 * manual/locale.texi: Likewise.
14075 * manual/message.texi: Likewise.
14076 * manual/resource.texi: Likewise.
14077 * manual/search.texi: Likewise.
14078 * manual/setjmp.texi: Likewise.
14079 * manual/stdio.texi: Likewise.
14080 * manual/string.texi: Likewise.
14081 * manual/sysinfo.texi: Likewise.
14082 * manual/time.texi: Likewise.
14083
11520a57
CD
140842013-12-27 Carlos O'Donell <carlos@redhat.com>
14085
14086 * po/sl.po: New file.
14087
471103ae
MF
140882013-12-27 Mike Frysinger <vapier@gentoo.org>
14089
14090 * .gitignore: Add core/.gdbinit/.gdb_history.
14091
6c9642ed
AM
140922013-12-27 Allan McRae <allan@archlinux.org>
14093
14094 [BZ #16369]
14095 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14096 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14097
3f637079
BM
140982013-12-24 Brooks Moses <bmoses@google.com>
14099
14100 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14101 all compilers that claim C++98 compliance, not just GCC.
14102 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14103 Likewise.
14104
abc26e99
MK
141052013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14106
14107 * NEWS: Restore accidentally deleted bug-fix entries.
14108
362b47fe
MK
141092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14110 Ondřej Bílka <neleai@seznam.cz>
14111
14112 [BZ #15073]
14113 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14114 have_lock.
362b47fe 14115
b9bcbbcb
OB
141162013-12-23 Ondřej Bílka <neleai@seznam.cz>
14117
14118 [BZ #12986]
14119 * manual/stdio.texi (String Input Conversions): Clarify that character
14120 classes are not supported.
14121
fb55fcd2
AZ
141222013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14123
14124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14125
ef7344f0
JM
141262013-12-22 Joseph Myers <joseph@codesourcery.com>
14127
4f40e4b3
JM
14128 [BZ #16337]
14129 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14130 Calculate results for small negative arguments directly rather
14131 than using reflection formula with special underflow handling.
14132
ef7344f0
JM
14133 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14134 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14135 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14136 (fchflags): Likewise.
14137 (revoke): Likewise.
14138 (setlogin): Likewise.
14139 (sigaltstack): Likewise.
14140 (wait4): Likewise.
14141 (sigblock): Remove.
14142 (sigsetmask): Likewise.
14143 (wait3): Likewise.
14144 (waitpid): Likewise.
14145 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14146 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14147 file.
14148 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14149 * sysdeps/unix/bsd/Makefile: ... here.
14150 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14151 * sysdeps/unix/bsd/Versions: ... here.
14152 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14153 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14154 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14155 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14156 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14157 * sysdeps/unix/bsd/sigblock.c: ... here.
14158 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14159 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14160 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14161 * sysdeps/unix/bsd/sigvec.c: ... here.
14162 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14163 * sysdeps/unix/bsd/tcdrain.c: ... here.
14164 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14165 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14166 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14167 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14168 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14169 * sysdeps/unix/bsd/wait.c: ... here.
14170 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14171 * sysdeps/unix/bsd/wait3.c: ... here.
14172 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14173 * sysdeps/unix/bsd/waitpid.c: ... here.
14174
5b0626b9
JM
141752013-12-21 Joseph Myers <joseph@codesourcery.com>
14176
14177 [BZ #16356]
14178 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14179 round-to-nearest for [!USE_AS_EXPM1L].
14180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14181 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14182 more tests of exp and exp10. Expect some exp10 tests to miss
14183 exceptions or fail in directed rounding modes.
14184 * math/auto-libm-test-out: Regenerated.
14185 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14186 (exp10_test_tonearest): New function.
14187 (exp10_towardzero_test_data): New array.
14188 (exp10_test_towardzero): New function.
14189 (exp10_downward_test_data): New array.
14190 (exp10_test_downward): New function.
14191 (exp10_upward_test_data): New array.
14192 (exp10_test_upward): New function.
14193 (main): Call the new functions.
14194 * sysdeps/i386/fpu/libm-test-ulps: Update.
14195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196
7fda5682
JM
141972013-12-20 Joseph Myers <joseph@codesourcery.com>
14198
31e3a405
JM
14199 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14200 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14201 * math/auto-libm-test-out: Regenerated.
14202 * math/libm-test.inc (acosh_test_data): Add more tests.
14203 (atanh_test_data): Likewise.
14204 (ceil_test_data): Likewise.
14205 (copysign_test_data): Likewise.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14208
85bff96a
JM
14209 * timezone/checktab.awk: Update from tzcode 2013i.
14210 * timezone/private.h: Likewise.
14211 * timezone/scheck.c: Likewise.
14212 * timezone/tzfile.h: Likewise.
14213 * timezone/tzselect.ksh: Likewise.
14214 * timezone/zdump.c: Likewise.
14215 * timezone/zic.c: Likewise.
14216
b7867a3b
JM
14217 * math/auto-libm-test-in: Add tests of cpow.
14218 * math/auto-libm-test-out: Regenerated.
14219 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14220 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14221 mpc_cc_c.
14222 (func_calc_desc): Add mpc_cc_c union field.
14223 (test_functions): Add cpow.
14224 (special_fill_2pi): New function.
14225 (special_real_inputs): Add 2pi.
14226 (calc_generic_results): Handle mpc_cc_c.
14227 * sysdeps/i386/fpu/libm-test-ulps: Update.
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14229
7fda5682
JM
14230 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14231 csqrt, ctan and ctanh.
14232 * math/auto-libm-test-out: Regenerated.
14233 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14234 (TEST_COND_x86): Likewise.
14235 (ccos_test_data): Use AUTO_TESTS_c_c.
14236 (ccosh_test_data): Likewise.
14237 (cexp_test_data): Likewise.
14238 (clog_test_data): Likewise.
14239 (csqrt_test_data): Likewise.
14240 (ctan_test_data): Likewise.
14241 (ctan_tonearest_test_data): Likewise.
14242 (ctan_towardzero_test_data): Likewise.
14243 (ctan_downward_test_data): Likewise.
14244 (ctan_upward_test_data): Likewise.
14245 (ctanh_test_data): Likewise.
14246 (ctanh_tonearest_test_data): Likewise.
14247 (ctanh_towardzero_test_data): Likewise.
14248 (ctanh_downward_test_data): Likewise.
14249 (ctanh_upward_test_data): Likewise.
14250 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14251 mpc_c_c.
14252 (func_calc_desc): Add mpc_c_c union field.
14253 (FUNC_mpc_c_c): New macro.
14254 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14255 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14256 ctanh.
14257 (special_fill_min_subnorm_p120): New function.
14258 (special_real_inputs): Add min_subnorm_p120.
14259 (calc_generic_results): Handle mpc_c_c.
14260 * sysdeps/i386/fpu/libm-test-ulps: Update.
14261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14262
5ff8d60e
SP
142632013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14264
57f41c40
AS
14265 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14266 (do_sin_slow): New functions.
14267 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14268 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14269
84ba214c
SP
14270 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14271 Use M to change sign of result instead of X. Assume X is
14272 positive.
14273 (csloww1): Likewise.
14274 (__sin): Adjust.
14275 (__cos): Adjust.
14276
975195e4
SP
14277 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14278 arguments A and DA.
14279 (__sin): Adjust.
14280 (__cos): Likewise.
14281
5ff8d60e
SP
14282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14283 (__cos): Likewise.
14284 (sloww1): Don't adjust sign of DX.
14285 (csloww1): Likewise.
14286 (sloww2): Use X directly and don't adjust sign of DX.
14287 (csloww2): Likewise.
14288
eb983568
JM
142892013-12-19 Joseph Myers <joseph@codesourcery.com>
14290
64a17f1a
JM
14291 * math/auto-libm-test-in: Add tests of cabs and carg.
14292 * math/auto-libm-test-out: Regenerated.
14293 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14294 (carg_test_data): Likewise.
14295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14296 mpc_c_f.
14297 (func_calc_desc): Add mpc_c_f union field.
14298 (test_functions): Add cabs and carg.
14299 (calc_generic_results): Handle mpc_c_f.
14300
eb983568
JM
14301 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14302 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14303 as a macro and a compat symbol.
14304 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14305 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14306 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14307 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14308 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14309 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14310 not use .hidden.
14311 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14312 Likewise.
14313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14314 Likewise.
14315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14316 Likewise.
14317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14318 Likewise.
14319 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14320 Likewise.
14321 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14322 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14323 from GLIBC_2.3.2.
14324
6eeb678a
AZ
143252013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14326
14327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14328
6f6fc482
JM
143292013-12-19 Joseph Myers <joseph@codesourcery.com>
14330
21fea2e2
JM
14331 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14332 trailing whitespace removed.
14333 * scripts/config.guess: Update to version 2013-11-29.
14334 * scripts/config.sub: Update to version 2013-10-01.
14335
6f6fc482
JM
14336 * math/auto-libm-test-in: Add tests of sincos.
14337 * math/auto-libm-test-out: Regenerated.
14338 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14339 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14340 mpfr_f_11.
14341 (func_calc_desc): Add mpfr_f_11 union field.
14342 (test_functions): Add sincos.
14343 (calc_generic_results): Handle mpfr_f_11.
14344 * sysdeps/i386/fpu/libm-test-ulps: Update.
14345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14346
83f5c32d
AS
143472013-12-19 Andreas Schwab <schwab@suse.de>
14348
14349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14350 CALL_MCOUNT.
14351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14353 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14354
c688b419
JM
143552013-12-19 Joseph Myers <joseph@codesourcery.com>
14356
335ee092
JM
14357 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14358 * sysdeps/i386/fpu/libm-test-ulps: Update.
14359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14360
f88acd39
JM
14361 [BZ #16293]
14362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14363 round-to-nearest mode when using frndint.
14364 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14365 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14367 Likewise.
14368 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14369 sinh test to fail.
14370 * math/auto-libm-test-out: Regenerated.
14371 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14372 (TEST_COND_x86): Likewise.
14373 (expm1_tonearest_test_data): New array.
14374 (expm1_test_tonearest): New function.
14375 (expm1_towardzero_test_data): New array.
14376 (expm1_test_towardzero): New function.
14377 (expm1_downward_test_data): New array.
14378 (expm1_test_downward): New function.
14379 (expm1_upward_test_data): New array.
14380 (expm1_test_upward): New function.
14381 (main): Run the new test functions.
14382 * sysdeps/i386/fpu/libm-test-ulps: Update.
14383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14384
c688b419
JM
14385 * include/features.h: Update comment documenting feature test
14386 macros. Mention _DEFAULT_SOURCE in comment.
14387 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14388 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14389 _BSD_SOURCE and _SVID_SOURCE.
14390 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14391 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14392 !_SVID_SOURCE]: Likewise.
14393 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14394 (__USE_POSIX_IMPLICITLY): Define.
14395 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14396 (_POSIX_SOURCE): Undefine and redefine.
14397 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14398 (_POSIX_C_SOURCE): Likewise.
14399 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14400 (Feature Test Macros): Update documentation of default features.
14401
9f6e964c
RS
144022013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14403
14404 * benchtests/Makefile: Add bench-strtok.
14405 * benchtests/bench-strtok.c: New file: strtok benchtest.
14406
ee0a148a
AM
144072013-12-19 Allan McRae <allan@archlinux.org>
14408
14409 * manual/install.texi: Suppress menu for plain text output.
14410 * INSTALL: Regenerated.
14411
b9ab448f
BM
144122013-12-18 Brooks Moses <bmoses@google.com>
14413
14414 [BZ #15846]
14415 * misc/getauxval.c: Include errno.h.
14416 (__getauxval): Set errno to ENOENT if the requested type is not
14417 found.
14418 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14419 don't declare with __attribute_const__.
14420 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14421 * manual/startup.texi: Document that getauxval sets errno.
14422
23776487
JM
144232013-12-18 Joseph Myers <joseph@codesourcery.com>
14424
f889953b
JM
14425 * math/auto-libm-test-in: Add tests of jn and yn.
14426 * math/auto-libm-test-out: Regenerated.
14427 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14428 (yn_test_data): Likewise.
14429 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14430 mpfr_if_f.
14431 (func_calc_desc): Add mpfr_if_f union field.
14432 (FUNC_mpfr_if_f): New macro.
14433 (test_functions): Add jn and yn.
14434 (calc_generic_results): Assert type of second input for
14435 mpfr_ff_f. Handle mpfr_if_f.
14436 (output_for_one_input_case): Disable all checking for arguments
14437 fitting floating-point types in case of an integer argument.
14438 * sysdeps/i386/fpu/libm-test-ulps: Update.
14439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14440
23776487
JM
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14442 Don't expect fegetround reference in libm.so.
14443
cb756c6d
MS
144442013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14445
14446 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14447 $(config-cflags-nofma).
14448
2dec468f
JM
144492013-12-18 Joseph Myers <joseph@codesourcery.com>
14450
5953eb3a
JM
14451 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14452 * math/auto-libm-test-out: Regenerated.
14453
2dec468f
JM
14454 [BZ #16338]
14455 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14456 to determine exponent and adjust argument to have exponent of -1.
14457 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14458 log2.
14459 * math/auto-libm-test-out: Regenerated.
14460 * sysdeps/i386/fpu/libm-test-ulps: Update.
14461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14462
4d84e6ad
OB
144632013-12-18 Ondřej Bílka <neleai@seznam.cz>
14464
14465 * manual/probes.texi: Remove cases when per-thread arenas are
14466 disabled.
14467
1818483b
AS
144682013-12-18 Andreas Schwab <schwab@suse.de>
14469
14470 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14471 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14472 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14473 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14474 * sysdeps/i386/i686/multiarch/Makefile: Update.
14475 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14476
25de95bf
JM
144772013-12-17 Joseph Myers <joseph@codesourcery.com>
14478
14479 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14480 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14481
674762d9
PE
144822013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14483
ed27ed83 14484 [BZ #15968]
0748546f
PE
14485 Support TZ transition times < 00:00:00.
14486 This is needed for version-3 tz-format files; it supports time
14487 stamps past 2037 for America/Godthab (the only entry in the tz
14488 database for which this change is relevant).
14489 * manual/time.texi (TZ Variable): Document transition times
14490 from -167:59:59 through -00:00:01.
14491 * time/tzset.c (tz_rule): Time of day is now signed.
14492 (__tzset_parse_tz): Parse negative time of day.
14493
4480e934
PE
14494 Document TZ transition times >= 25:00:00.
14495 * manual/time.texi (TZ Variable): Document transition times from
14496 25:00:00 through 167:59:59. These are already supported, and this
14497 support will help with version-3 tz-format files.
14498
69947401
PE
14499 * manual/time.texi (TZ Variable): Modernize North America example
14500 to reflect current (i.e., 2007-and-later) daylight saving rules.
14501
674762d9
PE
14502 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14503
7011c262
JM
145042013-12-17 Joseph Myers <joseph@codesourcery.com>
14505
2fc6557e
JM
14506 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14507 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14510 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14511 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14512 * sysdeps/unix/bsd/clock.c: Likewise.
14513 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14514 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14515 * sysdeps/unix/bsd/init-posix.c: Likewise.
14516 * sysdeps/unix/bsd/poll.c: Likewise.
14517 * sysdeps/unix/bsd/ptsname.c: Likewise.
14518 * sysdeps/unix/bsd/seekdir.c: Likewise.
14519 * sysdeps/unix/bsd/setegid.c: Likewise.
14520 * sysdeps/unix/bsd/seteuid.c: Likewise.
14521 * sysdeps/unix/bsd/setgid.c: Likewise.
14522 * sysdeps/unix/bsd/setrgid.c: Likewise.
14523 * sysdeps/unix/bsd/setruid.c: Likewise.
14524 * sysdeps/unix/bsd/setsid.c: Likewise.
14525 * sysdeps/unix/bsd/setuid.c: Likewise.
14526 * sysdeps/unix/bsd/sigaction.c: Likewise.
14527 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14528 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14529 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14530 * sysdeps/unix/bsd/telldir.c: Likewise.
14531 * sysdeps/unix/bsd/times.c: Likewise.
14532 * sysdeps/unix/bsd/usleep.c: Likewise.
14533
029c7b25
JM
14534 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14535 ($(objpfx)libbsd-compat.a): Remove rule.
14536
7011c262
JM
14537 * include/features.h (__FAVOR_BSD): Do not define.
14538 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14539 features conflicting with POSIX.
14540 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14541 (_BSD_SOURCE): Remove description of not being a subset of other
14542 feature test macros.
14543 * manual/job.texi (getpgrp): Do not document BSD version.
14544 (getpgid): Do not document by reference to BSD getpgrp.
14545 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14546 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14547 * signal/signal.h [__FAVOR_BSD]: Likewise.
14548 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14549 instead of making contents conditional on [__FAVOR_BSD].
14550 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14551
affb6f78
AZ
145522013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553
14554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14555
c88769dd
JM
145562013-12-17 Joseph Myers <joseph@codesourcery.com>
14557
6432a540
JM
14558 [BZ #16314]
14559 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14560 values below 2**-450, not 2**-500.
14561 * math/auto-libm-test-in: Don't allow spurious underflow from
14562 hypot.
14563 * math/auto-libm-test-out: Regenerated.
14564
c88769dd
JM
14565 [BZ #16316]
14566 [BZ #16330]
14567 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14568 values of ha and hb and sort them after adjusting subnormal
14569 arguments.
14570 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14571 Likewise.
14572 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14573 values of ea and eb and sort them after adjusting subnormal
14574 arguments.
14575 * math/auto-libm-test-in: Do not expect some hypot tests of
14576 subnormals to fail. Add more hypot tests.
14577 * math/auto-libm-test-out: Regenerated.
14578
29618f6b
KK
145792013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14580
14581 [BZ #13304]
14582 * sysdeps/sh/s_fma.c: New file.
14583 * sysdeps/sh/s_fmaf.c: New file.
14584 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14585 version.
14586 * sysdeps/sh/Implies: Add sh/soft-fp.
14587
eacfdfbf
RM
145882013-12-16 Roland McGrath <roland@hack.frob.com>
14589
14590 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14591 level of indirection to members `objname', `errstring', `malloced'.
14592 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14593 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14594 it as the __longjmp argument (just pass 1 instead).
14595 (_dl_catch_error): Initialize C with argument pointers and address of
14596 volatile local ERRCODE rather than copying values out of C at return.
14597
ff362e5b
JM
145982013-12-16 Joseph Myers <joseph@codesourcery.com>
14599
14600 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14601 * math/auto-libm-test-out: Regenerated.
14602 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14603 (hypot_test_data): Likewise.
14604 (pow_test_data): Likewise.
14605 (pow_tonearest_test_data): Likewise.
14606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14607 mpfr_ff_f.
14608 (func_calc_desc): Add mpfr_ff_f union field.
14609 (FUNC_mpfr_ff_f): New macro.
14610 (test_functions): Add atan2, hypot and pow.
14611 (special_fill_min): New function.
14612 (special_fill_minus_min): Likewise.
14613 (special_fill_min_subnorm): Likewise.
14614 (special_fill_minus_min_subnorm): Likewise.
14615 (special_real_inputs): Add min, -min, min_subnorm and
14616 -min_subnorm.
14617 (calc_generic_results): Handle mpfr_ff_f.
14618 * sysdeps/i386/fpu/libm-test-ulps: Update.
14619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14620
5764c27f
WN
146212013-12-16 Will Newton <will.newton@linaro.org>
14622
14623 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14624 (Aligned Memory Blocks): Add documentation for aligned_alloc
14625 and suggest it as an alternative to posix_memalign.
14626 (Hooks for Malloc): Document __memalign_hook is also called
14627 for aligned_alloc. (Summary of Malloc): Add summary for
14628 aligned alloc. Document __memalign_hook is also called
14629 for aligned_alloc.
14630
0a096e44
WN
146312013-12-16 Will Newton <will.newton@linaro.org>
14632
14633 * manual/memory.texi (Malloc Examples): Clarify default
14634 alignment documentation. Suggest posix_memalign rather
14635 than memalign or valloc.
14636 (Aligned Memory Blocks): Remove suggestion to use memalign
14637 or valloc. Remove obsolete comment about BSD.
14638 Document memalign errno values and mark the function obsolete.
14639 Document posix_memalign returned error codes. Mark valloc
14640 as obsolete. (Hooks for Malloc): __memalign_hook is also
14641 called for posix_memalign and valloc.
14642 (Summary of Malloc): Add posix_memalign to function summary.
14643 __memalign_hook is also called for posix_memalign and valloc.
14644
8d561986
SP
146452013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14646
14647 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14648 TAYLOR_SIN.
14649 (__sin): Adjust.
14650 (__cos): Likewise.
14651 (sloww): Use mynumber union. Expand ternary operator into
14652 if-else statements.
14653 (cslow): use mynumber union.
14654
73616a74
AM
146552013-12-16 Allan McRae <allan@archlinux.org>
14656
9e8ac24b
AM
14657 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14658 * configure: Regenerated.
14659
6f8e37eb
AM
14660 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14661
8894bad3
AM
14662 [BZ #14120]
14663 * configure.ac: Added --enable-maintainer-mode. Check for
14664 autoconf when enabled.
14665 * configure: Regenerated.
14666
73616a74
AM
14667 * nscd/nscd.service: New file.
14668 * nscd/nscd.tmpfiles: New file.
14669
584b18eb
OB
146702013-12-14 Ondřej Bílka <neleai@seznam.cz>
14671
14672 [BZ #12100]
14673 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14674 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14675 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14676 (strstr): Add __strstr_sse2_unaligned ifunc.
14677 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14678 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14679 (strcasestr): Remove __strcasestr_sse42 ifunc.
14680 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14681 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14682 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14683
8a5c7897
KK
146842013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14685
14686 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14687 * sysdeps/sh/bits/fenv.h: ... here.
14688 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14689
fd712ef3
AZ
146902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691
14692 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14693
42fcb46c
AZ
14694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14695 hypotf multiarch implementations.
14696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14697 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14698 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14699 multiarch hypot for PPC64.
14700 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14701 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14702 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14703 multiarch hypotf for PPC64.
14704
83efded4
AZ
14705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14706 modff multiarch implementations.
14707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14710 multiarch modf for PPC64.
14711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14714 multiarch modff for PPC64.
14715
43e246d2
AZ
14716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14717 and logl multiarch implementations.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14721 multiarch logb for PPC64.
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14725 multiarch logb for PPC64.
14726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14729 multiarch logb for PPC64.
14730
8fdad123
AZ
14731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14732 isinff multiarch implementation.
14733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14734 file.
14735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14737 multiarch isinf for PPC64.
14738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14739 file.
14740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14741 multiarch isinff for PPC64.
14742
1481d706
AZ
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14744 finitef multiarch implementation.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14746 file.
14747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14749 multiarch finite for PPC64.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14751 file.
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14753 multiarch finitef for PPC64.
14754
5ccd5fc8
AZ
14755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14756 lrint multiarch implementation.
14757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14758 file.
14759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14761 multiarch llrint for PPC64.
14762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14763 multiarch lrint for PPC64.
14764
2568f3fa
AZ
14765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14766 copysignf multiarch implementation.
14767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14768 file.
14769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14770 file.
14771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14772 multiarch copysign for PPC64.
14773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14774 multiarch copysignf for PPC64.
14775
1cb341fd
AZ
14776 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14777 multiarch implementation.
14778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14779 file.
14780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14781 file.
14782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14783 file.
14784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14785 file.
14786 multiarch llround for PPC64.
14787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14788 multiarch trunc for PPC64.
14789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14790 multiarch truncf for PPC64.
14791
59a3e194
AZ
14792 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14793 multiarch implementation.
14794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14795 file.
14796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14797 file.
14798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14799 file.
14800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14801 file.
14802 multiarch llround for PPC64.
14803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14804 multiarch round for PPC64.
14805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14806 multiarch roundf for PPC64.
14807
357fd3b4
AZ
14808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14809 multiarch implementation.
14810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14811 file.
14812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14813 file.
14814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14815 file.
14816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14817 file.
14818 multiarch llround for PPC64.
14819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14820 multiarch floor for PPC64.
14821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14822 multiarch floorf for PPC64.
14823
96770f12
AZ
14824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14825 multiarch implementation.
14826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14827 file.
14828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14829 file.
14830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14831 file.
14832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14833 file.
14834 multiarch llround for PPC64.
14835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14836 multiarch ceil for PPC64.
14837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14838 multiarch ceilf for PPC64.
14839
c3627f6e
AZ
14840 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14841 multiarch implementation.
14842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14843 file.
14844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14845 file.
14846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14847 file.
14848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14849 multiarch llround for PPC64.
14850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14851 multiarch lround for PPC64.
14852
b2284ad7
AZ
14853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14854 multiarch implementation.
14855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14858 file.
14859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14862 multiarch isnan for PPC64.
14863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14864 multiarch isnanf for PPC64.
14865
69bbc63d
AZ
14866 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14867 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14868 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14869 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14870 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14872
c24517c9
AZ
14873 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14874 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14877
a52374e8
AZ
14878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14879 multiarch implementations.
14880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14881 (__libc_ifunc_impl_list): Likewise.
14882 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14883 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14884 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14885 multiarch stpcpy for PPC64.
14886
7f5ec113
AZ
14887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14888 multiarch implementations.
14889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14890 (__libc_ifunc_impl_list): Likewise.
14891 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14892 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14893 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14894 multiarch strcpy for PPC64.
14895
e28bcd42
AZ
14896 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14897 redefine function name.
14898 (_wordcopy_fwd_dest_aligned): Likewise.
14899 (_wordcopy_bwd_aligned): Likewise.
14900 (_wordcopy_bwd_dest_aligned): Likewise.
14901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14902 multiarch implementations.
14903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14904 (__libc_ifunc_impl_list): Likewise.
14905 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14906 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14907 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14908 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14909 multiarch wcscpy for PPC64.
14910
92cacfce
AZ
14911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14912 multiarch implementations.
14913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14914 (__libc_ifunc_impl_list): Likewise.
14915 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14916 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14917 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14918 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14919 multiarch wcscpy for PPC64.
14920
7b714620
AZ
14921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14922 multiarch implementations.
14923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14924 (__libc_ifunc_impl_list): Likewise.
14925 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14926 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14927 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14928 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14929 multiarch wcsrchr for PPC64.
14930
16fd2ae3
AZ
14931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14932 multiarch implementations.
14933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14934 (__libc_ifunc_impl_list): Likewise.
14935 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14936 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14937 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14938 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14939 multiarch wcschr for PPC64.
14940
9ee2969b
AZ
14941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14942 multiarch implementations.
14943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14944 (__libc_ifunc_impl_list): Likewise.
14945 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14946 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14947 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14948 multiarch strchrnul for PPC64.
14949
372dc060
AZ
14950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14951 implementations.
14952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14953 (__libc_ifunc_impl_list): Likewise.
14954 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14955 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14956 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14957 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14958 strchr for PPC64.
14959
24c2c3b9
AZ
14960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14961 implementations.
14962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14963 (__libc_ifunc_impl_list): Likewise.
14964 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14965 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14966 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14967 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14968 strncmp for PPC64.
14969
1c92d9a0
AZ
14970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14971 multiarch implementations.
14972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14973 (__libc_ifunc_impl_list): Likewise.
14974 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14976 strncasecmp for PPC64.
14977 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14978 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14979 multiarch strncasecmp_l for PPC64.
14980
17de3ee3
AZ
14981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14982 multiarch implementations.
14983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14984 (__libc_ifunc_impl_list): Likewise.
14985 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14987 multiarch strcasecmp for PPC64.
14988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14989 file.
14990 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14991 multiarch strcasecmp_l for PPC64.
14992
62982bf9
AZ
14993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14994 implementations.
14995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14996 (__libc_ifunc_impl_list): Likewise.
14997 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14998 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14999 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15000 strnlen for PPC64.
15001
a65f4904
AZ
15002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15003 implementations.
15004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15005 (__libc_ifunc_impl_list): Likewise.
15006 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15007 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15008 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15009 strlen for PPC64.
15010
1fd005ad
AZ
15011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15012 implementations.
15013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15014 (__libc_ifunc_impl_list): Likewise.
15015 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15016 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15017 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15018 rawmemrchr for PPC64.
15019
cd05ba91
AZ
15020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15021 implementation.
15022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15023 (__libc_ifunc_impl_list): Likewise.
15024 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15025 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15026 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15027 memrchr for PPC64.
15028
870f8676
AZ
15029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15030 implementation.
15031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15032 (__libc_ifunc_impl_list): Likewise.
15033 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15034 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15035 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15036 memchr for PPC64.
15037
f00be62b
AZ
15038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15039 implementation.
15040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15041 (__libc_ifunc_impl_list): Likewise.
15042 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15043 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15044 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15045 mempcpy for PPC64.
15046
8a29a3d0
AZ
15047 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15048 avoid cretion of __bzero symbol.
15049 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15050 Likewise.
15051 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15052 Likewise.
15053 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15054 Likewise.
15055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15056 multiarch implementations.
15057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15058 (__libc_ifunc_impl_list): Likewise.
15059 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15060 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15061 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15062 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15063 bzero for PPC32.
15064 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15065 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15066 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15067 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15068 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15069 memset for PPC64.
15070 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15071
07253fcf
AZ
15072 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15074 implementations.
15075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15076 (__libc_ifunc_impl_list): Likewise.
15077 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15078 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15079 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15080 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15081 memcmp for PPC64.
15082
b5beafbc
AZ
15083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15084 multiarch for POWER/PPC64.
15085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15086 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15088 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15089 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15090 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15092 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15093 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15094 memcpy for PPC64.
15095
5e6a4d4b
AZ
15096 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15097 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15098 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15099 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15100 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15101 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15102 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15103 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15104 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15105 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15106 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15107 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15108 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15109 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15110 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15118
ddfab6dc
KK
151192013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15120
15121 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15122
19b5525e
SP
151232013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 * benchtests/Makefile (bench): Add exp2 and log2.
15126 (LDLIBS-bench-exp2): Add -lm.
15127 (LDLIBS-bench-log2): Likewise.
15128 * benchtests/exp2-inputs: New inputs file.
15129 * benchtests/log2-inputs: New inputs file.
15130 * benchtests/log-inputs: Add new inputs.
15131 * benchtests/tan-inputs: Likewise.
15132
196f7f5d
SP
151332013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15134
7a74607f
SP
15135 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15136 definition...
57f41c40
AS
15137 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15138 (csloww2): ... from here.
7a74607f 15139
196f7f5d
SP
15140 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15141 instead of structures.
15142 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15143 (POLYNOMIAL): Likewise.
15144 (TAYLOR_SLOW): Likewise.
15145 (__sin): Likewise.
15146 (__cos): Likewise.
15147 (slow1): Likewise.
15148 (slow2): Likewise.
15149 (sloww): Likewise.
15150 (sloww1); Likewise.
15151 (sloww2): Likewise.
15152 (bsloww1): Likewise.
15153 (bsloww2): Likewise.
15154 (cslow2): Likewise.
15155 (csloww): Likewise.
15156 (csloww1): Likewise.
15157 (csloww2): Likewise.
15158
0dfa665c
OB
151592013-12-10 Ondřej Bílka <neleai@seznam.cz>
15160
15161 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15162 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15163 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15164 * malloc/hooks.c (realloc_check): Likewise.
15165
5782a80f
OB
15166 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15167 * malloc/arena.c: Remove PER_THREAD conditional.
15168 [!PER_THREAD]: Remove code.
15169 (ptmalloc_unlock_all2): Likewise.
15170 (ptmalloc_init): Likewise.
15171 (_int_new_arena): Likewise.
15172 (arena_get2): Likewise.
15173 * malloc/hooks.c (__malloc_get_state): Likewise.
15174 (__malloc_set_state): Likewise.
15175 * malloc/malloc.c: Likewise.
15176 (struct malloc_state): Likewise.
15177 (struct malloc_par): Likewise.
15178 (__libc_realloc): Likewise.
15179 (__libc_mallopt): Likewise.
15180
aeb95445
AZ
151812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15182
15183 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15184
e8349efd
OB
151852013-12-09 Ondřej Bílka <neleai@seznam.cz>
15186
15187 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15188 macro to a function. Check for zero perturb_byte.
15189 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15190
f3eeb3fc 15191 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15192 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15193 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15194 force_reg by atomic_forced_read.
15195 * malloc/arena.c (ptmalloc_init): Likewise.
15196 * malloc/hooks.c (top_check): Likewise.
15197
be2f9009
AZ
151982013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15199
15200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15201
e7b914bd
MT
152022013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15203
15204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15205
9f0be4f8
JM
152062013-12-08 Joseph Myers <joseph@codesourcery.com>
15207
15208 * math/auto-libm-test-in: Add tests of lgamma.
15209 * math/auto-libm-test-out: Regenerated.
15210 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15211 (M_LOG_2_SQRT_PIl): Likewise.
15212 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15213 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15214 mpfr_f_f1.
15215 (func_calc_desc): Add mpfr_f_f1 union field.
15216 (ARGS1): New macro.
15217 (ARGS2): Likewise.
15218 (ARGS3): Likewise.
15219 (ARGS4): Likewise.
15220 (RET1): Likewise.
15221 (RET2): Likewise.
15222 (CALC): Likewise.
15223 (FUNC): Likewise.
15224 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15225 (test_functions): Add lgamma.
15226 (calc_generic_results): Handle mpfr_f_f1.
15227 * sysdeps/i386/fpu/libm-test-ulps: Update.
15228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229
24eeafdb
AZ
152302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15231
15232 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15233 __mpn_add_n for PowerPC64/POWER7.
15234 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15235 __mpn_sub_n for PowerPC64/POWER7.
15236
4a2c0fd4
AZ
15237 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15238 __mpn_addmul_1 for PowerPC64.
15239 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15240 __mpn_submul_1 for PowerPC64.
15241 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15242 for PowerPC64.
15243 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15244 for PowerPC64.
15245
4b5b548c
FS
152462013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15247
15248 [BZ #15089]
15249 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15250
0a3ac0aa
AZ
152512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15252
15253 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15254
ccdc8438
AZ
15255 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15256 add multiarch folders.
15257 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15258 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15259 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15260 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15261 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15262 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15274
2e973d99
AZ
15275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15276 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15278 New file.
15279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15280 New file.
15281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15282 multiarch __ieee754_hypot for PowerPC32.
15283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15284 New file.
15285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15286 New file.
15287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15288 multiarch __ieee754_hypotf for PowerPC32.
15289
2d9470b2
AZ
15290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15291 long_double_symbol only if __logbl is defined.
15292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15293 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15294 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15295 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15297 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15298 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15299 path for implementation.
15300 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15301 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15303 logb, and logbl multiarch implementations for PowerPC32.
15304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15305 file.
15306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15307 file.
15308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15309 multiarch logb for PowerPC32.
15310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15311 file.
15312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15313 file.
15314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15315 multiarch logbf for PowerPC32.
15316 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15318 file.
15319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15320 multiarch logbl implementation for PowerPC32.
15321
5212ffce
AZ
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15323 and modff multiarch implementations.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15325 New file.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15327 New file.
15328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15329 multiarch modf for PowerPC32.
15330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15331 New file.
15332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15333 New file.
15334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15335 multiarch modff for PowerPC32.
15336
79dccf31
AZ
15337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15338 and lrintf multiarch implementations.
15339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15340 New file.
15341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15342 New file.
15343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15344 multiarch lrint for PowerPC32.
15345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15346 file: multiarch lrintf for PowerPC32.
15347
deb66480
AZ
15348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15349 and lroundf multiarch implementations.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15351 New file.
15352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15353 New file.
15354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15355 New file.
15356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15357 multiarch lround for PowerPC32.
15358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15359 file: multiarch lroundf for PowerPC32.
15360
264b036b
AZ
15361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15362 copysign and copysignf multiarch implementations.
15363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15364 New file.
15365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15366 New file.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15368 file: multiarch copysign for PowerPC32.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15370 file: multiarch copysignf for PowerPC32.
15371
d47db6c9
AZ
15372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15373 and truncf multiarch implementations.
15374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15375 New file.
15376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15377 file.
15378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15379 multiarch trunc for PowerPC32.
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15381 New file.
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15383 New file.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15385 multiarch truncf for PowerPC32.
15386
ddb60b5a
AZ
15387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15388 and roundf multiarch implementations.
15389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15390 New file.
15391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15392 file.
15393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15394 multiarch round for PowerPC32.
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15396 New file.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15398 New file.
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15400 multiarch roundf for PowerPC32.
15401
bedcf49b
AZ
15402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15403 and floorf multiarch implementations.
15404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15405 New file.
15406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15407 file.
15408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15409 multiarch floor for PowerPC32.
15410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15411 New file.
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15413 New file.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15415 multiarch floorf for PowerPC32.
15416
35ae5b40
AZ
15417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15418 and ceilf multiarch implementations.
15419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15420 New file.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15422 file.
15423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15424 multiarch ceil for PowerPC32.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15426 New file.
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15428 file.
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15430 multiarch ceilf for PowerPC32.
15431
ae1a4cd9
AZ
15432 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15433 is defined.
15434 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15435 FINITEF is defined.
15436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15437 and finitef multiarch implementations.
15438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15439 New file.
15440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15441 file.
15442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15443 multiarch finite for PowerPC32.
15444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15445 New file.
15446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15447 file: multiarch finitef for PowerPC32.
15448
64fffd65
AZ
15449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15450 and isinff multiarch implementations.
15451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15452 file.
15453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15454 file.
15455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15456 multiarch isinf for PowerPC32.
15457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15458 New file.
15459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15460 multiarch isinff for PowerPC32.
15461
8e4e7ba2
AZ
15462 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15463 alias when __isnan is defined.
15464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15465 and isnanf multiarch implementations.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15467 file.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15469 file.
15470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15471 file.
15472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15473 file.
15474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15475 multiarch isnan for PowerPC32.
15476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15477 New file.
15478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15479 New file.
15480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15481 multiarch isnanf for PowerPC32.
15482
ddba588e
AZ
15483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15484 and sqrtf multiarch implementations.
15485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15486 file.
15487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15488 file.
15489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15490 multiarch sqrt for PowerPC32.
15491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15492 file.
15493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15494 file.
15495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15496 multiarch sqrtf for PowerPC32.
15497
0f96a2f0
AZ
15498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15499 and llroundf multiarch implementations.
15500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15501 New file.
15502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15503 New file.
15504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15505 New file.
15506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15507 file: multiarch llround for PowerPC32.
15508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15509 file: multiarch llroundf for PowerPC32.
15510
c9b5d79e
AZ
15511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15512 multiarch PowerPC32 fpu implementations.
15513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15514 New file.
15515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15516 New file.
15517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15518 multiarch llrint for PowerPC32.
15519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15520 New file.
15521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15522 New file.
15523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15524 file.
15525
9cbb3aab
AZ
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15527
ea5a72f8
AZ
15528 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15529 file.
15530 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15531 file.
15532 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15533 file.
15534 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15535 multiarch wordcopy for PPC32.
15536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15537 wordcopy objects.
15538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15539 (__libc_ifunc_impl_list): Likewise.
15540 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15541 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15542 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15543 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15544 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15545 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15546
93be09e7
AZ
15547 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15549 file.
15550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15551 file.
15552 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15553 file.
15554 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15555 multiarch wcscpy for PPC32.
15556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15557 multiarch objects.
15558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15559 (__libc_ifunc_impl_list): Likewise.
15560 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15561 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15562 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15563 sysdeps/powerpc/power6/wcscpy.c.
15564
bb04e529
AZ
15565 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15566 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15567 file.
15568 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15569 file.
15570 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15571 file.
15572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15573 multiarch wcsrchr for PPC32.
15574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15575 multiarch objects.
15576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15577 (__libc_ifunc_impl_list): Likewise.
15578 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15579 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15580 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15581 sysdeps/powerpc/power6/wcsrchr.c.
15582
05b5cd1c
AZ
15583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15584 file.
15585 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15586 file.
15587 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15588 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15589 multiarch wcschr for PPc32.
15590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15591 multiarch objects.
15592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15593 (__libc_ifunc_impl_list): Likewise.
15594 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15595 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15596 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15597 sysdeps/powerpc/power6/wcschr.c.
15598
ba964147
AZ
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15600 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15601 file.
15602 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15603 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15604 file: multiarch strchr for PPC32.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15606 multiarch objects.
15607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15608 (__libc_ifunc_impl_list): Likewise.
15609
31c81aaa
AZ
15610 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15611 name.
15612 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15613 file.
15614 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15615 file.
15616 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15617 multiarch strchrnul for PPC32.
15618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15619 multiarch objects.
15620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15621 (__libc_ifunc_impl_list): Likewise.
15622
0d0607d9
AZ
15623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15624 file.
15625 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15626 multiarch strncasecmp for PPC32.
15627 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15628 file.
15629 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15630 multiarch strncasecmp_l for PPC32.
15631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15632 strncasecmp multiarch objects.
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15634 (__libc_ifunc_impl_list): Likewise.
15635
4dfd5c86
AZ
15636 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15637 file.
15638 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15639 multiarch strncasecmp for PPC32.
15640 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15641 New file.
15642 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15643 multiarch strcasecmp_l for PPC32.
15644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15645 multiarch objects.
15646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15647 (__libc_ifunc_impl_list): Likewise.
15648
a19e01a3
AZ
15649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15650 file.
15651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15652 file.
15653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15654 multiarch strncmp for PPC32.
15655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15656 multiarch objects.
15657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15658 (__libc_ifunc_impl_list): Likewise.
15659
ae9cf7a2
AZ
15660 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15661 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15662 file.
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15664 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15665 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15666 multiarch objects.
15667 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15668 (__libc_ifunc_impl_list): Likewise.
15669
3148bb7d
AZ
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15671 file.
15672 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15673 file.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15676 multiarch objects.
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15678 (__libc_ifunc_impl_list): Likewise.
15679
7af8b946
AZ
15680 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15681 file.
15682 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15683 file.
15684 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15685 multiarch rawmemchr for PPC32.
15686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15687 multiarch objects.
15688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15689 (__libc_ifunc_impl_list): Likewise.
15690
03a6aa6a
AZ
15691 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15692 file.
15693 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15694 file.
15695 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15696 file: memrchr multiarch for PPC32.
15697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15698 multiarch objects.
15699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15700 (__libc_ifunc_impl_list): Likewise.
15701
1c62e6d9
AZ
15702 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15703 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15704 file.
15705 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15706 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15707 multiarch memchr for PPC32.
15708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15709 multiarch objects.
15710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15711 (__libc_ifunc_impl_list): Likewise.
15712
87da8bdb
AZ
15713 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15714 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15715 file.
15716 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15717 file.
15718 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15719 file: multiarch mempcpy for PPC32.
15720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15721 multiarch objects.
15722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15723 (__libc_ifunc_impl_list): Likewise.
15724
20ed4714
AZ
15725 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15726 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15727 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15728 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15729 multiarch bzero for PPC32.
15730 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15731 file.
15732 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15733 file.
15734 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15735 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15736 file: multiarch memset for PPC32.
15737 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15739 memset multiarch objects.
15740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15741 (__libc_ifunc_impl_list): Likewise.
15742
ab3e3a46
AZ
15743 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15744 file.
15745 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15746 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15747 memcmp for PPC32.
15748 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15750 multiarch objects.
15751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15752 (__libc_ifunc_impl_list): Likewise.
15753
930de6f0
AZ
15754 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15755 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15756 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15757 file.
15758 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15759 file.
15760 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15761 file.
15762 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15763 multiarch memcpy for PPC32.
15764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15765 multiarch objects.
15766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15767 (__libc_ifunc_impl_list): Likewise.
15768
4c628e00
AZ
15769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15770 support multiarch for POWER/PPC32.
15771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15772 Likewise.
15773 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15775 Implies file to make multiarch folder appers before the fpu and
15776 default folder for power4 configuration.
15777
f4479220
SP
157782013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15779
15780 * scripts/bench.pl: Append volatile keyword to type.
15781
8517800f
KK
157822013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15783
15784 * sysdeps/sh/sotruss-lib.c: New file.
15785 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15786
180138f1
AZ
157872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788
15789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15790
bbf37bdc
JM
157912013-12-05 Joseph Myers <joseph@codesourcery.com>
15792
e47cc4e0
JM
15793 [BZ #6810]
15794 * math/w_tgamma.c: Include <errno.h>.
15795 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15796 * math/w_tgammaf.c: Include <errno.h>.
15797 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15798 * math/w_tgammal.c: Include <errno.h>.
15799 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15800 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15801 underflow. Add more tgamma tests.
15802 * math/auto-libm-test-out: Regenerated.
15803 * sysdeps/i386/fpu/libm-test-ulps: Update.
15804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15805
bbf37bdc
JM
15806 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15807 sin, sinh, tan, tanh, tgamma, y0 and y1.
15808 * math/auto-libm-test-out: Regenerated.
15809 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15810 (TEST_COND_x86): Likewise.
15811 (M_E2l): Remove macro.
15812 (M_E3l): Likewise.
15813 (M_2_SQRT_PIl): Likewise.
15814 (M_SQRT_PIl): Likewise.
15815 (M_1_DIV_El): Likewise.
15816 (log_test_data): Use AUTO_TESTS_f_f.
15817 (log10_test_data): Likewise.
15818 (log1p_test_data): Likewise.
15819 (log2_test_data): Likewise.
15820 (sin_test_data): Likewise.
15821 (sin_tonearest_test_data): Likewise.
15822 (sin_towardzero_test_data): Likewise.
15823 (sin_downward_test_data): Likewise.
15824 (sin_upward_test_data): Likewise.
15825 (sinh_test_data): Likewise.
15826 (sinh_tonearest_test_data): Likewise.
15827 (sinh_towardzero_test_data): Likewise.
15828 (sinh_downward_test_data): Likewise.
15829 (sinh_upward_test_data): Likewise.
15830 (tan_test_data): Likewise.
15831 (tan_tonearest_test_data): Likewise.
15832 (tan_towardzero_test_data): Likewise.
15833 (tan_downward_test_data): Likewise.
15834 (tan_upward_test_data): Likewise.
15835 (tanh_test_data): Likewise.
15836 (tgamma_test_data): Likewise.
15837 (y0_test_data): Likewise.
15838 (y1_test_data): Likewise.
15839 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15840 (special_real_inputs): Add pi/4.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15843
eb5ad6b9
AZ
158442013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
15846 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15847 "longjmp_target" static probes.
15848 (__longjmp): Rename to __longjmp_symbol.
15849 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15850 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15851 on which longjmp to generate.
15852 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15853 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15854 probe.
15855 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15856 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15857 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15858 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15859 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15860 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15862 __longjmp_symbol based on which __longjmp to generate.
15863 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15864 probe.
15865 (setjmp): Rename to setjmp_symbol.
15866 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15867 (_setjmp): Rename to _setjmp_symbol.
15868 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15869 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15870 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15871 which setjmp to generate.
15872 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15873 "longjmp_target" static probes.
15874
d136c6dc
SP
158752013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15876
9298ecba
SP
15877 * benchtests/README: Add note about output arguments.
15878 * benchtests/bench-sincos.c: Remove file.
15879 * benchtests/sincos-inputs: New file.
15880 * scripts/bench.pl: Identify output arguments and define
15881 static variables for them.
15882
232983e9
SP
15883 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15884
d136c6dc
SP
15885 [BZ #15941]
15886 * Makefile (INSTALL): Add install-plain.texi as the primary
15887 dependency.
15888 * manual/install-plain.texi: New file.
15889 * manual/install.texi: Include node directive only for
15890 non-plaintext output.
15891
699ff837
JM
158922013-12-04 Joseph Myers <joseph@codesourcery.com>
15893
ab07cea8
JM
15894 * stdlib/longlong.h: Update from GCC.
15895
699ff837
JM
15896 [BZ #6807]
15897 [BZ #15901]
15898 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15899 * math/w_j0f.c (y0f): Likewise.
15900 * math/w_j0l.c (__y0l): Likewise.
15901 * math/w_j1.c (y1): Likewise.
15902 * math/w_j1f.c (y1f): Likewise.
15903 * math/w_j1l.c (__y1l): Likewise
15904 * math/w_jn.c (yn): Likewise.
15905 * math/w_jnf.c (ynf): Likewise.
15906 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15907 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15908 value for Bessel function domain errors outside _SVID_ mode.
15909 Adjust sign of return value for yn (negative integer, 0).
15910 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15911 by zero in return for negative x and set sign appropriately for
15912 negative n.
15913 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15914 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15915 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15916 expectations in error cases.
15917 (y1_test_data): Likewise.
15918 (yn_test_data): Likewise.
15919 * sysdeps/i386/fpu/libm-test-ulps: Update.
15920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15921
5b118558
UW
159222013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15923
15924 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15925 "64" to "64-v1". Add "64-v2".
15926 (abi-64-options): Rename to ...
15927 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15928 (abi-64-condition): Rename to ...
15929 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15930 (abi-64-ld-soname): Rename to ...
15931 (abi-64-v1-ld-soname): ... this.
15932 (abi-64-v2-options): Define.
15933 (abi-64-v2-condition): Likewise.
15934 (abi-64-v2-ld-soname): Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15936 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15940
61cd8fe4
UW
159412013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15942 Alan Modra <amodra@gmail.com>
15943
15944 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15945 New versions for use with the ELFv2 ABI.
15946 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15947 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15948 declaration.
15949 (struct La_ppc64v2_retval): Likewise.
15950 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15951 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15952 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15953 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15954 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15955 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15956 Do not save or restore CR.
15957 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15958 (_dl_profile_resolve): Do no save or restore CR. Support extended
15959 return values for ELFv2 ABI. Fix location of FPR return registers.
15960 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15961 updated values for _CALL_ELF == 2.
15962 (La_regs, La_retval, int_retval): Likewise.
15963
8b8a692c
UW
159642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15965
15966 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15967 (FRAME_MIN_SIZE_PARM): Likewise.
15968 (FRAME_BACKCHAIN): Likewise.
15969 (FRAME_CR_SAVE): Likewise.
15970 (FRAME_LR_SAVE): Likewise.
15971 (FRAME_TOC_SAVE): Likewise.
15972 (FRAME_PARM_SAVE): Likewise.
15973 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15974 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15975 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15976 (call_mcount_parm_offset): New macro.
15977 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15978 (PROF): Use symbolic stack frame offsets.
15979 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15980 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15981 Redefine in terms of FRAME_MIN_SIZE.
15982 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15983 (_dl_profile_resolve): Likewise. Update comment.
15984 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15985 symbols stack frame offsets.
15986 (__sigsetjmp): Likewise.
15987 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15988 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15989 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15990 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15991
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15993 (FRAME_BACKCHAIN): Remove.
15994 (FRAME_CR_SAVE): Likewise.
15995 (FRAME_LR_SAVE): Likewise.
15996 (FRAME_COMPILER_DW): Likewise.
15997 (FRAME_LINKER_DW): Likewise.
15998 (FRAME_TOC_SAVE): Likewise.
15999 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16000 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16001 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16002 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16004 (CHECK_SP): Use symbolic stack frame offsets.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16006 zone" instead of caller's parameter save area for temp storage.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16008 Likewise. Also, use symbolic stack frame offsets.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16010 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16011 our own stack frame instead of the caller's.
16012 (__socket): Use symbolic stack frame offsets.
16013
122b66de
UW
160142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16015 Alan Modra <amodra@gmail.com>
16016
16017 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16018 Define.
57f41c40
AS
16019 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16020 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16021 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16022 New function.
16023 (elf_machine_fixup_plt): Call it.
16024 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16025 reloc arguments.
16026 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16028 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16029 r2 before calling target.
16030
696caf1d
UW
160312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16032 Alan Modra <amodra@gmail.com>
16033
16034 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16035 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16036 versions of macros to support ELFv2 ABI.
16037 (LOCALENTRY): New macro.
16038 (ENTRY, EALIGN): Use it.
16039 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16040 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16041 fall through into ENTRY entry point.
16042 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16043 Only define if _CALL_ELF != 2.
16044
16045 (elf_machine_matches_host): Verify ABI version matches.
16046 (RTLD_START): Use LOCALENTRY.
16047 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16048 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16049 (PLT_ENTRY_WORDS): New macro.
16050 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16051 (elf_machine_runtime_setup): Support ELFv2 ABI.
16052 (elf_machine_fixup_plt): Likewise.
16053 (elf_machine_plt_conflict): Likewise.
16054 (resolve_ifunc): Likewise.
16055 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16056 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16057 Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16059 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16061 (makecontext): Support ELFv2 ABI.
16062 * elf/elf.h (EF_PPC64_ABI): Define.
16063
d31beafa
UW
160642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16065
57f41c40
AS
16066 * sysdeps/powerpc/powerpc64/sysdep.h
16067 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16068 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16069 (ENTRY) [ASSEMBLER]: ... but instead here ...
16070 (EALIGN) [ASSEMBLER]: ... and here.
16071 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16072 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16073 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16074 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16075 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16076 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16077 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16078 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16080 Use PPC64_LOAD_FUNCPTR.
16081
b525166b
UW
16082 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16083
7ec07d9a
AM
160842013-12-04 Alan Modra <amodra@gmail.com>
16085
16086 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16087 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16088 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16089 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16090
16091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16092 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16093 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16094 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16095 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16096 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16097
5162e7dd
UW
160982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16099
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16101 (__makecontext): Fix incorrect CFI when backtracing out of
16102 context created via makecontext.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16104 (__setcontext): Fix incorrect CFI during switch to new context.
16105 (__novec_setcontext): Likewise.
16106
19e3372b
OB
161072013-12-04 Ondřej Bílka <neleai@seznam.cz>
16108
16109 [BZ #4772]
16110 * time/strptime_l.c (__strptime_internal): Allow modifiers
16111 in strptime.
16112 * time/tst-strptime.c (day_tests): Add testcase.
16113
ecaf142d
SP
161142013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16115
16116 * scripts/bench.pl: Skip over blank lines.
16117
fbf964ae
PE
161182013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16119
16120 [BZ #926]
16121 * manual/time.texi (Calendar Time): Clarify what timezone functions
16122 use.
16123
fa60a674
AZ
161242013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16125
16126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16127
d674f0ef
OB
161282013-12-04 Ondřej Bílka <neleai@seznam.cz>
16129
16130 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16131 implementation.
16132 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16133 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16134 * debug/memset_chk.c (__memset_chk): Likewise.
16135 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16136 * debug/strncpy_chk.c: Likewise.
16137
17dea188
JM
161382013-12-03 Joseph Myers <joseph@codesourcery.com>
16139
749008ff
JM
16140 [BZ #15268]
16141 [BZ #15425]
16142 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16143 (__ieee754_exp): For possibly underflowing results, check size of
16144 result and force underflow exception if required.
16145 * math/auto-libm-test-in: Add more tests of exp.
16146 * math/auto-libm-test-out: Regenerated.
16147 * sysdeps/i386/fpu/libm-test-ulps: Update.
16148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16149
17dea188
JM
16150 [BZ #16283]
16151 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16152 * math/w_exp2f.c (__exp2f): Likewise.
16153 * math/w_exp2l.c (__exp2l): Likewise.
16154 * math/auto-libm-test-in: Do not allow missing errno on exp2
16155 underflow.
16156 * math/auto-libm-test-out: Regenerated.
16157
b20de2c3
OB
161582013-12-03 Ondřej Bílka <neleai@seznam.cz>
16159
16160 [BZ #16274]
16161 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16162 handle filename validation.
16163 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16164 (do_open): Delete.
16165
d8e2dbe3
JM
161662013-12-03 Joseph Myers <joseph@codesourcery.com>
16167
34e16df5
JM
16168 [BZ #6786]
16169 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16170 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16171 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16172 <float.h>.
16173 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16174 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16175 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16177 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16178 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16179 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16180 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16181 Add more erfc tests.
16182 * math/auto-libm-test-out: Regenerated.
16183 * sysdeps/i386/fpu/libm-test-ulps: Update.
16184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16185
d8e2dbe3
JM
16186 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16187 exp2, expm1, j0 and j1.
16188 * math/auto-libm-test-out: Regenerated.
16189 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16190 (erfc_test_data): Likewise.
16191 (exp_test_data): Likewise.
16192 (exp_tonearest_test_data): Likewise.
16193 (exp_towardzero_test_data): Likewise.
16194 (exp_downward_test_data): Likewise.
16195 (exp_upward_test_data): Likewise.
16196 (exp10_test_data): Likewise.
16197 (exp2_test_data): Likewise.
16198 (expm1_test_data): Likewise.
16199 (j0_test_data): Likewise.
16200 (j1_test_data): Likewise.
16201 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16202 (input_flag_type): Add flag_xfail_rounding.
16203 (input_flags): Add xfail-rounding.
16204 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16205 (output_for_one_input_case): Handle flag_xfail_rounding.
16206 * sysdeps/i386/fpu/libm-test-ulps: Update.
16207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16208
18d14251
AJ
162092013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16210
3d2e6075 16211 [BZ #16289]
18d14251
AJ
16212 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16213 division by 0.
16214
520d437b
SP
162152013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16216
16217 [BZ #16195]
16218 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16219 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16220 (STAP_PROBE0): New macro.
16221 (STAP_PROBE1): Likewise.
16222 (STAP_PROBE2): Likewise.
16223 (STAP_PROBE3): Likewise.
16224 (STAP_PROBE4): Likewise.
16225
416e0145
OB
162262013-12-02 Ondřej Bílka <neleai@seznam.cz>
16227
16228 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16229
9d17796a
SE
162302013-12-02 Steve Ellcey <sellcey@mips.com>
16231
16232 * benchtests/Makefile (bench): Add sqrt.
16233 (LDLIBS-bench-sqrt): New.
16234 * benchtests/sqrt-input: New.
16235
f524d6a8
PS
162362013-12-02 Pavel Simerda <psimerda@redhat.com>
16237
639a0ef8
PS
16238 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16239 (GAIH_EAI): Likewise.
16240 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16241 (gaih_inet): Likewise.
16242 (getaddrinfo): Don't use GAIH_EAI.
16243
f524d6a8
PS
16244 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16245 (struct gaih): Remove definition.
16246
df3aedaf
SP
162472013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16248
16249 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16250 Use HERRNOP directly.
16251
1ab19dec
AZ
162522013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16253
b42ad38d 16254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16255
176b0c79
JM
162562013-11-30 Joseph Myers <joseph@codesourcery.com>
16257
16258 * math/gen-auto-libm-tests.c (test_functions): Add more
16259 single-argument functions.
16260 (special_fill_pi_2): New function.
16261 (special_fill_minus_pi_2): Likewise.
16262 (special_fill_pi_6): Likewise.
16263 (special_fill_minus_pi_6): Likewise.
16264 (special_fill_pi_3): Likewise.
16265 (special_fill_2pi_3): Likewise.
16266 (special_fill_e): Likewise.
16267 (special_fill_1_e): Likewise.
16268 (special_fill_e_minus_1): Likewise.
16269 (special_real_inputs): Add more special inputs.
16270 (output_for_one_input_case): Do not require ERANGE on underflow to
16271 zero if round-to-nearest result does not underflow to zero, unless
16272 exact results required.
16273 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16274 atan, atanh, cbrt, cos and cosh.
16275 * math/auto-libm-test-out: Regenerated.
16276 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16277 (acos_tonearest_test_data): Likewise.
16278 (acos_towardzero_test_data): Likewise.
16279 (acos_downward_test_data): Likewise.
16280 (acos_upward_test_data): Likewise.
16281 (acosh_test_data): Likewise.
16282 (asin_test_data): Likewise.
16283 (asin_tonearest_test_data): Likewise.
16284 (asin_towardzero_test_data): Likewise.
16285 (asin_upward_test_data): Likewise.
16286 (asinh_test_data): Likewise.
16287 (atan_test_data): Likewise.
16288 (atanh_test_data): Likewise.
16289 (cbrt_test_data): Likewise.
16290 (cos_test_data): Likewise.
16291 (cos_tonearest_test_data): Likewise.
16292 (cos_towardzero_test_data): Likewise.
16293 (cos_downward_test_data): Likewise.
16294 (cos_upward_test_data): Likewise.
16295 (cosh_test_data): Likewise.
16296 (cosh_tonearest_test_data): Likewise.
16297 (cosh_towardzero_test_data): Likewise.
16298 (cosh_downward_test_data): Likewise.
16299 (cosh_upward_test_data): Likewise.
16300 * sysdeps/i386/fpu/libm-test-ulps: Update.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302
ffb536d0
JM
163032013-11-29 Joseph Myers <joseph@codesourcery.com>
16304
2a77a467
JM
16305 [BZ #6787]
16306 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16307 * math/w_exp10f.c (__exp10f): Likewise.
16308 * math/w_exp10l.c (__exp10l): Likewise.
16309 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16310 errno settings in existing tests.
16311
ea3bc4e8
JM
16312 [BZ #14032]
16313 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16314 precision control set to double precision.
16315 * sysdeps/i386/fpu/w_sqrt.c: New file.
16316 * math/auto-libm-test-in: Add more tests.
16317 * math/auto-libm-test-out: Update.
16318
0712c9d8
JM
16319 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16320 (sqrt_test_tonearest): New function.
16321 (sqrt_towardzero_test_data): New variable.
16322 (sqrt_test_towardzero): New function.
16323 (sqrt_downward_test_data): New variable.
16324 (sqrt_test_downward): New function.
16325 (sqrt_upward_test_data): New variable.
16326 (sqrt_test_upward): New function.
16327 (main): Call the new functions.
16328
ffb536d0
JM
16329 * math/gen-auto-libm-tests.c: New file.
16330 * math/auto-libm-test-in: Likewise.
16331 * math/auto-libm-test-out: New generated file.
16332 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16333 variables.
16334 (%beautify): Add generated representations of zero.
16335 (top level): Set $auto_input and call parse_auto_input.
16336 (beautify): Remove trailing "f" from hex float constants.
16337 (parse_args): Handle XFAIL_TEST.
16338 (convert_condition): New function.
16339 (or_value): Likewise.
16340 (or_cond_value): Likewise.
16341 (generate_testfile): Handle AUTO_TESTS_* lines.
16342 (parse_auto_input): New function.
16343 * math/libm-test.inc (XFAIL_TEST): New macro.
16344 (ERRNO_UNCHANGED): Update value.
16345 (ERRNO_EDOM): Likewise.
16346 (ERRNO_ERANGE): Likewise.
16347 (IGNORE_RESULT): Likewise.
16348 (TEST_COND_flt_32): New macro.
16349 (TEST_COND_dbl_64): Likewise.
16350 (TEST_COND_ldbl_96_intel): Likewise.
16351 (TEST_COND_ldbl_96_m68k): Likewise.
16352 (TEST_COND_ldbl_128): Likewise.
16353 (TEST_COND_ldbl_128ibm): Likewise.
16354 (TEST_COND_long32): Likewise.
16355 (TEST_COND_long64): Likewise.
16356 (TEST_COND_before_rounding): Likewise.
16357 (TEST_COND_after_rounding): Likewise.
16358 (enable_test): Handle XFAIL_TEST flag.
16359 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16360 with finite results.
16361 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16362 auto-libm-test-out.
16363
acd98a8e
AK
163642013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16365 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16366
16367 [BZ #16214]
16368 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16369 __tls_get_addr_internal instead of __tls_get_offset in order to
16370 avoid GOT pointer dependency. Make rtld export
16371 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16372 __tls_get_addr since we are a __tls_get_offset platform.
16373 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16374 GOT pointer being set up before.
16375 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16376
3c1c46a6
JM
163772013-11-28 Joseph Myers <joseph@codesourcery.com>
16378
7475aef5
JM
16379 * manual/math.texi (Errors in Math Functions): Document accuracy
16380 goals.
16381
8bca7cd8
JM
16382 [BZ #15004]
16383 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16384 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16399
91a1f3fe
JM
16400 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16401 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16402 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16403 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16404 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16405 Likewise.
16406 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16407 Likewise.
16408 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16409 Likewise.
16410 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16411 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16412 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16413 atomic-feupdateenv and flt-rounds.
16414 * sysdeps/powerpc/nofpu/Versions (libc): Add
16415 __atomic_feholdexcept, __atomic_feclearexcept,
16416 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16417 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16418 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16419 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16420 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16421 here.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16423 Update.
16424
c5df7609
JM
16425 * manual/arith.texi (FP Exceptions): Document that exceptions may
16426 not be raised when matherr is used.
16427 (Math Error Reporting): Document overflow in directed rounding
16428 modes. Document that errno may not be set when finite values are
16429 returned on overflow. Document intent to set errno on underflow
16430 only for underflow to zero.
16431
3c1c46a6
JM
16432 [BZ #16271]
16433 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16434 round-to-nearest then adjust result for other rounding modes.
16435 * include/fenv.h (fegetround): Use libm_hidden_proto.
16436 * math/fegetround.c (fegetround): Use libm_hidden_def.
16437 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16438 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16439 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16440 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16441 Likewise.
16442 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16444 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16445 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16446
5a4c6d53
SP
164472013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16448
16449 [BZ #16077]
16450 * nss/Versions (libnss_files): Add
16451 _nss_files_gethostbyname3_r.
16452 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16453 New function.
16454 (HOST_DB_LOOKUP): Remove macro.
16455 (_nss_files_gethostbyname_r): Implement function without the
16456 HOST_DB_LOOKUP macro.
16457 (_nss_files_gethostbyname2_r): Likewise.
16458
897b98ba
OB
164592013-11-28 Ondřej Bílka <neleai@seznam.cz>
16460
16461 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16462
6f476861
UB
164632013-11-26 Uros Bizjak <ubizjak@gmail.com>
16464
16465 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16466 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16467 warning.
16468
bd12ab55
AZ
164692013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16470
16471 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16472 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16473 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16474 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16475 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16476 __fe_nomask_env_priv and attribute_hidden.
16477 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16478 (libc_feupdateenv_test_ppc): Likewise.
16479 (libc_feresetround_ppc): Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16481 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16482 compat_symbol macro.
16483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16484 (__fe_nomask_env): Likewise.
16485 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16486
52bb6543
OB
164872013-11-26 Ondřej Bílka <neleai@seznam.cz>
16488
16489 * string/Makefile: Remove ifunc tests.
16490 * string/test-string.h: Define TEST_IFUNC.
16491 * string/test-bcopy-ifunc.c: Remove.
16492 * string/test-bzero-ifunc.c: Likewise.
16493 * string/test-memccpy-ifunc.c: Likewise.
16494 * string/test-memchr-ifunc.c: Likewise.
16495 * string/test-memcmp-ifunc.c: Likewise.
16496 * string/test-memcpy-ifunc.c: Likewise.
16497 * string/test-memmem-ifunc.c: Likewise.
16498 * string/test-memmove-ifunc.c: Likewise.
16499 * string/test-mempcpy-ifunc.c: Likewise.
16500 * string/test-memrchr-ifunc.c: Likewise.
16501 * string/test-memset-ifunc.c: Likewise.
16502 * string/test-rawmemchr-ifunc.c: Likewise.
16503 * string/test-stpcpy-ifunc.c: Likewise.
16504 * string/test-stpncpy-ifunc.c: Likewise.
16505 * string/test-strcasecmp-ifunc.c: Likewise.
16506 * string/test-strcasestr-ifunc.c: Likewise.
16507 * string/test-strcat-ifunc.c: Likewise.
16508 * string/test-strchr-ifunc.c: Likewise.
16509 * string/test-strchrnul-ifunc.c: Likewise.
16510 * string/test-strcmp-ifunc.c: Likewise.
16511 * string/test-strcpy-ifunc.c: Likewise.
16512 * string/test-strcspn-ifunc.c: Likewise.
16513 * string/test-strlen-ifunc.c: Likewise.
16514 * string/test-strncasecmp-ifunc.c: Likewise.
16515 * string/test-strncat-ifunc.c: Likewise.
16516 * string/test-strncmp-ifunc.c: Likewise.
16517 * string/test-strncpy-ifunc.c: Likewise.
16518 * string/test-strnlen-ifunc.c: Likewise.
16519 * string/test-strpbrk-ifunc.c: Likewise.
16520 * string/test-strrchr-ifunc.c: Likewise.
16521 * string/test-strspn-ifunc.c: Likewise.
16522 * string/test-strstr-ifunc.c: Likewise.
16523
ab260039 165242013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16525
16526 * benchtests/Makefile: Remove ifunc tests.
16527 * benchtests/bench-string.h: Define TEST_IFUNC.
16528 * benchtests/bench-bcopy-ifunc.c: Remove.
16529 * benchtests/bench-bzero-ifunc.c: Likewise.
16530 * benchtests/bench-memccpy-ifunc.c: Likewise.
16531 * benchtests/bench-memchr-ifunc.c: Likewise.
16532 * benchtests/bench-memcmp-ifunc.c: Likewise.
16533 * benchtests/bench-memcpy-ifunc.c: Likewise.
16534 * benchtests/bench-memmem-ifunc.c: Likewise.
16535 * benchtests/bench-memmove-ifunc.c: Likewise.
16536 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16537 * benchtests/bench-memrchr-ifunc.c: Likewise.
16538 * benchtests/bench-memset-ifunc.c: Likewise.
16539 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16540 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16541 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16542 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16543 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16544 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16545 * benchtests/bench-strcat-ifunc.c: Likewise.
16546 * benchtests/bench-strchr-ifunc.c: Likewise.
16547 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16548 * benchtests/bench-strcmp-ifunc.c: Likewise.
16549 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16550 * benchtests/bench-strcpy-ifunc.c: Likewise.
16551 * benchtests/bench-strcspn-ifunc.c: Likewise.
16552 * benchtests/bench-strlen-ifunc.c: Likewise.
16553 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16554 * benchtests/bench-strncat-ifunc.c: Likewise.
16555 * benchtests/bench-strncmp-ifunc.c: Likewise.
16556 * benchtests/bench-strncpy-ifunc.c: Likewise.
16557 * benchtests/bench-strnlen-ifunc.c: Likewise.
16558 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16559 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16560 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16561 * benchtests/bench-strspn-ifunc.c: Likewise.
16562 * benchtests/bench-strstr-ifunc.c: Likewise.
16563
165642013-11-26 Ondřej Bílka <neleai@seznam.cz>
16565
ab260039
OB
16566 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16567
d1d9eaf4 165682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16569
d1d9eaf4
OB
16570 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16571 * rt/aio.h: Likewise.
16572 * sysdeps/gnu/bits/utmp.h: Likewise.
16573 * sysdeps/gnu/bits/utmpx.h: Likewise.
16574 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16575 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16576 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16577 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16578 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16579 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16580 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16581 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16582 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16583 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16584 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16585 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16586 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16588 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16589 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16591 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16592 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16593 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16594 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16595 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16596 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16597 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16598 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16601 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16603 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16604 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16605 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16606 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16608 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16609 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16610 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16611 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16612 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16613 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16614 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16615 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16616
a7624ed9
CD
166172013-11-25 Carlos O'Donell <carlos@redhat.com>
16618
16619 [BZ #16245]
16620 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16621 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16622
63cfe52b
JM
166232013-11-25 Joseph Myers <joseph@codesourcery.com>
16624
16625 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16627 Likewise.
16628
41e8926a
AZ
166292013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16630
16631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16632 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16633 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16634 (__fesetround): Remove define.
16635 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16636 rounding and exceptions handling.
16637 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16638 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16639 (__fe_nomask_env): Likewise.
16640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16641 __fegetround instead of fegetround.
16642 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16643 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16644
6851bd4d
RM
166452013-11-21 Roland McGrath <roland@hack.frob.com>
16646
070906ff
RM
16647 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16648 it's there.
16649
6851bd4d
RM
16650 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16651
84ae135d
MI
166522013-11-21 Meador Inge <meadori@codesourcery.com>
16653
16654 [BZ #11157]
16655 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16656 (encrypt_r): Likewise.
16657 * malloc/obstack.h (obstack_free): Likewise.
16658 * posix/unistd.h (encrypt): Likewise.
16659
daf75146
GM
166602013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16661
16662 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16663 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16664 DL_CALL_DT_FINI() that call the functions directly.
16665 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16666 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16667 * elf/dl-fini.c: Likewise.
16668
10ad46bc
OB
166692013-11-20 Ondřej Bílka <neleai@seznam.cz>
16670
16671 * malloc/hooks.c (memalign_check): Add alignment rounding.
16672 * malloc/malloc.c (_mid_memalign): New function.
16673 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16674 Implement by calling _mid_memalign.
16675 * manual/probes.texi (Memory Allocation Probes): Remove
16676 memory_valloc_retry and memory_pvalloc_retry.
16677
f3fd2628
SP
166782013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16679
4712799f
SP
16680 * locale/programs/locarchive.c (open_archive): Add const
16681 qualifier to ARCHIVEFNAME and copy default fname to
16682 DEFAULT_FNAME.
16683
0417b20f
SP
16684 [BZ #15601]
16685 * libio/tst-widetext.input: Rename Oriya to Odia.
16686 * locale/iso-639.def: Likewise.
16687
f3fd2628
SP
16688 * manual/probes.texi (Mathematical Function Probes): Add
16689 documentation for sin, cos, asin and acos probes.
16690 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16691 (__sin32): Add slowasin probe.
16692 (__cos32): Add slowacos probe.
16693 (__mpsin): Add slowsin probe.
16694 (__mpcos): Add slowcos probe.
16695
73c1ce4f
JM
166962013-11-19 Joseph Myers <joseph@codesourcery.com>
16697
16698 [BZ #15483]
16699 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16700 thread-local __sim_exceptions_thread and global
16701 __sim_exceptions_global.
16702 (__sim_disabled_exceptions): Change to thread-local
16703 __sim_disabled_exceptions_thread and global
16704 __sim_disabled_exceptions_global.
16705 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16706 and global __sim_round_mode_global.
16707 (__simulate_exceptions): Use thread-local floating-point state and
16708 set global state from it as needed.
16709 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16710 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16711 __sim_round_mode_thread.
16712 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16713 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16714 and global __sim_exceptions_global.
16715 (__sim_disabled_exceptions): Change to thread-local
16716 __sim_disabled_exceptions_thread and global
16717 __sim_disabled_exceptions_global.
16718 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16719 and global __sim_round_mode_global.
16720 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16721 (SIM_SET_GLOBAL): Likewise.
16722 * sysdeps/powerpc/soft-fp/sfp-machine.h
16723 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16724 __sim_round_mode_thread.
16725 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16726 __sim_disabled_exceptions_thread.
16727 (__sim_exceptions): Change to __sim_exceptions_thread.
16728 (__sim_disabled_exceptions): Change to
16729 __sim_disabled_exceptions_thread.
16730 (__sim_round_mode): Change to __sim_round_mode_thread.
16731 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16732 thread-local floating-point state and set global state from it as
16733 needed.
16734 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16735 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16736 (__sim_disabled_exceptions): Remove extern declaration.
16737 (feenableexcept): Use thread-local floating-point state and set
16738 global state from it as needed.
16739 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16740 extern declaration.
16741 (__sim_disabled_exceptions): Likewise.
16742 (__sim_round_mode): Likewise.
16743 (__fegetenv): Use thread-local floating-point state.
16744 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16745 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16746 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16747 floating-point state and set global state from it as needed.
16748 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16749 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16750 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16751 Likewise.
16752 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16753 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16754 Likewise.
16755 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16756 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16757 Use __sim_round_mode_thread.
16758 * math/test-fenv-tls.c: New file.
16759 * math/Makefile (tests): Add test-fenv-tls.
16760 ($(objpfx)test-fenv-tls): Depend on
16761 $(common-objpfx)nptl/libpthread.so.
16762
b5449b12
AS
167632013-11-19 Andreas Schwab <schwab@suse.de>
16764
16765 * locale/programs/locale.c (show_info): Decode wordarray elements.
16766 * locale/categories.def (LC_MONETARY): Add element for
16767 _NL_MONETARY_CRNCYSTR.
16768 * locale/C-monetary.c (conversion_rate): New variable.
16769 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16770 element.
16771
e186536b
CM
167722013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16773
16774 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16775 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16776
5c349950
PP
167772013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16778
16779 * elf/Makefile (tst-auxv): New test.
16780 * elf/tst-auxv.c: New
16781 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16782
699df45b
JM
167832013-11-18 Joseph Myers <joseph@codesourcery.com>
16784
16785 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16786 (hidden_proto): Caller changed.
16787 (hidden_tls_proto): New macro.
16788 (libc_hidden_tls_proto): Likewise.
16789 (rtld_hidden_tls_proto): Likewise.
16790 (libm_hidden_tls_proto): Likewise.
16791 (libresolv_hidden_tls_proto): Likewise.
16792 (librt_hidden_tls_proto): Likewise.
16793 (libdl_hidden_tls_proto): Likewise.
16794 (libnss_files_hidden_tls_proto): Likewise.
16795 (libnsl_hidden_tls_proto): Likewise.
16796 (libnss_nisplus_hidden_tls_proto): Likewise.
16797 (libutil_hidden_tls_proto): Likewise.
16798
b7589107
OB
167992013-11-18 Ondřej Bílka <neleai@seznam.cz>
16800
16801 [BZ #10253]
16802 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16803 (decompose_rpath): Defer expansion to fillin_rpath.
16804 (_dl_init_paths): Pass linkmap to fillin_rpath.
16805
250c23bd
RS
168062013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16807
16808 * benchtests/Makefile: Add strsep.
16809 * benchtests/bench-strsep.c: New file: strsep benchtest.
16810 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16811
a7931fcf
AS
168122013-11-18 Andreas Schwab <schwab@suse.de>
16813
16814 * locale/programs/locale.c (show_info) [case byte]: Check for
16815 '\377' instead of '\177'.
16816 * locale/C-monetary.c (not_available): Always use "\377".
16817 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16818 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16819 detect unavailable sign_posn locale elements.
16820 * locale/localeconv.c (__localeconv): For grouping and
16821 mon_grouping handle "\177" and "\377" like no grouping.
16822 (INT_ELEM): New macro. Use it to set all numeric members.
16823 * locale/programs/ld-monetary.c (monetary_read)
16824 <tok_mon_grouping>: Normalize single -1 to the empty string.
16825 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16826 Likewise.
16827
728dab0e
OB
168282013-11-07 Ondřej Bílka <neleai@seznam.cz>
16829
16830 [BZ #16055]
16831 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16832 when we match (nil).
16833 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16834
66294491
JM
168352013-11-16 Joseph Myers <joseph@codesourcery.com>
16836
ce665817
JM
16837 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16838 (NO_TEST_INLINE): Update value.
16839 (ERRNO_UNCHANGED): Likewise.
16840 (ERRNO_EDOM): Likewise.
16841 (ERRNO_ERANGE): Likewise.
16842 (IGNORE_RESULT): Likewise.
16843 (check_float_internal): Check signs of NaN results if
16844 TEST_NAN_SIGN used.
16845 (check_complex): Pass TEST_NAN_SIGN flag through to second
16846 check_float_internal call.
16847 (copysign_test_data): Add tests with quiet NaNs as second
16848 argument. Use TEST_NAN_SIGN.
16849 (fabs_test_data): Add test of negative quiet NaN argument. Use
16850 TEST_NAN_SIGN.
16851 (signbit_test_data): Add tests of quiet NaN argument.
16852 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16853
ee1466a9
JM
16854 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16855 $ignore_result.
16856 (parse_args): Handle function results specified as IGNORE.
16857 * math/libm-test.inc (IGNORE_RESULT): New macro.
16858 (check_float_internal): Do not check numerical result if flag
16859 IGNORE_RESULT set.
16860 (check_complex): Pass through IGNORE_RESULT to second
16861 check_float_internal call.
16862 (check_int): Do not check numerical result if flag IGNORE_RESULT
16863 set.
16864 (check_long): Likewise.
16865 (check_bool): Likewise.
16866 (check_longlong): Likewise.
16867 (lrint_test_data): Add tests of infinite and NaN arguments.
16868 (lrint_tonearest_test_data): Likewise.
16869 (lrint_towardzero_test_data): Likewise.
16870 (lrint_downward_test_data): Likewise.
16871 (lrint_upward_test_data): Likewise.
16872 (llrint_test_data): Likewise.
16873 (llrint_tonearest_test_data): Likewise.
16874 (llrint_towardzero_test_data): Likewise.
16875 (llrint_downward_test_data): Likewise.
16876 (llrint_upward_test_data): Likewise.
16877 (lround_test_data): Likewise.
16878 (llround_test_data): Likewise.
16879
14407b7e
JM
16880 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16881 (ERRNO_UNCHANGED): Update value.
16882 (ERRNO_EDOM): Likewise.
16883 (ERRNO_ERANGE): Likewise.
16884 (NO_TEST_INLINE_FLOAT): New macro.
16885 (NO_TEST_INLINE_DOUBLE): Likewise.
16886 (enable_test): New function.
16887 (RUN_TEST_f_f): Check enable_test before running test.
16888 (RUN_TEST_2_f): Likewise.
16889 (RUN_TEST_fff_f): Likewise.
16890 (RUN_TEST_c_f): Likewise.
16891 (RUN_TEST_f_f1): Likewise.
16892 (RUN_TEST_fF_f1): Likewise.
16893 (RUN_TEST_fI_f1): Likewise.
16894 (RUN_TEST_ffI_f1): Likewise.
16895 (RUN_TEST_c_c): Likewise.
16896 (RUN_TEST_cc_c): Likewise.
16897 (RUN_TEST_f_i): Likewise.
16898 (RUN_TEST_f_i_tg): Likewise.
16899 (RUN_TEST_ff_i_tg): Likewise.
16900 (RUN_TEST_f_b): Likewise.
16901 (RUN_TEST_f_b_tg): Likewise.
16902 (RUN_TEST_f_l): Likewise.
16903 (RUN_TEST_f_L): Likewise.
16904 (RUN_TEST_fFF_11): Likewise.
16905 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16906 conditionals.
16907 (cosh_test_data): Likewise.
16908 (exp_test_data): Likewise.
16909 (expm1_test_data): Likewise.
16910 (hypot_test_data): Likewise.
16911 (pow_test_data): Likewise.
16912 (sinh_test_data): Likewise.
16913 (tanh_test_data): Likewise.
16914 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16915 flags argument.
16916
ca07f197
JM
16917 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16918 tests with quiet NaN input and output.
16919 (acosh_test_data): Likewise.
16920 (asin_test_data): Likewise.
16921 (asinh_test_data): Likewise.
16922 (atan_test_data): Likewise.
16923 (atanh_test_data): Likewise.
16924 (atan2_test_data): Likewise.
16925 (cbrt_test_data): Likewise.
16926 (cos_test_data): Likewise.
16927 (cosh_test_data): Likewise.
16928 (erf_test_data): Likewise.
16929 (erfc_test_data): Likewise.
16930 (exp_test_data): Likewise.
16931 (exp10_test_data): Likewise.
16932 (exp2_test_data): Likewise.
16933 (expm1_test_data): Likewise.
16934 (hypot_test_data): Likewise.
16935 (j0_test_data): Likewise.
16936 (j1_test_data): Likewise.
16937 (jn_test_data): Likewise.
16938 (lgamma_test_data): Likewise.
16939 (log_test_data): Likewise.
16940 (log10_test_data): Likewise.
16941 (log1p_test_data): Likewise.
16942 (log2_test_data): Likewise.
16943 (pow_test_data): Likewise.
16944 (scalb_test_data): Likewise.
16945 (sin_test_data): Likewise.
16946 (sincos_test_data): Likewise.
16947 (sinh_test_data): Likewise.
16948 (tan_test_data): Likewise.
16949 (tanh_test_data): Likewise.
16950 (tgamma_test_data): Likewise.
16951 (y0_test_data): Likewise.
16952 (y1_test_data): Likewise.
16953 (yn_test_data): Likewise.
16954
66294491
JM
16955 [BZ #16167]
16956 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16957 argument being NaN and avoid computations with second argument in
16958 that case.
16959 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16960 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16961 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16962
1820b143
CL
169632013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16964
16965 * locale/iso-639.def: Add Chitwani Tharu (the).
16966
714bd261
AS
169672013-11-14 Andreas Schwab <schwab@suse.de>
16968
16969 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16970 word instead of empty string.
16971
7ab44563
AZ
169722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16973
16974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16975 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16977 (__fe_nomask_env): Likewise.
16978
e8470ea2
SE
169792013-11-13 Steve Ellcey <sellcey@mips.com>
16980
16981 * benchtests/bench-timing.h: Include time.h.
16982
17c1d9f0
L
169832013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16984
16985 [BZ #15997]
16986 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16987 to 3.4.0 for x32.
16988 * sysdeps/unix/sysv/linux/configure: Regenerated.
16989
9310c284
JM
169902013-11-13 Joseph Myers <joseph@codesourcery.com>
16991
16992 [BZ #16151]
16993 * stdlib/strtod_l.c (round_and_return): Do not consider
16994 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16995 exponent one less than half the least subnormal exponent.
16996 * stdlib/test-strtod-round-data: Add more tests.
16997 * stdlib/tst-strtod-round.c (tests): Regenerated.
16998
7a2ad8cf
AZ
169992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17000
17001 [BZ #14143]
17002 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17003 (__fe_mask_env): Likewise.
17004 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17005 libm_hidden_proto and add function prototype.
17006 (__fe_mask_env): Add function prototype.
17007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17008 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17010 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17012 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17013
50727aa7
MS
170142013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17015
b2f386c1 17016 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17017 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17018
a615be46
MS
170192013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17020
17021 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17022 of htab_find_slot().
17023
7ddace62
DM
170242013-11-11 David S. Miller <davem@davemloft.net>
17025
17026 [BZ #16150]
17027 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17028 symbol in the non-vis3 case in static builds.
17029 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17030 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17031 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17032 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17033
9182aa67
JK
170342013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17035
17036 [BZ #387]
17037 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17038 it is empty.
17039
450a2e2d
AZ
170402013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17041
b2f386c1
SP
17042 * benchtests/Makefile: Add bench-strtod.
17043 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17044
8ec3f656
AS
170452013-11-11 Andreas Schwab <schwab@suse.de>
17046
17047 [BZ #16153]
17048 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17049 terminating NUL in key length.
17050
76a9b998
AZ
170512013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17052
17053 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17054 Add artificial ODP entry for vDSO symbol for PPC64.
17055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17056 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17057
e4368156
OB
170582013-11-07 Ondřej Bílka <neleai@seznam.cz>
17059
17060 [BZ #15374]
17061 * nss/getent.c (services_keys): Recognize services starting with digit.
17062
8d6bb57c
DM
170632013-11-06 David S. Miller <davem@davemloft.net>
17064
17065 [BZ #15985]
17066 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17067 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17068
e256c421
WN
170692013-11-06 Will Newton <will.newton@linaro.org>
17070
17071 * manual/memory.texi (Malloc Examples): Remove register
17072 keyword from examples.
17073
f6e12daa 170742013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17075
f6e12daa 17076 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17077
9d880655
AS
170782013-11-04 Joseph Myers <joseph@codesourcery.com>
17079
fd2f9486 17080 [BZ #6981]
9d880655
AS
17081 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17082 depending on [__GCC_IEC_559 > 0].
17083 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17084 depending on [__GCC_IEC_559_COMPLEX > 0].
17085
ae129d3c
CL
170862013-11-03 Chris Leonard <cjl@sugarlabs.org>
17087
17088 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17089 to iso-639.def.
17090
4a15c2a4 170912013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17092
17093 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17094
8b35e35d
OB
170952013-11-01 Ondřej Bílka <neleai@seznam.cz>
17096
17097 [BZ #16112]
17098 * malloc/malloc (malloc_info): Do not handle first bin as
17099 special case.
17100
1d70fd6c
CL
171012013-11-01 Chris Leonard <cjl@sugarlabs.org>
17102
17103 * locale/iso-639.def: Add Central Nahuatl (nhn).
17104
8c5c2600
BH
171052013-11-01 Bruno Haible <bruno@clisp.org>
17106
17107 [BZ #7003]
17108 * manual/math.texi (BSD Random): Specify range upper bound as
17109 in POSIX.
17110
da5579c2
CL
171112013-10-31 Chris Leonard <cjl@sugarlabs.org>
17112
17113 * locale/iso-639.def: Add Meadow Mari (mhr).
17114
5d30d853
OB
171152013-10-31 Ondřej Bílka <neleai@seznam.cz>
17116
17117 [BZ #14752], [BZ #15763]
17118 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17119 Validate name.
17120 * rt/tst_shm.c: Add test for escaping directory.
17121
a4966c61
AS
171222013-10-31 Andreas Schwab <schwab@suse.de>
17123
8a43e768 17124 [BZ #15917]
a4966c61
AS
17125 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17126 followed by 'x' as part of digit sequence.
17127 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17128
28d708c4
MAP
171292013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17130
17131 [BZ #16037]
17132 * configure.ac: allow GNU Make 4.0 and greater.
17133 * configure: Regenerated.
17134
a56ee40b
WN
171352013-10-30 Will Newton <will.newton@linaro.org>
17136
17137 [BZ #16038]
17138 * malloc/hooks.c (memalign_check): Limit alignment to the
17139 maximum representable power of two.
17140 * malloc/malloc.c (__libc_memalign): Likewise.
17141 * malloc/tst-memalign.c (do_test): Add test for very
17142 large alignment values.
17143 * malloc/tst-posix_memalign.c (do_test): Likewise.
17144
c6e4925d
OB
171452013-10-30 Ondřej Bílka <neleai@seznam.cz>
17146
17147 [BZ #11087]
17148 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17149 (munmap_chunk): Likewise.
17150 (mremap_chunk): Likewise.
17151
171522013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17153
8a43e768 17154 [BZ #15799]
bbea82f7
OB
17155 * stdlib/div.c (div): Remove obsolete code.
17156 * stdlib/ldiv.c (ldiv): Likewise.
17157 * stdlib/lldiv.c (lldiv): Likewise.
17158
977f4b31
SP
171592013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17160
17161 [BZ #16071]
17162 * nss/nss_files/files-XXX.c (get_contents_ret): New
17163 enumerator.
17164 (get_contents): New function.
17165 (internal_getent): Use it. Expand size of LINEBUFLEN.
17166
cb8a6dbd
MF
171672013-10-30 Mike Frysinger <vapier@gentoo.org>
17168
17169 * configure.in: Moved to ...
17170 * configure.ac: ... here. Change reference to configure.in
17171 to configure.ac.
17172 * sysdeps/arm/preconfigure.ac: ... here.
17173 configure.in to configure.ac.
17174 * sysdeps/gnu/configure.in: Moved to ...
17175 * sysdeps/gnu/configure.ac: ... here.
17176 * sysdeps/i386/configure.in: Moved to ...
17177 * sysdeps/i386/configure.ac: ... here.
17178 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17179 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17180 * sysdeps/mach/configure.in: Moved to ...
17181 * sysdeps/mach/configure.ac: ... here.
17182 * sysdeps/mach/hurd/configure.in: Moved to ...
17183 * sysdeps/mach/hurd/configure.ac: ... here.
17184 * sysdeps/powerpc/configure.in: Moved to ...
17185 * sysdeps/powerpc/configure.ac: ... here.
17186 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17187 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17188 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17189 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17190 * sysdeps/s390/s390-32/configure.in: Moved to ...
17191 * sysdeps/s390/s390-32/configure.ac: ... here.
17192 * sysdeps/s390/s390-64/configure.in: Moved to ...
17193 * sysdeps/s390/s390-64/configure.ac: ... here.
17194 * sysdeps/sh/configure.in: Moved to ...
17195 * sysdeps/sh/configure.ac: ... here.
17196 * sysdeps/sparc/configure.in: Moved to ...
17197 * sysdeps/sparc/configure.ac: ... here.
17198 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17199 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17200 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17201 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17202 * sysdeps/x86_64/configure.in: Moved to ...
17203 * sysdeps/x86_64/configure.ac: ... here.
17204 * sysdeps/x86_64/preconfigure.in: Moved to ...
17205 * sysdeps/x86_64/preconfigure.ac: ... here.
17206 * aclocal.m4: Change reference to configure.in to configure.ac.
17207 * config.h.in: Likewise.
17208 * manual/install.texi: Likewise.
17209 * manual/maint.texi: Likewise.
17210 * Makefile: Likewise.
17211 * malloc/Makefile: Likewise.
17212 * nscd/Makefile: Likewise.
17213 * Makeconfig: Change reference to configure.in and
17214 preconfigure.in to configure.ac and preconfigure.ac
17215 respectively.
17216 * INSTALL: Regenerated.
17217 * configure: Likewise.
17218 * sysdeps/gnu/configure: Likewise.
17219 * sysdeps/i386/configure: Likewise.
17220 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17221 * sysdeps/mach/configure: Likewise.
17222 * sysdeps/mach/hurd/configure: Likewise.
17223 * sysdeps/powerpc/configure: Likewise.
17224 * sysdeps/powerpc/powerpc32/configure: Likewise.
17225 * sysdeps/powerpc/powerpc64/configure: Likewise.
17226 * sysdeps/s390/s390-32/configure: Likewise.
17227 * sysdeps/s390/s390-64/configure: Likewise.
17228 * sysdeps/sh/configure: Likewise.
17229 * sysdeps/sparc/configure: Likewise.
17230 * sysdeps/unix/sysv/linux/configure: Likewise.
17231 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17232 * sysdeps/x86_64/configure: Likewise.
17233 * sysdeps/x86_64/preconfigure: Likewise.
17234
36a4953a
AS
172352013-10-29 Andreas Schwab <schwab@suse.de>
17236
17237 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17238
c79a1204
SP
172392013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17240
dfa1b402
SP
17241 * benchtests/pow-inputs: Add new inputs.
17242
54f73d9c
SP
17243 * benchtests/exp-inputs: Add new inputs.
17244
c79a1204
SP
17245 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17246 conditional check for return value.
17247 (__cos32): Likewise.
17248
67beb545 172492013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17250
17251 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17252 to provide a boost for large inputs with word alignment.
17253 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17254 implementation based on optimized PPC64 strcpy.
17255 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17256 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17257 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17258 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17259
151659f6
OB
172602013-10-25 Ondřej Bílka <neleai@seznam.cz>
17261
482a077e 17262 [BZ #2801]
151659f6
OB
17263 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17264
10b0f26b
OB
172652013-10-25 Ondřej Bílka <neleai@seznam.cz>
17266
17267 [BZ #14876]
17268 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17269 * time/tst-strptime.c (day_tests): Add testcase.
17270
ca42d35e
OB
172712013-10-25 Ondřej Bílka <neleai@seznam.cz>
17272
482a077e 17273 [BZ #14029]
ca42d35e
OB
17274 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17275
52e6d801
FB
172762013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17277
17278 [BZ #16074]
17279 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17280 MAP_FAILED on error.
17281
7cbcdb36
SP
172822013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17283
17284 [BZ #16072]
17285 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17286 heap for large requests.
17287
894f3f10
AM
172882013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17289
17290 [BZ #9954]
17291 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17292 result if the result has no associated interface.
17293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17294 interface for all 127.X.Y.Z addresses.
17295
b85545a6
CL
172962013-10-24 Chris Leonard <cjl@sugarlabs.org>
17297
17298 * locale/iso-639.def: Add Ligurian (lij)
17299
d1f23d46
OB
173002013-10-21 Ondřej Bílka <neleai@seznam.cz>
17301
17302 [BZ #15825]
17303 * sunrpc/rpc_main.c: Document rpcgen -5.
17304
4db5b08f
MS
173052013-10-19 Michael Stahl <mstahl@redhat.com>
17306
17307 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17308
a471e96a
OB
173092013-10-19 Ondřej Bílka <neleai@seznam.cz>
17310
d1f23d46 17311 [BZ #10278]
a471e96a
OB
17312 * posix/glob.c: Match only directories when trailing slash is present.
17313 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17314 (main): Add testcase.
17315
45c30c61
OB
173162013-10-19 Ondřej Bílka <neleai@seznam.cz>
17317
17318 [BZ #15670]
17319 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17320
484c12fb
CD
173212013-10-18 Carlos O'Donell <carlos@redhat.com>
17322
3d7dc513
CD
17323 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17324 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17325 AUTH_DES and cindex for FIPS 140-2.
17326 (DES Encryption): Add cindex FIPS 46-3.
17327
484c12fb
CD
17328 * locale/locarchive.h (struct locarhandle): Add fname.
17329 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17330 if an optional argument was specified to --list-archive,
17331 otherwise NULL.
17332 * locale/programs/locarchive.c (show_archive_content): Take new
17333 argument fname and pass it via ah.fname to open_archive.
17334 * locale/programs/localedef.h: Update decl.
17335 (open_archive): If AH->fname is non-null, open that file
17336 rather than the default file name, and don't ignore ENOENT.
17337 (create_archive): Set AH.fname to NULL.
17338 (delete_locales_from_archive): Likewise.
17339 (add_locales_to_archive): Likewise.
17340 * locale/programs/locfile.c (write_all_categories): Likewise.
17341
3c8325fb
JM
173422013-10-18 Joseph Myers <joseph@codesourcery.com>
17343 Aldy Hernandez <aldyh@redhat.com>
17344
17345 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17346 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17347 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17348 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17349 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17350 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17351 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17352 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17353 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17354 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17355 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17356 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17357 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17358 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17359 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17360 Likewise.
17361 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17362 Likewise.
17363 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17364 Likewise.
17365 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17366 Likewise.
17367 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17368 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17369 Likewise.
17370 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17371 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17372 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17373 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17374 Likewise.
17375 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17376 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17377 * sysdeps/powerpc/preconfigure: Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17379 Likewise.
17380 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17381 Replace contents of file by #include of <fenv_libc.h>.
17382 * sysdeps/powerpc/soft-fp/sfp-machine.h
17383 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17384 and <sys/prctl.h>.
17385 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17386 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17387 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17388 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17389 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17390 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17392 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17395 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17398 Allow copysignl PLT reference to be missing.
17399
5abe0682
RS
174002013-10-18 Richard Sandiford <richard@codesourcery.com>
17401 Joseph Myers <joseph@codesourcery.com
17402
17403 [BZ #15948]
17404 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17405 single character.
17406 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17407
c7738d08
SP
174082013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17409
17410 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17411 * elf/tst-tls1.c: Likewise.
17412 * elf/tst-tls10.h: Likewise.
17413 * elf/tst-tls14.c: Likewise.
17414 * elf/tst-tls2.c: Likewise.
17415 * elf/tst-tls3.c: Likewise.
17416 * elf/tst-tls4.c: Likewise.
17417 * elf/tst-tls5.c: Likewise.
17418 * elf/tst-tls6.c: Likewise.
17419 * elf/tst-tls7.c: Likewise.
17420 * elf/tst-tls8.c: Likewise.
17421 * elf/tst-tls9.c: Likewise.
17422 * elf/tst-tlsmod1.c: Likewise.
17423 * elf/tst-tlsmod13.c: Likewise.
17424 * elf/tst-tlsmod13a.c: Likewise.
17425 * elf/tst-tlsmod14a.c: Likewise.
17426 * elf/tst-tlsmod16a.c: Likewise.
17427 * elf/tst-tlsmod16b.c: Likewise.
17428 * elf/tst-tlsmod2.c: Likewise.
17429 * elf/tst-tlsmod3.c: Likewise.
17430 * elf/tst-tlsmod4.c: Likewise.
17431 * elf/tst-tlsmod5.c: Likewise.
17432 * elf/tst-tlsmod6.c: Likewise.
17433
0bfcf2c7
OB
174342013-10-18 Ondřej Bílka <neleai@seznam.cz>
17435
17436 [BZ #12486]
17437 * malloc/malloc.c: remove checks for statistics.
17438
264aad1e
OB
174392013-10-17 Ondřej Bílka <neleai@seznam.cz>
17440
17441 [BZ #15277]
17442 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17443 * inet/tst-network.c: Add testcase.
17444
b957ced8
AS
174452013-10-17 Andreas Schwab <schwab@suse.de>
17446
17447 [BZ #15218]
17448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17449 to determine canonical name.
17450
c5d5d574
OB
174512013-10-17 Ondřej Bílka <neleai@seznam.cz>
17452
17453 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17454 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17459 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17461 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17462 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17463 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17464 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17465 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17468 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17470 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17471 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17473 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17474 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17477 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17478 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17479 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17483 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17485 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17486 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17487 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17488 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17499 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17500 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17503 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17511
e5c2c2d0
JM
175122013-10-17 Joseph Myers <joseph@codesourcery.com>
17513
17514 [BZ #16041]
17515 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17516 make result into a quiet NaN.
17517
51ca9e29
JM
175182013-10-16 Joseph Myers <joseph@codesourcery.com>
17519
17520 * soft-fp/adddf3.c: Fix horizontal whitespace.
17521 * soft-fp/addsf3.c: Likewise.
17522 * soft-fp/addtf3.c: Likewise.
17523 * soft-fp/divdf3.c: Likewise.
17524 * soft-fp/divsf3.c: Likewise.
17525 * soft-fp/divtf3.c: Likewise.
17526 * soft-fp/double.h: Likewise.
17527 * soft-fp/eqdf2.c: Likewise.
17528 * soft-fp/eqsf2.c: Likewise.
17529 * soft-fp/eqtf2.c: Likewise.
17530 * soft-fp/extenddftf2.c: Likewise.
17531 * soft-fp/extended.h: Likewise.
17532 * soft-fp/extendsfdf2.c: Likewise.
17533 * soft-fp/extendsftf2.c: Likewise.
17534 * soft-fp/extendxftf2.c: Likewise.
17535 * soft-fp/fixdfdi.c: Likewise.
17536 * soft-fp/fixdfsi.c: Likewise.
17537 * soft-fp/fixdfti.c: Likewise.
17538 * soft-fp/fixsfdi.c: Likewise.
17539 * soft-fp/fixsfsi.c: Likewise.
17540 * soft-fp/fixsfti.c: Likewise.
17541 * soft-fp/fixtfdi.c: Likewise.
17542 * soft-fp/fixtfsi.c: Likewise.
17543 * soft-fp/fixtfti.c: Likewise.
17544 * soft-fp/fixunsdfdi.c: Likewise.
17545 * soft-fp/fixunsdfsi.c: Likewise.
17546 * soft-fp/fixunsdfti.c: Likewise.
17547 * soft-fp/fixunssfdi.c: Likewise.
17548 * soft-fp/fixunssfsi.c: Likewise.
17549 * soft-fp/fixunssfti.c: Likewise.
17550 * soft-fp/fixunstfdi.c: Likewise.
17551 * soft-fp/fixunstfsi.c: Likewise.
17552 * soft-fp/fixunstfti.c: Likewise.
17553 * soft-fp/floatdidf.c: Likewise.
17554 * soft-fp/floatdisf.c: Likewise.
17555 * soft-fp/floatditf.c: Likewise.
17556 * soft-fp/floatsidf.c: Likewise.
17557 * soft-fp/floatsisf.c: Likewise.
17558 * soft-fp/floatsitf.c: Likewise.
17559 * soft-fp/floattidf.c: Likewise.
17560 * soft-fp/floattisf.c: Likewise.
17561 * soft-fp/floattitf.c: Likewise.
17562 * soft-fp/floatundidf.c: Likewise.
17563 * soft-fp/floatundisf.c: Likewise.
17564 * soft-fp/floatunditf.c: Likewise.
17565 * soft-fp/floatunsidf.c: Likewise.
17566 * soft-fp/floatunsisf.c: Likewise.
17567 * soft-fp/floatunsitf.c: Likewise.
17568 * soft-fp/floatuntidf.c: Likewise.
17569 * soft-fp/floatuntisf.c: Likewise.
17570 * soft-fp/floatuntitf.c: Likewise.
17571 * soft-fp/fmadf4.c: Likewise.
17572 * soft-fp/fmasf4.c: Likewise.
17573 * soft-fp/fmatf4.c: Likewise.
17574 * soft-fp/gedf2.c: Likewise.
17575 * soft-fp/gesf2.c: Likewise.
17576 * soft-fp/getf2.c: Likewise.
17577 * soft-fp/ledf2.c: Likewise.
17578 * soft-fp/lesf2.c: Likewise.
17579 * soft-fp/letf2.c: Likewise.
17580 * soft-fp/muldf3.c: Likewise.
17581 * soft-fp/mulsf3.c: Likewise.
17582 * soft-fp/multf3.c: Likewise.
17583 * soft-fp/negdf2.c: Likewise.
17584 * soft-fp/negsf2.c: Likewise.
17585 * soft-fp/negtf2.c: Likewise.
17586 * soft-fp/op-1.h: Likewise.
17587 * soft-fp/op-2.h: Likewise.
17588 * soft-fp/op-4.h: Likewise.
17589 * soft-fp/op-8.h: Likewise.
17590 * soft-fp/op-common.h: Likewise.
17591 * soft-fp/quad.h: Likewise.
17592 * soft-fp/single.h: Likewise.
17593 * soft-fp/soft-fp.h: Likewise.
17594 * soft-fp/sqrtdf2.c: Likewise.
17595 * soft-fp/sqrtsf2.c: Likewise.
17596 * soft-fp/sqrttf2.c: Likewise.
17597 * soft-fp/subdf3.c: Likewise.
17598 * soft-fp/subsf3.c: Likewise.
17599 * soft-fp/subtf3.c: Likewise.
17600 * soft-fp/truncdfsf2.c: Likewise.
17601 * soft-fp/trunctfdf2.c: Likewise.
17602 * soft-fp/trunctfsf2.c: Likewise.
17603 * soft-fp/trunctfxf2.c: Likewise.
17604 * soft-fp/unorddf2.c: Likewise.
17605 * soft-fp/unordsf2.c: Likewise.
17606 * soft-fp/unordtf2.c: Likewise.
17607
9ebb0332
JM
176082013-10-15 Joseph Myers <joseph@codesourcery.com>
17609
17610 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17611 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17612
4b1a6d8b
OB
176132013-10-15 Ondřej Bílka <neleai@seznam.cz>
17614
17615 * elf/dl-libc.c: Clear initfini list after freeing.
17616
1e145589
JM
176172013-10-14 Joseph Myers <joseph@codesourcery.com>
17618
17619 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17620 * soft-fp/addsf3.c: Likewise.
17621 * soft-fp/addtf3.c: Likewise.
17622 * soft-fp/divdf3.c: Likewise.
17623 * soft-fp/divsf3.c: Likewise.
17624 * soft-fp/divtf3.c: Likewise.
17625 * soft-fp/double.h: Likewise.
17626 * soft-fp/eqdf2.c: Likewise.
17627 * soft-fp/eqsf2.c: Likewise.
17628 * soft-fp/eqtf2.c: Likewise.
17629 * soft-fp/extenddftf2.c: Likewise.
17630 * soft-fp/extended.h: Likewise.
17631 * soft-fp/extendsfdf2.c: Likewise.
17632 * soft-fp/extendsftf2.c: Likewise.
17633 * soft-fp/extendxftf2.c: Likewise.
17634 * soft-fp/fixdfdi.c: Likewise.
17635 * soft-fp/fixdfsi.c: Likewise.
17636 * soft-fp/fixdfti.c: Likewise.
17637 * soft-fp/fixsfdi.c: Likewise.
17638 * soft-fp/fixsfsi.c: Likewise.
17639 * soft-fp/fixsfti.c: Likewise.
17640 * soft-fp/fixtfdi.c: Likewise.
17641 * soft-fp/fixtfsi.c: Likewise.
17642 * soft-fp/fixtfti.c: Likewise.
17643 * soft-fp/fixunsdfdi.c: Likewise.
17644 * soft-fp/fixunsdfsi.c: Likewise.
17645 * soft-fp/fixunsdfti.c: Likewise.
17646 * soft-fp/fixunssfdi.c: Likewise.
17647 * soft-fp/fixunssfsi.c: Likewise.
17648 * soft-fp/fixunssfti.c: Likewise.
17649 * soft-fp/fixunstfdi.c: Likewise.
17650 * soft-fp/fixunstfsi.c: Likewise.
17651 * soft-fp/fixunstfti.c: Likewise.
17652 * soft-fp/floatdidf.c: Likewise.
17653 * soft-fp/floatdisf.c: Likewise.
17654 * soft-fp/floatditf.c: Likewise.
17655 * soft-fp/floatsidf.c: Likewise.
17656 * soft-fp/floatsisf.c: Likewise.
17657 * soft-fp/floatsitf.c: Likewise.
17658 * soft-fp/floattidf.c: Likewise.
17659 * soft-fp/floattisf.c: Likewise.
17660 * soft-fp/floattitf.c: Likewise.
17661 * soft-fp/floatundidf.c: Likewise.
17662 * soft-fp/floatundisf.c: Likewise.
17663 * soft-fp/floatunsidf.c: Likewise.
17664 * soft-fp/floatunsisf.c: Likewise.
17665 * soft-fp/floatuntidf.c: Likewise.
17666 * soft-fp/floatuntisf.c: Likewise.
17667 * soft-fp/floatuntitf.c: Likewise.
17668 * soft-fp/fmadf4.c: Likewise.
17669 * soft-fp/fmasf4.c: Likewise.
17670 * soft-fp/fmatf4.c: Likewise.
17671 * soft-fp/gedf2.c: Likewise.
17672 * soft-fp/gesf2.c: Likewise.
17673 * soft-fp/getf2.c: Likewise.
17674 * soft-fp/ledf2.c: Likewise.
17675 * soft-fp/lesf2.c: Likewise.
17676 * soft-fp/letf2.c: Likewise.
17677 * soft-fp/muldf3.c: Likewise.
17678 * soft-fp/mulsf3.c: Likewise.
17679 * soft-fp/multf3.c: Likewise.
17680 * soft-fp/negdf2.c: Likewise.
17681 * soft-fp/negsf2.c: Likewise.
17682 * soft-fp/negtf2.c: Likewise.
17683 * soft-fp/op-1.h: Likewise.
17684 * soft-fp/op-2.h: Likewise.
17685 * soft-fp/op-4.h: Likewise.
17686 * soft-fp/op-8.h: Likewise.
17687 * soft-fp/op-common.h: Likewise.
17688 * soft-fp/quad.h: Likewise.
17689 * soft-fp/single.h: Likewise.
17690 * soft-fp/soft-fp.h: Likewise.
17691 * soft-fp/sqrtdf2.c: Likewise.
17692 * soft-fp/sqrtsf2.c: Likewise.
17693 * soft-fp/sqrttf2.c: Likewise.
17694 * soft-fp/subdf3.c: Likewise.
17695 * soft-fp/subsf3.c: Likewise.
17696 * soft-fp/subtf3.c: Likewise.
17697 * soft-fp/truncdfsf2.c: Likewise.
17698 * soft-fp/trunctfdf2.c: Likewise.
17699 * soft-fp/trunctfsf2.c: Likewise.
17700 * soft-fp/trunctfxf2.c: Likewise.
17701 * soft-fp/unorddf2.c: Likewise.
17702 * soft-fp/unordsf2.c: Likewise.
17703 * soft-fp/unordtf2.c: Likewise.
17704
17c48a60
OB
177052013-10-14 Ondřej Bílka <neleai@seznam.cz>
17706
17707 [BZ #15672]
17708 * misc/error.c (error_tail): Fix possible buffer overflow.
17709
cabba934
OB
177102013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17711
17712 [BZ #13028]
17713 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17714 address.
17715
94bf958a
PM
177162013-10-14 P. J. McDermott <pj@pehjota.net>
17717
17718 [BZ #832]
17719 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17720 testing pipefail option.
17721
71b4dea7
JM
177222013-10-12 Joseph Myers <joseph@codesourcery.com>
17723
17724 * soft-fp/double.h: Indent preprocessor directives inside #if.
17725 * soft-fp/extended.h: Likewise.
17726 * soft-fp/op-2.h: Likewise.
17727 * soft-fp/op-4.h: Likewise.
17728 * soft-fp/op-common.h: Likewise.
17729 * soft-fp/quad.h: Likewise.
17730 * soft-fp/single.h: Likewise.
17731 * soft-fp/soft-fp.h: Likewise.
17732
55602758
YC
177332013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17734
17735 * iconv/iconv_prog.c: Fix typos.
17736 * stdio-common/psiginfo-data.h: Likewise.
17737
9cd83302
RT
177382013-10-12 Reuben Thomas <rrt@sc3d.org>
17739
17740 [BZ #15764]
17741 * locale/setlocale.c: Fix typo.
17742
99fd9f47
JM
177432013-10-12 Joseph Myers <joseph@codesourcery.com>
17744
b7ea74f0
JM
17745 [BZ #16036]
17746 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17747 signaling NaN arguments.
17748 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17749 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17750
8a509447
JM
17751 [BZ #14910]
17752 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17753 unordered operands.
17754 * soft-fp/gesf2.c (__gesf2): Likewise.
17755 * soft-fp/getf2.c (__getf2): Likewise.
17756 * soft-fp/ledf2.c (__ledf2): Likewise.
17757 * soft-fp/lesf2.c (__lesf2): Likewise.
17758 * soft-fp/letf2.c (__letf2): Likewise.
17759
98998e9f
JM
17760 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17761 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17762 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17763 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17764 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17765 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17766 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17767 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17768 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17769 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17770 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17771 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17772 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17773 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17774 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17775 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17776 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17777 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17778 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17779 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17780 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17781 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17782 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17783 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17784 * soft-fp/floattidf.c (__floattidf): Likewise.
17785 * soft-fp/floattisf.c (__floattisf): Likewise.
17786 * soft-fp/floattitf.c (__floattitf): Likewise.
17787 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17788 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17789 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17790 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17791 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17792 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17793 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17794 * soft-fp/gesf2.c (__gesf2): Likewise.
17795 * soft-fp/getf2.c (__getf2): Likewise.
17796 * soft-fp/ledf2.c (__ledf2): Likewise.
17797 * soft-fp/lesf2.c (__lesf2): Likewise.
17798 * soft-fp/letf2.c (__letf2): Likewise.
17799
8edc4a11
JM
17800 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17801 Undefine and redefine.
17802 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17803 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17804 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17805 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17806 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17807 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17808 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17809 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17810 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17811 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17812 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17813 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17814 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17815 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17816 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17817
8399acaf
JM
17818 [BZ #16032]
17819 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17820 without decrementing exponent if mantissa >= that for the
17821 denominator, not >.
17822 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17823 denominator, not >. Decrement exponent in < case instead of
17824 incrementing in >= case.
17825 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17826 without decrementing exponent if mantissa >= that for the
17827 denominator, not >.
17828
99fd9f47
JM
17829 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17830 computing saturated result for unsigned overflow.
17831
10e1cf6b
SP
178322013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17833 Jeff Law <law@redhat.com>
17834
17835 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17836 (atan2Mp): Add systemtap probe marker.
17837 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17838 (__ieee754_log): Add systemtap probe marker.
17839 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17840 (atanMp): Add systemtap probe marker.
17841 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17842 (tanMp): Add systemtap probe marker.
17843 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17844 (__slowexp): Add systemtap probe marker.
17845 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17846 (__slowpow): Add systemtap probe marker.
17847 * manual/probes.texi: Document probes.
17848
3d110c7c
EB
178492013-10-11 Eric Biggers <ebiggers3@gmail.com>
17850
17851 [BZ #15362]
17852 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17853 written.
17854 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17855 written.
17856 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17857 written to buffer but not flushed.
17858 * libio/iofwrite_u.c: Likewise.
17859 * libio/iopadn.c: Return bytes returned even if EOF was
17860 encountered.
17861 * libio/iowpadn.c: Likewise.
17862 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17863 if _IO_padn does not write the whole buffer.
17864 [!COMPILE_WPRINTF] (PAD): Likewise.
17865
75b4202a
DM
178662013-10-10 David S. Miller <davem@davemloft.net>
17867
17868 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17869 directory block.
17870
6c6352e6
JM
178712013-10-10 Joseph Myers <joseph@codesourcery.com>
17872
33b853c3
JM
17873 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17874 instead of FSF address.
17875 * soft-fp/fixdfti.c: Likewise.
17876 * soft-fp/fixsfti.c: Likewise.
17877 * soft-fp/fixtfti.c: Likewise.
17878 * soft-fp/fixunsdfti.c: Likewise.
17879 * soft-fp/fixunssfti.c: Likewise.
17880 * soft-fp/fixunstfti.c: Likewise.
17881 * soft-fp/floattidf.c: Likewise.
17882 * soft-fp/floattisf.c: Likewise.
17883 * soft-fp/floattitf.c: Likewise.
17884 * soft-fp/floatuntidf.c: Likewise.
17885 * soft-fp/floatuntisf.c: Likewise.
17886 * soft-fp/floatuntitf.c: Likewise.
17887 * soft-fp/trunctfxf2.c: Likewise.
17888
6c6352e6
JM
17889 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17890 * soft-fp/fixdfti.c: Likewise.
17891 * soft-fp/fixsfti.c: Likewise.
17892 * soft-fp/fixtfti.c: Likewise.
17893 * soft-fp/fixunsdfti.c: Likewise.
17894 * soft-fp/fixunssfti.c: Likewise.
17895 * soft-fp/fixunstfti.c: Likewise.
17896 * soft-fp/floattidf.c: Likewise.
17897 * soft-fp/floattisf.c: Likewise.
17898 * soft-fp/floattitf.c: Likewise.
17899 * soft-fp/floatuntidf.c: Likewise.
17900 * soft-fp/floatuntisf.c: Likewise.
17901 * soft-fp/floatuntitf.c: Likewise.
17902 * soft-fp/trunctfxf2.c: Likewise.
17903
3bf78b71
DM
179042013-10-10 David S. Miller <davem@davemloft.net>
17905
17906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17907
6f10289e
JM
179082013-10-10 Joseph Myers <joseph@codsourcery.com>
17909
bd878fc0
JM
17910 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17911 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17912 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17913 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17914 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17915 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17916 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17917
6f10289e
JM
17918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17919 for NaNs before doing comparisons on argument.
17920 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17921 Likewise.
17922
321e2684
WN
179232013-10-10 Will Newton <will.newton@linaro.org>
17924
17925 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17926 passed to _int_memalign does not overflow.
17927
40fefba1
TR
179282013-10-10 Torvald Riegel <triegel@redhat.com>
17929
17930 * scripts/bench.pl: Add include-sources directive.
17931 * benchtests/README: Update documentation.
17932
2ae21ed2
JM
179332013-10-10 Joseph Myers <joseph@codesourcery.com>
17934
dcc2dd3f
JM
17935 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17936 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17937 instead of FP_INIT_ROUNDMODE.
17938 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17939 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17940
2ae21ed2
JM
17941 [BZ #16034]
17942 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17943 copy class of input value.
17944 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17945 not handle exceptions.
17946 * soft-fp/negsf2.c (__negsf2): Likewise.
17947 * soft-fp/negtf2.c (__negtf2): Likewise.
17948 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17949
cb8f9562
JM
179502013-10-09 Joseph Myers <joseph@codesourcery.com>
17951
17952 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17953 semicolon. From Linux kernel.
17954
5b60c59d
AB
179552013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17956
17957 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17958
b86835ca
YC
179592013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17960
17961 [BZ #156]
17962 * manual/socket.texi: Added statement about buffer
17963 for gethostbyname2_r.
17964
e7044ea7
OB
179652013-10-08 Ondřej Bílka <neleai@seznam.cz>
17966
17967 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17968 Use .p2align directive instead, throughout.
17969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17970 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17971 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17974 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17975 * sysdeps/x86_64/strchr.S: Likewise.
17976 * sysdeps/x86_64/strrchr.S: Likewise.
17977
09544cbc
SP
179782013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
88576635
SP
17980 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17981
e7b2d1dd
SP
17982 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17983
09544cbc
SP
17984 * sysdeps/generic/math_private.h (__mpsin1): Remove
17985 declaration.
17986 (__mpcos1): Likewise.
17987 (__mpsin): New argument __range_reduce.
17988 (__mpcos): Likewise.
17989 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17990 (slow): Use __mpsin and __mpcos.
17991 (slow1): Likewise.
17992 (slow2): Likewise.
17993 (sloww): Likewise.
17994 (sloww1): Likewise.
17995 (sloww2): Likewise.
17996 (bsloww): Likewise.
17997 (bsloww1): Likewise.
17998 (bsloww2): Likewise.
17999 (cslow2): Likewise.
18000 (csloww): Likewise.
18001 (csloww1): Likewise.
18002 (csloww2): Likewise.
18003 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18004 range_reduce. Merge in __mpsin1.
18005 (__mpcos): Likewise.
18006 (__mpsin1): Remove.
18007 (__mpcos1): Likewise.
18008
7602d070
JM
180092013-10-07 Joseph Myers <joseph@codesourcery.com>
18010
18011 * locale/loadlocale.c (_nl_intern_locale_data): Use
18012 LOCFILE_ALIGNED_P.
18013 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18014 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18015 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18016 obstack data is appropriately aligned.
18017 (obstack_int32_grow_fast): Likewise.
18018 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18019 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18020 (add_locale_uint32_array): Likewise.
18021
a357259b
SP
180222013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18023
18024 * benchtests/Makefile: Remove ARGLIST and RET variables.
18025 ($(objpfx)bench-%.c): Pass only function name to the script.
18026 * benchtests/README: Update documentation.
18027 * benchtests/acos-inputs: Add new directives.
18028 * benchtests/acosh-inputs: Likewise.
18029 * benchtests/asin-inputs: Likewise.
18030 * benchtests/asinh-inputs: Likewise.
18031 * benchtests/atan-inputs: Likewise.
18032 * benchtests/atanh-inputs: Likewise.
18033 * benchtests/cos-inputs: Likewise.
18034 * benchtests/cosh-inputs: Likewise.
18035 * benchtests/exp-inputs: Likewise.
18036 * benchtests/log-inputs: Likewise.
18037 * benchtests/pow-inputs: Likewise.
18038 * benchtests/rint-inputs: Likewise.
18039 * benchtests/sin-inputs: Likewise.
18040 * benchtests/sinh-inputs: Likewise.
18041 * benchtests/tan-inputs: Likewise.
18042 * benchtests/tanh-inputs: Likewise.
18043 * scripts/bench.pl: Add support for new directives.
18044
9ec1b13d
AM
180452013-10-07 Alan Modra <amodra@gmail.com>
18046
18047 * README: Fix careless merge.
18048
8b7d57cd
AM
180492013-10-05 Alan Modra <amodra@gmail.com>
18050
18051 * NEWS: Mention powerpc64le support and bugs fixed.
18052 * README: Both big-endian and little-endian powerpc64 supported.
18053
7b7bab13
ST
180542013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18055
57f41c40
AS
18056 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18057 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18058 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18059 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18060
d39baad1
RA
180612013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18062
18063 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18064 match prototype.
18065
cd78f7e7
JM
180662013-10-04 Joseph Myers <joseph@codesourcery.com>
18067
29d73d86
JM
18068 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18069 Move -mhard-float appending from
18070 ports/sysdeps/powerpc/powerpc32/Makefile.
18071 [$(with-fp) = yes] (ASFLAGS): Likewise.
18072 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18073 * sysdeps/powerpc/nofpu: Move directory from
18074 ports/sysdeps/powerpc/nofpu.
18075 * sysdeps/powerpc/soft-fp: Move directory from
18076 ports/sysdeps/powerpc/soft-fp.
18077 * sysdeps/powerpc/powerpc32/405: Move directory from
18078 ports/sysdeps/powerpc/powerpc32/405.
18079 * sysdeps/powerpc/powerpc32/440: Move directory from
18080 ports/sysdeps/powerpc/powerpc32/440.
18081 * sysdeps/powerpc/powerpc32/464: Move directory from
18082 ports/sysdeps/powerpc/powerpc32/464.
18083 * sysdeps/powerpc/powerpc32/476: Move directory from
18084 ports/sysdeps/powerpc/powerpc32/476.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18086 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18088 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18090 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18092 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18094 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18095 * README: Update for powerpc-*-linux-gnu software floating point
18096 support in libc.
18097
e246b347
JM
18098 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18099 case to powerpc/powerpc32*.
18100 * sysdeps/unix/sysv/linux/configure: Regenerated.
18101
89c2003e
JM
18102 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18103 (_FPU_MASK_OM): Define as 0x04.
18104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18106 0x00c10080.
18107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18108 0x0000003c.
18109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18110
cd78f7e7
JM
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18112 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18113 getcontext_e500.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18115 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18116 setcontext_e500.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18118 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18119 and setcontext_e500.
18120
c755294d
CL
181212013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18122
18123 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18124
e16d221c
SP
181252013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18126
18127 * manual/threads.texi (Default Thread Attributes): Fix typo.
18128
215c7d43
WN
181292013-10-04 Will Newton <will.newton@linaro.org>
18130
18131 * malloc/Makefile: Add tst-memalign.
18132 * malloc/tst-memalign.c: New file.
18133
27d0461b
WN
18134 * malloc/tst-posix_memalign.c: Add comments.
18135 (do_test): Add comments and call free on all potentially
18136 allocated pointers. Add space after cast.
18137
1bc92709
WN
18138 * malloc/tst-pvalloc.c: Add comments.
18139 (do_test): Add comments and call free on all potentially
18140 allocated pointers. Remove duplicate check for NULL pointer.
18141 Add space after cast.
18142
66a9be9d
WN
18143 * malloc/tst-valloc.c: Add comments.
18144 (do_test): Add comments and call free on all potentially
18145 allocated pointers. Remove duplicate check for NULL pointer.
18146 Add space after cast.
18147
4cb81307
AM
181482013-10-04 Alan Modra <amodra@gmail.com>
18149
18150 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18151 Use stdint types in rather than __attribute__((mode())).
18152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18153
f8e3e9f3
AM
181542013-10-04 Alan Modra <amodra@gmail.com>
18155
18156 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18157 Correct handling of unaligned relocs for little-endian.
18158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18159
8f9ebb08
AM
181602013-10-04 Alan Modra <amodra@gmail.com>
18161
18162 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18163 * configure: Regenerate.
18164 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18165 * shlib-versions: Likewise.
18166
0edf96c2
AM
181672013-10-04 Alan Modra <amodra@gmail.com>
18168
18169 * string/tester.c (test_memrchr): Increment reported test cycle.
18170
e0f7a380
AM
181712013-10-04 Alan Modra <amodra@gmail.com>
18172
18173 * string/test-memcpy.c (do_one_test): When reporting errors, print
18174 string address and don't overrun end of string.
18175
466b0393
AM
181762013-10-04 Alan Modra <amodra@gmail.com>
18177
18178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18179 insrdi. Make better use of reg selection to speed exit slightly.
18180 Schedule entry path a little better. Remove useless "are we done"
18181 checks on entry to main loop. Handle wrapping around zero address.
18182 Correct main loop count. Handle single left-over word from main
18183 loop inline rather than by using loop_small. Remove extra word
18184 case in loop_small caused by wrong loop count. Add little-endian
18185 support.
18186 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18187 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18188 cache hint.
18189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18190 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18191 support. Avoid rlwimi.
18192 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18193
3be87c77
AM
181942013-10-04 Alan Modra <amodra@gmail.com>
18195
18196 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18197 insrdi. Formatting.
3be87c77
AM
18198 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18199 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18200 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18202 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18203 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18204
759cfef3
AM
182052013-10-04 Alan Modra <amodra@gmail.com>
18206
18207 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18208 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18209 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18210 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18211 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18212 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18213 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18214 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18215 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18216 use of regs. Use power7 mtocrf. Tidy function tails.
18217
fe6e95d7
AM
182182013-10-04 Alan Modra <amodra@gmail.com>
18219
18220 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18221 Formatting. Consistently use rXXX register defines or rN defines.
18222 Use early exit labels that avoid restoring unused non-volatile regs.
18223 Make cr field use more consistent with rWORDn compares. Rename
18224 regs used as shift registers for unaligned loop, using rN defines
18225 for short lifetime/multiple use regs.
18226 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18227 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18228 addi 1,1,64 to pop stack frame. Simplify return value code.
18229 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18230
664318c3
AM
182312013-10-04 Alan Modra <amodra@gmail.com>
18232
18233 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18234 support. Correct typos, formatting. Optimize tail. Use insrdi
18235 rather than rlwimi.
18236 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18237 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18238 little-endian support. Correct typos.
18239 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18240 rather than rlwimi.
18241 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18242 in loop and entry code to keep "and." results.
18243 (strchr): Add little-endian support. Comment. Move cntlzd
18244 earlier in tail.
18245 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18246
43b84013
AM
182472013-10-04 Alan Modra <amodra@gmail.com>
18248
18249 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18250 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18251 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18252 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18253
8a7413f9
AM
182542013-10-04 Alan Modra <amodra@gmail.com>
18255
18256 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18257 (rTMP): Define as r11.
18258 (strcmp): Add little-endian support. Optimise tail.
18259 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18260 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18261 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18262 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18263 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18266
33ee81de
AM
182672013-10-04 Alan Modra <amodra@gmail.com>
18268
18269 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18270 little-endian support. Remove unnecessary "are we done" tests.
18271 Handle "s" wrapping around zero and extremely large "size".
18272 Correct main loop count. Handle single left-over word from main
18273 loop inline rather than by using small_loop. Correct comments.
18274 Delete "zero" tail, use "end_max" instead.
18275 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18276
db9b4570
AM
182772013-10-04 Alan Modra <amodra@gmail.com>
18278
18279 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18280 support. Don't branch over align.
18281 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18282 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18283 support. Rearrange tmp reg use to suit. Comment.
18284 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18285
f7c399cf
AM
182862013-10-04 Alan Modra <amodra@gmail.com>
18287
18288 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18289
0b2c2ace
AM
182902013-10-04 Alan Modra <amodra@gmail.com>
18291
18292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18293 conditional form of branch and link when obtaining pc.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18295
02f04a6c
AM
182962013-10-04 Alan Modra <amodra@gmail.com>
18297
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18299 HIWORD/LOWORD.
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18302
9b874b2f
AM
183032013-10-04 Alan Modra <amodra@gmail.com>
18304
18305 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18306 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18307 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18309 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18311 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18312 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18313 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18314 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18315
be1e5d31
AB
183162013-10-04 Anton Blanchard <anton@au1.ibm.com>
18317 Alistair Popple <alistair@ozlabs.au.ibm.com>
18318 Alan Modra <amodra@gmail.com>
18319
18320 [BZ #15723]
18321 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18322 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18323 _dl_hwcap access for little-endian.
18324 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18325 destroy vmx regs when saving unaligned.
18326 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18327 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18328 destroy vmx regs when saving unaligned.
18329
fef13a78
AM
183302013-10-04 Alan Modra <amodra@gmail.com>
18331
18332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18333 Don't use a union to pack hi/low value.
18334
76a66d51
AB
183352013-10-04 Anton Blanchard <anton@au1.ibm.com>
18336
18337 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18338 for little-endian.
18339 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18341 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18342 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18343 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18344
6a31fe7f
AM
183452013-10-04 Alan Modra <amodra@gmail.com>
18346
18347 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18348 constants to usual value for .cst8 section, and remove redundant
18349 high address load.
18350 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18351 constant for 0x1p52. Load little-endian words of double from
18352 correct stack offsets.
18353
7b88401f
AM
183542013-10-04 Alan Modra <amodra@gmail.com>
18355
18356 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18357 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18358 words of double from correct stack offsets.
18359 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18360 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18361 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18362 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18366 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18367 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18371 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18372 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18373 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18374 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18375 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18376
9c008155
AM
183772013-10-04 Alan Modra <amodra@gmail.com>
18378
18379 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18380 64-bit int/double union.
18381 (_FPU_SETCW): Likewise.
18382 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18383 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18384
da13146d
AM
183852013-10-04 Alan Modra <amodra@gmail.com>
18386
18387 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18388 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18389
603e8410
AM
183902013-10-04 Alan Modra <amodra@gmail.com>
18391
18392 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18393 use vector int constants.
18394 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18395
4a28b3ca
AB
183962013-10-04 Anton Blanchard <anton@au1.ibm.com>
18397
18398 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18399 array with long long.
18400 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18401 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18402 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18403 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18404 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18405 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18406 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18407 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18408 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18409 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18410 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18411 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18412 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18413
2ca85d2b
AB
184142013-10-04 Anton Blanchard <anton@au1.ibm.com>
18415
18416 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18417 (__signbit): Likewise. Correct for little-endian.
18418 (__signbitl): Call __signbit.
18419 (lrint): Correct for little-endian.
18420 (lrintf): Call lrint.
18421
62a728ae
AM
184222013-10-04 Alan Modra <amodra@gmail.com>
18423
18424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18425 union 32-bit int array member with 64-bit int array.
18426 (t515, tm256): Double rather than long double.
18427 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18428
32c301df
AM
184292013-10-04 Alan Modra <amodra@gmail.com>
18430
18431 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18432 Delete.
18433 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18435 version of math_ldbl.h.
18436
650ef4bd
AM
184372013-10-04 Alan Modra <amodra@gmail.com>
18438
18439 [BZ #15734], [BZ #15735]
18440 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18441 all uses of ieee875 long double macros and unions. Simplify test
18442 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18443 ldbl_extract_mantissa value for ix,iy exponents. Properly
18444 normalize after ldbl_extract_mantissa, and don't add hidden bit
18445 already handled. Don't treat low word of ieee854 mantissa like
18446 low word of IBM long double and mask off bit when testing for
18447 zero.
18448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18449 all uses of ieee875 long double macros and unions. Simplify tests
18450 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18451 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18452 two1022, instead use their values. Recognise that tests for large
18453 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18455 Rewrite all uses of ieee875 long double macros and unions. Simplify
18456 test for 0.0L and nan. Correct negation.
18457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18458 ieee875 long double macros and unions. Correct output for large
18459 magnitude x. Correct absolute value calculation.
18460 (__erfcl): Likewise.
18461 * math/libm-test.inc: Add tests for errors discovered in IBM long
18462 double versions of fmodl, remainderl, erfl and erfcl.
18463
765714ca
AM
184642013-10-04 Alan Modra <amodra@gmail.com>
18465
18466 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18467 all uses of ieee854 long double macros and unions. Simplify tests
18468 for long doubles that are fully specified by the high double.
18469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18470 Likewise.
18471 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18472 Remove dead code too.
18473 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18474 (__ieee754_ynl): Likewise.
18475 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18476 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18478 Remove dead code too.
18479 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18480 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18482 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18483 Simplify.
18484 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18485 Simplify.
18486 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18487 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18489 Comment on variable precision.
18490 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18491 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18492 Likewise.
18493 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18494 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18495 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18496 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18497 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18498
4ebd120c
AM
184992013-10-04 Alan Modra <amodra@gmail.com>
18500
18501 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18503 all uses of ieee854 long double macros and unions.
18504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18506 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18507 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18508 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18510 Likewise.
18511 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18512 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18513 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18515 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18517 Simplify sign and nan test too.
18518 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18520 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18521 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18522 Likewise.
18523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18524 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18525 Likewise.
18526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18527 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18528 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18529 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18530 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18532
1b6adf88
AM
185332013-10-04 Alan Modra <amodra@gmail.com>
18534
18535 * stdio-common/printf_size.c (__printf_size): Don't use
18536 union ieee854_long_double in fpnum union.
18537 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18538 signbit macro to retrieve sign from long double.
18539 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18540 retrieve sign from long double.
18541 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18542 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18543 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18544 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18545 * math/test-misc.c (main): Don't use union ieee854_long_double.
18546
4cf69995
AM
185472013-10-04 Alan Modra <amodra@gmail.com>
18548
18549 [BZ #15680]
18550 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18551 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18552 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18553 calculation. Remove unnecessary test for denormal exponent.
18554 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18555 Correct handling of denormals. Avoid undefined shift behaviour.
18556 Correct normalisation of low mantissa when low double is denormal.
18557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18558 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18559 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18560 Correct normalisation of low mantissa. Test for overflow of high
18561 mantissa and normalise.
18562 (ldbl_nearbyint): Use more readable constant for two52.
18563 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18564 (__mpn_construct_long_double): Fix test for overflow of high
18565 mantissa and correct normalisation. Avoid undefined shift.
18566
9605ca6c
AM
185672013-10-04 Alan Modra <amodra@gmail.com>
18568
18569 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18570 (union ibm_extended_long_double): Define as an array of ieee754_double.
18571 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18572 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18573 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18574 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18575 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18576 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18577 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18578 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18579 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18580 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18581 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18582
975569d0
JM
185832013-10-03 Joseph Myers <joseph@codesourcery.com>
18584
d3d23756
JM
18585 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18586 page size instead of calling getpagesize.
18587
975569d0
JM
18588 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18589 (LOCFILE_ALIGN_MASK): Likewise.
18590 (LOCFILE_ALIGN_UP): Likewise.
18591 (LOCFILE_ALIGNED_P): Likewise.
18592 * locale/programs/ld-collate.c (collate_output): Use the new
18593 macros instead of __alignof__ (int32_t).
18594 * locale/weight.h (findidx): Likewise.
18595
b1fe1f2b
OB
185962013-10-03 Ondřej Bílka <neleai@seznam.cz>
18597
18598 [BZ #431]
18599 * manual/string.texi: Fix strncat and wcsncat.
18600
5f855e35
BM
186012013-10-03 Brooks Moses <bmoses@google.com>
18602
18603 [BZ #15915]
18604 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18605 * Makerules: ...here, and adjust associated comments.
18606
3cef6009
WN
186072013-10-02 Will Newton <will.newton@linaro.org>
18608
18609 * malloc/Makefile: Add tst-pvalloc.
18610 * malloc/tst-pvalloc.c: New file.
18611
7815420b
WN
186122013-10-02 Will Newton <will.newton@linaro.org>
18613
18614 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18615 improve test coverage.
18616
4868b204
WN
186172013-10-02 Will Newton <will.newton@linaro.org>
18618
18619 * malloc/Makefile: Add tst-posix_memalign.
18620 * malloc/tst-posix_memalign.c: New file.
18621
29c793b3
EB
186222013-10-01 Eric Blake <eblake@redhat.com>
18623
18624 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18625 Use __THROWNL rather than __THROW on static functions.
18626
fd967522
PM
186272013-09-30 Petr Machata <pmachata@redhat.com>
18628
18629 * elf/elf.h (R_AARCH64_ABS16): New macro.
18630 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18631 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18632 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18633 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18634 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18635 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18636 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18637 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18638 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18639 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18640 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18641 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18642 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18643 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18644 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18645 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18646 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18647 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18648 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18649 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18650 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18651 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18652 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18653 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18654 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18655 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18656 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18657 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18658 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18659 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18660 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18661 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18662 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18663 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18664 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18665 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18666 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18667 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18668 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18669 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18670 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18671 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18672 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18673 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18674 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18675 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18676 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18677 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18678 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18679 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18680 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18681 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18682 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18683 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18684 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18685 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18686 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18687 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18688 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18689 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18690 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18691 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18692 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18693 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18694 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18695 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18696 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18697 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18698 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18699 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18700 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18701 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18702 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18703 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18704 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18705 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18706 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18707 (R_AARCH64_TLSDESC_LDR): Likewise.
18708 (R_AARCH64_TLSDESC_ADD): Likewise.
18709 (R_AARCH64_TLSDESC_CALL): Likewise.
18710
b2179107
AS
187112013-09-30 Andreas Schwab <schwab@suse.de>
18712
18713 [BZ #15048]
18714 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18715 the nss database lookup.
18716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18718
47f28d0a
MF
187192013-09-28 Mike Frysinger <vapier@gentoo.org>
18720
18721 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18722
187232013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18724
18725 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18726 ${Bash-specific parameter/pattern/string} parameter expansion.
18727 * sysdeps/unix/make-syscalls.sh: Likewise.
18728
f4518a17
KK
187292013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18730
18731 * sysdeps/sh/stackguard-macros.h: New file.
18732
dc1a95c7
OB
187332013-09-26 Ondřej Bílka <neleai@seznam.cz>
18734
18735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18737 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18739 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18740 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18741
5ebbff8f
AZ
187422013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18743
18744 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18745 Fix thread ID register.
18746
4fd2cf9f
JM
187472013-09-25 Joseph Myers <joseph@codesourcery.com>
18748
18749 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18750 [POSIX || UNIX98]: Require rather than permitting all symbols from
18751 <time.h>.
18752 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18753 element of struct sched_param.
18754 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18755 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18756 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18757 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18758 constant.
18759
12c22bc4
OL
187602013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18761
18762 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18763 argument calculation.
18764
a03d8ea7
JM
187652013-09-24 Joseph Myers <joseph@codesourcery.com>
18766
18767 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18768 Expect macro.
18769 [POSIX] (pthread_attr_t): Do not require type.
18770 [POSIX] (pthread_cond_t): Likewise.
18771 [POSIX] (pthread_condattr_t): Likewise.
18772 [POSIX] (pthread_key_t): Likewise.
18773 [POSIX] (pthread_mutex_t): Likewise.
18774 [POSIX] (pthread_mutexattr_t): Likewise.
18775 [POSIX] (pthread_once_t): Likewise.
18776 [POSIX] (pthread_t): Likewise.
18777 [POSIX-based standards] (pthread_atfork): Expect function.
18778
6055173a
JM
187792013-09-24 Joseph Myers <joseph@codesourcery.com>
18780 Richard Sandiford <richard@codesourcery.com>
18781
18782 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18783 (swap_endianness_p): New extern variable.
18784 (set_big_endian): New inline function.
18785 (maybe_swap_uint32): Likewise.
18786 (maybe_swap_uint32_array): Likewise.
18787 (maybe_swap_uint32_obstack): Likewise.
18788 * locale/programs/locfile.c: Include <stdbool.h>.
18789 (swap_endianness_p): New variable.
18790 (add_locale_uint32): Call maybe_swap_uint32.
18791 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18792 (write_locale_data): Call maybe_swap_uint32_array.
18793 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18794 maybe_swap_uint32.
18795 (obstack_int32_grow_fast): Likewise.
18796 (output_weightwc): Call maybe_swap_uint32_obstack.
18797 (collate_output): Likewise.
18798 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18799 (OPT_LITTLE_ENDIAN): Likewise.
18800 (options): Add --little-endian and --big-endian options.
18801 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18802 * locale/programs/locarchive.c: Include "locfile.h".
18803 (GET): New macro.
18804 (SET): Likewise.
18805 (INC): Likewise.
18806 (create_archive): Use the new macros to access fields of
18807 structures directly mapped from or written to locale archives.
18808 (oldlocrecentcmp): Likewise.
18809 (enlarge_archive): Likewise.
18810 (insert_name): Likewise.
18811 (add_alias): Likewise.
18812 (add_locale): Likewise.
18813 (delete_locales_from_archive): Likewise.
18814 (show_archive_content): Likewise.
18815 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18816 locale data.
18817
39bf0bb4
RM
188182013-09-24 Roland McGrath <roland@hack.frob.com>
18819
18820 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18821 http://www.gnu.org/doc/freemanuals.texi.
18822 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18823
f02eed10
WN
188242013-09-24 Will Newton <will.newton@linaro.org>
18825
18826 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18827 macro.
18828
a3a6c312
JM
188292013-09-23 Joseph Myers <joseph@codesourcery.com>
18830
18831 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18832 unsigned char.
18833
107375ac
MR
188342013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18835
18836 * manual/threads.texi (POSIX Threads): Fix a typo.
18837
141f3a77
SP
188382013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18839
303e567a
SP
18840 [BZ #14547]
18841 * string/tst-strcoll-overflow.c: New test case.
18842 * string/Makefile (xtests): Add tst-strcoll-overflow.
18843 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18844 cache if string sizes may cause integer overflow.
18845
141f3a77
SP
18846 [BZ #14547]
18847 * string/strcoll_l.c (coll_seq): New members rule, idx,
18848 save_idx and back_us.
18849 (get_next_seq_nocache): New function.
18850 (do_compare_nocache): New function.
18851 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18852 when malloc fails.
18853
c61b4d41
CD
188542013-09-23 Carlos O'Donell <carlos@redhat.com>
18855
0b1f8e35
CD
18856 [BZ #15754]
18857 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18858 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18859 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18860
c61b4d41
CD
18861 [BZ #15754]
18862 * elf/Makefile (tests): Add tst-ptrguard1.
18863 (tests-static): Add tst-ptrguard1-static.
18864 (tst-ptrguard1-ARGS): Define.
18865 (tst-ptrguard1-static-ARGS): Define.
18866 * elf/tst-ptrguard1.c: New file.
18867 * elf/tst-ptrguard1-static.c: New file.
18868 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18869 * sysdeps/i386/stackguard-macros.h: Likewise.
18870 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18871 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18872 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18873 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18874 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18875 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18876
188772013-09-23 Hector Marco <hecmargi@upv.es>
18878 Ismael Ripoll <iripoll@disca.upv.es>
18879 Carlos O'Donell <carlos@redhat.com>
18880
18881 [BZ #15754]
18882 * sysdeps/generic/stackguard-macros.h: Define
18883 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18884 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18885 Define __pointer_chk_guard_local.
18886 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18887 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18888
f5f4e7b4
VV
188892013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18890
18891 [BZ #15859]
18892 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18893
5bb43a43
AS
188942013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18895
18896 * include/string.h (__ffs): Declare as hidden.
18897 * string/ffs.c (__ffs): Define as hidden.
18898 * sysdeps/i386/ffs.c (__ffs): Likewise.
18899 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18900 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18901 * sysdeps/s390/ffs.c (__ffs): Likewise.
18902 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18903
3ea5be54
AO
189042013-09-20 Alexandre Oliva <aoliva@redhat.com>
18905
ffb89e53
AO
18906 * NEWS: Mention malloc probes.
18907
322dea08
AO
18908 * malloc/arena.c (new_heap): New memory_heap_new probe.
18909 (grow_heap): New memory_heap_more probe.
18910 (shrink_heap): New memory_heap_less probe.
18911 (heap_trim): New memory_heap_free probe.
18912 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18913 (systrim): New memory_sbrk_less probe.
18914 * manual/probes.texi: Document them.
18915
655673f3
AO
18916 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18917 * manual/probes.texi: Document it.
18918
35fed6f1
AO
18919 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18920 (__libc_realloc): Add memory_realloc_retry probe.
18921 (__libc_memalign): Add memory_memalign_retry probe.
18922 (__libc_valloc): Add memory_valloc_retry probe.
18923 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18924 (__libc_calloc): Add memory_calloc_retry probe.
18925 * manual/probes.texi: Document them.
18926
6999d38c
AO
18927 * malloc/arena.c (get_free_list): Add probe
18928 memory_arena_reuse_free_list.
18929 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18930 and memory_arena_reuse.
18931 (arena_get2) [!PER_THREAD]: Likewise.
18932 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18933 memory_arena_reuse_realloc.
18934 * manual/probes.texi: Document them.
18935
0653427f
AO
18936 * malloc/malloc.c (__libc_free): Add
18937 memory_mallopt_free_dyn_thresholds probe.
18938 (__libc_mallopt): Add multiple memory_mallopt probes.
18939 * manual/probes.texi: Document them.
18940
3ea5be54
AO
18941 * malloc/malloc.c: Include stap-probe.h.
18942 (__libc_mallopt): Add memory_mallopt probe.
18943 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18944 * manual/probes.texi: New.
18945 * manual/Makefile (chapters): Add probes.
18946 * manual/threads.texi: Set next node.
18947
e35696c3 189482013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 18949
e35696c3
CL
18950 [BZ #15963, #13985]
18951 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18952 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18953 Add `Chinese' to `nan' entry name.
18954
4aafb73c
SP
189552013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18956
18957 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18958 (POLYNOMIAL): Likewise.
18959 (TAYLOR_SINCOS): Likewise.
18960 (TAYLOR_SLOW): Likewise.
18961 (__sin): Use TAYLOR_SINCOS.
18962 (__cos): Likewise.
18963 (slow): Use TAYLOR_SLOW.
18964 (sloww): Likewise.
18965 (bsloww): Likewise.
18966 (csloww): Likewise.
18967
d84f25c7
LD
189682013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18969
18970 * stdlib/strtod_l.c: Fix buffer overrun.
18971
5eea0404
SP
189722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18973
7849ff93
SP
18974 * benchtests/Makefile (bench): Add sincos.
18975 * benchtests/bench-sincos.c: New file.
18976
cfa3c886
SP
18977 * math/libm-test.inc (cos_test_data): New test inputs.
18978 (sin_test_data): Likewise.
18979
b348e1e3
SP
18980 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18981 macro.
18982 (__sin): Use it.
18983 (__cos): Likewise.
18984 (slow1): Likewise.
18985 (slow2): Likewise.
18986 (sloww1): Likewise.
18987 (sloww2): Likewise.
18988 (bsloww1): Likewise.
18989 (bsloww2): Likewise.
18990 (cslow2): Likewise.
18991 (csloww1): Likewise.
18992 (csloww2): Likewise.
18993
6cce25f8
SP
18994 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18995 function.
18996 (__sin): Use it.
18997 (__cos): Likewise.
18998
5eea0404
SP
18999 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19000 gotos.
19001 (__cos): Likewise.
19002
9c21573c
MR
190032013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19004
19005 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19006 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19007 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19008 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19009 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19010 * elf/cache.c (print_entry): Handle the new cache flags.
19011
24d22e65
JM
190122013-09-18 Joseph Myers <joseph@codesourcery.com>
19013 Aldy Hernandez <aldyh@redhat.com>
19014
19015 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19016 Change condition to [_SOFT_FLOAT].
19017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19018 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19029 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19030 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19032 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19033 declaration.
19034
d13ef066
JM
190352013-09-18 Joseph Myers <joseph@codesourcery.com>
19036
2e071de0
JM
19037 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19038 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19039 (__longjmp): Use LOAD_GP to load saved GPRs.
19040 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19041 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19042 (__sigsetjmp): Use SAVE_GP to save GPRs.
19043
d13ef066
JM
19044 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19045 Do not append -msoft-float.
19046 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19047
97a0650b
SP
190482013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19049
19050 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19051
11ca09e9
JM
190522013-09-17 Joseph Myers <joseph@codesourcery.com>
19053
19054 [BZ #15966]
19055 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19056 (_FPU_GETCW): Use initial "__" on variable and field names but not
19057 on macro parameter name.
19058 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19059 parentheses around reference to macro parameter.
19060
08ffcf34
RS
190612013-09-13 Richard Sandiford <richard@codesourcery.com>
19062
19063 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19064 prototype.
19065 (ctype_startup): Use uint32_t in cast and sizeof for
19066 ctype->charnames.
19067
ae7080d3
JL
190682013-09-11 Jia Liu <proljc@gmail.com>
19069
19070 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19071 __daddr_t_defined.
19072 [__FreeBSD__]: Likewise.
19073
5905e7b3
OB
190742013-09-11 Ondřej Bílka <neleai@seznam.cz>
19075
19076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19077 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19078 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19079 (strchr): Remove __strchr_sse42 ifunc selection.
19080 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19081 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19082
b987c776
WN
190832013-09-11 Will Newton <will.newton@linaro.org>
19084
19085 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19086 parameter to RES. Remove hardcoded 1000 value.
19087 * benchtests/bench-skeleton.c (main): Pass RES parameter
19088 to TIMING_INIT and multiply result by 1000.
19089
ddf985af
AZ
190902013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19091
19092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19093
ffdd3181
AS
190942013-09-11 Andreas Schwab <schwab@suse.de>
19095
19096 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19097 if not defined.
19098 (O_TMPFILE) [__USE_GNU]: Define.
19099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19100 Define.
19101
b73ed247
WN
191022013-09-11 Will Newton <will.newton@linaro.org>
19103
19104 [BZ #15857]
19105 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19106 does not overflow.
19107
55e17aad
WN
191082013-09-11 Will Newton <will.newton@linaro.org>
19109
19110 [BZ #15856]
19111 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19112 does not overflow.
19113
1159a193
WN
191142013-09-11 Will Newton <will.newton@linaro.org>
19115
19116 [BZ #15855]
19117 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19118 does not overflow.
19119
5905e7b3 191202013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19121
19122 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19126 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19127
cdfc721b
AM
191282013-09-10 Allan McRae <allan@archlinux.org>
19129
aa04af00
AM
19130 [BZ #15748]
19131 * manual/arith.texi (Parsing of Floats): Clarify
19132 cross-reference.
19133
cdfc721b
AM
19134 [BZ #15849]
19135 * manual/install.texi (Running make install): Mention
19136 --enable-pt-chown.
19137 * INSTALL: Regenerated.
19138
95e7cf29
MR
191392013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19140
19141 * csu/init-first.c (_init): Remove the !SHARED condition around
19142 FPU control word initialization.
19143 * elf/dl-support.c (_dl_fpu_control): New variable.
19144 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19145 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19146 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19147 * math/test-fpucw-static.c: New file.
19148 * math/test-fpucw-ieee.c: New file.
19149 * math/test-fpucw-ieee-static.c: New file.
19150 * math/Makefile (tests): Add `test-fpucw-ieee' and
19151 `$(tests-static)'.
19152 (tests-static): New variable.
19153 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19154 dependency to...
19155 [($(build-shared),yes)]
19156 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19157 ... this.
19158 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19159 New dependency.
19160
83e43bf0
AM
191612013-09-09 Allan McRae <allan@archlinux.org>
19162
a9f5ce09
AM
19163 [BZ #15939]
19164 * manual/string.texi (Collation Functions): Fix typo in
19165 strcoll example.
19166 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19167
34829bc2
AM
19168 [BZ #15893]
19169 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19170
3932737d
AM
19171 [BZ #15892]
19172 * libio/memstream.c (open_memstream): Fix memory leak.
19173 * libio/wmemstream.c (open_wmemstream): Likewise.
19174
83e43bf0
AM
19175 [BZ #15895]
19176 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19177
0c66b8e9
WN
191782013-09-09 Will Newton <will.newton@linaro.org>
19179
19180 * malloc/Makefile: Add tst-realloc to tests.
19181 * malloc/tst-realloc.c: New file.
19182
f6b00fd1
AM
191832013-09-09 Allan McRae <allan@archlinux.org>
19184
19185 [BZ #15844]
19186 * COPYING: Update from GNU website to fix FSF address.
19187 * COPYING.LIB: Likewise.
19188
eec55e16
DM
191892013-09-06 David S. Miller <davem@davemloft.net>
19190
19191 * po/zh_TW.po: Update Chinese (traditional) translation from
19192 translation project.
19193
1ecbb381
RS
191942013-09-06 Richard Sandiford <richard@codesourcery.com>
19195 Joseph Myers <joseph@codesourcery.com>
19196
19197 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19198 "localeinfo.h".
19199 (obstack_chunk_alloc): New macro.
19200 (obstack_chunk_free): Likewise.
19201 (record_offset): New function.
19202 (init_locale_data): Likewise.
19203 (align_locale_data): Likewise.
19204 (add_locale_empty): Likewise.
19205 (add_locale_raw_data): Likewise.
19206 (add_locale_raw_obstack): Likewise.
19207 (add_locale_string): Likewise.
19208 (add_locale_wstring): Likewise.
19209 (add_locale_uint32): Likewise.
19210 (add_locale_uint32_array): Likewise.
19211 (add_locale_char): Likewise.
19212 (start_locale_structure): Likewise.
19213 (end_locale_structure): Likewise.
19214 (start_locale_prelude): Likewise.
19215 (end_locale_prelude): Likewise.
19216 (write_locale_data): Take locale_file structure rather than an
19217 iovec.
19218 * locale/programs/locfile.h: Include "obstack.h".
19219 (struct locale_file): Change to store locale file contents instead
19220 of header.
19221 (init_locale_data): New prototype.
19222 (align_locale_data): Likewise.
19223 (add_locale_empty): Likewise.
19224 (add_locale_raw_data): Likewise.
19225 (add_locale_raw_obstack): Likewise.
19226 (add_locale_string): Likewise.
19227 (add_locale_wstring): Likewise.
19228 (add_locale_uint32): Likewise.
19229 (add_locale_uint32_array): Likewise.
19230 (add_locale_char): Likewise.
19231 (start_locale_structure): Likewise.
19232 (end_locale_structure): Likewise.
19233 (start_locale_prelude): Likewise.
19234 (end_locale_prelude): Likewise.
19235 (write_locale_data): Update prototype.
19236 * locale/programs/3level.h (struct TABLE): Remove result field.
19237 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19238 Use new locale_file interface.
19239 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19240 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19241 * locale/programs/ld-address.c (address_output): Use new
19242 locale_file interface.
19243 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19244 NO_ADD_LOCALE.
19245 (collate_finish): Don't call collseq_table_finalize.
19246 (collate_output): Use new locale_file interface.
19247 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19248 in file.
19249 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19250 (TABLE): Move defines earlier in file.
19251 (ELEMENT): Likewise.
19252 (DEFAULT): Likewise.
19253 (wctrans_table_add): Move macro and inline function earlier in
19254 file.
19255 (struct wctype_table): Move type earlier in file.
19256 (add_locale_wctype_table): New static prototype.
19257 (struct locale_ctype_t): Use logical types instead of struct iovec
19258 pointers for members.
19259 (ctype_output): Use new locale_file interface.
19260 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19261 new locale_file interface.
19262 (allocate_arrays): Update for use of new locale_file interface.
19263 * locale/programs/ld-identification.c (identification_output): Use
19264 new locale_file interface.
19265 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19266 * locale/programs/ld-messages.c (messages_output): Likewise.
19267 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19268 * locale/programs/ld-name.c (name_output): Likewise.
19269 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19270 * locale/programs/ld-paper.c (paper_output): Likewise.
19271 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19272 * locale/programs/ld-time.c (time_output): Likewise.
19273
e029e2e5
AZ
192742013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19275
19276 * benchtests/Makefile: Add memrchr benchmark.
19277 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19278 benchmark as memrchr.
19279 * benchtests/bench-memrchr-ifunc.c: New file.
19280 * benchtests/bench-memrchr.c: New file.
19281
bbf6e8e4
WN
192822013-09-06 Will Newton <will.newton@linaro.org>
19283
19284 * benchtests/Makefile (string-bench): Add memcpy.
19285
6c82a2f8
CD
192862013-09-05 Carlos O'Donell <carlos@redhat.com>
19287 Cong Wang <amwang@redhat.com>
19288
e732c5f0 19289 [BZ #15850]
6c82a2f8
CD
19290 * sysdeps/unix/sysv/linux/bits/in.h
19291 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19292 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19293 before __USE_KERNEL_IPV6_DEFS uses.
19294 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19295 IPPROTO_BEETPH.
19296 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19297 sockaddr_in6, or ipv6_mreq.
19298
5430fc65
AZ
192992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19300
19301 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19302 memory access for final bytes in some large inputs.
19303 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19304
4660856c
AZ
193052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19306
19307 * string/test-memrchr.c: New file.
19308 * string/test-memrchr-ifunc.c: New file.
19309 * string/Makefile: Add new memrchr testcase.
19310
bb8ea713
MF
193112013-09-05 Mike Frysinger <vapier@gentoo.org>
19312
19313 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19314 fanotify_init returns EPERM.
19315
b92a20b5
JM
193162013-09-04 Joseph Myers <joseph@codesourcery.com>
19317
19318 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19319 errors.
19320 (top level): Treat second token from macro or constant entries for
19321 allowed headers as allowed.
19322 * include/complex.h: Condition internal declarations on
19323 [!_ISOMAC].
19324 * include/fenv.h: Condition include of <stdbool.h> and internal
19325 declarations on [!_ISOMAC].
7447ccd9
CL
19326
193272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19328
3e181dda 19329 [BZ #15923]
7447ccd9
CL
19330 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19331
3f2e46a4
JM
193322013-09-04 Joseph Myers <joseph@codesourcery.com>
19333
19334 * configure.in (--enable-versioning): Remove configure option.
19335 (libc_cv_asm_symver_directive): Remove configure test.
19336 (libc_cv_ld_version_script_option): Likewise.
19337 (VERSIONING): Remove variable and AC_SUBST.
19338 (DO_VERSIONING): Remove AC_DEFINE.
19339 * configure: Regenerated.
19340 * config.h.in (DO_VERSIONING): Remove macro.
19341 * Makerules [$(versioning) = yes]: Change conditionals to
19342 [$(build-shared) = yes].
19343 * config.make.in (versioning): Remove variable.
19344 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19345 [$(build-shared) = yes].
19346 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19347 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19348 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19349 [$(build-shared) = yes].
19350 * extra-lib.mk [$(versioning) = yes]: Likewise.
19351 * hurd/Makefile [$(versioning) = yes]: Likewise.
19352 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19353 [SHARED].
19354 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19355 [SHARED].
19356 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19357 [SHARED && !NO_HIDDEN].
19358 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19359 [SHARED].
19360 [SHARED && DO_VERSIONING]: Likewise..
19361 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19362 [$(build-shared) = yes].
19363 * manual/install.texi (--disable-versioning): Remove
19364 documentation.
19365 * INSTALL: Regenerated.
19366 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19367 to [SHARED].
19368 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19369 [$(build-shared) = yes].
19370 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19371 * sysdeps/i386/i686/multiarch/strstr-c.c
19372 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19373 [SHARED && !NO_HIDDEN].
19374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19375 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19376 * sysdeps/powerpc/powerpc32/dl-machine.c
19377 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19378 * sysdeps/powerpc/powerpc32/sysdep.h
19379 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19380 to [SHARED && PIC && !NO_HIDDEN].
19381 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19382 conditional to [SHARED].
19383
44558701
WN
193842013-09-04 Will Newton <will.newton@linaro.org>
19385
19386 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19387 * benchtests/bench-string.h: Include bench-timing.h instead
19388 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19389 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19390 call to HP_TIMING_DIFF_INIT.
19391 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19392 instead of hp-timing.h macros.
19393 * benchtests/bench-memchr.c: Likewise.
19394 * benchtests/bench-memcmp.c: Likewise.
19395 * benchtests/bench-memcpy.c: Likewise.
19396 * benchtests/bench-memmem.c: Likewise.
19397 * benchtests/bench-memmove.c: Likewise.
19398 * benchtests/bench-memset.c: Likewise.
19399 * benchtests/bench-rawmemchr.c: Likewise.
19400 * benchtests/bench-strcasecmp.c: Likewise.
19401 * benchtests/bench-strcasestr.c: Likewise.
19402 * benchtests/bench-strcat.c: Likewise.
19403 * benchtests/bench-strchr.c: Likewise.
19404 * benchtests/bench-strcmp.c: Likewise.
19405 * benchtests/bench-strcpy.c: Likewise.
19406 * benchtests/bench-strcpy_chk.c: Likewise.
19407 * benchtests/bench-strlen.c: Likewise.
19408 * benchtests/bench-strncasecmp.c: Likewise.
19409 * benchtests/bench-strncat.c: Likewise.
19410 * benchtests/bench-strncmp.c: Likewise.
19411 * benchtests/bench-strncpy.c: Likewise.
19412 * benchtests/bench-strnlen.c: Likewise.
19413 * benchtests/bench-strpbrk.c: Likewise.
19414 * benchtests/bench-strrchr.c: Likewise.
19415 * benchtests/bench-strspn.c: Likewise.
19416 * benchtests/bench-strstr.c: Likewise.
19417
cae16d66
WN
194182013-09-04 Will Newton <will.newton@linaro.org>
19419
19420 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19421
ffa3cd7f
JM
194222013-09-03 Joseph Myers <joseph@codesourcery.com>
19423
19424 [BZ #15427]
19425 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19426 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19427 * math/libm-test.inc (lgamma_test_data): Add more tests.
19428 * sysdeps/i386/fpu/libm-test-ulps: Update.
19429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19430
8f02859f
OB
194312013-09-03 Ondřej Bílka <neleai@seznam.cz>
19432
19433 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19435 Add ifunc.
19436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19437 Add strcmp-sse2-unaligned
19438 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19439
18d43716
MF
194402013-09-02 Mike Frysinger <vapier@gentoo.org>
19441
19442 * Versions.def (libc): Add GLIBC_2.19.
19443
ac444012
MF
194442013-09-02 Mike Frysinger <vapier@gentoo.org>
19445
19446 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19447 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19448
b7835e32
JM
194492013-09-02 Joseph Myers <joseph@codesourcery.com>
19450
19451 [BZ #14155]
19452 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19453 intermediate calculations in recurrence.
19454 (__ieee754_ynf): Likewise.
19455 * math/libm-test.inc (jn_test_data): Do not allow spurious
19456 underflow exception. Add more tests.
19457 (yn_test_data): Add more tests.
19458 * sysdeps/i386/fpu/libm-test-ulps: Update.
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19460
8220f4f0
OB
194612013-09-02 Ondřej Bílka <neleai@seznam.cz>
19462
19463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19464
f24a6d08
OB
194652013-08-30 Ondřej Bílka <neleai@seznam.cz>
19466
19467 * csu/init-first.c: Fix then/than typos.
19468 * locale/programs/ld-collate.c: Likewise.
19469 * locale/programs/linereader.h: Likewise.
19470 * manual/charset.texi: Likewise.
19471 * manual/filesys.texi: Likewise.
19472 * manual/stdio.texi: Likewise.
19473 * manual/string.texi: Likewise.
19474 * stdlib/fmtmsg.c: Likewise.
19475 * sysdeps/i386/stpncpy.S: Likewise.
19476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19477 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19480
382466e0
OB
194812013-08-30 Ondřej Bílka <neleai@seznam.cz>
19482
19483 * elf/dl-open.c: Fix typos.
19484 * iconvdata/gbbig5.c: Likewise.
19485 * iconvdata/iso-2022-jp.c: Likewise.
19486 * iconv/gconv_int.h: Likewise.
19487 * iconv/loop.c: Likewise.
19488 * nis/rpcsvc/nis.h: Likewise.
19489 * resolv/ns_name.c: Likewise.
19490 * stdio-common/vfscanf.c: Likewise.
19491 * streams/stropts.h: Likewise.
19492 * sunrpc/rpc_thread.c: Likewise.
19493 * sysdeps/i386/strpbrk.S: Likewise.
19494 * sysdeps/ieee754/k_standard.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19497 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19498 * sysdeps/mach/hurd/profil.c: Likewise.
19499 * sysdeps/s390/dl-procinfo.h: Likewise.
19500 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19502 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19503 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19505
0186c6e9
OB
195062013-08-30 Ondřej Bílka <neleai@seznam.cz>
19507
19508 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19510
d4e16af1
OB
195112013-08-29 Ondřej Bílka <neleai@seznam.cz>
19512
19513 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19514 aix specific files.
19515 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19516 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19517 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19518 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19519 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19520 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19522 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19523
88335980
TS
195242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19525 Roland McGrath <roland@hack.frob.com>
19526
19527 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19528 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19529
ed479b02
ST
195302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19531
19532 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19533 __executable_start symbol instead of _start.
19534
f1cc4c86
TS
195352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19536
d821f07c
TS
19537 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19538 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19539 Move macros to...
19540 * sysdeps/gnu/ldsodefs.h: ... this new file.
19541
c54290cf
TS
19542 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19543 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19544 instead of ELFOSABI_LINUX.
19545
0007fc9b 19546 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19547 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19548 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19549 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19550 Likewise.
19551 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19552 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19554 Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19556 (ibm_extended_long_double): Add ieee_nan member.
19557 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19558 (do_test): New function.
19559
f1cc4c86
TS
19560 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19561 TEST_TRUNC.
19562 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19563 functions, renamed from truncdfsf_test, trunctfsf_test,
19564 trunctfdf_test.
19565 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19566 functions.
19567 (do_test): Run all these.
19568
6f65e668
OB
195692013-08-29 Ondřej Bílka <neleai@seznam.cz>
19570
19571 * argp/argp-help.c: Fix typos.
19572 * argp/argp-parse.c: Likewise.
19573 * debug/backtracesyms.c: Likewise.
19574 * elf/elf.h: Likewise.
19575 * malloc/malloc.c: Likewise.
19576 * nis/nis_print.c: Likewise.
19577 * resolv/res_comp.c: Likewise.
19578 * stdlib/stdlib.h: Likewise.
19579 * sunrpc/clnt_tcp.c: Likewise.
19580 * sunrpc/clnt_udp.c: Likewise.
19581 * sunrpc/clnt_unix.c: Likewise.
19582 * sysdeps/unix/bsd/ptsname.c: Likewise.
19583 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19586 Likewise.
19587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19588 Likewise.
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19590 Likewise.
6f65e668
OB
19591 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19592
3a309239
SP
195932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19594
19595 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19597
3b813b29
MF
195982013-08-27 Mike Frysinger <vapier@gentoo.org>
19599
19600 [BZ #15897]
19601 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19602 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19603 ($(objpfx)bug-dl-leaf): New rule.
19604 ($(objpfx)bug-dl-leaf.so): Likewise.
19605 ($(objpfx)bug-dl-leaf.out): Likewise.
19606 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19607 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19608 * dlfcn/bug-dl-leaf.c: New test.
19609 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19610 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19611 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19612 (dlclose): Likewise.
19613 (dlmopen): Likewise.
19614
8cc3269f
RM
196152013-08-27 Roland McGrath <roland@hack.frob.com>
19616
7f9d0034
RM
19617 * include/netdb.h [!_ISOMAC]:
19618 Don't include <tls.h>.
19619 (h_errno, __libc_h_errno): Move declaration and macros out of
19620 [_LIBC_REENTRANT].
19621
fb431262
RM
19622 * include/resolv.h [_RESOLV_H_]:
19623 Don't include <tls.h>.
19624 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19625 * resolv/res_libc.c: Don't include <tls.h>.
19626 (_res): Use __attribute__ ((nocommon)) in place of
19627 __attribute__ ((section (".bss"))).
19628
bd81123a
RM
19629 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19630 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19631
c4e42566
RM
19632 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19633
f890a59b
RM
19634 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19635 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19636
19637 * resolv/res_mkquery.c: Include <sys/time.h>.
19638
5d1f0a09
RM
19639 * inet/ifreq.c: Moved to ...
19640 * sysdeps/unix/ifreq.c: ... here.
19641 * inet/ifreq.c: New file, true stub version.
19642
6fcf28b3
RM
19643 * socket/sa_len.c: New file.
19644 * socket/Makefile (aux): Add it.
19645 * sysdeps/unix/sysv/linux/Makefile
19646 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19647 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19648 and #include <socket/sa_len.c>.
19649 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19650 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19651
e041fb8b
RM
19652 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19653 * bits/socket.h: ... here.
19654
8cc3269f
RM
19655 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19656 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19657 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19658
5d228a43
AS
196592013-08-27 Andreas Schwab <schwab@suse.de>
19660
45b8accc
AS
19661 [BZ #15736]
19662 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19663 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19664 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19665 * string/test-strcasecmp.c (test_main): Run tests in several
19666 locales.
19667 * string/test-strncasecmp.c (test_main): Likewise.
19668
5d228a43
AS
19669 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19670 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19671 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19673 (__strncasecmp_ssse3) [PIC]: Likewise.
19674
59d112a4
RM
196752013-08-26 Roland McGrath <roland@hack.frob.com>
19676
53234cc3
RM
19677 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19678
59d112a4
RM
19679 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19680 instead of explicitly declaring xdecrypt.
19681 * nis/nss_nis/nis-publickey.c: Likewise.
19682
595aba70
SP
196832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19684
19685 [BZ #15890]
19686 * nscd/aicache.c: Include res_hconf.h.
19687 (addhstaiX): Initialize res_hconf.
19688
ffabd393
AS
196892013-08-26 Andreas Schwab <schwab@suse.de>
19690
19691 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19692 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19693
e0a69f5c
SP
196942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19695
19696 * nscd/aicache.c (addhstaiX): Fix indentation.
19697
8c12f01d
MF
196982013-08-25 Mike Frysinger <vapier@gentoo.org>
19699
19700 * configure.ac: Quote $build_pt_chown test.
19701 * configure: Regenerated.
19702
8fe89494
JM
197032013-08-23 Joseph Myers <joseph@codesourcery.com>
19704
19705 [BZ #15532]
19706 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19707 * math/s_cexpf.c (__cexpf): Likewise.
19708 * math/s_cexpl.c (__cexpl): Likewise.
19709 * math/libm-test.inc (cexp_test_data): Correct expected return
19710 value for NaN + i0. Add another test.
19711
75b181d6
DM
197122013-08-22 David S. Miller <davem@davemloft.net>
19713
19714 * po/ca.po: Update Catalan translation from translation project.
936241e4 19715 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19716
acd06bb1
JM
197172013-08-21 Joseph Myers <joseph@codesourcery.com>
19718
19719 [BZ #15797]
19720 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19721 is infinite, not alongside NaN test.
19722 * math/s_fdimf.c (__fdimf): Likewise.
19723 * math/s_fdiml.c (__fdiml): Likewise.
19724 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19725 errno is unchanged.
19726
c0c3f78a
OB
197272013-08-21 Ondřej Bílka <neleai@seznam.cz>
19728
19729 * argp/argp-help.c: Fix typos.
19730 * crypt/speeds.c: Likewise.
19731 * csu/check_fds.c: Likewise.
19732 * elf/dl-load.c: Likewise.
19733 * elf/dl-open.c: Likewise.
19734 * elf/reldep3.c: Likewise.
19735 * elf/reldep.c: Likewise.
19736 * elf/sprof.c: Likewise.
19737 * iconv/iconv_charmap.c: Likewise.
19738 * iconv/skeleton.c: Likewise.
19739 * iconv/strtab.c: Likewise.
19740 * io/lockf64.c: Likewise.
19741 * libio/libioP.h: Likewise.
19742 * resolv/gai_notify.c: Likewise.
19743 * resolv/ns_name.c: Likewise.
19744 * resolv/ns_samedomain.c: Likewise.
19745 * resolv/res_send.c: Likewise.
19746 * stdlib/random.c: Likewise.
19747 * sunrpc/rpc/xdr.h: Likewise.
19748 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19749 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19750 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19751 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19756 * sysdeps/mach/hurd/check_fds.c: Likewise.
19757 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19760 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19761 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19762 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19763 * sysdeps/pthread/aio_notify.c: Likewise.
19764 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19765 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19768 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19769
46ed1038
LD
197702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19771
19772 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19773 version if bit_Slow_SSE4_2 is set.
19774 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19775 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19776
d400dcac
AZ
197772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19778
19779 [BZ #15867]
19780 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19781 trampoline stack frame information.
19782 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19784 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19785 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19786 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19787 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19788 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19789 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19790 sa_flags value.
19791 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19792 interrupting a syscall and set with option SA_SIGINFO.
19793
42c8fdd8
JM
197942013-08-20 Joseph Myers <joseph@codesourcery.com>
19795
c980f2f4
JM
19796 [BZ #15531]
19797 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19798 argument is infinite.
19799 * math/s_cprojf.c (__cprojf): Likewise.
19800 * math/s_cprojl.c (__cprojl): Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19802 * math/libm-test.inc (cproj_test_data): Add more tests.
19803
0716c4fc
JM
19804 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19805
42c8fdd8
JM
19806 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19807 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19808 size. Use __ffs to determine corresponding shift.
19809
b31469d0
JM
198102013-08-20 Joseph Myers <joseph@codesourcery.com>
19811 Roland McGrath <roland@hack.frob.com>
19812
19813 * Makefile (INSTALL): Remove trailing blank lines from output of
19814 makeinfo.
19815
4e39af6e
AK
198162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19817
19818 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19819 Align 32 bit compat elf_greg to 8 bytes.
19820
f315524e
AA
198212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19822
19823 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19824
1326ba1a
SP
198252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
19827 * string/strcoll_l.c (coll_seq): New structure.
19828 (get_next_seq_cached): New function.
19829 (get_next_seq): New function.
19830 (do_compare): New function.
19831 (STRCOLL): Use GNU style definition. Simplify implementation
19832 by using get_next_seq, get_next_seq_cached and do_compare.
19833
91ce4085
FW
198342013-08-16 Florian Weimer <fweimer@redhat.com>
19835
19836 [BZ #14699]
19837 CVE-2013-4237
19838 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19839 member.
19840 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19841 member.
19842 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19843 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19844 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19845 conditional.
19846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19847 GETDENTS_64BIT_ALIGNED.
19848 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19849 * manual/filesys.texi (Reading/Closing Directory): Document
19850 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19851 strongly.
19852 * manual/conf.texi (Limits for Files): Add portability note to
19853 NAME_MAX, PATH_MAX.
19854 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19855
ca0a6bc4
AS
198562013-08-13 Andreas Schwab <schwab@suse.de>
19857
19858 [BZ #15749]
19859 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19860 of fabs.
19861 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19862 LDBL_MAX_EXP >= 16384]: Add tests for it.
19863
6c1fd795
DM
198642013-08-12 David S. Miller <davem@davemloft.net>
19865
19866 * version.h (RELEASE): Set to "development".
19867 (VERSION): Set to "2.18.90".
19868 * NEWS: Add 2.19 section.
19869
31ad488d
DM
198702013-08-03 David S. Miller <davem@davemloft.net>
19871
19872 * po/ko.po: Update Korean translation from translation project.
19873
db24e684
DM
198742013-08-01 David S. Miller <davem@davemloft.net>
19875
19876 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19877 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19878 Bilka.
19879
f723285b
DM
198802013-07-30 David S. Miller <davem@davemloft.net>
19881
19882 * po/fr.po: Update French translation from translation project.
19883
3cbc52db
DM
198842013-07-28 David S. Miller <davem@davemloft.net>
19885
30bbc0cc
DM
19886 * po/cs.po: Update Czech translation from translation project.
19887
3cbc52db
DM
19888 * po/sv.po: Update Swedish translation from translation project.
19889
d492e6d0
DM
198902013-07-27 David S. Miller <davem@davemloft.net>
19891
f1a7f492
DM
19892 * po/eo.po: Update Esperanto translation from translation project.
19893
90e62a4a
DM
19894 * po/vi.po: Update Vietnamese translation from translation project.
19895
d492e6d0
DM
19896 * po/de.po: Update German translation from translation project.
19897
d4baa62d
DM
198982013-07-26 David S. Miller <davem@davemloft.net>
19899
641aa7b4
DM
19900 * po/bg.po: Update Bulgarian translation from translation project.
19901
d4baa62d
DM
19902 * po/nl.po: Update Dutch translation from translation project.
19903 * po/pl.po: Update Polish translation from translation project.
19904 * po/ru.po: Update Russian translation from translation project.
19905
61a9dcb9
DM
199062013-07-24 David S. Miller <davem@davemloft.net>
19907
19908 * po/libc.pot: Update.
19909
7b1f8b58
AZ
199102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911
19912 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19913 variable page size.
19914 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19915 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19916 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19917
a8fc7a03
AK
199182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19919
19920 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19921
e4608715
CD
199222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19923 Andreas Schwab <schwab@suse.de>
19924 Roland McGrath <roland@hack.frob.com>
19925 Joseph Myers <joseph@codesourcery.com>
19926 Carlos O'Donell <carlos@redhat.com>
19927
19928 [BZ #15755]
19929 * config.h.in: Define HAVE_PT_CHOWN.
19930 * config.make.in (build-pt-chown): New variable.
19931 * configure.in (--enable-pt_chown): New configure option.
19932 * configure: Regenerate.
19933 * login/Makefile: Include Makeconfig. Build pt_chown only if
19934 build-pt-chown is enabled.
19935 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19936 pt_chown to fix pty ownership.
19937 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19938 CLOSE_ALL_FDS.
19939 * manual/install.texi (Configuring and compiling): Mention
19940 --enable-pt_chown. Add @findex for grantpt.
19941 * INSTALL: Regenerate.
19942
da2d62df
DM
199432013-07-20 David S. Miller <davem@davemloft.net>
19944
19945 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19946 difference between 32-bit and 64-bit.
19947
d7e06450
CD
199482013-07-15 Carlos O'Donell <carlos@redhat.com>
19949
19950 [BZ #15711]
19951 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19952 Avoid system header dependency with -ffreestanding.
19953 ($(objpfx)bits/syscall%d): Likewise.
19954
f959cfd7
DM
199552013-07-13 David S. Miller <davem@davemloft.net>
19956
19957 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19958 underflows from atanl/atan2l due to bug 15319.
19959 (casinh_test_data): Likewise.
19960
c61f8513
DM
199612013-07-07 David S. Miller <davem@davemloft.net>
19962
19963 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19964
72c90ed0
JA
199652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19966
19967 * sysdeps/i386/fpu/libm-test-ulps: Update.
19968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969
52dfbe13
SP
199702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19971
19972 * configure.in (--enable-lock-elision): Fix message text.
19973 * INSTALL: Regenerate.
19974 * configure: Regenerate.
19975
3f169543
AZ
199762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19977
19978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19979
521c6785
AJ
199802013-07-03 Andreas Jaeger <aj@suse.de>
19981
19982 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19983 define.
19984 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19985 (ptrace_peeksiginfo_args): Add.
19986 (__ptrace_peeksiginfo_flags): Add.
19987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19989 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19990
d2cc15cb
AM
199912013-07-03 Allan McRae <allan@archlinux.org>
19992
19993 * sysdeps/i386/fpu/libm-test-ulps: Update.
19994
3aaeeca7
DM
199952013-07-02 David S. Miller <davem@davemloft.net>
19996
19997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19998
5314ed1a
MT
199992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20000
20001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20002
67338156
JM
200032013-07-02 Joseph Myers <joseph@codesourcery.com>
20004
20005 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20007
1717da59
AK
200082013-07-02 Andi Kleen <ak@linux.intel.com>
20009
20010 * config.h.in (ENABLE_LOCK_ELISION): Add.
20011 * configure.in (--enable-lock-elision): Add option.
20012 * manual/install.texi: Document --enable lock elision.
20013 * configure: Regenerate
20014 * INSTALL: Regenerate.
20015
1c81621c
L
200162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20017
20018 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20019 SSE4.2 strcasecmp for libc.a.
20020 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20021
77f01ab5
JM
200222013-07-02 Joseph Myers <joseph@codesourcery.com>
20023
20024 [BZ #13304]
20025 * soft-fp/op-common.h (_FP_FMA): New macro.
20026 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20027 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20028 (_FP_MUL_MEAT_1_imm): ... here.
20029 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20030 (_FP_MUL_MEAT_1_wide): ... here.
20031 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20032 (_FP_MUL_MEAT_1_hard): ... here.
20033 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20034 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20035 (_FP_MUL_MEAT_2_wide): ... here.
20036 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20037 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20038 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20039 (_FP_MUL_MEAT_2_gmp): ... here.
20040 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20041 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20042 (_FP_MUL_MEAT_4_wide): ... here.
20043 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20044 (_FP_MUL_MEAT_4_gmp): ... here.
20045 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20046 (_FP_WFRACBITS_DW_S): Likewise.
20047 (_FP_WFRACXBITS_DW_S): Likewise.
20048 (_FP_HIGHBIT_DW_S): Likewise.
20049 (FP_FMA_S): Likewise.
20050 (_FP_FRAC_HIGH_DW_S): Likewise.
20051 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20052 (_FP_WFRACBITS_DW_D): Likewise.
20053 (_FP_WFRACXBITS_DW_D): Likewise.
20054 (_FP_HIGHBIT_DW_D): Likewise.
20055 (FP_FMA_D): Likewise.
20056 (_FP_FRAC_HIGH_DW_D): Likewise.
20057 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20058 (_FP_WFRACBITS_DW_E): Likewise.
20059 (_FP_WFRACXBITS_DW_E): Likewise.
20060 (_FP_HIGHBIT_DW_E): Likewise.
20061 (FP_FMA_E): Likewise.
20062 (_FP_FRAC_HIGH_DW_E): Likewise.
20063 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20064 (_FP_WFRACBITS_DW_Q): Likewise.
20065 (_FP_WFRACXBITS_DW_Q): Likewise.
20066 (_FP_HIGHBIT_DW_Q): Likewise.
20067 (FP_FMA_Q): Likewise.
20068 (_FP_FRAC_HIGH_DW_Q): Likewise.
20069 * soft-fp/fmasf4.c: New file.
20070 * soft-fp/fmadf4.c: Likewise.
20071 * soft-fp/fmatf4.c: Likewise.
20072
6308fd9a
LD
200732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20074
20075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20076 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20077 Silvermont.
20078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20079 macro.
20080 (index_Slow_SSE4_2): Likewise.
20081 (index_Prefer_PMINUB_for_stringop): Likewise.
20082 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20083 bit_Slow_SSE4_2 is set.
20084 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20085 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20086
89cd9569
RA
200872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20088
20089 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20090 rtld_global._dl_hwcap2.
20091 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20092 POWER8.
20093 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20094 POWER8 feature descriptions defined in _dl_hwcap2.
20095 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20096 string handling for POWER8 feature bits.
20097 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20098 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20099 _dl_powerpc_cap_flags.
20100 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20101 * sysdeps/powerpc/rtld-global-offsets.sym
20102 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20103 _dl_hwcap2 in the rtld_global_ro structure.
20104
1ae8bfe0
RA
201052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20106
20107 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20108 hardware capabilities in support of AT_HWCAP2.
20109 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20110 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20111 GLRO(dl_hwcap2).
20112 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20113 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20114 explicitly the unknown a_type display mechanism is used.
20115 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20116 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20117 struct member.
20118 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20119 to macro prototype for AT_HWCAP2 support.
20120 * sysdeps/i386/dl-procinfo.h: Likewise.
20121 * sysdeps/s390/dl-procinfo.h: Likewise.
20122 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20123 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20124 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20125 return -1 for unknown a_type display fallback.
20126 * sysdeps/sparc/dl-procinfo.h: Likewise.
20127 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20128 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20129
8fbec010
JM
201302013-06-28 Joseph Myers <joseph@codesourcery.com>
20131
20132 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20133 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20134
0432680e
PY
201352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20136
20137 [BZ #12492]
20138 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20139 mprotect making __stack_prot writable.
20140
ce61a2ad
NF
201412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20142 Joseph Myers <joseph@codesourcery.com>
20143
20144 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20145 as being properly aligned.
20146
f91f1c0f
MR
201472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20148
3d0f5d0c
MR
20149 * dlfcn/modstatic5.c: New file.
20150 * dlfcn/tststatic5.c: New file.
20151 * dlfcn/Makefile (tests): Add tststatic5.
20152 (tests-static): Likewise.
20153 (modules-names): Add modstatic5.
20154 (tststatic5-ENV): New variable.
20155 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20156
f91f1c0f
MR
20157 [BZ #15022]
20158 * elf/dl-support.c (_dl_main_map): New variable.
20159 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20160 (_dl_nns, _dl_load_adds): Set to 1.
20161 (_dl_initial_searchlist): Refer to _dl_main_map.
20162 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20163 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20164 call to _dl_get_origin.
20165 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20166 around call_map.
20167 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20168 * dlfcn/modstatic3.c: New file.
20169 * dlfcn/tststatic3.c: New file.
20170 * dlfcn/tststatic4.c: New file.
20171 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20172 (tests-static): Likewise.
20173 (modules-names): Add modstatic3.
20174 (tststatic3-ENV, tststatic4-ENV): New variables.
20175 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20176 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20177
cbe7d24b
JM
201782013-06-26 Joseph Myers <joseph@codesourcery.com>
20179
20180 * configure.in (CC): Require GCC version 4.4 or later.
20181 * configure: Regenerated.
20182 * manual/install.texi (Tools for Compilation): Update GCC version
20183 requirement.
20184 * INSTALL: Regenerated.
20185
11b8a0e1
LD
201862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20187
20188 [BZ #15674]
bb5bb87c
L
20189 * string/test-memcmp.c (check2): New.
20190 (main): Call check2.
20191
11b8a0e1
LD
20192 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20193
b0037103
MR
201942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20195
20196 [BZ #15022]
20197 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20198 over to...
20199 (dl_open_worker) [!SHARED]: ... here.
20200
c18c701d
RA
202012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20202
20203 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20204
1d17fa5f
RH
202052013-06-25 Richard Henderson <rth@redhat.com>
20206
20207 * locale/programs/locarchive.c: Include <libc-internal.h>
20208
8fcb833a
JM
202092013-06-25 Joseph Myers <joseph@codesourcery.com>
20210
20211 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20212 trailing whitespace removed.
20213
17db6e8d
MF
202142013-06-24 Mike Frysinger <vapier@gentoo.org>
20215
20216 [BZ #10283]
17db6e8d
MF
20217 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20218 * locale/programs/locarchive.c: Include libc-mmap.h.
20219 (prepare_address_space): Take two new outputs (the mmap base and len).
20220 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20221 values.
20222 (create_archive): Declare new mmap base and len values for
20223 prepare_address_space, and store the result in ah.
20224 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20225 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20226 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20227 Declare new mmap base and len values for
20228 prepare_address_space, and store the result in new_ah.
20229 (open_archive): Declare new mmap base and len values for
20230 prepare_address_space, and store the result in ah.
20231 (close_archive): If ah->mmap_base is not NULL, use that and
20232 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20233 * sysdeps/generic/libc-mmap.h: New file.
20234
d605071e
MF
202352013-06-24 Mike Frysinger <vapier@gentoo.org>
20236
20237 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20238 (ALIGN_UP): Likewise.
20239 (PTR_ALIGN_DOWN): Likewise.
20240 (PTR_ALIGN_UP): Likewise.
20241
2f063a6e
RA
202422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20243
20244 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20245 entry mapped to PPC_PLATFORM_POWER8.
20246 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20247 POWER8.
20248 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20249 (_dl_string_platform): Add case for exporting platform position for
20250 POWER8.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20252 search path to sysdeps/powerpc/powerpc32/power8 directory.
20253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20254 search path to sysdeps/powerpc/powerpc64/power8 directory.
20255 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20256 power7 directories.
20257 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20258 power7 directories.
20259
a31ee4b3
SP
202602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20261
a74ca98f
SP
20262 * INSTALL: Regenerate.
20263
a31ee4b3
SP
20264 * nscd/connections.c (nscd_init): Fix comment.
20265
695c378f
JM
202662013-06-22 Joseph Myers <joseph@codesourcery.com>
20267
d8412221
JM
20268 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20269
695c378f
JM
20270 [BZ #15667]
20271 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20272 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20273
d1d54715
MR
202742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20275
20276 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20277 DL_DST_REQ_STATIC.
20278 (DL_DST_REQ_STATIC): Remove macro.
20279
8fdda7af
JM
202802013-06-21 Joseph Myers <joseph@codesourcery.com>
20281
20282 [BZ #7006]
20283 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20284 with a shift of 0 bits.
20285
f3bc5e5a
MR
202862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20287
20288 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20289 $(tststatic-ENV).
20290
be09e8c9
KK
202912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20292
20293 [BZ #15655]
20294 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20295
85c2e611
AZ
202962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20297
20298 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20299 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20300 accepts -fno-tree-loop-distribute-patterns.
20301 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20302 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20303 recursive call.
20304 * string/memset.c (memset): Likewise.
20305 * string/test-memmove.c (simple_memmove): Disable loop transformation
20306 to library calls.
20307 * string/test-memset.c (simple_memset): Likewise.
20308 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20309 * benchtests/bench-memset.c (simple_memset): Likewise.
20310 * configure: Regenerated.
20311
c91e0825
JM
203122013-06-20 Joseph Myers <joseph@codesourcery.com>
20313
b8c792af
JM
20314 * math/test-misc.c (main): Ignore fesetround failure when failures
20315 of subsequent rounding tests would be ignored.
20316
c91e0825
JM
20317 [BZ #15654]
20318 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20319 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20320 * math/fegetenv.c (__fegetenv): Return 0.
20321 * math/fegetexcept.c (fegetexcept): Return 0.
20322 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20323 FE_TONEAREST.
20324 * math/feholdexcpt.c (feholdexcept): Return 0.
20325 * math/fesetenv.c (__fesetenv): Return 0.
20326 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20327 argument FE_TONEAREST.
20328 * math/feupdateenv.c (__feupdateenv): Return 0.
20329 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20330
bfcacbde
RM
203312013-06-18 Roland McGrath <roland@hack.frob.com>
20332
20333 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20334 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20335 ($(objpfx)rtld-%.os rules): Use them.
20336
e55a9b25
AZ
203372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20338
20339 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20340 fields.
20341
346d65b3
RM
203422013-06-17 Roland McGrath <roland@hack.frob.com>
20343
12086fb4
RM
20344 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20345 length of target pattern, then descending length of dependency pattern.
20346 * configure.in (AWK): Require gawk 3.1.2 or newer.
20347 * manual/install.texi (Tools for Compilation): Say that we do.
20348 * configure: Regenerated.
20349
346d65b3
RM
20350 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20351 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20352 * scripts/sysd-rules.awk: ... this new script.
20353 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20354 than a glob-style pattern.
20355
1a846317
JM
203562013-06-17 Joseph Myers <joseph@codesourcery.com>
20357
20358 * math/test-misc.c (main): Do not treat incorrectly rounded
20359 conversions as failure unless ROUNDING_TESTS passes.
20360
8fc75e6f
JM
203612013-06-15 Joseph Myers <joseph@codesourcery.com>
20362
3711a167
JM
20363 [BZ #15631]
20364 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20365 restore exception state around main square root computation, then
20366 check for inexactness explicitly.
20367
8fc75e6f
JM
20368 * math/libm-test.inc (fma_test_data): Add another test.
20369
61dd6208
SP
203702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20371
adf23d2c
SP
20372 * manual/threads.texi (Non-POSIX Extensions): New document
20373 node. Document pthread_getattr_default_np and
20374 pthread_setattr_default_np.
20375
61dd6208
SP
20376 * Versions.def (libpthread): Add GLIBC_2.18.
20377 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20379 Likewise.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20381 Likewise.
20382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20383 Likewise.
20384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20385 Likewise.
20386 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20387 Likewise.
20388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20389 Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20393 Likewise.
20394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20395 Likewise.
20396
d086fc7b
LD
203972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20398
20399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20400 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20401
747ef469
SP
204022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20403 H.J. Lu <hjl.tools@gmail.com>
20404
20405 [BZ #15627]
20406 * sysdeps/x86_64/rtld-memset.c: Remove file.
20407 * sysdeps/x86_64/rtld-memset.S: New file.
20408
1b2feed2
JM
204092013-06-14 Joseph Myers <joseph@codesourcery.com>
20410
20411 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20412 (test_in_one_mode): Take arguments for whether the rounding mode
20413 is supported for each floating-point type.
20414 (do_test): Pass new arguments to test_in_one_mode using
20415 ROUNDING_TESTS.
20416
a58ad3f8
RM
204172013-06-13 Roland McGrath <roland@hack.frob.com>
20418
20419 * posix/tst-waitid.c (do_test): Distinguish different instances of
20420 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20421 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20422 before entering the kernel for waitpid.
20423
c204ab28
SP
204242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20425
20426 * NEWS: Fix note on clock function precision. Text by Roland
20427 McGrath.
20428
f4a29fba
RM
204292013-06-13 Roland McGrath <roland@hack.frob.com>
20430
20431 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20432 it into place only when and if the sanity check passes.
20433
1f24b9ad
JM
204342013-06-13 Joseph Myers <joseph@codesourcery.com>
20435
20436 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20437 output for whether conversion result is exact. Take argument
20438 indicating whether type is IBM long double.
20439 (round_for_all): Change need_exact field to ibm_ld.
20440 * stdlib/tst-strtod-round.c (struct exactness): New type.
20441 (struct test): Change bool ld_ok field to struct exactness exact.
20442 (TEST): Update all definitions for change to field.
20443 (tests): Regenerate array contents.
20444 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20445 field value. Check for IBM long double here.
20446 (do_test): Update calls to test_in_one_mode.
20447
58206c68
SP
204482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20449
20450 [BZ #12515]
20451 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20452 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20453
2d6f4c5b 204542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20455
20456 [BZ #15605]
20457 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20458 generated by the compiler on loop optimizations.
20459 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20460 general definitions.
20461
94f2c076
JM
204622013-06-12 Joseph Myers <joseph@codesourcery.com>
20463
20464 * math/bug-nextafter.c: Include <math-tests.h>.
20465 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20466 the relevant type.
20467 * math/bug-nexttoward.c: Include <math-tests.h>.
20468 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20469 the relevant type.
20470 * math/test-misc.c: Include <math-tests.h>.
20471 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20472 the relevant type.
20473
e0e50a0a
AJ
204742013-06-12 Andreas Jaeger <aj@suse.de>
20475
20476 * po/ia.po: Update Interlingua translation from translation
20477 project.
20478
25061094
SP
204792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20480
20481 * include/fenv.h: Include stdbool.h.
20482 (struct rm_ctx): New structure.
20483 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20484 Define macro.
20485 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20486 (SET_RESTORE_ROUNDF): Likewise.
20487 (SET_RESTORE_ROUNDL): Likewise.
20488 (SET_RESTORE_ROUND_NOEX): Likewise.
20489 (SET_RESTORE_ROUND_NOEXF): Likewise.
20490 (SET_RESTORE_ROUND_NOEXL): Likewise.
20491 (SET_RESTORE_ROUND_53BIT): Likewise.
20492 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20493 (libc_feresetround_noexf_ctx): Likewise.
20494 (libc_feresetround_noexl_ctx): Likewise.
20495 (libc_feholdsetround_53bit_ctx): Likewise.
20496 (libc_feresetround_53bit_ctx): Likewise.
20497 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20498 (libc_feholdexcept_setround_sse_ctx): New function.
20499 (libc_fesetenv_sse_ctx): Likewise.
20500 (libc_feupdateenv_sse_ctx): Likewise.
20501 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20502 (libc_feholdexcept_setround_387_ctx): Likewise.
20503 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20504 (libc_feholdsetround_387_prec_ctx): Likewise.
20505 (libc_feholdsetround_387_ctx): Likewise.
20506 (libc_feholdsetround_387_53bit_ctx): Likewise.
20507 (libc_feholdsetround_sse_ctx): Likewise.
20508 (libc_feresetround_sse_ctx): Likewise.
20509 (libc_feresetround_387_ctx): Likewise.
20510 (libc_feupdateenv_387_ctx): Likewise.
20511 (libc_feholdexcept_setroundf_ctx): Define macro.
20512 (libc_fesetenvf_ctx): Likewise.
20513 (libc_feupdateenvf_ctx): Likewise.
20514 (libc_feholdsetroundf_ctx): Likewise.
20515 (libc_feresetroundf_ctx): Likewise.
20516 (libc_feholdexcept_setround_ctx): Likewise.
20517 (libc_fesetenv_ctx): Likewise.
20518 (libc_feupdateenv_ctx): Likewise.
20519 (libc_feholdsetround_ctx): Likewise.
20520 (libc_feresetround_ctx): Likewise.
20521 (libc_feholdexcept_setroundl_ctx): Likewise.
20522 (libc_feupdateenvl_ctx): Likewise.
20523 (libc_feholdsetroundl_ctx): Likewise.
20524 (libc_feresetroundl_ctx): Likewise.
20525 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20526 (libc_feresetround_53bit_ctx): Likewise.
20527
59b30555
SP
205282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20529
20530 * locale/iso-639.def: Convert to UTF-8.
20531
f1d73d30
JM
205322013-06-11 Joseph Myers <joseph@codesourcery.com>
20533
20534 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20535 (EXCEPTION_TESTS_double): Likewise.
20536 (EXCEPTION_TESTS_long_double): Likewise.
20537 (EXCEPTION_TESTS): Likewise.
20538 * math/libm-test.inc (test_exceptions): Only test exceptions if
20539 EXCEPTION_TESTS (FLOAT).
20540
94aca5e7
SP
205412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20542
20543 * benchtests/Makefile (string-bench): Add strcpy_chk and
20544 stpcpy_chk.
20545 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20546 * benchtests/bench-stpcpy_chk.c: New file.
20547 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20548 * benchtests/bench-strcpy_chk.c: New file.
20549 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20550 code.
20551 (do_test): Likewise.
20552
fac0c5f2
RA
205532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20554
20555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20556 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20557 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20558 with tabs where appropriate.
20559 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20560 dl-procinfo.h.
20561 [PPC_PLATFORM_PPC440]: Likewise.
20562 [PPC_PLATFORM_PPC464]: Likewise.
20563 [PPC_PLATFORM_PPC476]: Likewise.
20564 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20565 ppc464, and ppc476 platform strings merging from ports/
20566 dl-procinfo.h.
20567
f22bc486
AS
205682013-06-11 Andreas Schwab <schwab@suse.de>
20569
20570 [BZ #14991]
20571 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20572 (from_ucs4_idx): Regenerate.
20573 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20574 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20575 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20576 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20577 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20578 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20579 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20580 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20581 from FROM_LOOP and TO_LOOP specific macros.
20582 (BODY): Handle combining characters.
20583 * iconvdata/BIG5HKSCS.irreversible: Update.
20584 * iconvdata/BIG5HKSCS.precomposed: New file.
20585 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20586 characters.
20587 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20588
c1f75dc3
SP
205892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20590
4eacded2
SP
20591 * include/sys/time.h: Fix indentation and add copyright header.
20592
fec799f8
SP
20593 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20594 (do_test): Likewise.
20595 * string/test-memchr.c (do_one_test): Likewise.
20596 (do_test): Likewise.
20597 * string/test-memcmp.c (do_one_test): Likewise.
20598 (do_test): Likewise.
20599 * string/test-memcpy.c (do_one_test): Likewise.
20600 (do_test): Likewise.
20601 * string/test-memmem.c (do_one_test): Likewise.
20602 (do_test): Likewise.
20603 (do_random_tests): Likewise.
20604 * string/test-memmove.c (do_one_test): Likewise.
20605 (do_test): Likewise.
20606 * string/test-memset.c (do_one_test): Likewise.
20607 (do_test): Likewise.
20608 * string/test-rawmemchr.c (do_one_test): Likewise.
20609 (do_test): Likewise.
20610 * string/test-strcasecmp.c (do_one_test): Likewise.
20611 (do_test): Likewise.
20612 * string/test-strcasestr.c (do_one_test): Likewise.
20613 (do_test): Likewise.
20614 * string/test-strcat.c (do_one_test): Likewise.
20615 (do_test): Likewise.
20616 * string/test-strchr.c (do_one_test): Likewise.
20617 (do_test): Likewise.
20618 * string/test-strcmp.c (do_one_test): Likewise.
20619 (do_test): Likewise.
20620 * string/test-strcpy.c (do_one_test): Likewise.
20621 (do_test): Likewise.
20622 * string/test-string.h: Likewise.
20623 (test_init): Likewise.
20624 * string/test-strlen.c (do_one_test): Likewise.
20625 (do_test): Likewise.
20626 * string/test-strncasecmp.c (do_one_test): Likewise.
20627 (do_test): Likewise.
20628 * string/test-strncat.c (do_one_test): Likewise.
20629 (do_test): Likewise.
20630 * string/test-strncmp.c (do_one_test): Likewise.
20631 (do_test_limit): Likewise.
20632 (do_test): Likewise.
20633 * string/test-strncpy.c (do_one_test): Likewise.
20634 (do_test): Likewise.
20635 * string/test-strnlen.c (do_one_test): Likewise.
20636 (do_test): Likewise.
20637 * string/test-strpbrk.c (do_one_test): Likewise.
20638 (do_test): Likewise.
20639 * string/test-strrchr.c (do_one_test): Likewise.
20640 (do_test): Likewise.
20641 * string/test-strspn.c (do_one_test): Likewise.
20642 (do_test): Likewise.
20643 * string/test-strstr.c (do_one_test): Likewise.
20644 (do_test): Likewise.
20645
97020474
SP
20646 * benchtests/Makefile (string-bench): Add string benchmarks.
20647 * benchtests/bench-bcopy-ifunc.c: New file.
20648 * benchtests/bench-bcopy.c: New file.
20649 * benchtests/bench-bzero-ifunc.c: New file.
20650 * benchtests/bench-bzero.c: New file.
20651 * benchtests/bench-memccpy-ifunc.c: New file.
20652 * benchtests/bench-memccpy.c: New file.
20653 * benchtests/bench-memchr-ifunc.c: New file.
20654 * benchtests/bench-memchr.c: New file.
20655 * benchtests/bench-memcmp-ifunc.c: New file.
20656 * benchtests/bench-memcmp.c: New file.
20657 * benchtests/bench-memmem-ifunc.c: New file.
20658 * benchtests/bench-memmem.c: New file.
20659 * benchtests/bench-memmove-ifunc.c: New file.
20660 * benchtests/bench-memmove.c: New file.
20661 * benchtests/bench-mempcpy-ifunc.c: New file.
20662 * benchtests/bench-mempcpy.c: New file.
20663 * benchtests/bench-memset-ifunc.c: New file.
20664 * benchtests/bench-memset.c: New file.
20665 * benchtests/bench-rawmemchr-ifunc.c: New file.
20666 * benchtests/bench-rawmemchr.c: New file.
20667 * benchtests/bench-stpcpy-ifunc.c: New file.
20668 * benchtests/bench-stpcpy.c: New file.
20669 * benchtests/bench-stpncpy-ifunc.c: New file.
20670 * benchtests/bench-stpncpy.c: New file.
20671 * benchtests/bench-strcasecmp-ifunc.c: New file.
20672 * benchtests/bench-strcasecmp.c: New file.
20673 * benchtests/bench-strcasestr-ifunc.c: New file.
20674 * benchtests/bench-strcasestr.c: New file.
20675 * benchtests/bench-strcat-ifunc.c: New file.
20676 * benchtests/bench-strcat.c: New file.
20677 * benchtests/bench-strchr-ifunc.c: New file.
20678 * benchtests/bench-strchr.c: New file.
20679 * benchtests/bench-strchrnul-ifunc.c: New file.
20680 * benchtests/bench-strchrnul.c: New file.
20681 * benchtests/bench-strcmp-ifunc.c: New file.
20682 * benchtests/bench-strcmp.c: New file.
20683 * benchtests/bench-strcpy-ifunc.c: New file.
20684 * benchtests/bench-strcpy.c: New file.
20685 * benchtests/bench-strcspn-ifunc.c: New file.
20686 * benchtests/bench-strcspn.c: New file.
20687 * benchtests/bench-strlen-ifunc.c: New file.
20688 * benchtests/bench-strlen.c: New file.
20689 * benchtests/bench-strncasecmp-ifunc.c: New file.
20690 * benchtests/bench-strncasecmp.c: New file.
20691 * benchtests/bench-strncat-ifunc.c: New file.
20692 * benchtests/bench-strncat.c: New file.
20693 * benchtests/bench-strncmp-ifunc.c: New file.
20694 * benchtests/bench-strncmp.c: New file.
20695 * benchtests/bench-strncpy-ifunc.c: New file.
20696 * benchtests/bench-strncpy.c: New file.
20697 * benchtests/bench-strnlen-ifunc.c: New file.
20698 * benchtests/bench-strnlen.c: New file.
20699 * benchtests/bench-strpbrk-ifunc.c: New file.
20700 * benchtests/bench-strpbrk.c: New file.
20701 * benchtests/bench-strrchr-ifunc.c: New file.
20702 * benchtests/bench-strrchr.c: New file.
20703 * benchtests/bench-strspn-ifunc.c: New file.
20704 * benchtests/bench-strspn.c: New file.
20705 * benchtests/bench-strstr-ifunc.c: New file.
20706 * benchtests/bench-strstr.c: New file.
20707
c1f75dc3
SP
20708 * benchtests/Makefile: Disable parallel execution of targets.
20709 (string-bench): Add memcpy.
20710 (benchset): New variable to store a list of benchmark sets.
20711 (bench-func): Renamed from bench.
20712 (bench-set): New target.
20713 (bench): Depend on bench-func and bench-set.
20714 * benchtests/README: Add section on benchmark sets.
20715 * benchtests/bench-memcpy-ifunc.c: New file.
20716 * benchtests/bench-memcpy.c: New file.
20717 * benchtests/bench-string.h: New file.
20718
50fd745b
AS
207192013-06-11 Andreas Schwab <schwab@suse.de>
20720
20721 [BZ #15577]
20722 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20723 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20724 values in the triple.
20725 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20726 terminator in the group key.
20727
3ee7e9fe
AJ
207282013-06-11 Andreas Jaeger <aj@suse.de>
20729
20730 * po/zh_TW.po: Update Chinese (traditional) translation from
20731 translation project.
20732
89fb6835
SP
207332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20734
20735 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20736 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20737 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20739 (clock_getcpuclockid): Likewise.
20740 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20741 Add weak_alias and libc_hidden_def.
20742 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20743 * rt/clock_gettime.c (clock_gettime): Rename to
20744 __clock_gettime. Add weak_alias and libc_hidden_def.
20745 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20746 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20747 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20748 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20749 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20750 Likewise.
20751 * rt/clock_settime.c (clock_settime): Rename to
20752 __clock_settime. Add weak_alias and libc_hidden_def.
20753 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20754
0efa6f8b
JM
207552013-06-10 Joseph Myers <joseph@codesourcery.com>
20756
b8c61b4b
JM
20757 * mach/err_boot.sub: Remove trailing whitespace.
20758 * mach/err_ipc.sub: Likewise.
20759 * mach/err_mach.sub: Likewise.
20760
0efa6f8b
JM
20761 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20762 (ROUNDING_TESTS_double): Likewise.
20763 (ROUNDING_TESTS_long_double): Likewise.
20764 (ROUNDING_TESTS): Likewise.
20765 * math/libm-test.inc: Include <math-tests.h>.
20766 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20767 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20768 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20769 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20770
50b818bf
SP
207712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20772
20773 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20774 of assigning.
20775
60d2f8f3
JM
207762013-06-08 Joseph Myers <joseph@codesourcery.com>
20777
4902d2c3
JM
20778 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20779 otherwise empty TRANS lines.
20780 * sysdeps/gnu/errlist.c: Regenerated.
20781
60d2f8f3
JM
20782 * catgets/gencat.c (error_print): Use (void) in function
20783 definition.
20784 * crypt/crypt_util.c (__init_des): Likewise.
20785 * crypt/speeds.c (Stop): Likewise.
20786 (main): Likewise.
20787 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20788 * inet/ruserpass.c (token): Likewise.
20789 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20790 * intl/localealias.c (extend_alias_table): Likewise.
20791 * intl/plural-exp.c (init_germanic_plural): Likewise.
20792 * libio/fcloseall.c (__fcloseall): Likewise.
20793 * libio/genops.c (_IO_flush_all): Likewise.
20794 (_IO_flush_all_linebuffered): Likewise.
20795 (_IO_cleanup): Likewise.
20796 (_IO_iter_begin): Likewise.
20797 (_IO_iter_end): Likewise.
20798 (_IO_list_lock): Likewise.
20799 (_IO_list_unlock): Likewise.
20800 (_IO_list_resetlock): Likewise.
20801 * libio/getchar.c (getchar): Likewise.
20802 * libio/getchar_u.c (getchar_unlocked): Likewise.
20803 * libio/getwchar.c (getwchar): Likewise.
20804 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20805 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20806 * login/getpt.c (__getpt): Likewise.
20807 * login/tst-utmp.c (main): Likewise.
20808 * malloc/hooks.c (__malloc_check_init): Likewise.
20809 * malloc/malloc.c (__malloc_stats): Likewise.
20810 * malloc/mtrace.c (tr_break): Likewise.
20811 (mtrace): Likewise.
20812 (muntrace): Likewise.
20813 * misc/fstab.c (endfsent): Likewise.
20814 * misc/getclktck.c (__getclktck): Likewise.
20815 * misc/getdtsz.c (__getdtablesize): Likewise.
20816 * misc/gethostid.c (gethostid): Likewise.
20817 * misc/getpagesize.c (__getpagesize): Likewise.
20818 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20819 (__get_nprocs): Likewise.
20820 (__get_phys_pages): Likewise.
20821 (__get_avphys_pages): Likewise.
20822 * misc/getttyent.c (getttyent): Likewise.
20823 (setttyent): Likewise.
20824 (endttyent): Likewise.
20825 * misc/getusershell.c (getusershell): Likewise.
20826 (endusershell): Likewise.
20827 (setusershell): Likewise.
20828 (initshells): Likewise.
20829 * misc/hsearch.c (__hdestroy): Likewise.
20830 * misc/sync.c (sync): Likewise.
20831 * misc/syslog.c (closelog_internal): Likewise.
20832 (closelog): Likewise.
20833 * misc/ttyslot.c (ttyslot): Likewise.
20834 * misc/vhangup.c (vhangup): Likewise.
20835 * posix/fork.c (__fork): Likewise.
20836 * posix/getegid.c (__getegid): Likewise.
20837 * posix/geteuid.c (__geteuid): Likewise.
20838 * posix/getgid.c (__getgid): Likewise.
20839 * posix/getpid.c (__getpid): Likewise.
20840 * posix/getppid.c (__getppid): Likewise.
20841 * posix/getuid.c (__getuid): Likewise.
20842 * posix/pause.c (pause): Likewise.
20843 * posix/setpgrp.c (setpgrp): Likewise.
20844 * posix/setsid.c (__setsid): Likewise.
20845 * posix/test-vfork.c (noop): Likewise.
20846 * resolv/gethnamaddr.c (_endhtent): Likewise.
20847 (_gethtent): Likewise.
20848 (ht_endhostent): Likewise.
20849 (gethostent): Likewise.
20850 (dns_service): Likewise.
20851 * stdlib/drand48.c (drand48): Likewise.
20852 * stdlib/lrand48.c (lrand48): Likewise.
20853 * stdlib/mrand48.c (mrand48): Likewise.
20854 * stdlib/rand.c (rand): Likewise.
20855 * stdlib/random.c (__random): Likewise.
20856 * stdlib/setenv.c (clearenv): Likewise.
20857 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20858 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20859 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20860 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20861 (__get_nprocs): Likewise.
20862 (__get_phys_pages): Likewise.
20863 (__get_avphys_pages): Likewise.
20864 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20865 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20866 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20867 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20868 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20869 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20870 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20871 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20872 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20873 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20874 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20875 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20876 * sysdeps/posix/clock.c (clock): Likewise.
20877 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20878 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20879 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20880 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20881 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20883 (__get_nprocs_conf): Likewise.
20884 (__get_phys_pages): Likewise.
20885 (__get_avphys_pages): Likewise.
20886 * time/clock.c (clock): Likewise.
20887 * time/tzset.c (__tzname_max): Likewise.
20888
2e09a79a
JM
208892013-06-07 Joseph Myers <joseph@codesourcery.com>
20890
20891 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20892 (__bswap_32): Do not use "register".
20893 * crypt/crypt.c (_ufc_doit_r): Likewise.
20894 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20895 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20896 * gmon/gmon.c (__monstartup): Likewise.
20897 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20898 * hurd/hurdmalloc.c (more_memory): Likewise.
20899 (malloc): Likewise.
20900 (free): Likewise.
20901 (realloc): Likewise.
20902 (malloc_fork_prepare): Likewise.
20903 (malloc_fork_parent): Likewise.
20904 (malloc_fork_child): Likewise.
20905 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20906 (_svcauth_des): Likewise.
20907 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20908 * inet/inet_net.c (inet_network): Likewise.
20909 * inet/inet_netof.c (inet_netof): Likewise.
20910 * inet/rcmd.c (__validuser2_sa): Likewise.
20911 * io/fts.c (fts_open): Likewise.
20912 (fts_load): Likewise.
20913 (fts_close): Likewise.
20914 (fts_read): Likewise.
20915 (fts_children): Likewise.
20916 (fts_build): Likewise.
20917 (fts_stat): Likewise.
20918 (fts_sort): Likewise.
20919 (fts_alloc): Likewise.
20920 (fts_lfree): Likewise.
20921 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20922 (_IO_file_xsgetn): Likewise.
20923 (_IO_file_xsgetn_mmap): Likewise.
20924 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20925 (_IO_cookie_write): Likewise.
20926 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20927 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20928 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20929 * malloc/obstack.c (_obstack_begin): Likewise.
20930 (_obstack_begin_1): Likewise.
20931 (_obstack_newchunk): Likewise.
20932 (_obstack_allocated_p): Likewise.
20933 (obstack_free): Likewise.
20934 (_obstack_memory_used): Likewise.
20935 * misc/getttyent.c (getttynam): Likewise.
20936 (getttyent): Likewise.
20937 (skip): Likewise.
20938 (value): Likewise.
20939 * misc/getusershell.c (initshells): Likewise.
20940 * misc/syslog.c (__vsyslog_chk): Likewise.
20941 * misc/ttyslot.c (ttyslot): Likewise.
20942 * nis/nis_hash.c (__nis_hash): Likewise.
20943 * posix/fnmatch_loop.c (FCT): Likewise.
20944 * posix/getconf.c (print_all): Likewise.
20945 (main): Likewise.
20946 * posix/getopt.c (exchange): Likewise.
20947 * posix/glob.c (globfree): Likewise.
20948 (prefix_array): Likewise.
20949 (__glob_pattern_type): Likewise.
20950 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20951 (NS_GET32): Likewise.
20952 (NS_PUT16): Likewise.
20953 (NS_PUT32): Likewise.
20954 * resolv/gethnamaddr.c (getanswer): Likewise.
20955 (gethostbyname2): Likewise.
20956 (gethostbyaddr): Likewise.
20957 (_gethtent): Likewise.
20958 (_gethtbyname2): Likewise.
20959 (_gethtbyaddr): Likewise.
20960 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20961 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20962 * resolv/res_init.c (__res_vinit): Likewise.
20963 (net_mask): Likewise.
20964 * resolv/res_mkquery.c (outchar): Likewise.
20965 (PRINT): Likewise.
20966 * stdio-common/printf_fp.c (outchar): Likewise.
20967 (PRINT): Likewise.
20968 * stdio-common/printf_fphex.c (outchar): Likewise.
20969 (PRINT): Likewise.
20970 * stdio-common/printf_size.c (outchar): Likewise.
20971 (PRINT): Likewise.
20972 * stdio-common/test_rdwr.c (main): Likewise.
20973 * stdio-common/tfformat.c (matches): Likewise.
20974 * stdio-common/vfprintf.c (outchar): Likewise.
20975 (printf_unknown): Likewise.
20976 (buffered_vfprintf): Likewise.
20977 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20978 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20979 (ReadFile): Likewise.
20980 * stdlib/qsort.c (SWAP): Likewise.
20981 (_quicksort): Likewise.
20982 * stdlib/setenv.c (__add_to_environ): Likewise.
20983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20984 * stdlib/strtol_l.c (__strtol_l): Likewise.
20985 * stdlib/tst-strtod.c (main): Likewise.
20986 * stdlib/tst-strtol.c (main): Likewise.
20987 * stdlib/tst-strtoll.c (main): Likewise.
20988 * string/bits/string2.h (__strcmp_cc): Likewise.
20989 (__strcmp_cg): Likewise.
20990 (__strcspn_c1): Likewise.
20991 (__strcspn_c2): Likewise.
20992 (__strcspn_c3): Likewise.
20993 (__strspn_c1): Likewise.
20994 (__strspn_c2): Likewise.
20995 (__strspn_c3): Likewise.
20996 (__strsep_1c): Likewise.
20997 (__strsep_2c): Likewise.
20998 (__strsep_3c): Likewise.
20999 * string/memccpy.c (__memccpy): Likewise.
21000 * string/stpcpy.c (__stpcpy): Likewise.
21001 * string/strcmp.c (strcmp): Likewise.
21002 * string/strrchr.c (strrchr): Likewise.
21003 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21004 Likewise.
21005 * sysdeps/mach/hurd/getcwd.c
21006 (_hurd_canonicalize_directory_name_internal): Likewise.
21007 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21008 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21009 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21010 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21011 Likewise, in both definitions.
21012 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21013 definitions.
21014 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21015 64] (__bswap_64): Likewise.
21016 * time/test_time.c (main): Likewise.
21017 * time/tzfile.c (__tzfile_read): Likewise.
21018 (__tzfile_compute): Likewise.
21019 * time/tzset.c (__tzset_parse_tz): Likewise.
21020 (tzset_internal): Likewise.
21021 (compute_change): Likewise.
21022 * wcsmbs/wcscat.c (__wcscat): Likewise.
21023 * wcsmbs/wcschr.c (wcschr): Likewise.
21024 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21025 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21026 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21027 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21028 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21029 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21030 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21031 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21032 * wcsmbs/wmemset.c (wmemset): Likewise.
21033
9e54314b
JM
210342013-06-06 Joseph Myers <joseph@codesourcery.com>
21035
21036 * scripts/config.guess: Update to version 2013-05-16.
21037 * scripts/config.sub: Update to version 2013-04-24.
21038 * scripts/install-sh: Update to version 2011-11-20.07.
21039 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21040 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21041
350635a5
OB
210422013-06-06 Ondřej Bílka <neleai@seznam.cz>
21043
21044 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21045 * elf/sln.c: Likewise.
21046 * hurd/hurd/ioctl.h: Likewise.
21047 * hurd/hurdmalloc.c: Likewise.
21048 * hurd/xattr.c: Likewise.
21049 * include/shlib-compat.h: Likewise.
21050 * inet/ruserpass.c: Likewise.
21051 * libio/iofgets_u.c: Likewise.
21052 * libio/iofgetws_u.c: Likewise.
21053 * locale/programs/ld-identification.c: Likewise.
21054 * locale/programs/ld-time.c: Likewise.
21055 * mach/msg-destroy.c: Likewise.
21056 * nss/nss_files/files-netgrp.c: Likewise.
21057 * resolv/res_data.c: Likewise.
21058 * soft-fp/op-1.h: Likewise.
21059 * soft-fp/op-2.h: Likewise.
21060 * soft-fp/op-4.h: Likewise.
21061 * soft-fp/op-common.h: Likewise.
21062 * stdio-common/printf_fphex.c: Likewise.
21063 * stdlib/strtod_l.c: Likewise.
21064 * sunrpc/rpc/clnt.h: Likewise.
21065 * sysdeps/generic/framestate.c: Likewise.
21066 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21067 * sysdeps/i386/bsd-setjmp.S: Likewise.
21068 * sysdeps/i386/__longjmp.S: Likewise.
21069 * sysdeps/i386/setjmp.S: Likewise.
21070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21080 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21087 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21088 * sysdeps/ieee754/support.c: Likewise.
21089 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21090 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21091 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21092 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21093 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21094 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21095 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21096 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21097 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21098 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21099 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21100 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21101 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21102 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21103 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21104 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21105 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21107
44a988af
OB
211082013-06-05 Ondřej Bílka <neleai@seznam.cz>
21109
25506f09 21110 * posix/transbug.c: Remove executable mode.
44a988af 21111
9c84384c
JM
211122013-06-05 Joseph Myers <joseph@codesourcery.com>
21113
21114 * crypt/speeds.c: Remove trailing whitespace.
21115 * dlfcn/default.c: Likewise.
21116 * elf/ifuncdep2.c: Likewise.
21117 * elf/ifuncmain1.c: Likewise.
21118 * elf/ifuncmain1vis.c: Likewise.
21119 * elf/testobj.h: Likewise.
21120 * elf/tst-stackguard1.c: Likewise.
21121 * gmon/sys/gmon.h: Likewise.
21122 * hurd/hurdmsg.c: Likewise.
21123 * hurd/new-fd.c: Likewise.
21124 * hurd/ports-get.c: Likewise.
21125 * iconvdata/ibm1008_420.c: Likewise.
21126 * inet/tst-getni1.c: Likewise.
21127 * inet/tst-getni2.c: Likewise.
21128 * libio/ioungetc.c: Likewise.
21129 * libio/wfiledoalloc.c: Likewise.
21130 * manual/libm-err-tab.pl: Likewise.
21131 * math/w_dremf.c: Likewise.
21132 * misc/ftruncate.c: Likewise.
21133 * posix/bug-glob2.c: Likewise.
21134 * posix/tst-pcre.c: Likewise.
21135 * posix/wait4.c: Likewise.
21136 * resolv/README: Likewise.
21137 * resolv/res_debug.h: Likewise.
21138 * resolv/tst-inet_ntop.c: Likewise.
21139 * setjmp/bug269-setjmp.c: Likewise.
21140 * soft-fp/extended.h: Likewise.
21141 * soft-fp/op-1.h: Likewise.
21142 * soft-fp/op-2.h: Likewise.
21143 * soft-fp/op-4.h: Likewise.
21144 * soft-fp/op-8.h: Likewise.
21145 * soft-fp/testit.c: Likewise.
21146 * stdio-common/bug16.c: Likewise.
21147 * stdlib/random.c: Likewise.
21148 * sunrpc/rpcsvc/rquota.x: Likewise.
21149 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21150 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21151 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21152 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21153 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21154 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21156 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21157 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21178 * sysdeps/ieee754/s_lib_version.c: Likewise.
21179 * sysdeps/mach/hurd/check_fds.c: Likewise.
21180 * sysdeps/mach/hurd/getsockname.c: Likewise.
21181 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21182 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21183 * sysdeps/powerpc/bits/link.h: Likewise.
21184 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21185 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21186 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21187 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21188 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21189 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21190 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21191 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21192 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21193 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21194 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21196 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21197 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21198 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21200 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21201 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21205 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21208 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21209 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21210 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21211 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21212 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21214 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21215 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21216 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21218 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21220 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21221 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21222 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21223 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21224 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21225 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21226 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21227 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21228 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21229 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21230 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21231 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21232 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21233 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21235 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21236 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21237 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21238 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21239 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21240 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21241 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21243 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21244 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21245 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21246 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21247 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21248 * sysdeps/powerpc/sysdep.h: Likewise.
21249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21250 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21251 * sysdeps/sh/dl-trampoline.S: Likewise.
21252 * sysdeps/sh/memset.S: Likewise.
21253 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21254 * sysdeps/sh/strlen.S: Likewise.
21255 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21256 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21257 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21258 * sysdeps/sparc/sparc32/rem.S: Likewise.
21259 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21261 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21262 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21263 * sysdeps/sparc/sparc32/urem.S: Likewise.
21264 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21265 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21266 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21267 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21269 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21270 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21271 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21272 * sysdeps/unix/bsd/times.c: Likewise.
21273 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21274 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21278 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21279 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21280 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21282 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21284 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21285 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21286 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21287 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21288 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21289 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21290 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21291 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21292 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21293 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21294 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21295 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21296 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21297 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21298 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21299 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21300 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21301 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21302 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21303 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21304 * sysdeps/x86_64/strcspn.S: Likewise.
21305
869378a5
RA
213062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21307
21308 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21309 generated file. Regenerate properly from gen-translit.pl.
21310 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21311 locale/C-translit.h.
21312
840e2943
AS
213132013-06-05 Andreas Schwab <schwab@suse.de>
21314
21315 [BZ #15100]
21316 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21317 week as 6 instead of -1.
21318 * time/tst-strptime.c (day_tests): Add test case.
21319
4c60cb0c
SP
213202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21321
21322 * sysdeps/generic/math_private.h
21323 (libc_feholdexcept_setround_53bit): Replace with
21324 libc_feholdsetround_53bit.
21325 (libc_feupdateenv_53bit): Replace with
21326 libc_feresetround_53bit.
21327 (SET_RESTORE_ROUND_53BIT): Adjust.
21328
d180203e
SP
213292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21330
96df079a
SP
21331 * string/test-strchrnul.c: Add copyright header.
21332
d180203e
SP
21333 * posix/tst-getaddrinfo4.c: Increase test timeout.
21334
8b0ccb2d
CD
213352013-06-03 Carlos O'Donell <carlos@redhat.com>
21336
21337 [BZ #15536]
21338 * math/libm-test.inc (MAX_EXP): Remove
21339 (MIN_EXP): Define.
21340 (ulp): Use MIN_EXP - MANT_DIG.
21341 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21342
3b3c4d40
CD
213432013-05-31 Carlos O'Donell <carlos@redhat.com>
21344
21345 * po/be.po: Revert last change.
21346 * po/zh_CN.po: Likewise.
21347 * po/header.pot: Likewise.
21348
fab7ce3f
JM
213492013-05-31 Joseph Myers <joseph@codesourcery.com>
21350
21351 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21352 link-libc-deps to empty as target-specific variable.
21353 * Makerules (link-libc-args): New variable.
21354 (libc-for-link): Likewise.
21355 (link-libc-deps): Likewise.
21356 (lib%.so): Depend on $(link-libc-deps). Link with
21357 $(link-libc-args).
21358 (build-module): Link with $(link-libc-args).
21359 (build-module-asneeded): Likewise.
21360 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21361 list of objects.
21362 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21363 target-specific variable.
21364 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21365 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21366 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21367 libc.
21368 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21369 libc and ld.so.
21370 ($(objpfx)libpcprofile.so): Likewise.
21371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21372 libc_nonshared.a.
21373 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21374 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21375 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21376 $(link-libc-deps).
21377 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21378 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21379 * login/Makefile ($(objpfx)libutil.so): Likewise.
21380 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21381 * math/Makefile ($(objpfx)libm.so): Likewise.
21382 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21383 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21384 variable instead of depending directly on libc.
21385 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21386 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21387 $(link-libc-deps).
21388 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21389 libc.
21390 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21391 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21392 ($(objpfx)libanl.so): Likewise.
21393 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21394 ld.so.
21395 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21396 $(link-libc-deps).
21397 * sysdeps/i386/fpu/Makefile: Remove file.
21398 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21399 ($(objpfx)libm.so): Remove dependency on ld.so.
21400
eca5920c
PF
214012013-05-30 Patsy Franklin <pfrankli@redhat.com>
21402
21403 [BZ # 15553]
21404 * nis/yp_xdr.c (XDRMAXNAME): Define.
21405 (XDRMAXRECORD): Define.
21406 (xdr_domainname): Use XDRMAXNAME.
21407 (xdr_mapname): Likewise.
21408 (xdr_peername): Likewise.
21409 (xdr_keydat): Use XDRMAXRECORD.
21410 (xdr_valdat): Likewise.
21411
214122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21413
21414 [BZ #14256]
21415 * manual/errno.texi (ESTALE): Update to account for more than
21416 just NFS file systems.
21417 * sysdeps/gnu/errlist.c: Regenerated.
21418
b9375348
SP
214192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21420
21421 [BZ #15465]
21422 * elf/Makefile (tests): Add tst-null-argv.
21423 (modules-names): Add tst-null-argv-lib.
21424 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21425 (tst-null-argv-ENV): Set environment for tst-null-argv.
21426 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21427 (RTLD_PROGNAME): New macro.
21428 * elf/tst-null-argv.c: New test case.
21429 * elf/tst-null-argv-lib.c: Library for test case.
21430 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21431 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21432 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21433 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21434 * elf/dl-init.c (call_init): Likewise.
21435 (_dl_init): Likewise.
21436 * elf/dl-load.c (print_search_path): Likewise.
21437 (_dl_map_object): Likewise.
21438 * elf/dl-lookup.c (do_lookup_x): Likewise.
21439 (add_dependency): Likewise.
21440 (_dl_lookup_symbol_x): Likewise.
21441 (_dl_debug_bindings): Likewise.
21442 * elf/dl-open.c (_dl_show_scope): Likewise.
21443 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21444 * elf/dl-version.c (match_symbol): Likewise.
21445 (_dl_check_map_versions): Likewise.
21446 * elf/rtld.c (dl_main): Likewise.
21447 (print_unresolved): Use RTLD_PROGNAME.
21448 (print_missing_version): Likewise.
21449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21450 (elf_machine_rela): Likewise.
21451 * sysdeps/powerpc/powerpc32/dl-machine.c
21452 (__process_machine_rela): Likewise.
21453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21454 Likewise.
21455 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21456 Likewise.
21457 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21458 Likewise.
21459 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21461 Likewise.
21462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21463 Likewise.
21464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21465
8a9f20c8
CD
214662013-05-28 Carlos O'Donell <carlos@redhat.com>
21467
21468 * po/be.po: Add descriptive title.
21469 * po/zh_CN.po: Likewise.
21470 * po/header.pot: Likewise.
21471
0e60d68e
MF
214722013-05-28 Mike Frysinger <vapier@gentoo.org>
21473
21474 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21475 error message.
21476 (enlarge_archive): Likewise.
21477
56b672e9
BN
214782013-05-28 Ben North <ben@redfrontdoor.org>
21479
21480 * manual/arith.texi (frexp): It is the magnitude of the return
21481 value which lies in [0.5, 1), not the return value itself.
21482
5e056687
AZ
214832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21484
21485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21486
2b66ef5d
TS
214872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21488
528c2405
TS
21489 * stdio-common/bug26.c (main): Correct fscanf template.
21490
07b4c13d
TS
21491 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21492 declare _dl_skip_args.
21493
ec9dd97c
TS
21494 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21495 Don't declare.
21496
2b66ef5d
TS
21497 * manual/platform.texi: Add missing @end deftypefun.
21498
4f8dfe27
JM
214992013-05-24 Joseph Myers <joseph@codesourcery.com>
21500
0323d086
JM
21501 [BZ #15529]
21502 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21503 bit of mantissa of 2^16382.
21504 * math/libm-test.inc (hypot_test_data): Add more tests.
21505
dd4259b9
JM
21506 * math/libm-test.inc: Add drem and pow10 to list of tested
21507 functions.
21508 (pow10_test): New function.
21509 (drem_test): Likewise.
21510 (drem_test_tonearest): Likewise.
21511 (drem_test_towardzero): Likewise.
21512 (drem_test_downward): Likewise.
21513 (drem_test_upward): Likewise.
21514 (main): Call the new functions.
21515
4f8dfe27
JM
21516 * math/libm-test.inc (finite_test_data): Remove.
21517 (finite_test): Run tests from isfinite_test_data.
21518 (gamma_test_data): Remove.
21519 (gamma_test): Run tests from lgamma_test_data.
21520 * sysdeps/i386/fpu/libm-test-ulps: Update.
21521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21522
d116b7c4
AZ
215232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21524
21525 * manual/platform.texi: Add PowerPC PPR function set documentation.
21526 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21527 implementation.
21528
e96e3767
CD
215292013-05-24 Carlos O'Donell <carlos@redhat.com>
21530
21531 * math/libm-test.inc (MAX_EXP): Define.
21532 (ULPDIFF): Define.
21533 (ulp): New function.
21534 (check_float_internal): Use ULPDIFF.
21535 (cpow_test): Disable failing test.
21536 (check_ulp): Test ulp() implemetnation.
21537 (main): Call check_ulp before starting tests.
21538
b679a606
JM
215392013-05-24 Joseph Myers <joseph@codesourcery.com>
21540
e8bdba36
JM
21541 * math/gen-libm-test.pl (generate_testfile): Do not handle
21542 START_DATA and END_DATA.
21543 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21544 END_DATA.
21545 (acos_tonearest_test_data): Likewise.
21546 (acos_towardzero_test_data): Likewise.
21547 (acos_downward_test_data): Likewise.
21548 (acos_upward_test_data): Likewise.
21549 (acosh_test_data): Likewise.
21550 (asin_test_data): Likewise.
21551 (asin_tonearest_test_data): Likewise.
21552 (asin_towardzero_test_data): Likewise.
21553 (asin_downward_test_data): Likewise.
21554 (asin_upward_test_data): Likewise.
21555 (asinh_test_data): Likewise.
21556 (atan_test_data): Likewise.
21557 (atanh_test_data): Likewise.
21558 (atan2_test_data): Likewise.
21559 (cabs_test_data): Likewise.
21560 (cacos_test_data): Likewise.
21561 (cacosh_test_data): Likewise.
21562 (carg_test_data): Likewise.
21563 (casin_test_data): Likewise.
21564 (casinh_test_data): Likewise.
21565 (catan_test_data): Likewise.
21566 (catanh_test_data): Likewise.
21567 (cbrt_test_data): Likewise.
21568 (ccos_test_data): Likewise.
21569 (ccosh_test_data): Likewise.
21570 (ceil_test_data): Likewise.
21571 (cexp_test_data): Likewise.
21572 (cimag_test_data): Likewise.
21573 (clog_test_data): Likewise.
21574 (clog10_test_data): Likewise.
21575 (conj_test_data): Likewise.
21576 (copysign_test_data): Likewise.
21577 (cos_test_data): Likewise.
21578 (cos_tonearest_test_data): Likewise.
21579 (cos_towardzero_test_data): Likewise.
21580 (cos_downward_test_data): Likewise.
21581 (cos_upward_test_data): Likewise.
21582 (cosh_test_data): Likewise.
21583 (cosh_tonearest_test_data): Likewise.
21584 (cosh_towardzero_test_data): Likewise.
21585 (cosh_downward_test_data): Likewise.
21586 (cosh_upward_test_data): Likewise.
21587 (cpow_test_data): Likewise.
21588 (cproj_test_data): Likewise.
21589 (creal_test_data): Likewise.
21590 (csin_test_data): Likewise.
21591 (csinh_test_data): Likewise.
21592 (csqrt_test_data): Likewise.
21593 (ctan_test_data): Likewise.
21594 (ctan_tonearest_test_data): Likewise.
21595 (ctan_towardzero_test_data): Likewise.
21596 (ctan_downward_test_data): Likewise.
21597 (ctan_upward_test_data): Likewise.
21598 (ctanh_test_data): Likewise.
21599 (ctanh_tonearest_test_data): Likewise.
21600 (ctanh_towardzero_test_data): Likewise.
21601 (ctanh_downward_test_data): Likewise.
21602 (ctanh_upward_test_data): Likewise.
21603 (erf_test_data): Likewise.
21604 (erfc_test_data): Likewise.
21605 (exp_test_data): Likewise.
21606 (exp_tonearest_test_data): Likewise.
21607 (exp_towardzero_test_data): Likewise.
21608 (exp_downward_test_data): Likewise.
21609 (exp_upward_test_data): Likewise.
21610 (exp10_test_data): Likewise.
21611 (exp2_test_data): Likewise.
21612 (expm1_test_data): Likewise.
21613 (fabs_test_data): Likewise.
21614 (fdim_test_data): Likewise.
21615 (finite_test_data): Likewise.
21616 (floor_test_data): Likewise.
21617 (fma_test_data): Likewise.
21618 (fma_towardzero_test_data): Likewise.
21619 (fma_downward_test_data): Likewise.
21620 (fma_upward_test_data): Likewise.
21621 (fmax_test_data): Likewise.
21622 (fmin_test_data): Likewise.
21623 (fmod_test_data): Likewise.
21624 (fpclassify_test_data): Likewise.
21625 (frexp_test_data): Likewise.
21626 (gamma_test_data): Likewise.
21627 (hypot_test_data): Likewise.
21628 (ilogb_test_data): Likewise.
21629 (isfinite_test_data): Likewise.
21630 (isgreater_test_data): Likewise.
21631 (isgreaterequal_test_data): Likewise.
21632 (isinf_test_data): Likewise.
21633 (isless_test_data): Likewise.
21634 (islessequal_test_data): Likewise.
21635 (islessgreater_test_data): Likewise.
21636 (isnan_test_data): Likewise.
21637 (isnormal_test_data): Likewise.
21638 (issignaling_test_data): Likewise.
21639 (isunordered_test_data): Likewise.
21640 (j0_test_data): Likewise.
21641 (j1_test_data): Likewise.
21642 (jn_test_data): Likewise.
21643 (ldexp_test_data): Likewise.
21644 (lgamma_test_data): Likewise.
21645 (lrint_test_data): Likewise.
21646 (lrint_tonearest_test_data): Likewise.
21647 (lrint_towardzero_test_data): Likewise.
21648 (lrint_downward_test_data): Likewise.
21649 (lrint_upward_test_data): Likewise.
21650 (llrint_test_data): Likewise.
21651 (llrint_tonearest_test_data): Likewise.
21652 (llrint_towardzero_test_data): Likewise.
21653 (llrint_downward_test_data): Likewise.
21654 (llrint_upward_test_data): Likewise.
21655 (log_test_data): Likewise.
21656 (log10_test_data): Likewise.
21657 (log1p_test_data): Likewise.
21658 (log2_test_data): Likewise.
21659 (logb_test_data): Likewise.
21660 (logb_downward_test_data): Likewise.
21661 (lround_test_data): Likewise.
21662 (llround_test_data): Likewise.
21663 (modf_test_data): Likewise.
21664 (nearbyint_test_data): Likewise.
21665 (nextafter_test_data): Likewise.
21666 (nexttoward_test_data): Likewise.
21667 (pow_test_data): Likewise.
21668 (pow_tonearest_test_data): Likewise.
21669 (pow_towardzero_test_data): Likewise.
21670 (pow_downward_test_data): Likewise.
21671 (pow_upward_test_data): Likewise.
21672 (remainder_test_data): Likewise.
21673 (remainder_tonearest_test_data): Likewise.
21674 (remainder_towardzero_test_data): Likewise.
21675 (remainder_downward_test_data): Likewise.
21676 (remainder_upward_test_data): Likewise.
21677 (remquo_test_data): Likewise.
21678 (rint_test_data): Likewise.
21679 (rint_tonearest_test_data): Likewise.
21680 (rint_towardzero_test_data): Likewise.
21681 (rint_downward_test_data): Likewise.
21682 (rint_upward_test_data): Likewise.
21683 (round_test_data): Likewise.
21684 (scalb_test_data): Likewise.
21685 (scalbn_test_data): Likewise.
21686 (scalbln_test_data): Likewise.
21687 (signbit_test_data): Likewise.
21688 (sin_test_data): Likewise.
21689 (sin_tonearest_test_data): Likewise.
21690 (sin_towardzero_test_data): Likewise.
21691 (sin_downward_test_data): Likewise.
21692 (sin_upward_test_data): Likewise.
21693 (sincos_test_data): Likewise.
21694 (sinh_test_data): Likewise.
21695 (sinh_tonearest_test_data): Likewise.
21696 (sinh_towardzero_test_data): Likewise.
21697 (sinh_downward_test_data): Likewise.
21698 (sinh_upward_test_data): Likewise.
21699 (sqrt_test_data): Likewise.
21700 (tan_test_data): Likewise.
21701 (tan_tonearest_test_data): Likewise.
21702 (tan_towardzero_test_data): Likewise.
21703 (tan_downward_test_data): Likewise.
21704 (tan_upward_test_data): Likewise.
21705 (tanh_test_data): Likewise.
21706 (tgamma_test_data): Likewise.
21707 (trunc_test_data): Likewise.
21708 (y0_test_data): Likewise.
21709 (y1_test_data): Likewise.
21710 (yn_test_data): Likewise.
21711 (significand_test_data): Likewise.
21712
b679a606
JM
21713 * math/gen-libm-test.pl (@functions): Remove variable.
21714 (generate_testfile): Don't handle START and END lines.
21715 * math/libm-test.inc (START): New macro.
21716 (END): Likewise.
21717 (END_COMPLEX): Likewise.
21718 (acos_test): Use END macro without arguments.
21719 (acos_test_tonearest): Likewise.
21720 (acos_test_towardzero): Likewise.
21721 (acos_test_downward): Likewise.
21722 (acos_test_upward): Likewise.
21723 (acosh_test): Likewise.
21724 (asin_test): Likewise.
21725 (asin_test_tonearest): Likewise.
21726 (asin_test_towardzero): Likewise.
21727 (asin_test_downward): Likewise.
21728 (asin_test_upward): Likewise.
21729 (asinh_test): Likewise.
21730 (atan_test): Likewise.
21731 (atanh_test): Likewise.
21732 (atan2_test): Likewise.
21733 (cabs_test): Likewise.
21734 (cacos_test): Use END_COMPLEX macro without arguments.
21735 (cacosh_test): Likewise.
21736 (carg_test): Use END macro without arguments.
21737 (casin_test): Use END_COMPLEX macro without arguments.
21738 (casinh_test): Likewise.
21739 (catan_test): Likewise.
21740 (catanh_test): Likewise.
21741 (cbrt_test): Use END macro without arguments.
21742 (ccos_test): Use END_COMPLEX macro without arguments.
21743 (ccosh_test): Likewise.
21744 (ceil_test): Use END macro without arguments.
21745 (cexp_test): Use END_COMPLEX macro without arguments.
21746 (cimag_test): Use END macro without arguments.
21747 (clog_test): Use END_COMPLEX macro without arguments.
21748 (clog10_test): Likewise.
21749 (conj_test): Likewise.
21750 (copysign_test): Use END macro without arguments.
21751 (cos_test): Likewise.
21752 (cos_test_tonearest): Likewise.
21753 (cos_test_towardzero): Likewise.
21754 (cos_test_downward): Likewise.
21755 (cos_test_upward): Likewise.
21756 (cosh_test): Likewise.
21757 (cosh_test_tonearest): Likewise.
21758 (cosh_test_towardzero): Likewise.
21759 (cosh_test_downward): Likewise.
21760 (cosh_test_upward): Likewise.
21761 (cpow_test): Use END_COMPLEX macro without arguments.
21762 (cproj_test): Likewise.
21763 (creal_test): Use END macro without arguments.
21764 (csin_test): Use END_COMPLEX macro without arguments.
21765 (csinh_test): Likewise.
21766 (csqrt_test): Likewise.
21767 (ctan_test): Likewise.
21768 (ctan_test_tonearest): Likewise.
21769 (ctan_test_towardzero): Likewise.
21770 (ctan_test_downward): Likewise.
21771 (ctan_test_upward): Likewise.
21772 (ctanh_test): Likewise.
21773 (ctanh_test_tonearest): Likewise.
21774 (ctanh_test_towardzero): Likewise.
21775 (ctanh_test_downward): Likewise.
21776 (ctanh_test_upward): Likewise.
21777 (erf_test): Use END macro without arguments.
21778 (erfc_test): Likewise.
21779 (exp_test): Likewise.
21780 (exp_test_tonearest): Likewise.
21781 (exp_test_towardzero): Likewise.
21782 (exp_test_downward): Likewise.
21783 (exp_test_upward): Likewise.
21784 (exp10_test): Likewise.
21785 (exp2_test): Likewise.
21786 (expm1_test): Likewise.
21787 (fabs_test): Likewise.
21788 (fdim_test): Likewise.
21789 (finite_test): Likewise.
21790 (floor_test): Likewise.
21791 (fma_test): Likewise.
21792 (fma_test_towardzero): Likewise.
21793 (fma_test_downward): Likewise.
21794 (fma_test_upward): Likewise.
21795 (fmax_test): Likewise.
21796 (fmin_test): Likewise.
21797 (fmod_test): Likewise.
21798 (fpclassify_test): Likewise.
21799 (frexp_test): Likewise.
21800 (gamma_test): Likewise.
21801 (hypot_test): Likewise.
21802 (ilogb_test): Likewise.
21803 (isfinite_test): Likewise.
21804 (isgreater_test): Likewise.
21805 (isgreaterequal_test): Likewise.
21806 (isinf_test): Likewise.
21807 (isless_test): Likewise.
21808 (islessequal_test): Likewise.
21809 (islessgreater_test): Likewise.
21810 (isnan_test): Likewise.
21811 (isnormal_test): Likewise.
21812 (issignaling_test): Likewise.
21813 (isunordered_test): Likewise.
21814 (j0_test): Likewise.
21815 (j1_test): Likewise.
21816 (jn_test): Likewise.
21817 (ldexp_test): Likewise.
21818 (lgamma_test): Likewise.
21819 (lrint_test): Likewise.
21820 (lrint_test_tonearest): Likewise.
21821 (lrint_test_towardzero): Likewise.
21822 (lrint_test_downward): Likewise.
21823 (lrint_test_upward): Likewise.
21824 (llrint_test): Likewise.
21825 (llrint_test_tonearest): Likewise.
21826 (llrint_test_towardzero): Likewise.
21827 (llrint_test_downward): Likewise.
21828 (llrint_test_upward): Likewise.
21829 (log_test): Likewise.
21830 (log10_test): Likewise.
21831 (log1p_test): Likewise.
21832 (log2_test): Likewise.
21833 (logb_test): Likewise.
21834 (logb_test_downward): Likewise.
21835 (lround_test): Likewise.
21836 (llround_test): Likewise.
21837 (modf_test): Likewise.
21838 (nearbyint_test): Likewise.
21839 (nextafter_test): Likewise.
21840 (nexttoward_test): Likewise.
21841 (pow_test): Likewise.
21842 (pow_test_tonearest): Likewise.
21843 (pow_test_towardzero): Likewise.
21844 (pow_test_downward): Likewise.
21845 (pow_test_upward): Likewise.
21846 (remainder_test): Likewise.
21847 (remainder_test_tonearest): Likewise.
21848 (remainder_test_towardzero): Likewise.
21849 (remainder_test_downward): Likewise.
21850 (remainder_test_upward): Likewise.
21851 (remquo_test): Likewise.
21852 (rint_test): Likewise.
21853 (rint_test_tonearest): Likewise.
21854 (rint_test_towardzero): Likewise.
21855 (rint_test_downward): Likewise.
21856 (rint_test_upward): Likewise.
21857 (round_test): Likewise.
21858 (scalb_test): Likewise.
21859 (scalbn_test): Likewise.
21860 (scalbln_test): Likewise.
21861 (signbit_test): Likewise.
21862 (sin_test): Likewise.
21863 (sin_test_tonearest): Likewise.
21864 (sin_test_towardzero): Likewise.
21865 (sin_test_downward): Likewise.
21866 (sin_test_upward): Likewise.
21867 (sincos_test): Likewise.
21868 (sinh_test): Likewise.
21869 (sinh_test_tonearest): Likewise.
21870 (sinh_test_towardzero): Likewise.
21871 (sinh_test_downward): Likewise.
21872 (sinh_test_upward): Likewise.
21873 (sqrt_test): Likewise.
21874 (tan_test): Likewise.
21875 (tan_test_tonearest): Likewise.
21876 (tan_test_towardzero): Likewise.
21877 (tan_test_downward): Likewise.
21878 (tan_test_upward): Likewise.
21879 (tanh_test): Likewise.
21880 (tgamma_test): Likewise.
21881 (trunc_test): Likewise.
21882 (y0_test): Likewise.
21883 (y1_test): Likewise.
21884 (yn_test): Likewise.
21885 (significand_test): Likewise.
21886
bae143d2
OB
218872013-05-24 Ondřej Bílka <neleai@seznam.cz>
21888
21889 [BZ #15381]
21890 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21891
9323d39b
EM
218922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21893
d4ea44a0 21894 [BZ #14894]
9323d39b
EM
21895 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21896 __ppc_mdoio and __ppc_mdoom.
21897 * manual/platform.texi: Document new functions __ppc_yield,
21898 __ppc_mdoio and __ppc_mdoom.
21899
13e23af7
CD
219002013-05-22 Carlos O'Donell <carlos@redhat.com>
21901
21902 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21903 (main): Mention "tls" pseudo-hwcap is legacy.
21904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21905
351fe550
JM
219062013-05-22 Joseph Myers <joseph@codesourcery.com>
21907
21908 * math/gen-libm-test.pl (parse_args): Output only string of
21909 arguments as text for test name, not full call or descriptions of
21910 tests for extra outputs.
21911 (generate_testfile): Do not pass function name to parse_args.
21912 Generate this_func variable from START.
21913 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21914 field to arg_str.
21915 (struct test_ff_f_data): Likewise.
21916 (test_ff_f_data_nexttoward): Likewise.
21917 (struct test_fi_f_data): Likewise.
21918 (struct test_fl_f_data): Likewise.
21919 (struct test_if_f_data): Likewise.
21920 (struct test_fff_f_data): Likewise.
21921 (struct test_c_f_data): Likewise.
21922 (struct test_f_f1_data): Likewise. Remove field extra_name.
21923 (struct test_fF_f1_data): Likewise.
21924 (struct test_ffI_f1_data): Likewise.
21925 (struct test_c_c_data): Rename test_name field to arg_str.
21926 (struct test_cc_c_data): Likewise.
21927 (struct test_f_i_data): Likewise.
21928 (struct test_ff_i_data): Likewise.
21929 (struct test_f_l_data): Likewise.
21930 (struct test_f_L_data): Likewise.
21931 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21932 and extra2_name.
21933 (COMMON_TEST_SETUP): New macro.
21934 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21935 (COMMON_TEST_CLEANUP): Likewise.
21936 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21937 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21938 macros.
21939 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21940 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21941 macros.
21942 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21943 (RUN_TEST_fff_f): Take argument string. Call new setup and
21944 cleanup macros.
21945 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21946 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21947 macros.
21948 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21949 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21950 macros.
21951 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21952 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21953 cleanup macros.
21954 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21955 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21956 cleanup macros.
21957 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21958 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21959 cleanup macros.
21960 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21961 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21962 macros.
21963 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21964 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21965 macros.
21966 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21967 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21968 macros.
21969 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21970 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21971 cleanup macros.
21972 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21973 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21974 cleanup macros.
21975 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21976 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21977 macros.
21978 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21979 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21980 cleanup macros.
21981 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21982 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21983 macros.
21984 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21985 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21986 macros.
21987 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21988 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21989 cleanup macros.
21990 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21991
85118d4d
EBM
219922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21993
21994 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21995 to _sifields.sigfault.
21996 (si_addr_lsb): Define new macro.
21997 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21998 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21999 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22000
7a44c18f
CD
220012013-05-03 Carlos O'Donell <carlos at redhat.com>
22002
22003 [BZ #15441]
22004 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22005 returns -1.
22006 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22007 null return -1.
22008 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22009 loading the domain.
22010
b50a7181
JM
220112013-05-22 Joseph Myers <joseph@codesourcery.com>
22012
22013 * math/gen-libm-test.pl (parse_args): Do not include expected
22014 result in test name.
22015 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22021
051063c8
SP
220222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22023
3ce9e010
SP
22024 * benchtests/Makefile: Sort function entries.
22025
051063c8
SP
22026 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22027 tanh, asinh, acosh, atanh.
22028 * benchtests/acos-inputs: New file.
22029 * benchtests/acosh-inputs: New file.
22030 * benchtests/asin-inputs: New file.
22031 * benchtests/asinh-inputs: New file.
22032 * benchtests/atanh-inputs: New file.
22033 * benchtests/cosh-inputs: New file.
22034 * benchtests/log-inputs: New file.
22035 * benchtests/sinh-inputs: New file.
22036 * benchtests/tanh-inputs: New file.
22037
47c22455
DL
220382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22039
22040 [BZ #15339]
22041 * posix/tst-getaddrinfo4.c: New test.
22042 * posix/Makefile (tests): Add it.
22043
3d04f5db
SP
220442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22045
22046 [BZ #15339]
22047 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22048 when no services were used.
22049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22050 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22051
d5dd6189
AS
220522013-05-21 Andreas Schwab <schwab@suse.de>
22053
22054 [BZ #15014]
22055 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22056 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22057 successful.
22058 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22059 redundant variable declarations and reallocation of buffer when
22060 parsing as IPv6 address. Always set NSS status when called from
22061 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22062 buffer too small. Correct computation of needed size.
22063 * nss/Makefile (tests): Add test-digits-dots.
22064 * nss/test-digits-dots.c: New test.
22065
fef94eab
SP
220662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22067
22068 * benchtests/Makefile: Remove instructions for adding
22069 benchmark tests.
22070 * benchtests/README: New file to explain how to execute and
22071 enhance the benchmark tests.
22072
e39adf43
AS
220732013-05-21 Andreas Schwab <schwab@suse.de>
22074
22075 [BZ #15493]
22076 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22077 * setjmp/tst-sigsetjmp.c: New test.
22078
b2b671b6
OB
220792013-05-20 Ondřej Bílka <neleai@seznam.cz>
22080
22081 * sysdeps/x86_64/memset.S (memset): New implementation.
22082 (__bzero): Likewise.
22083 (__memset_tail): New function.
22084
2d48b41c
OB
220852013-05-20 Ondřej Bílka <neleai@seznam.cz>
22086
22087 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22088 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22089 __memcpy_sse2_unaligned ifunc selection.
22090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22091 Add memcpy-sse2-unaligned.S.
22092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22093 Add: __memcpy_sse2_unaligned.
22094
f16cc3eb
JM
220952013-05-19 Joseph Myers <joseph@codesourcery.com>
22096
3e694268
JM
22097 [BZ #15490]
22098 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22099 math_force_eval before restoring floating-point envrionment.
22100 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22102 Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22104 <math_private.h>.
22105 (__nearbyintl): Use math_force_eval before restoring
22106 floating-point environment.
22107 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22108
db62a907
JM
22109 * math/gen-libm-test.pl (special_functions): Remove.
22110 (parse_args): Don't handle TEST_extra. Handle functions with no
22111 return value.
22112 * math/libm-test.inc (struct test_sincos_data): Replace with
22113 struct test_fFF_11_data.
22114 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22115 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22116 (sincos_test_data): Change element type to struct
22117 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22118 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22119 RUN_TEST_LOOP_sincos.
22120 * math/README.libm-test: Don't mention special handling of
22121 individual functions.
22122 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22123 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22124 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22125 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22126 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22128
f16cc3eb
JM
22129 * math/gen-libm-test.pl (get_variable): Remove function.
22130 (parse_args): Don't show pointer parameters to call in test
22131 names. Use "extra output N" in test names for extra outputs
22132 rather than naming variables.
22133
3779b5b6
JM
221342013-05-18 Joseph Myers <joseph@codesourcery.com>
22135
2ee094ff
JM
22136 [BZ #15488]
22137 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22138 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22139 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22140 double tests.
22141 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22142 disable.
22143 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22144 check_long_double.
22145
3779b5b6
JM
22146 * math/gen-libm-test.pl (@tests): Remove variable.
22147 ($count): Likewise.
22148 (new_test): Remove function.
22149 (show_exceptions): New function.
22150 (special_functions): Use show_exceptions instead of new_test.
22151 (parse_args): Likewise.
22152 (generate_testfile): Pass only function name in generated call to
22153 print_max_error or print_complex_max_error.
22154 (get_ulps): Do not handle complex tests specially.
22155 (output_test): Rename to ...
22156 (get_all_ulps_for_test): ... this. Return a string rather than
22157 printing to a file. Require ulps to be present.
22158 (output_ulps): Generate arrays rather than #defines.
22159 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22160 (struct ulp_data): New type.
22161 (BUILD_COMPLEX_ULP): Remove macro.
22162 (compare_ulp_data): New function.
22163 (find_ulps): Likewise.
22164 (find_test_ulps): Likewise.
22165 (find_function_ulps): Likewise.
22166 (find_complex_function_ulps): Likewise.
22167 (print_max_error): Determine allowed ulps using
22168 find_function_ulps.
22169 (print_complex_max_error): Determine allowed ulps using
22170 find_complex_function_ulps.
22171 (check_float_internal): Determine max ulps using find_test_ulps.
22172 (check_float): Do not take max_ulp parameter. Update call to
22173 check_float_internal.
22174 (check_complex): Likewise.
22175 (check_int): Do not take max_ulp parameter.
22176 (check_long): Likewise.
22177 (check_bool): Likewise.
22178 (check_longlong): Likewise.
22179 (struct test_f_f_data): Remove max_ulp field.
22180 (struct test_ff_f_data): Likewise.
22181 (struct test_ff_f_data_nexttoward): Likewise.
22182 (struct test_fi_f_data): Likewise.
22183 (struct test_fl_f_data): Likewise.
22184 (struct test_if_f_data): Likewise.
22185 (struct test_fff_f_data): Likewise.
22186 (struct test_c_f_data): Likewise.
22187 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22188 (struct test_fF_f1_data): Likewise.
22189 (struct test_ffI_f1_data): Likewise.
22190 (struct test_c_c_data): Remove max_ulp field.
22191 (struct test_cc_c_data): Likewise.
22192 (struct test_f_i_data): Likewise.
22193 (struct test_ff_i_data): Likewise.
22194 (struct test_f_l_data): Likewise.
22195 (struct test_f_L_data): Likewise.
22196 (struct test_sincos_data): Likewise.
22197 (RUN_TEST_f_f): Do not handle ulps.
22198 (RUN_TEST_LOOP_f_f): Likewise.
22199 (RUN_TEST_2_f): Likewise.
22200 (RUN_TEST_LOOP_2_f): Likewise.
22201 (RUN_TEST_fff_f): Likewise.
22202 (RUN_TEST_LOOP_fff_f): Likewise.
22203 (RUN_TEST_c_f): Likewise.
22204 (RUN_TEST_LOOP_c_f): Likewise.
22205 (RUN_TEST_f_f1): Likewise.
22206 (RUN_TEST_LOOP_f_f1): Likewise.
22207 (RUN_TEST_fF_f1): Likewise.
22208 (RUN_TEST_LOOP_fF_f1): Likewise.
22209 (RUN_TEST_fI_f1): Likewise.
22210 (RUN_TEST_LOOP_fI_f1): Likewise.
22211 (RUN_TEST_ffI_f1): Likewise.
22212 (RUN_TEST_LOOP_ffI_f1): Likewise.
22213 (RUN_TEST_c_c): Likewise.
22214 (RUN_TEST_LOOP_c_c): Likewise.
22215 (RUN_TEST_cc_c): Likewise.
22216 (RUN_TEST_LOOP_cc_c): Likewise.
22217 (RUN_TEST_f_i): Likewise.
22218 (RUN_TEST_LOOP_f_i): Likewise.
22219 (RUN_TEST_f_i_tg): Likewise.
22220 (RUN_TEST_LOOP_f_i_tg): Likewise.
22221 (RUN_TEST_ff_i_tg): Likewise.
22222 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22223 (RUN_TEST_f_b): Likewise.
22224 (RUN_TEST_LOOP_f_b): Likewise.
22225 (RUN_TEST_f_b_tg): Likewise.
22226 (RUN_TEST_LOOP_f_b_tg): Likewise.
22227 (RUN_TEST_f_l): Likewise.
22228 (RUN_TEST_LOOP_f_l): Likewise.
22229 (RUN_TEST_f_L): Likewise.
22230 (RUN_TEST_LOOP_f_L): Likewise.
22231 (RUN_TEST_sincos): Likewise.
22232 (RUN_TEST_LOOP_sincos): Likewise.
22233
8269107f
JM
222342013-05-17 Joseph Myers <joseph@codesourcery.com>
22235
bb38759d
JM
22236 [BZ #15480]
22237 [BZ #15485]
22238 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22239 main case of finite arguments, set rounding mode to FE_TONEAREST
22240 and discard exceptions.
22241 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22242 exceptions.
22243 (remainder_tonearest_test_data): New variable.
22244 (remainder_test_tonearest): New function.
22245 (remainder_towardzero_test_data): New variable.
22246 (remainder_test_towardzero): New function.
22247 (remainder_downward_test_data): New variable.
22248 (remainder_test_downward): New function.
22249 (remainder_upward_test_data): New variable.
22250 (remainder_test_upward): New function.
22251 (main): Call the new test functions.
22252
a00bdcf0
JM
22253 * math/libm-test.inc (struct test_f_f1_data): Remove field
22254 extra_init.
22255 (struct test_fF_f1_data): Likewise.
22256 (struct test_ffI_f1_data): Likewise.
22257 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22258 based on value of EXTRA_EXPECTED.
22259 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22260 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22261 EXTRA_VAR based on value of EXTRA_EXPECTED.
22262 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22263 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22264 EXTRA_VAR based on value of EXTRA_EXPECTED.
22265 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22266 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22267 EXTRA_VAR based on value of EXTRA_EXPECTED.
22268 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22269 * math/gen-libm-test.pl (parse_args): Don't output initializers
22270 for extra output values.
22271
de407f79
JM
22272 * math/libm-test.inc (check_int): Expect result to be exactly
22273 equal to expected value and do not handle ulps.
22274 (check_long): Likewise.
22275 (check_longlong): Likewise.
22276
8269107f
JM
22277 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22278 exceptions.
22279 (cimag_test_data): Likewise.
22280 (conj_test_data): Likewise.
22281 (copysign_test_data): Likewise.
22282 (cproj_test_data): Likewise.
22283 (creal_test_data): Likewise.
22284 (fabs_test_data): Likewise.
22285 (fdim_test_data): Likewise.
22286 (finite_test_data): Likewise.
22287 (floor_test_data): Likewise.
22288 (fmax_test_data): Likewise.
22289 (fmin_test_data): Likewise.
22290 (fmod_test_data): Likewise.
22291 (fpclassify_test_data): Likewise.
22292 (frexp_test_data): Likewise.
22293 (ilogb_test_data): Likewise.
22294 (isfinite_test_data): Likewise.
22295 (isgreater_test_data): Likewise.
22296 (isgreaterequal_test_data): Likewise.
22297 (isinf_test_data): Likewise.
22298 (isless_test_data): Likewise.
22299 (islessequal_test_data): Likewise.
22300 (islessgreater_test_data): Likewise.
22301 (isnan_test_data): Likewise.
22302 (isnormal_test_data): Likewise.
22303 (issignaling_test_data): Likewise.
22304 (isunordered_test_data): Likewise.
22305 (ldexp_test_data): Likewise.
22306 (lrint_test_data): Likewise.
22307 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22308 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22309 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22310 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22311 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22312 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22313 test input.
22314 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22315 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22316 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22317 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22318 that test input.
22319 (lrint_downward_test_data): Test for "inexact" exceptions.
22320 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22321 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22322 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22323 test input.
22324 (lrint_upward_test_data): Test for "inexact" exceptions.
22325 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22326 test input.
22327 (llrint_test_data): Test for "inexact" exceptions.
22328 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22329 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22330 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22331 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22332 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22333 (llrint_downward_test_data): Test for "inexact" exceptions.
22334 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22335 (llrint_upward_test_data): Test for "inexact" exceptions.
22336 (logb_test_data): Likewise.
22337 (logb_downward_test_data): Likewise.
22338 (nextafter_test_data): Likewise.
22339 (nexttoward_test_data): Likewise.
22340 (remainder_test_data): Likewise.
22341 (remquo_test_data): Likewise.
22342 (scalbn_test_data): Likewise.
22343 (scalbln_test_data): Likewise.
22344 (signbit_test_data): Likewise.
22345 (sqrt_test_data): Likewise.
22346 (significand_test_data): Likewise.
22347
48a18de1
SP
223482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22349
22350 [BZ #15424]
22351 * benchtests/bench-modf.c (struct args): Mark arg0 as
22352 volatile.
22353 * scripts/bench.pl: Mark members of struct args as volatile.
22354
13d3b41a
AZ
223552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22356
68191c1d 22357 [BZ # 15497]
13d3b41a
AZ
22358 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22359 negative infinity on POWER6 or lower.
22360 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22361
2848b105
MR
223622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22363
22364 [BZ #15442]
22365 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22366 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22367 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22368 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22369 (_FP_SETQNAN): New macro.
22370 (_FP_SETQNAN_SEMIRAW): Likewise.
22371 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22372 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22373 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22374 (FP_EXTEND): Use _FP_FRAC_SNANP.
22375 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22376 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22377 into account.
22378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22379 New macro.
22380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22381 Likewise.
22382
323e5cb7
JM
223832013-05-16 Joseph Myers <joseph@codesourcery.com>
22384
c58b274f
JM
22385 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22386 with DIVIDE_BY_ZERO_EXCEPTION.
22387 (gamma_test_data): Likewise.
22388 (lgamma_test_data): Likewise.
22389 (log_test_data): Likewise.
22390 (log10_test_data): Likewise.
22391 (log2_test_data): Likewise.
22392 (tgamma_test_data): Likewise.
22393
0ab34904
JM
22394 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22395 (acos_test_tonearest): Likewise.
22396 (acos_test_towardzero): Likewise.
22397 (acos_test_downward): Likewise.
22398 (acos_test_upward): Likewise.
22399 (acosh_test): Likewise.
22400 (asin_test): Likewise.
22401 (asin_test_tonearest): Likewise.
22402 (asin_test_towardzero): Likewise.
22403 (asin_test_downward): Likewise.
22404 (asin_test_upward): Likewise.
22405 (asinh_test): Likewise.
22406 (atan_test): Likewise.
22407 (atanh_test): Likewise.
22408 (atan2_test): Likewise.
22409 (cabs_test): Likewise.
22410 (cacos_test): Likewise.
22411 (cacosh_test): Likewise.
22412 (casin_test): Likewise.
22413 (casinh_test): Likewise.
22414 (catan_test): Likewise.
22415 (catanh_test): Likewise.
22416 (cbrt_test): Likewise.
22417 (ccos_test): Likewise.
22418 (ccosh_test): Likewise.
22419 (cexp_test): Likewise.
22420 (clog_test): Likewise.
22421 (clog10_test): Likewise.
22422 (cos_test): Likewise.
22423 (cos_test_tonearest): Likewise.
22424 (cos_test_towardzero): Likewise.
22425 (cos_test_downward): Likewise.
22426 (cos_test_upward): Likewise.
22427 (cosh_test): Likewise.
22428 (cosh_test_tonearest): Likewise.
22429 (cosh_test_towardzero): Likewise.
22430 (cosh_test_downward): Likewise.
22431 (cosh_test_upward): Likewise.
22432 (cpow_test): Likewise.
22433 (csin_test): Likewise.
22434 (csinh_test): Likewise.
22435 (csqrt_test): Likewise.
22436 (ctan_test): Likewise.
22437 (ctan_test_tonearest): Likewise.
22438 (ctan_test_towardzero): Likewise.
22439 (ctan_test_downward): Likewise.
22440 (ctan_test_upward): Likewise.
22441 (ctanh_test): Likewise.
22442 (ctanh_test_tonearest): Likewise.
22443 (ctanh_test_towardzero): Likewise.
22444 (ctanh_test_downward): Likewise.
22445 (ctanh_test_upward): Likewise.
22446 (erf_test): Likewise.
22447 (erfc_test): Likewise.
22448 (exp_test): Likewise.
22449 (exp_test_tonearest): Likewise.
22450 (exp_test_towardzero): Likewise.
22451 (exp_test_downward): Likewise.
22452 (exp_test_upward): Likewise.
22453 (exp10_test): Likewise.
22454 (exp2_test): Likewise.
22455 (expm1_test): Likewise.
22456 (fmod_test): Likewise.
22457 (gamma_test): Likewise.
22458 (hypot_test): Likewise.
22459 (j0_test): Likewise.
22460 (j1_test): Likewise.
22461 (jn_test): Likewise.
22462 (lgamma_test): Likewise.
22463 (log_test): Likewise.
22464 (log10_test): Likewise.
22465 (log1p_test): Likewise.
22466 (log2_test): Likewise.
22467 (logb_test_downward): Likewise.
22468 (pow_test): Likewise.
22469 (pow_test_tonearest): Likewise.
22470 (pow_test_towardzero): Likewise.
22471 (pow_test_downward): Likewise.
22472 (pow_test_upward): Likewise.
22473 (remainder_test): Likewise.
22474 (remquo_test): Likewise.
22475 (sin_test): Likewise.
22476 (sin_test_tonearest): Likewise.
22477 (sin_test_towardzero): Likewise.
22478 (sin_test_downward): Likewise.
22479 (sin_test_upward): Likewise.
22480 (sincos_test): Likewise.
22481 (sinh_test): Likewise.
22482 (sinh_test_tonearest): Likewise.
22483 (sinh_test_towardzero): Likewise.
22484 (sinh_test_downward): Likewise.
22485 (sinh_test_upward): Likewise.
22486 (sqrt_test): Likewise.
22487 (tan_test): Likewise.
22488 (tan_test_tonearest): Likewise.
22489 (tan_test_towardzero): Likewise.
22490 (tan_test_downward): Likewise.
22491 (tan_test_upward): Likewise.
22492 (tanh_test): Likewise.
22493 (tgamma_test): Likewise.
22494 (y0_test): Likewise.
22495 (y1_test): Likewise.
22496 (yn_test): Likewise.
22497
323e5cb7
JM
22498 * math/gen-libm-test.pl (adjust_arg): Remove function.
22499 (special_function): Remove argument $in_func. Only handle
22500 generating output for tables of tests, not inside functions.
22501 (parse_args): Likewise.
22502 (generate_testfile): Remove variable $in_func. Update call to
22503 parse_args.
22504 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22505 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22506 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22507 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22508 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22509 (MAX_VALUE_INIT): Rename macro to max_value.
22510 (MIN_VALUE_INIT): Rename macro to min_value.
22511 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22512 (plus_zero): Remove variable.
22513 (minus_zero): Likewise.
22514 (plus_infty): Likewise.
22515 (minus_infty): Likewise.
22516 (qnan_value): Likewise.
22517 (max_value): Likewise.
22518 (min_value): Likewise.
22519 (min_subnorm_value): Likewise.
22520
e054f494
RA
225212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22522
22523 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22524 uint64_t or uint32_t usage.
22525 * crypt/sha256-block.c: Likewise.
22526 * crypt/sha256-crypt.c: Likewise.
22527 * crypt/sha256.c: Likewise.
22528 * crypt/sha512-block.c: Likewise.
22529 * crypt/sha512-crypt.c: Likewise.
22530 * crypt/sha512.c: Likewise.
22531 * debug/backtrace-tst.c: Likewise.
22532 * debug/pcprofiledump.c: Likewise.
22533 * elf/cache.c: Likewise.
22534 * elf/dl-cache.c: Likewise.
22535 * elf/dl-misc.c: Likewise.
22536 * elf/dl-profile.c: Likewise.
22537 * elf/dl-support.c: Likewise.
22538 * elf/ldconfig.c: Likewise.
22539 * elf/sprof.c: Likewise.
22540 * iconv/dummy-repertoire.c: Likewise.
22541 * iconv/iconv_charmap.c: Likewise.
22542 * iconv/skeleton.c: Likewise.
22543 * iconvdata/8bit-generic.c: Likewise.
22544 * iconvdata/cp737.h: Likewise.
22545 * iconvdata/cp775.h: Likewise.
22546 * iconvdata/ibm1008.h: Likewise.
22547 * iconvdata/ibm1025.h: Likewise.
22548 * iconvdata/ibm1046.h: Likewise.
22549 * iconvdata/ibm1097.h: Likewise.
22550 * iconvdata/ibm1112.h: Likewise.
22551 * iconvdata/ibm1122.h: Likewise.
22552 * iconvdata/ibm1123.h: Likewise.
22553 * iconvdata/ibm1124.h: Likewise.
22554 * iconvdata/ibm1129.h: Likewise.
22555 * iconvdata/ibm1130.h: Likewise.
22556 * iconvdata/ibm1132.h: Likewise.
22557 * iconvdata/ibm1133.h: Likewise.
22558 * iconvdata/ibm1137.h: Likewise.
22559 * iconvdata/ibm1140.h: Likewise.
22560 * iconvdata/ibm1141.h: Likewise.
22561 * iconvdata/ibm1142.h: Likewise.
22562 * iconvdata/ibm1143.h: Likewise.
22563 * iconvdata/ibm1144.h: Likewise.
22564 * iconvdata/ibm1145.h: Likewise.
22565 * iconvdata/ibm1146.h: Likewise.
22566 * iconvdata/ibm1147.h: Likewise.
22567 * iconvdata/ibm1148.h: Likewise.
22568 * iconvdata/ibm1149.h: Likewise.
22569 * iconvdata/ibm1153.h: Likewise.
22570 * iconvdata/ibm1154.h: Likewise.
22571 * iconvdata/ibm1155.h: Likewise.
22572 * iconvdata/ibm1156.h: Likewise.
22573 * iconvdata/ibm1157.h: Likewise.
22574 * iconvdata/ibm1158.h: Likewise.
22575 * iconvdata/ibm1160.h: Likewise.
22576 * iconvdata/ibm1161.h: Likewise.
22577 * iconvdata/ibm1162.h: Likewise.
22578 * iconvdata/ibm1163.h: Likewise.
22579 * iconvdata/ibm1164.h: Likewise.
22580 * iconvdata/ibm1166.h: Likewise.
22581 * iconvdata/ibm1167.h: Likewise.
22582 * iconvdata/ibm12712.h: Likewise.
22583 * iconvdata/ibm1390.h: Likewise.
22584 * iconvdata/ibm1399.h: Likewise.
22585 * iconvdata/ibm16804.h: Likewise.
22586 * iconvdata/ibm4517.h: Likewise.
22587 * iconvdata/ibm4899.h: Likewise.
22588 * iconvdata/ibm4909.h: Likewise.
22589 * iconvdata/ibm4971.h: Likewise.
22590 * iconvdata/ibm5347.h: Likewise.
22591 * iconvdata/ibm803.h: Likewise.
22592 * iconvdata/ibm856.h: Likewise.
22593 * iconvdata/ibm901.h: Likewise.
22594 * iconvdata/ibm902.h: Likewise.
22595 * iconvdata/ibm9030.h: Likewise.
22596 * iconvdata/ibm9066.h: Likewise.
22597 * iconvdata/ibm921.h: Likewise.
22598 * iconvdata/ibm922.h: Likewise.
22599 * iconvdata/ibm9448.h: Likewise.
22600 * iconvdata/isiri-3342.h: Likewise.
22601 * iconvdata/jis0201.h: Likewise.
22602 * include/link.h: Likewise.
22603 * include/netdb.h: Likewise.
22604 * inet/check_native.c: Likewise.
22605 * inet/check_pf.c: Likewise.
22606 * inet/getipv4sourcefilter.c: Likewise.
22607 * inet/getnameinfo.c: Likewise.
22608 * inet/getsourcefilter.c: Likewise.
22609 * inet/htonl.c: Likewise.
22610 * inet/setipv4sourcefilter.c: Likewise.
22611 * inet/setsourcefilter.c: Likewise.
22612 * inet/test-inet6_opt.c: Likewise.
22613 * inet/tst-network.c: Likewise.
22614 * locale/C-collate.c: Likewise.
22615 * locale/C-ctype.c: Likewise.
22616 * locale/C-time.c: Likewise.
22617 * locale/C-translit.h: Likewise.
22618 * locale/loadarchive.c: Likewise.
22619 * locale/programs/3level.h: Likewise.
22620 * locale/programs/charmap.c: Likewise.
22621 * locale/programs/charmap.h: Likewise.
22622 * locale/programs/ld-address.c: Likewise.
22623 * locale/programs/ld-collate.c: Likewise.
22624 * locale/programs/ld-ctype.c: Likewise.
22625 * locale/programs/ld-identification.c: Likewise.
22626 * locale/programs/ld-measurement.c: Likewise.
22627 * locale/programs/ld-messages.c: Likewise.
22628 * locale/programs/ld-monetary.c: Likewise.
22629 * locale/programs/ld-name.c: Likewise.
22630 * locale/programs/ld-numeric.c: Likewise.
22631 * locale/programs/ld-paper.c: Likewise.
22632 * locale/programs/ld-telephone.c: Likewise.
22633 * locale/programs/ld-time.c: Likewise.
22634 * locale/programs/linereader.c: Likewise.
22635 * locale/programs/locale.c: Likewise.
22636 * locale/programs/locarchive.c: Likewise.
22637 * locale/programs/locfile.h: Likewise.
22638 * locale/programs/repertoire.c: Likewise.
22639 * locale/programs/simple-hash.c: Likewise.
22640 * locale/programs/simple-hash.h: Likewise.
22641 * malloc/memusage.c: Likewise.
22642 * malloc/memusagestat.c: Likewise.
22643 * nis/nis_defaults.c: Likewise.
22644 * nis/nis_hash.c: Likewise.
22645 * nis/nis_print.c: Likewise.
22646 * nis/nis_xdr.c: Likewise.
22647 * nscd/connections.c: Likewise.
22648 * nscd/hstcache.c: Likewise.
22649 * nscd/nscd_gethst_r.c: Likewise.
22650 * nscd/nscd_getserv_r.c: Likewise.
22651 * nscd/nscd_helper.c: Likewise.
22652 * nscd/servicescache.c: Likewise.
22653 * nss/makedb.c: Likewise.
22654 * nss/nss_db/db-XXX.c: Likewise.
22655 * nss/nss_db/db-initgroups.c: Likewise.
22656 * nss/nss_db/db-netgrp.c: Likewise.
22657 * nss/nss_files/files-network.c: Likewise.
22658 * nss/nss_files/files-parse.c: Likewise.
22659 * posix/bug-regex5.c: Likewise.
22660 * posix/fnmatch_loop.c: Likewise.
22661 * posix/regcomp.c: Likewise.
22662 * posix/regexec.c: Likewise.
22663 * posix/tst-rfc3484-2.c: Likewise.
22664 * posix/tst-rfc3484-3.c: Likewise.
22665 * posix/tst-rfc3484.c: Likewise.
22666 * resolv/nss_dns/dns-canon.c: Likewise.
22667 * resolv/nss_dns/dns-network.c: Likewise.
22668 * resolv/res_init.c: Likewise.
22669 * resolv/res_mkquery.c: Likewise.
22670 * resolv/tst-aton.c: Likewise.
22671 * stdlib/cxa_atexit.c: Likewise.
22672 * stdlib/cxa_finalize.c: Likewise.
22673 * stdlib/gen-fpioconst.c: Likewise.
22674 * stdlib/strtol_l.c: Likewise.
22675 * string/tst-endian.c: Likewise.
22676 * sunrpc/auth_des.c: Likewise.
22677 * sunrpc/clnt_udp.c: Likewise.
22678 * sunrpc/rtime.c: Likewise.
22679 * sunrpc/svcauth_des.c: Likewise.
22680 * sunrpc/xdr.c: Likewise.
22681 * sunrpc/xdr_intXX_t.c: Likewise.
22682 * sunrpc/xdr_rec.c: Likewise.
22683 * sysdeps/generic/ldconfig.h: Likewise.
22684 * sysdeps/generic/ldsodefs.h: Likewise.
22685 * sysdeps/generic/memusage.h: Likewise.
22686 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22696 * sysdeps/posix/getaddrinfo.c: Likewise.
22697 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22698 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22699 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22701 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22702 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22703 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22704 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22705 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22706 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22707 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22708 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22709 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22710 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22711 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22712 * sysdeps/x86_64/dl-tls.h: Likewise.
22713 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22714 * time/alt_digit.c: Likewise.
22715 * time/era.c: Likewise.
22716 * wcsmbs/tst-c16c32-1.c: Likewise.
22717
8c75f674
JM
227182013-05-16 Joseph Myers <joseph@codesourcery.com>
22719
22720 * math/libm-test.inc (struct test_sincos_data): New type.
22721 (RUN_TEST_LOOP_sincos): New macro.
22722 (sincos_test_data): New variable.
22723 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22724
e6e49e59
RH
227252013-05-16 Richard Henderson <rth@redhat.com>
22726
22727 * math/atest-exp2.c (LIMB64): New macro.
22728 (CONSTSZ): New macro.
22729 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22730 (hexdig): Move ...
22731 (print_mpn_fp): ... to function scope.
22732 (read_mpn_hex): Remove.
22733 (get_log2): Remove.
22734 (exp2_mpn): Use mp_log2.
22735 (main): Use mp_exp1.
22736
15c7c18d
JM
227372013-05-16 Joseph Myers <joseph@codesourcery.com>
22738
105a07df
JM
22739 * math/libm-test.inc: Remove comment about not testing "inexact"
22740 exceptions.
22741 (INEXACT_EXCEPTION): New macro.
22742 (NO_INEXACT_EXCEPTION): Likewise.
22743 (INVALID_EXCEPTION_OK): Update value.
22744 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22745 (OVERFLOW_EXCEPTION_OK): Likewise.
22746 (UNDERFLOW_EXCEPTION_OK): Likewise.
22747 (IGNORE_ZERO_INF_SIGN): Likewise.
22748 (ERRNO_UNCHANGED): Likewise.
22749 (ERRNO_EDOM): Likewise.
22750 (ERRNO_ERANGE): Likewise.
22751 (test_exceptions): Handle testing "inexact" exceptions.
22752 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22753 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22754 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22755 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22756 INEXACT_EXCEPTION.
22757 (rint_towardzero_test_data): Likewise.
22758 (rint_downward_test_data): Likewise.
22759 (rint_upward_test_data): Likewise.
22760
e9eee333
JM
22761 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22762 with OVERFLOW_EXCEPTION.
22763 (exp10_test_data): Likewise.
22764 (exp2_test_data): Likewise.
22765 (expm1_test_data): Likewise.
22766 (lgamma_test_data): Likewise.
22767 (pow_test_data): Likewise.
22768 (tgamma_test_data): Likewise.
22769 (yn_test_data): Remove duplicate test of overflow.
22770
1c38ff73
JM
22771 * math/libm-test.inc (struct test_cc_c_data): New type.
22772 (RUN_TEST_LOOP_cc_c): New macro.
22773 (cpow_test_data): New variable.
22774 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22775
15c7c18d
JM
22776 * math/libm-test.inc (struct test_f_L_data): New type.
22777 (RUN_TEST_LOOP_f_L): New macro.
22778 (llrint_test_data): New variable.
22779 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22780 (llrint_tonearest_test_data): New variable.
22781 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22782 (llrint_towardzero_test_data): New variable.
22783 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22784 (llrint_downward_test_data): New variable.
22785 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22786 (llrint_upward_test_data): New variable.
22787 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22788 (llround_test_data): New variable.
22789 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22790
f137ff13
PC
227912013-05-13 Peter Collingbourne <pcc@google.com>
22792
22793 * math/atest-exp2.c (get_log2): Remove const attribute.
22794
3608cb24
JM
227952013-05-15 Joseph Myers <joseph@codesourcery.com>
22796
22797 * math/libm-test.inc (struct test_f_l_data): New type.
22798 (RUN_TEST_LOOP_f_l): New macro.
22799 (lrint_test_data): New variable.
22800 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22801 (lrint_tonearest_test_data): New variable.
22802 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22803 (lrint_towardzero_test_data): New variable.
22804 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22805 (lrint_downward_test_data): New variable.
22806 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22807 (lrint_upward_test_data): New variable.
22808 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22809 (lround_test_data): New variable.
22810 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22811
39b1f617
PC
228122013-05-15 Peter Collingbourne <pcc@google.com>
22813
1deff3dc
PC
22814 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22815 (EXTRACT_WORDS64) Use where appropriate.
22816 (INSERT_WORDS64) Likewise.
22817
791f3ba0
PC
22818 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22819 constraints with x constraints.
22820 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22821
39b1f617
PC
22822 * malloc/obstack.c (_obstack_compat): Add initializer.
22823
12fba011
EM
228242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22825
22826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22827 si_trapno and add si_addr_lsb to _sifields.sigfault.
22828 (si_trapno): Remove macro.
22829 (si_addr_lsb): Define new macro.
22830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22831
d369f531
JM
228322013-05-15 Joseph Myers <joseph@codesourcery.com>
22833
b861c6c4
JM
22834 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22835 instead of TEST_f_l.
22836 (llrint_test_tonearest): Likewise.
22837 (llrint_test_towardzero): Likewise.
22838 (llrint_test_downward): Likewise.
22839 (llrint_test_upward): Likewise.
22840 (llround_test): Likewise.
22841
7abeee12
JM
22842 * math/libm-test.inc (struct test_f_i_data): Add comment.
22843 (RUN_TEST_LOOP_f_b): New macro.
22844 (RUN_TEST_LOOP_f_b_tg): Likewise.
22845 (finite_test_data): New variable.
22846 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22847 (isfinite_test_data): New variable.
22848 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22849 (isinf_test_data): New variable.
22850 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22851 (isnan_test_data): New variable.
22852 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22853 (isnormal_test_data): New variable.
22854 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22855 (issignaling_test_data): New variable.
22856 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22857 (signbit_test_data): New variable.
22858 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22859
cbe8c4d3
JM
22860 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22861 with INVALID_EXCEPTION.
22862 (acosh_test_data): Likewise.
22863 (asin_test_data): Likewise.
22864 (atanh_test_data): Likewise.
22865 (fmod_test_data): Likewise.
22866 (log_test_data): Likewise.
22867 (log10_test_data): Likewise.
22868 (log2_test_data): Likewise.
22869 (pow_test_data): Likewise.
22870 (sqrt_test_data): Likewise.
22871 (y0_test_data): Likewise.
22872 (y1_test_data): Likewise.
22873 (yn_test_data): Likewise.
22874
5575c0e5
JM
22875 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22876 function contents.
22877
d369f531
JM
22878 * math/libm-test.inc (struct test_ff_i_data): New type.
22879 (RUN_TEST_LOOP_ff_i_tg): New macro.
22880 (isgreater_test_data): New variable.
22881 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22882 (isgreaterequal_test_data): New variable.
22883 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22884 (isless_test_data): New variable.
22885 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22886 (islessequal_test_data): New variable.
22887 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22888 (islessgreater_test_data): New variable.
22889 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22890 (isunordered_test_data): New variable.
22891 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22892
781fd748
DM
228932013-05-14 David S. Miller <davem@davemloft.net>
22894
22895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22896
87aa21df
JM
228972013-05-14 Joseph Myers <joseph@codesourcery.com>
22898
5e908270
JM
22899 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22900
f71172e5
JM
22901 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22902 extra_test to int.
22903 (struct test_f_i_data): Change type of max_ulp to int.
22904
8cfa635a
JM
22905 * math/libm-test.inc (test_ffI_f1_data): New type.
22906 (RUN_TEST_LOOP_ffI_f1): New macro.
22907 (remquo_test_data): New variable.
22908 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22909
2bcb36b2
JM
22910 * setjmp/tst-setjmp-fp.c: New file.
22911 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22912 (link-libm): New variable.
22913 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22914
acbd839a
JM
22915 * math/libm-test.inc (struct test_f_i_data): New type.
22916 (RUN_TEST_LOOP_f_i): New macro.
22917 (RUN_TEST_LOOP_f_i_tg): Likewise.
22918 (fpclassify_test_data): New variable.
22919 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22920 (ilogb_test_data): New variable.
22921 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22922
e414d745
JM
22923 * math/libm-test.inc (scalbln_test): Correct function name in END
22924 call.
22925
d9c2a0fd
JM
22926 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22927 (RUN_TEST_LOOP_fI_f1): New macro.
22928 (frexp_test_data): New variable.
22929 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22930
9dc9095d
JM
22931 * math/libm-test.inc (struct test_fF_f1_data): New type.
22932 (RUN_TEST_LOOP_fF_f1): New macro.
22933 (modf_test_data): New variable.
22934 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22935
87aa21df
JM
22936 * math/libm-test.inc (struct test_f_f1_data): New type.
22937 (RUN_TEST_LOOP_f_f1): New macro.
22938 (gamma_test_data): New variable.
22939 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22940 (lgamma_test_data): New variable.
22941 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22942
141af660
CD
229432013-05-13 Carlos O'Donell <carlos@redhat.com>
22944
22945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22946 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22947 (main): Comment "tls" pseudo-hwcap.
22948
6d33265c
JM
229492013-05-13 Joseph Myers <joseph@codesourcery.com>
22950
68fc074c
JM
22951 * math/libm-test.inc (struct test_fl_f_data): New type.
22952 (RUN_TEST_LOOP_fl_f): New variable.
22953 (scalbln_test_data): New variable.
22954 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22955
243216e1
JM
22956 * math/libm-test.inc (struct test_fi_f_data): New type.
22957 (RUN_TEST_LOOP_fi_f): New macro.
22958 (ldexp_test_data): New variable.
22959 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22960 (scalbn_test_data): New variable.
22961 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22962
6a1992e2
JM
22963 * math/libm-test.inc (struct test_c_f_data): New type.
22964 (RUN_TEST_LOOP_c_f): New macro.
22965 (cabs_test_data): New variable.
22966 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22967 (carg_test_data): New variable.
22968 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22969 (cimag_test_data): New variable.
22970 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22971 (creal_test_data): New variable.
22972 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22973
0e400df5
JM
22974 * math/libm-test.inc (struct test_if_f_data): New type.
22975 (RUN_TEST_LOOP_if_f): New macro.
22976 (jn_test_data): New variable.
22977 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22978 (yn_test_data): New variable.
22979 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22980
6d33265c
JM
22981 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22982
f98ece5f
AZ
229832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22984
22985 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22986 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22987
0f7d347b
SP
229882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22989
43fe811b
SP
22990 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22991 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22992 (bench-deps): Add bench-timing.h.
22993 * benchtests-bench-skeleton.c: Include bench-timing.h.
22994 (main): Use TIMING_* macros instead of clock_gettime.
22995 * benchtests/bench-timing.h: New file.
22996
0f7d347b
SP
22997 [BZ #14582]
22998 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22999 Renamed from _LIB_VERSION.
23000 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23001
601a3a5f
JM
230022013-05-12 Joseph Myers <joseph@codesourcery.com>
23003
4f184d30
JM
23004 * math/libm-test.inc (struct test_fff_f_data): New type.
23005 (RUN_TEST_LOOP_fff_f): New macro.
23006 (fma_test_data): New variable.
23007 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23008 (fma_towardzero_test_data): New variable.
23009 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23010 (fma_downward_test_data): New variable.
23011 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23012 (fma_upward_test_data): New variable.
23013 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23014
08198877
JM
23015 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23016 (struct test_c_c_data): New type.
23017 (RUN_TEST_LOOP_c_c): New macro.
23018 (cacos_test_data): New variable.
23019 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23020 (cacosh_test_data): New variable.
23021 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23022 (casin_test_data): New variable.
23023 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23024 (casinh_test_data): New variable.
23025 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23026 (catan_test_data): New variable.
23027 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23028 (catanh_test_data): New variable.
23029 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23030 (ccos_test_data): New variable.
23031 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23032 (ccosh_test_data): New variable.
23033 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23034 (cexp_test_data): New variable.
23035 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23036 (clog_test_data): New variable.
23037 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23038 (clog10_test_data): New variable.
23039 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23040 (conj_test_data): New variable.
23041 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23042 (cproj_test_data): New variable.
23043 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23044 (csin_test_data): New variable.
23045 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23046 (csinh_test_data): New variable.
23047 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23048 (csqrt_test_data): New variable.
23049 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23050 (ctan_test_data): New variable.
23051 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23052 (ctan_tonearest_test_data): New variable.
23053 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23054 (ctan_towardzero_test_data): New variable.
23055 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23056 (ctan_downward_test_data): New variable.
23057 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23058 (ctan_upward_test_data): New variable.
23059 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23060 (ctanh_test_data): New variable.
23061 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23062 (ctanh_tonearest_test_data): New variable.
23063 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23064 (ctanh_towardzero_test_data): New variable.
23065 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23066 (ctanh_downward_test_data): New variable.
23067 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23068 (ctanh_upward_test_data): New variable.
23069 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23070 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23071 of BUILD_COMPLEX.
23072
601a3a5f
JM
23073 * math/libm-test.inc (struct test_ff_f_data): New type.
23074 (struct test_ff_f_data_nexttoward): Likewise.
23075 (RUN_TEST_LOOP_2_f): New macro.
23076 (RUN_TEST_LOOP_ff_f): Likewise.
23077 (atan2_test_data): New variable.
23078 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23079 (copysign_test_data): New variable.
23080 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23081 (fdim_test_data): New variable.
23082 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23083 (fmax_test_data): New variable.
23084 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23085 (fmin_test_data): New variable.
23086 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23087 (fmod_test_data): New variable.
23088 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23089 (hypot_test_data): New variable.
23090 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23091 (nextafter_test_data): New variable.
23092 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23093 (nexttoward_test_data): New variable.
23094 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23095 (pow_test_data): New variable.
23096 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23097 (pow_tonearest_test_data): New variable.
23098 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23099 (pow_towardzero_test_data): New variable.
23100 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23101 (pow_downward_test_data): New variable.
23102 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23103 (pow_upward_test_data): New variable.
23104 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23105 (remainder_test_data): New variable.
23106 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23107 (scalb_test_data): New variable.
23108 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23109 * sysdeps/i386/fpu/libm-test-ulps: Update.
23110
74c57478
JM
231112013-05-11 Joseph Myers <joseph@codesourcery.com>
23112
8329e4da
JM
23113 * math/libm-test.inc (fma_test): Use max_value instead of local
23114 variable fltmax.
23115 (nextafter_test): Likewise.
23116
74c57478
JM
23117 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23118 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23119 (acos_downward_test_data): New variable.
23120 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23121 (acos_upward_test_data): New variable.
23122 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23123 (acosh_test_data): New variable.
23124 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23125 (asin_test_data): New variable.
23126 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23127 (asin_tonearest_test_data): New variable.
23128 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23129 (asin_towardzero_test_data): New variable.
23130 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23131 (asin_downward_test_data): New variable.
23132 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23133 (asin_upward_test_data): New variable.
23134 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23135 (asinh_test_data): New variable.
23136 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23137 (atan_test_data): New variable.
23138 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23139 (atanh_test_data): New variable.
23140 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23141 (cbrt_test_data): New variable.
23142 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23143 (ceil_test_data): New variable.
23144 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23145 (cos_test_data): New variable.
23146 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23147 (cos_tonearest_test_data): New variable.
23148 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23149 (cos_towardzero_test_data): New variable.
23150 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23151 (cos_downward_test_data): New variable.
23152 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23153 (cos_upward_test_data): New variable.
23154 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23155 (cosh_test_data): New variable.
23156 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23157 (cosh_tonearest_test_data): New variable.
23158 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23159 (cosh_towardzero_test_data): New variable.
23160 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23161 (cosh_downward_test_data): New variable.
23162 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23163 (cosh_upward_test_data): New variable.
23164 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23165 (erf_test_data): New variable.
23166 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23167 (erfc_test_data): New variable.
23168 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23169 (exp_test_data): New variable.
23170 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23171 (exp_tonearest_test_data): New variable.
23172 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23173 (exp_towardzero_test_data): New variable.
23174 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23175 (exp_downward_test_data): New variable.
23176 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23177 (exp_upward_test_data): New variable.
23178 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23179 (exp10_test_data): New variable.
23180 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23181 (exp2_test_data): New variable.
23182 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23183 (expm1_test_data): New variable.
23184 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23185 (fabs_test_data): New variable.
23186 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23187 (floor_test_data): New variable.
23188 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23189 (j0_test_data): New variable.
23190 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23191 (j1_test_data): New variable.
23192 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23193 (log_test_data): New variable.
23194 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23195 (log10_test_data): New variable.
23196 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23197 (log1p_test_data): New variable.
23198 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23199 (log2_test_data): New variable.
23200 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23201 (logb_test_data): New variable.
23202 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23203 (logb_downward_test_data): New variable.
23204 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23205 (nearbyint_test_data): New variable.
23206 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23207 (rint_test_data): New variable.
23208 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23209 (rint_tonearest_test_data): New variable.
23210 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23211 (rint_towardzero_test_data): New variable.
23212 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23213 (rint_downward_test_data): New variable.
23214 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23215 (rint_upward_test_data): New variable.
23216 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23217 (round_test_data): New variable.
23218 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23219 (sin_test_data): New variable.
23220 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23221 (sin_tonearest_test_data): New variable.
23222 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23223 (sin_towardzero_test_data): New variable.
23224 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23225 (sin_downward_test_data): New variable.
23226 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23227 (sin_upward_test_data): New variable.
23228 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23229 (sinh_test_data): New variable.
23230 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23231 (sinh_tonearest_test_data): New variable.
23232 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23233 (sinh_towardzero_test_data): New variable.
23234 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23235 (sinh_downward_test_data): New variable.
23236 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23237 (sinh_upward_test_data): New variable.
23238 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23239 (sqrt_test_data): New variable.
23240 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23241 (tan_test_data): New variable.
23242 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23243 (tan_tonearest_test_data): New variable.
23244 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23245 (tan_towardzero_test_data): New variable.
23246 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23247 (tan_downward_test_data): New variable.
23248 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23249 (tan_upward_test_data): New variable.
23250 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23251 (tanh_test_data): New variable.
23252 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23253 (tgamma_test_data): New variable.
23254 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23255 (trunc_test_data): New variable.
23256 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23257 (y0_test_data): New variable.
23258 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23259 (y1_test_data): New variable.
23260 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23261 (significand_test_data): New variable.
23262 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23263
7187d844
CG
232642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23265
23266 [BZ #12387]
23267 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23268
f63fae73
PT
232692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23270
23271 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23272
8a67a4b3
AJ
232732013-05-10 Andreas Jaeger <aj@suse.de>
23274
23275 [BZ #15448]
23276 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23277 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23278
51df539d
JM
232792013-05-10 Joseph Myers <joseph@codesourcery.com>
23280
23281 * math/gen-libm-test.pl (adjust_arg): New function.
23282 (special_functions): Handle generating output in both functions
23283 and arrays.
23284 (parse_args): Likewise.
23285 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23286 $in_func argument to parse_args.
23287 * math/libm-test.inc (struct test_f_f_data): New type.
23288 (IF_ROUND_INIT_): New macro.
23289 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23290 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23291 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23292 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23293 (ROUND_RESTORE_): Likewise.
23294 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23295 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23296 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23297 (ROUND_RESTORE_FE_UPWARD): Likewise.
23298 (RUN_TEST_LOOP_f_f): New macro.
23299 (acos_test_data): New variable.
23300 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23301 (acos_tonearest_test_data): New variable.
23302 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23303
5c637fe5
SP
233042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23305
23306 * benchtests/bench-skeleton.c (startup): Fix coding style.
23307
ab2b9461
JM
233082013-05-10 Joseph Myers <joseph@codesourcery.com>
23309
23310 [BZ #6809]
23311 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23312 negative infinity argument.
23313 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23314 negative infinity argument.
23315 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23316 negative infinity argument.
23317 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23318 domain errors.
23319
4c0fe6fe
FW
233202013-05-10 Florian Weimer <fweimer@redhat.com>
23321
23322 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23323 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23324 * iconv/iconv_prog.c (main): Likewise.
23325 * locale/programs/charmap-dir.c (charmap_readdir)
23326 (fopen_uncompressed): Likewise.
23327 * locale/programs/locfile.c (siblings_uncached)
23328 (write_locale_data): Use lstat64 instead of lstat.
23329 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23330 stat.
23331
a3375d29
AJ
233322013-05-10 Andreas Jaeger <aj@suse.de>
23333
23334 [BZ #15395]
23335 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23336 localization.
23337 Include <locale.h>.
23338
36129722
CD
233392013-05-09 Carlos O'Donell <carlos@redhat.com>
23340
23341 * elf/dl-close.c (_dl_close_worker): Add comments.
23342
faa7f811
JM
233432013-05-09 Joseph Myers <joseph@codesourcery.com>
23344
ed41ffef
JM
23345 [BZ #15359]
23346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23347 high part of pi/2.
23348 (__ieee754_rem_pio2l): Update comments.
23349
d0213cd0
JM
23350 [BZ #15429]
23351 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23352 high part of pi/2.
23353 (__ieee754_rem_pio2l): Update comments.
23354
0d3e777a
JM
23355 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23356 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23357
24f56066
JM
23358 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23359 M_PI_4l.
23360
faa7f811
JM
23361 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23362 (M_PI_34_LOG10El): Likewise.
23363 (M_PI2_LOG10El): Likewise.
23364 (M_PI4_LOG10El): Likewise.
23365 (M_PI_LOG10El): Likewise.
23366
e9a5e0fd
AZ
233672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23368
23369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23370
d8cd06db
JM
233712013-05-08 Joseph Myers <joseph@codesourcery.com>
23372
a0d9f9d7
JM
23373 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23374 (MINUS_ZERO_INIT): Likewise.
23375 (PLUS_INFTY_INIT): Likewise.
23376 (MINUS_INFTY_INIT): Likewise.
23377 (QNAN_VALUE_INIT): Likewise.
23378 (MAX_VALUE_INIT): Likewise.
23379 (MIN_VALUE_INIT): Likewise.
23380 (MIN_SUBNORM_VALUE_INIT): Likewise.
23381 (plus_zero): Initialize with PLUS_ZERO_INIT.
23382 (minus_zero): Initialize with MINUS_ZERO_INIT.
23383 (plus_infty): Initialize with PLUS_INFTY_INIT.
23384 (minus_infty): Initialize with MINUS_INFTY_INIT.
23385 (qnan_value): Initialize with QNAN_VALUE_INIT.
23386 (max_value): Initialize with MAX_VALUE_INIT.
23387 (min_value): Initialize with MIN_VALUE_INIT.
23388 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23389
ae08db3b
JM
23390 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23391 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23392 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23393 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23394
f44bf14a
JM
23395 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23396 (RUN_TEST_2_f): Likewise.
23397 (RUN_TEST_ff_f): Likewise.
23398 (RUN_TEST_fi_f): Likewise.
23399 (RUN_TEST_fl_f): Likewise.
23400 (RUN_TEST_fff_f): Likewise.
23401 (RUN_TEST_c_f): Likewise.
23402 (RUN_TEST_f_f1): Likewise.
23403 (RUN_TEST_fF_f1): Likewise.
23404 (RUN_TEST_fI_f1): Likewise.
23405 (RUN_TEST_ffI_f1): Likewise.
23406 (RUN_TEST_c_c): Likewise.
23407 (RUN_TEST_cc_c): Likewise.
23408 (RUN_TEST_f_i): Likewise.
23409 (RUN_TEST_f_i_tg): Likewise.
23410 (RUN_TEST_ff_i_tg): Likewise.
23411 (RUN_TEST_f_b): Likewise.
23412 (RUN_TEST_f_b_tg): Likewise.
23413 (RUN_TEST_f_l): Likewise.
23414 (RUN_TEST_f_L): Likewise.
23415 (RUN_TEST_sincos): Likewise.
23416 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23417 whether to show exceptions. Do not include ");\n" in return
23418 value.
23419 (special_functions): Output call to RUN_TEST_sincos instead of
23420 check_float calls. Update calls to new_test.
23421 (parse_args): Output call to single RUN_TEST_* macro instead of
23422 check_* calls and other assignments. Update calls to new_test.
23423
d8cd06db
JM
23424 [BZ #2546]
23425 [BZ #2560]
23426 [BZ #5159]
23427 [BZ #15426]
23428 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23429 input to result for tgamma overflow.
23430 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23431 (gamma_coeff): New variable.
23432 (NCOEFF): New macro.
23433 (gamma_positive): New function.
23434 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23435 underflow here. Use gamma_positive instead of exp (lgamma) for
23436 other arguments.
23437 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23438 (gamma_coeff): New variable.
23439 (NCOEFF): New macro.
23440 (gammaf_positive): New function.
23441 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23442 underflow here. Use gamma_positive instead of exp (lgamma) for
23443 other arguments.
23444 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23445 (gamma_coeff): New variable.
23446 (NCOEFF): New macro.
23447 (gammal_positive): New function.
23448 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23449 underflow here. Use gamma_positive instead of exp (lgamma) for
23450 other arguments.
23451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23452 (gamma_coeff): New variable.
23453 (NCOEFF): New macro.
23454 (gammal_positive): New function.
23455 (__ieee754_gammal_r): Handle positive infinity, overflow and
23456 underflow here. Handle NaN the same as positive infinity. Remove
23457 check x < 0xffffffff for negative integers. Use gamma_positive
23458 instead of exp (lgamma) for other arguments.
23459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23460 (gamma_coeff): New variable.
23461 (NCOEFF): New macro.
23462 (gammal_positive): New function.
23463 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23464 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23468 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23469 * sysdeps/generic/math_private.h (__gamma_productf): New
23470 prototype.
23471 (__gamma_product): Likewise.
23472 (__gamma_productl): Likewise.
23473 * math/Makefile (libm-calls): Add gamma_product.
23474 * math/libm-test.inc (tgamma_test): Add more tests.
23475 * sysdeps/i386/fpu/libm-test-ulps: Update.
23476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23477
bb7cf681
OB
234782013-05-08 Ondřej Bílka <neleai@seznam.cz>
23479
23480 * benchtests/bench-skeleton.c (main): Preheat CPU.
23481
ba853947
AJ
234822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23483
23484 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23485
8347c74c
RM
234862013-05-07 Roland McGrath <roland@hack.frob.com>
23487
23488 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23489 and _dl_skip_args_internal.
23490
e8dd4791
CD
234912013-05-07 Carlos O'Donell <carlos@redhat.com>
23492
23493 * manual/message.texi (Message Translation): Talk about users.
23494 Message to key mapping impacts design.
23495
c7405830
RM
234962013-05-06 Roland McGrath <roland@hack.frob.com>
23497
a9173057
RM
23498 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23499
976e2f03
RM
23500 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23501
9723ffc5
RM
23502 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23503 * sysdeps/wordsize-64/glob64.c: ... here.
23504
962e6658
RM
23505 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23506 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23507 New macros.
23508
ee586a6d
RM
23509 * debug/getlogin_r_chk.c: Moved to ...
23510 * login/getlogin_r_chk.c: ... here.
23511 * debug/Makefile (routines): Move getlogin_r_chk to ...
23512 * login/Makefile (routines): ... here.
23513 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23514 * login/Versions (libc: GLIBC_2.4): ... here.
23515
355f9165
RM
23516 * io/poll.c (__poll): Renamed from poll.
23517 Add libc_hidden_def.
23518 (poll): Define as weak alias.
23519
bd9ffde6
RM
23520 * debug/ptsname_r_chk.c: Moved to ...
23521 * login/ptsname_r_chk.c: ... here.
23522 * debug/Makefile (routines): Move ptsname_r_chk to ...
23523 * login/Makefile (routines): ... here.
23524 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23525 * login/Versions (libc: GLIBC_2.4): ... here.
23526
8fb16a04
RM
23527 * posix/getlogin.c: Moved to ...
23528 * login/getlogin.c: ... here.
23529 * posix/getlogin_r.c: Moved to ...
23530 * login/getlogin_r.c: ... here.
23531 * posix/getlogin_r.c: Moved to ...
23532 * login/getlogin_r.c: ... here.
23533 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23534 * login/Makefile (routines): ... here.
23535 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23536 * login/Versions (libc: GLIBC_2.0): ... here.
23537
b99b892f
RM
23538 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23539 (setrlimit): Define as weak alias.
23540
c7405830
RM
23541 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23542 Call __ names for open, ftruncate, and close.
23543 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23544 (truncate): Define as weak alias.
23545
5bf96de5
JM
235462013-05-06 Joseph Myers <joseph@codesourcery.com>
23547
9ea3513c
JM
23548 * math/gen-libm-test.pl (parse_args): Initialize x before each
23549 test of frexp, modf and remquo.
23550
5bf96de5
JM
23551 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23552 test signgam value.
23553
16e616a7
AZ
235542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23555
23556 [BZ #15418]
23557 [BZ #15419]
23558 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23559 internal tests.
23560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23561
d5e82754
RM
235622013-05-06 Roland McGrath <roland@hack.frob.com>
23563
23564 * elf/dl-writev.h: New file.
23565 * elf/dl-misc.c: Include it.
23566 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23567 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23568
a7548d41
JM
235692013-05-04 Joseph Myers <joseph@codesourcery.com>
23570
b7dab1e4
JM
23571 * math/libm-test.inc (noXFails): Remove variable.
23572 (noXPasses): Likewise.
23573 (BUILD_COMPLEX_INT): Remove macro.
23574 (print_screen): Remove xfail argument.
23575 (print_screen_max_error): Likewise.
23576 (update_stats): Likewise.
23577 (print_max_error): Likewise. Update calls to other affected
23578 functions.
23579 (print_complex_max_error): Likewise.
23580 (test_single_exception): Update calls to print_screen.
23581 (test_single_errno): Likewise.
23582 (check_float_internal): Remove xfail argument. Update calls to
23583 other affected functions.
23584 (check_float): Likewise.
23585 (check_complex): Likewise.
23586 (check_int): Likewise.
23587 (check_long): Likewise.
23588 (check_bool): Likewise.
23589 (check_longlong): Likewise.
23590 (main): Don't print noXFails and noXPasses.
23591 * math/gen-libm-test.pl (top level): Don't mention expected
23592 failure handling in comment.
23593 (new_test): Don't handle expected failures.
23594 (parse_args): Don't mention expected failure handling in comment.
23595 (generate_testfile): Don't handle expected failures.
23596 (parse_ulps): Likewise.
23597 (print_ulps_file): Likewise.
23598 (get_failure): Remove function.
23599 (output_test): Don't handle expected failures.
23600 * make/README.libm-test: Don't mention expected failure handling.
23601
a7548d41
JM
23602 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23603 (minus_zero): Likewise.
23604 (plus_infty): Likewise.
23605 (minus_infty): Likewise.
23606 (qnan_value): Likewise.
23607 (max_value): Likewise.
23608 (min_value): Likewise.
23609 (min_subnorm_value): Likewise.
23610 (initialize): Do not initialize those variables dynamically.
23611
60bfd54c
RM
236122013-05-03 Roland McGrath <roland@hack.frob.com>
23613
cc0e6ed8
RM
23614 * io/open.c (__open_2): Moved to ...
23615 * io/open_2.c: ... this new file.
23616 * io/open64.c (__open64_2): Moved to ...
23617 * io/open64_2.c: ... this new file.
23618 * io/openat.c (__openat_2): Moved to ...
23619 * io/openat_2.c: ... this new file.
23620 * io/openat64.c (__openat64_2): Moved to ...
23621 * io/openat64_2.c: ... this new file.
23622 * io/Makefile (routines): Add them.
23623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23624 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23625 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23626 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23627 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23628 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23629 (__openat64): Add hidden_ver.
23630 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23631 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23632
60bfd54c
RM
23633 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23634 Separately conditionalize setting of GLRO(dl_sysinfo) so
23635 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23636 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23637
83e7640f
AZ
236382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23639
23640 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23642 definition.
23643 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23644 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23645 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23646 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23647 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23648
d5dc2af3
JM
236492013-05-03 Joseph Myers <joseph@codesourcery.com>
23650
c31a5b1e
JM
23651 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23652 test signgam value.
23653
d5dc2af3
JM
23654 * math/libm-test.inc (hypot_test): Do not use
23655 IGNORE_ZERO_INF_SIGN.
23656
164fd39d
AJ
236572013-05-03 Andreas Jaeger <aj@suse.de>
23658
23659 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23660 Linux 3.9.
23661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23662 (PF_MAX): Adjust for VSOCK change.
23663
8237f48c
AZ
236642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23665
23666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23667
9df02941
CD
236682013-05-02 Carlos O'Donell <carlos@redhat.com>
23669
23670 [BZ #15264]
23671 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23672 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23673 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23674
d422395e
DM
236752013-05-02 David S. Miller <davem@davemloft.net>
23676
23677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23678
a07c5731
OB
236792013-05-01 Ondřej Bílka <neleai@seznam.cz>
23680
23681 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23682
1324e37f
RM
236832013-05-01 Roland McGrath <roland@hack.frob.com>
23684
23685 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23686
0695940b
RS
236872013-05-01 Richard Smith <richard@metafoo.co.uk>
23688
bb5f27ad 23689 [BZ #14952]
0695940b
RS
23690 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23691 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23692 Use __attribute__ ((__gnu_inline__)).
23693 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23694 Don't use __attribute__ ((__gnu_inline__)).
23695
10de07f5
JM
236962013-05-01 Joseph Myers <joseph@codesourcery.com>
23697
23698 [BZ #15423]
23699 * math/s_catan.c (__catan): Handle small real or imaginary part of
23700 input specially to avoid spurious underflow.
23701 * math/s_catanf.c (__catanf): Likewise.
23702 * math/s_catanh.c (__catanh): Likewise.
23703 * math/s_catanhf.c (__catanhf): Likewise.
23704 * math/s_catanhl.c (__catanhl): Likewise.
23705 * math/s_catanl.c (__catanl): Likewise.
23706 * math/libm-test.inc (catan_test): Add more tests.
23707 (catanh_test): Likewise.
23708 * sysdeps/i386/fpu/libm-test-ulps: Update.
23709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23710
cb4d5414
AZ
237112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23712
23713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23714
caf84319
JM
237152013-04-30 Joseph Myers <joseph@codesourcery.com>
23716
23717 [BZ #15416]
23718 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23719 accurately for denominator in atan2.
23720 * math/s_catanf.c (__catanf): Likewise.
23721 * math/s_catanh.c (__catanh): Likewise.
23722 * math/s_catanhf.c (__catanhf): Likewise.
23723 * math/s_catanhl.c (__catanhl): Likewise.
23724 * math/s_catanl.c (__catanl): Likewise.
23725 * math/libm-test.inc (catan_test): Add more tests.
23726 (catanh_test): Likewise.
23727 * sysdeps/i386/fpu/libm-test-ulps: Update.
23728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23729
d569c6ee
SP
237302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23731
6dbe713d
SP
23732 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23733
f0ee064b
SP
23734 * benchtests/Makefile (bench): Remove slow benchmarks.
23735 * benchtests/atan-inputs: Add slow benchmark inputs.
23736 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23737 (BENCH_FUNC): Accept variant offset.
23738 (VARIANT): Define.
23739 * benchtests/bench-skeleton.c (main): Run benchmark for each
23740 variant.
23741 * benchtests/cos-inputs: Add slow benchmark inputs.
23742 * benchtests/exp-inputs: Likewise.
23743 * benchtests/pow-inputs: Likewise.
23744 * benchtests/sin-inputs: Likewise.
23745 * benchtests/slowatan-inputs: Remove.
23746 * benchtests/slowatan.c: Remove.
23747 * benchtests/slowcos-inputs: Remove.
23748 * benchtests/slowcos.c: Remove.
23749 * benchtests/slowexp-inputs: Remove.
23750 * benchtests/slowexp.c: Remove.
23751 * benchtests/slowpow-inputs: Remove.
23752 * benchtests/slowpow.c: Remove.
23753 * benchtests/slowsin-inputs: Remove.
23754 * benchtests/slowsin.c: Remove.
23755 * benchtests/slowtan-inputs: Remove.
23756 * benchtests/slowtan.c: Remove.
23757 * benchtests/tan-inputs: Add slow benchmark inputs.
23758 * scripts/bench.pl: Parse comments and directives.
23759
d569c6ee
SP
23760 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23761 in CPPFLAGS.
23762 ($(objpfx)bench-%.c): Remove *-ITER.
23763 * benchtests/bench-modf.c: Remove definition of ITER.
23764 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23765 (main): Loop for DURATION seconds instead of fixed number of
23766 iterations.
23767 * scripts/bench.pl: Don't expect iterations in parameters.
23768
a6a242fe
RM
237692013-04-29 Roland McGrath <roland@hack.frob.com>
23770
23771 * io/fchdir.c (__fchdir): Renamed from fchdir.
23772 (fchdir): Define as weak alias.
23773
f2da7793
JM
237742013-04-29 Joseph Myers <joseph@codesourcery.com>
23775
23776 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23777 (ERRNO_EDOM): Likewise.
23778 (ERRNO_ERANGE): Likewise.
23779 (noErrnoTests): New variable.
23780 (init_max_error): Set errno to 0.
23781 (test_single_errno): New function.
23782 (test_errno): Likewise.
23783 (check_float_internal): Call test_errno. Set errno to 0.
23784 (check_complex): Refer to errno tests in comment.
23785 (check_int): Call test_errno. Set errno to 0.
23786 (check_long): Likewise.
23787 (check_bool): Likewise.
23788 (check_longlong): Likewise.
23789 (cos_test): Use ERRNO_* flags for errno tests instead of
23790 check_int.
23791 (expm1_test): Likewise.
23792 (fmod_test): Likewise.
23793 (ilogb_test): Likewise.
23794 (lgamma_test): Likewise.
23795 (pow_test): Likewise.
23796 (remainder_test): Likewise.
23797 (sin_test): Likewise.
23798 (tan_test): Likewise.
23799 (yn_test): Likewise.
23800 (initialize): Set errno to 0.
23801 (main): Print number of errno tests.
23802 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23803
b1a36ceb
AJ
238042013-04-29 Andreas Jaeger <aj@suse.de>
23805
c3ed8088
AJ
23806 [BZ #15084]
23807 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23808 and RES_USEVC.
23809
f1a24198
AJ
23810 [BZ #15085]
23811 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23812 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23813 unimplemented.
23814
9ce3b2cb
AJ
23815 [BZ #15380]
23816 * stdlib/random.c (__initstate): Return NULL if
23817 __initstate fails.
23818
f1a24198 23819 [BZ #15086]
b1a36ceb
AJ
23820 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23821 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23822 RES_SNGLKUPREOP.
23823
7e7b6f36
AZ
238242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23825
23826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23827
4d14f449
JM
238282013-04-29 Joseph Myers <joseph@codesourcery.com>
23829
23830 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23831 of individual tests.
23832 (casin_test): Likewise.
23833 (casinh_test): Likewise.
23834
5b4217d7
JM
238352013-04-27 Joseph Myers <joseph@codesourcery.com>
23836
23837 [BZ #15409]
23838 * math/s_catan.c (__catan): Handle arguments with large real or
23839 imaginary part separately without squaring.
23840 * math/s_catanf.c (__catanf): Likewise.
23841 * math/s_catanh.c (__catanh): Likewise.
23842 * math/s_catanhf.c (__catanhf): Likewise.
23843 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23844 and redefine.
23845 (__catanhl): Handle arguments with large real or imaginary part
23846 separately without squaring.
23847 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23848 and redefine.
23849 (__catanl): Handle arguments with large real or imaginary part
23850 separately without squaring.
23851 * math/libm-test.inc (catan_test): Add more tests.
23852 (catanh_test): Likewise.
23853 * sysdeps/i386/fpu/libm-test-ulps: Update.
23854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23855
4220c3ef
AJ
238562013-04-27 Andreas Jaeger <aj@suse.de>
23857
23858 [BZ #15007]
23859 * stdlib/stdlib.h: Update guards for qecvt.
23860 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23861 <stdlib.h>.
23862
4721b2d1
AM
238632013-04-27 Allan McRae <allan@archlinux.org>
23864
23865 * sysdeps/i386/fpu/libm-test-ulps: Update.
23866
f0302940
JM
238672013-04-26 Joseph Myers <joseph@codesourcery.com>
23868
9457fd95
JM
23869 [BZ #15406]
23870 * math/s_catan.c: Include <float.h>.
23871 (__catan): Ensure underflow exception occurs for underflowed
23872 result.
23873 * math/s_catanf.c: Include <float.h>.
23874 (__catanf): Ensure underflow exception occurs for underflowed
23875 result.
23876 * math/s_catanh.c: Include <float.h>.
23877 (__catanh): Ensure underflow exception occurs for underflowed
23878 result.
23879 * math/s_catanhf.c: Include <float.h>.
23880 (__catanhf): Ensure underflow exception occurs for underflowed
23881 result.
23882 * math/s_catanhl.c: Include <float.h>.
23883 (__catanhl): Ensure underflow exception occurs for underflowed
23884 result.
23885 * math/s_catanl.c: Include <float.h>.
23886 (__catanl): Ensure underflow exception occurs for underflowed
23887 result.
23888 * math/libm-test.inc (catan_test): Add more tests.
23889 (catanh_test): Likewise.
23890
f0302940
JM
23891 [BZ #15405]
23892 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23893 underflowed result.
23894 * math/s_ccoshf.c (__ccoshf): Likewise.
23895 * math/s_ccoshl.c (__ccoshl): Likewise.
23896 * math/s_csin.c (__csin): Likewise.
23897 * math/s_csinf.c (__csinf): Likewise.
23898 * math/s_csinh.c (__csinh): Likewise.
23899 * math/s_csinhf.c (__csinhf): Likewise.
23900 * math/s_csinhl.c (__csinhl): Likewise.
23901 * math/s_csinl.c (__csinl): Likewise.
23902 * math/libm-test.inc (ccos_test): Add more tests.
23903 (ccosh_test): Likewise.
23904 (csin_test): Likewise.
23905 (csinh_test): Likewise.
23906
aa630f59
AZ
239072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23908
23909 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23910 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23911 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23912 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23913 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23914 powerpc/power5+/fpu folders.
23915 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23916
23917
1b835983
MT
239182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23919
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23921
73709b26
JM
239222013-04-25 Joseph Myers <joseph@codesourcery.com>
23923
23924 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23925 additions to variable.
23926 [$(config-machine) = x86_64] (modules-names): Likewise.
23927 ($(objpfx)tst-audit3): Remove dependency.
23928 ($(objpfx)tst-audit3.out): Likewise.
23929 ($(objpfx)tst-audit4): Likewise.
23930 ($(objpfx)tst-audit4.out): Likewise.
23931 ($(objpfx)tst-audit5): Likewise.
23932 ($(objpfx)tst-audit5.out): Likewise.
23933 ($(objpfx)tst-audit6): Likewise.
23934 ($(objpfx)tst-audit6.out): Likewise.
23935 ($(objpfx)tst-audit7): Likewise.
23936 ($(objpfx)tst-audit7.out): Likewise.
23937 (tst-audit3-ENV): Remove variable.
23938 (tst-audit4-ENV): Likewise.
23939 (tst-audit5-ENV): Likewise.
23940 (tst-audit6-ENV): Likewise.
23941 (tst-audit7-ENV): Likewise.
23942 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23943 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23944 addition to variable.
23945 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23946 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23947 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23948 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23949 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23950 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23951 tst-audit3, tst-audit4 and tst-audit5.
23952 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23953 tst-audit6 and tst-audit7.
23954 [$(subdir) = elf] (modules-names): Add audit modules for those
23955 tests.
23956 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23957 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23958 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23959 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23960 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23961 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23962 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23963 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23964 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23965 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23966 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23967 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23968 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23969 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23970 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23971 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23972 Likewise.
23973 [$(subdir) = elf && $(config-cflags-avx) = yes]
23974 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23975 [$(subdir) = elf && $(config-cflags-avx) = yes]
23976 (CFLAGS-tst-auditmod4a.c): Likewise.
23977 [$(subdir) = elf && $(config-cflags-avx) = yes]
23978 (CFLAGS-tst-auditmod4b.c): Likewise.
23979 [$(subdir) = elf && $(config-cflags-avx) = yes]
23980 (CFLAGS-tst-auditmod6b.c): Likewise.
23981 [$(subdir) = elf && $(config-cflags-avx) = yes]
23982 (CFLAGS-tst-auditmod6c.c): Likewise.
23983 [$(subdir) = elf && $(config-cflags-avx) = yes]
23984 (CFLAGS-tst-auditmod7b.c): Likewise.
23985 * elf/tst-audit3.c: Move to ...
23986 * sysdeps/x86_64/tst-audit3.c: ... here.
23987 * elf/tst-audit4.c: Move to ...
23988 * sysdeps/x86_64/tst-audit4.c: ... here.
23989 * elf/tst-audit5.c: Move to ...
23990 * sysdeps/x86_64/tst-audit5.c: ... here.
23991 * elf/tst-audit6.c: Move to ...
23992 * sysdeps/x86_64/tst-audit6.c: ... here.
23993 * elf/tst-audit7.c: Move to ...
23994 * sysdeps/x86_64/tst-audit7.c: ... here.
23995 * elf/tst-auditmod3a.c: Move to ...
23996 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23997 * elf/tst-auditmod3b.c: Move to ...
23998 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23999 * elf/tst-auditmod4a.c: Move to ...
24000 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24001 * elf/tst-auditmod4b.c: Move to ...
24002 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24003 * elf/tst-auditmod5a.c: Move to ...
24004 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24005 * elf/tst-auditmod5b.c: Move to ...
24006 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24007 * elf/tst-auditmod6a.c: Move to ...
24008 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24009 * elf/tst-auditmod6b.c: Move to ...
24010 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24011 * elf/tst-auditmod6c.c: Move to ...
24012 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24013 * elf/tst-auditmod7a.c: Move to ...
24014 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24015 * elf/tst-auditmod7b.c: Move to ...
24016 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24017
1ef74943
PP
240182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24019
24020 [BZ #15366]
24021 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24022 define unconditionally.
24023 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24024 define unconditionally.
24025 (INT8_C, INT16_C, etc.): Likewise.
24026
93fd48c5
MR
240272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24028
ae9552cf
MR
24029 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24030 __ehdr_start with hidden visibility.
24031
93fd48c5
MR
24032 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24033
418601aa
CD
240342013-04-24 Carlos O'Donell <carlos@redhat.com>
24035
24036 * math/libm-test.inc (cos_test): Use accurate hex constants.
24037 (sincost_test): Likewise.
24038
2f38fbfe
JM
240392013-04-24 Joseph Myers <joseph@codesourcery.com>
24040
5e221800
JM
24041 * math/libm-test.inc (catan_test): Add more tests.
24042 (catanh_test): Likewise.
24043
77f143fd
JM
24044 * math/s_catanf.c (__catanf): Use suffixed floating-point
24045 constants.
24046 * math/s_catanhf.c (__catanhf): Likewise.
24047 * math/s_catanhl.c (__catanhl): Likewise.
24048 * math/s_catanl.c (__catanl): Likewise.
24049
2f38fbfe
JM
24050 [BZ #15394]
24051 * math/s_catan.c (__catan): Calculate imaginary part of result
24052 with log1p not log unless computing log of number close to 0.
24053 * math/s_catanf.c (__catanf): Likewise.
24054 * math/s_catanl.c (__catanl): Likewise.
24055 * math/s_catanh.c (__catanh): Calculate real part of result with
24056 log1p not log unless computing log of number close to 0.
24057 * math/s_catanhf.c (__catanhf): Likewise.
24058 * math/s_catanhl.c (__catanhl): Likewise.
24059 * math/libm-test.inc (catan_test): Add more tests.
24060 (catanh_test): Likewise.
24061 * sysdeps/i386/fpu/libm-test-ulps: Update.
24062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24063
45d69176
SP
240642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24065
24066 * benchtests/Makefile: Mention files in which fast and slow
24067 paths of math functions are implemented.
24068
87f51853
RM
240692013-04-23 Roland McGrath <roland@hack.frob.com>
24070
24071 * sysdeps/posix/timespec_get.c: New file.
24072
3c026539
AZ
240732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24074
24075 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24076 POWER.
24077 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24078 for POWER.
24079 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24080 powerpc/power5/fpu folders.
24081 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24082 * benchtests/Makefile: Add modf testcase.
24083 * benchtests/bench-modf.c: New file: Benchmark test for mo
24084
ff491d14
SP
240852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24086
24087 [BZ #14888]
24088 * time/Makefile (tests): Add tst-strptime-whitespace.
24089 * time/strptime_l.c (get_number): Use ISSPACE.
24090 (__strptime_internal): Likewise.
24091 * time/tst-strptime-whitespace.c: New test case.
24092
7ed3f4e8
AS
240932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24094
24095 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24096 member.
24097 (_nss_files_init): Set it here.
24098
5c95f7b6
HC
240992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24100
24101 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24102 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24103 unsigned.
24104
d34c9158
JBG
241052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24106
24107 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24108
2169712d
SP
241092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24110
24111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24112 size just once.
24113
29c5de99
DM
241142013-04-21 David S. Miller <davem@davemloft.net>
24115
24116 * po/ru.po: Update Russion translation from translation project.
24117
ccdad15d
AC
241182013-04-17 Adam Conrad <adconrad@0c3.net>
24119
24120 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24121 and setfsgid.
24122
0f122b8d
CD
241232013-04-17 Carlos O'Donell <carlos@redhat.com>
24124
5c5b07da 24125 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24126 * configure: Regenerate.
5c5b07da 24127 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24128 Add example to error message.
24129 * sysdeps/i386/configure: Regenerate.
24130
037714dd
SP
241312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24132
24133 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24134 slowtan.
24135 * benchtests/cos-inputs: New file.
24136 * benchtests/slowcos-inputs: New file.
24137 * benchtests/slowcos.c: New file.
24138 * benchtests/slowtan-inputs: New file.
24139 * benchtests/slowtan.c: New file.
24140 * benchtests/tan-inputs: New file.
24141
e913141d
RM
241422013-04-16 Roland McGrath <roland@hack.frob.com>
24143
24144 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24145 considered kosher.
24146
a2964074
SP
241472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24148
4856bcd2
SP
24149 * benchtests/Makefile: Include cppflags-iterator.mk to add
24150 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24151
a2964074
SP
24152 * Makefile.in (bench-clean): New target.
24153 * benchtests/Makefile (bench-clean): Likewise.
24154
9fbf9aca
DH
241552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24156
24157 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24158
207d1e2a
TS
241592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24160
24161 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24162
306dfba9
AS
241632013-04-15 Andreas Schwab <schwab@suse.de>
24164
24165 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24167 * nscd/pwdcache.c (cache_addpw): Likewise.
24168 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24169 more than recsize.
24170
206a6699
SP
241712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24172
24173 * benchtests/Makefile (bench): Write all output to
24174 bench-out.tmp together.
24175
0582f6b3
AS
241762013-04-15 Andreas Schwab <schwab@suse.de>
24177
24178 * nscd/nscd.c (main): Don't fork again after closing files.
24179
acb4325f
SP
241802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24181
5cb26d0a
SP
24182 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24183
acb4325f
SP
24184 * benchtests/Rules (bench-deps): Collect dependencies into a
24185 single variable. Add Makefile to dependencies.
24186 ($(objpfx)bench-%.c): Depend on bench-deps.
24187
47792506
RM
241882013-04-12 Roland McGrath <roland@hack.frob.com>
24189 Xavier Roche <roche+kml2@exalead.com>
24190
24191 [BZ #15361]
24192 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24193 just that it's a file descriptor.
24194 * manual/llio.texi (Synchronizing AIO Operations): Update description
24195 for EBADF error from aio_fsync.
24196
8fc1bee5
SP
241972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24198
24199 * Rules (bench): Move target definition...
24200 * benchtests/Makefile: ... here.
24201
aba5e333
CD
242022013-04-11 Carlos O'Donell <carlos@redhat.com>
24203
24204 * math/libm-test.inc (cos_test): Fix PI/2 test.
24205 (sincos_test): Likewise.
24206 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24207 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24208
273cdee8
AS
242092013-04-11 Andreas Schwab <schwab@suse.de>
24210
6ecec3b6
AS
24211 [BZ #13988]
24212 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24213 accept exponent character only when digits were seen.
24214 * stdio-common/Makefile (tests): Add bug26.
24215 * stdio-common/bug26.c: New file.
24216
273cdee8
AS
24217 [BZ #14293]
24218 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24219 non-freeable.
24220
8da491f5
SP
242212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24222
01dc6df9
SP
24223 * Makeconfig (rtld-prefix): Define built linker prefix.
24224 * Rules (run-bench): Use it.
24225 * math/Makefile (run-regen-ulps): Likewise.
24226
8da491f5
SP
24227 * Rules (bench): Remove eval.
24228
abe7f530
SP
242292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24230 Roland McGrath <roland@hack.frob.com>
24231 Ondrej Bilka <neleai@seznam.cz>
24232
24233 [BZ #15346]
24234 * time/getdate.c: Include ctype.h and alloca.h.
24235 (__getdate_r): Trim leading and trailing spaces of input.
24236 * time/tst-getdate.c (tests): Add tests with leading and
24237 trailing spaces.
24238
61c23e62
RM
242392013-04-08 Roland McGrath <roland@hack.frob.com>
24240
24241 [BZ #14280]
24242 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24243 when computing value.
24244
7208a313
CD
242452013-04-06 Carlos O'Donell <carlos@redhat.com>
24246
085b2d41
CD
24247 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24248 Use testrun.sh to run libm tests.
24249
7208a313
CD
24250 [BZ #15309]
24251 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24252
872c0acd
MM
242532013-04-06 Marko Myllynen <myllynen@redhat.com>
24254
24255 [BZ #15264]
24256 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24257
26510bdd
CD
242582013-04-06 Carlos O'Donell <carlos@redhat.com>
24259
24260 * Makefile.in (regen-ulps): New target.
24261 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24262 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24263 [ifneq (no,$(PERL)] (regen-ulps): New target.
24264 [ifeq (no,$(PERL)] (regen-ulps): New target.
24265 * math/libm-test.inc (ulps_file_name): Define.
24266 (output_dir): New variable.
24267 (options): Add "output-dir" option.
24268 (parse_opt): Handle 'o' case.
24269 (main): If output_dir is non-NULL use it as a prefix
24270 otherwise use "".
24271 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24272
a01f19c8
CD
242732013-04-06 Carlos O'Donell <carlos@redhat.com>
24274
24275 [BZ #10060, #10062]
24276 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24277 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24278 fail configure if __sync_val_compare_and_swap is not inlined.
24279 * sysdeps/i386/configure: Regenerate.
24280 * configure.in: Build for i686 when configured for i386.
24281 * configure: Regenerate.
24282 * README: Remove i386 reference.
24283
b7a329a5
CD
242842013-04-06 Carlos O'Donell <carlos@redhat.com>
24285
24286 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24288
bf0f50df
TS
242892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24290
ee091edf
TS
24291 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24292 (lmsnanval): New variables.
24293 (F): Add conversion tests.
24294 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24295 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24296
a8b792d6
TS
24297 * stdio-common/tstdiomisc.c (F): Properly collect individual
24298 tests' results.
24299
a1cbf437
TS
24300 [BZ #14686, #15336]
24301 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24302 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24303 Instead, use input NaN values or generate a qNaN by arithmetic
24304 operation. Also fix bugs to comply with the standard.
24305 * math/libm-test.inc (remainder_test): Add more tests.
24306
8b43a0c9
TS
24307 [BZ #15335, #15342]
24308 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24310 input NaN values or generate a qNaN by arithmetic operation.
24311
d91da4ce
TS
24312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24313 unreachable code.
24314
bf0f50df
TS
24315 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24316 definitions.
24317
05e166c8
JM
243182013-04-03 Joseph Myers <joseph@codesourcery.com>
24319
24320 [BZ #14478]
24321 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24322 underflowed result.
24323 * math/s_cexpf.c (__cexpf): Likewise.
24324 * math/s_cexpl.c (__cexpl): Likewise.
24325 * math/libm-test.inc (cexp_test): Add more tests.
24326
1cef1b19
AS
243272013-04-03 Andreas Schwab <schwab@suse.de>
24328
24329 [BZ #15330]
24330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24331 order arrays from heap if bigger than alloca cutoff.
24332
74d87055
TS
243332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24334
24335 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24336 (SNAN_TESTS_double): Refer to GCC PR56831.
24337 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24338 GCC PR56828.
24339
d755bba4
SP
243402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24341
90d5d5bb
SP
24342 * Rules (bench): Move bench.out after the run is complete.
24343
73e0cd5d
SP
24344 * Rules (bench): Echo currently running benchmark.
24345
64aabd4b
SP
24346 * benchtests/Makefile (bench): Add atan and slowatan.
24347 * benchtests/atan-inputs: New file.
24348 * benchtests/slowatan-inputs: New file.
24349 * benchtests/slowatan.c: New file.
24350
c871eccd
SP
24351 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24353 its value.
24354
d755bba4
SP
24355 [BZ #15305]
24356 * sysdeps/unix/sysv/linux/kernel-features.h
24357 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24358 __ASSUME_XFS_RESTRICTED_CHOWN.
24359 * sysdeps/unix/sysv/linux/pathconf.c
24360 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24361 Save and restore errno.
24362
52ce4860
JM
243632013-04-02 Joseph Myers <joseph@codesourcery.com>
24364
24365 [BZ #15327]
24366 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24367 arguments using __kernel_casinh.
24368 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24369 arguments using __kernel_casinhf.
24370 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24371 arguments using __kernel_casinhl.
24372 * math/libm-test.inc (cacosh_test): Add more tests.
24373 * sysdeps/i386/fpu/libm-test-ulps: Update.
24374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24375
81f311c2
SP
243762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24377
e7906a47
SP
24378 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24380
92e3664b
SP
24381 * bench/Makefile (bench): Add sin and slowsin.
24382 * benchtests/sin-inputs: New file.
24383 * benchtests/slowsin-inputs: New file.
24384 * benchtests/slowsin.c: New file.
24385
81f311c2
SP
24386 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24387 (bench): Add slowexp and slowpow.
24388 (exp-ITER): Increase iterations.
24389 (pow-ITER): Likewise.
24390 * benchtests/exp-inputs: Change input.
24391 * benchtests/pow-inputs: Likewise.
24392 * benchtests/slowexp-inputs: New file.
24393 * benchtests/slowexp.c: New file.
24394 * benchtests/slowpow-inputs: New file.
24395 * benchtests/slowpow.c: New file.
24396
ab0f1aa9
AZ
243972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24398
24399 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24400 instructions.
24401 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24403 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24404 * benchtests/Makefile: Add rint benchtest.
24405 * benchtests/rint-inputs: Input for rint benchtest.
24406
57267616
TS
244072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24408
24409 * Versions.def (libm): Add GLIBC_2.18.
24410 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24411 hidden libm prototypes.
24412 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24413 * math/Makefile (libm-calls): Add s_issignaling.
24414 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24415 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24416 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24417 declaration.
24418 * math/math.h [__USE_GNU] (issignaling): New macro.
24419 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24420 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24421 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24422 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24425 * manual/arith.texi (issignaling): New section.
24426 * manual/libm-err-tab.pl (@all_functions): Update comment.
24427 * math/gen-libm-test.pl (parse_args): Apply special handling for
24428 issignaling.
24429 * math/libm-test.inc (print_float, issignaling_test): New
24430 functions.
24431 (check_float_internal): Add issignaling checks.
24432 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24433 default definition.
24434 * sysdeps/powerpc/math-tests.h: New file.
24435 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24436 tests.
24437 * math/test-snan.c (TEST_FUNC): Likewise.
24438
6142896d
DM
244392013-03-30 David S. Miller <davem@davemloft.net>
24440
24441 * po/de.po: Update from translation team.
24442
ccc8cadf
JM
244432013-03-30 Joseph Myers <joseph@codesourcery.com>
24444
24445 [BZ #10357]
24446 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24447 imaginary part less than 1.0 and real part less than 0.5
24448 specially.
24449 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24450 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24451 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24452 (cacos_test): Add more tests.
24453 (casin_test): Likewise.
24454 (casinh_test): Likewise.
24455 * sysdeps/i386/fpu/libm-test-ulps: Update.
24456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24457
0f6a8d4b
SP
244582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24459
0d1029de
SP
24460 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24461 ONE with its value.
24462
c2d94018
SP
24463 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24464 (__pow_mp): Replace ONE and MONE with their values.
24465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24466 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24468 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24469 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24470 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24471
27ec37f1
SP
24472 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24473
a64d7e0e
SP
24474 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24475 (__pow_mp): Replace ZERO and MZERO with their values.
24476 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24477 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24480 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24481 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24482 (__sqr): Likewise.
24483
d26dd3eb
SP
24484 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24485
0f6a8d4b
SP
24486 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24487
e57b0c61
RM
244882013-03-28 Roland McGrath <roland@hack.frob.com>
24489
24490 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24491 Declare with __attribute__ ((weak)).
24492 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24493 Call __call_tls_dtors only if it's not NULL.
24494
356b3480
RM
244952013-03-28 Roland McGrath <roland@hack.frob.com>
24496
288f7d79
RM
24497 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24498 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24499 magic __ehdr_start linker symbol if it's defined.
24500 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24501 them up here if it was already done.
24502
dc0a0263
RM
24503 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24504 (_dl_aux_init): Use const in cast when setting it.
24505 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24506 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24507 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24508
3d3436ae
RM
24509 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24510 Declare them here.
24511 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24512 * csu/libc-tls.c: Nor here.
24513 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24514
356b3480
RM
24515 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24516 (__libc_message): Never call vsyslog.
24517
b0f1246a
AM
245182013-03-28 Alan Modra <amodra@gmail.com>
24519
24520 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24521 Define as empty.
24522 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24523 Likewise.
24524
fbbe2b9a
AZ
245252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24526
24527 [BZ #15214]
24528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24529 underflow.
24530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24531
1728ab37
SP
245322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24533
7a86be6e
SP
24534 [BZ #15304]
24535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24536 Don't add gid passed as argument.
24537
1728ab37
SP
24538 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24539
3a7182a1
JM
245402013-03-27 Joseph Myers <joseph@codesourcery.com>
24541
24542 [BZ #15307]
24543 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24544 imaginary part between 1.0 and 1.5 and real part less than 0.5
24545 specially.
24546 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24547 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24548 * math/libm-test.inc (cacos_test): Add more tests.
24549 (casin_test): Likewise.
24550 (casinh_test): Likewise.
24551 * sysdeps/i386/fpu/libm-test-ulps: Update.
24552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24553
6f2e90e7
SP
245542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24555
5739f705
SP
24556 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24557 constants.
24558 (norm): Likewise.
24559 (denorm): Likewise.
24560 (__dbl_mp): Likewise.
24561 (add_magnitudes): Likewise.
24562 (sub_magnitudes): Likewise.
24563 (__add): Likewise.
24564 (__sub): Likewise.
24565 (__mul): Likewise.
24566 (__sqr): Likewise.
24567 (__inv): Likewise.
24568 (__dvd): Likewise.
24569
e375e83d
SP
24570 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24571 commented code.
24572 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24573 (__dubcos): Likewise.
24574 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24575 (__ieee754_acos): Likewise.
24576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24577 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24578 (__exp1): Likewise.
24579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24581 (log1): Likewise.
24582 (my_log2): Likewise.
24583 (checkint): Likewise.
24584 * sysdeps/ieee754/dbl-64/e_remainder.c
24585 (__ieee754_remainder): Likewise.
24586 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24588 (bsloww): Likewise.
24589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24590
6f2e90e7
SP
24591 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24592 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24593 MANTISSA_STORE_T to store computations on mantissa. Use
24594 macros for rounding and division.
24595 (denorm): Likewise.
24596 (__dbl_mp): Likewise.
24597 (add_magnitudes): Likewise.
24598 (sub_magnitudes): Likewise.
24599 (__mul): Likewise.
24600 (__sqr): Likewise.
24601 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24602 powers of two in terms of TWOPOW macro.
24603 (mp_no): Make type of mantissa as MANTISSA_T.
24604 [!RADIXI]: Define RADIXI.
24605 [!TWO52]: Define TWO52.
24606 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24607
fce14d4e
AZ
246082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24609
24610 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24611 llroundl symbol when building for PPC32.
24612
9ad027fb
MW
246132013-03-24 Mark H Weaver <mhw@netris.org>
24614
24615 * manual/arith.texi (Normalization Functions): Fix prototypes for
24616 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24617
e42a38dd
AZ
246182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24619
24620 [BZ #13889]
24621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24622 high value to check if expl overflow.
24623 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24624 to check for underflow and overflow.
24625 * math/libm-test.inc: Add exp test.
24626
2e0fb521
DL
246272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24628
24629 [BZ #11120]
24630 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24631 with NOT_IN_libc.
24632
b5784d95
AZ
246332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24634
24635 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24636 symbol.
24637
5aa4a1a1
TS
246382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24639
bdef0be7
TS
24640 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24641 wrap blocks consisting of several statements.
24642
5aa4a1a1
TS
24643 * sysdeps/generic/math-tests.h: New file.
24644 * sysdeps/i386/fpu/math-tests.h: Likewise.
24645 * math/test-snan.c: Include it.
24646 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24647
98c48fe5
JM
246482013-03-21 Joseph Myers <joseph@codesourcery.com>
24649
24650 [BZ #15285]
24651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24652 (__ieee754_j0l): Do not improve calculations using cos of twice
24653 input for inputs above LDBL_MAX / 2.0L.
24654 (__ieee754_y0l): Likewise.
24655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24656 (__ieee754_j1l): Do not improve calculations using cos of twice
24657 input for inputs above LDBL_MAX / 2.0L.
24658 (__ieee754_y1l): Likewise.
24659 * math/libm-test.inc (j0_test): Add another test.
24660 (j1_test): Likewise.
24661 (y0_test): Likewise.
24662 (y1_test): Likewise.
24663 * sysdeps/i386/fpu/libm-test-ulps: Update.
24664
3775a8bc
SP
246652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24666
24667 * Rules ($(objpfx)bench-%.c): Include code from a C source
24668 file.
24669
0a1b2ae6
JM
246702013-03-21 Joseph Myers <joseph@codesourcery.com>
24671
24672 [BZ #15287]
24673 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24674 imaginary part 1.0 and real part less than 0.5 specially.
24675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24677 * math/libm-test.inc (cacos_test): Add more tests.
24678 (casin_test): Likewise.
24679 (casinh_test): Likewise.
24680 * sysdeps/i386/fpu/libm-test-ulps: Update.
24681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24682
b33d4ce4
SP
246832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24684
24685 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24686 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24687
bef0b507
JM
246882013-03-20 Joseph Myers <joseph@codesourcery.com>
24689
24690 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24691 * config.make.in (config-cflags-sse4): Remove variable.
24692 (config-cflags-avx): Likewise.
24693 (config-cflags-sse2avx): Likewise.
24694 (config-cflags-novzeroupper): Likewise.
24695 (config-asflags-i686): Likewise.
24696 (have-mfma4): Likewise.
24697 (have-as-vis3): Likewise.
24698 (MIG): Likewise.
24699 * configure.in (MIG): Do not AC_SUBST.
24700 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24701 (libc_cv_cc_sse4): Do not AC_SUBST.
24702 (libc_cv_cc_avx): Likewise.
24703 (libc_cv_cc_sse2avx): Likewise.
24704 (libc_cv_cc_novzeroupper): Likewise.
24705 (libc_cv_cc_fma4): Likewise.
24706 (libc_cv_as_i686): Likewise.
24707 (libc_cv_sparc_as_vis3): Likewise.
24708 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24709 LIBC_CONFIG_VAR.
24710 (config-asflags-i686): Likewise.
24711 (config-cflags-avx): Likewise.
24712 (config-cflags-sse2avx): Likewise.
24713 (have-mfma4): Likewise.
24714 (config-cflags-novzeroupper): Likewise.
24715 * sysdeps/mach/configure.in (MIG): Likewise.
24716 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24717 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24718 LIBC_CONFIG_VAR.
24719 (config-cflags-avx): Likewise.
24720 (config-cflags-sse2avx): Likewise.
24721 (have-mfma4): Likewise.
24722 (config-cflags-novzeroupper): Likewise.
24723 * configure: Regenerated.
24724 * sysdeps/i386/configure: Likewise.
24725 * sysdeps/mach/configure: Likewise.
24726 * sysdeps/sparc/configure: Likewise.
24727 * sysdeps/x86_64/configure: Likewise.
24728
912cc4b3
RM
247292013-03-20 Roland McGrath <roland@hack.frob.com>
24730
24731 [BZ #14812]
24732 * locale/programs/localedef.c (options): Put N_ translation marker
24733 on argument names, not just descriptions.
24734
04eed2b0
MS
247352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24736
24737 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24738
a065ceff
OB
247392013-03-20 Ondřej Bílka <neleai@seznam.cz>
24740
9bb2a810 24741 [BZ #14176]
a065ceff
OB
24742 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24743
a600e5ce
RM
247442013-03-19 Roland McGrath <roland@hack.frob.com>
24745
24746 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24747 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24748 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24749 [!BEFORE_ABORT] (before_abort): New function.
24750 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24751 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24752 (writev_for_fatal): New function.
24753 (WRITEV_FOR_FATAL): New macro; call that.
24754 (backtrace_and_maps): New function.
24755 (BEFORE_ABORT): New macro; call that.
24756 (struct str_list): Type removed.
24757 (__libc_message, __libc_fatal): Functions removed.
24758 Include <sysdeps/posix/libc_fatal.c> instead.
24759
6b18bea6
JM
247602013-03-19 Joseph Myers <joseph@codesourcery.com>
24761
24762 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24763 constants.
24764 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24765 double constants.
24766
aaa8cb4b
AS
247672013-03-19 Andreas Schwab <schwab@suse.de>
24768
44673770
AS
24769 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24770 * sysdeps/gnu/configure: Regenerate.
24771
aaa8cb4b
AS
24772 * configure.in: Substitute libc_cv_rtlddir.
24773 * configure: Regenerate.
24774 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24775 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24776 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24777 * elf/Makefile (install-others, CFLAGS-interp.c)
24778 (ldso_install, common-ldd-rewrite): Likewise.
24779 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24780 $(inst_slibdir)/$(rtld-installed-name).
24781 * scripts/rellns-sh: Add -p option.
24782 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24783 for source.
24784
d3cfc668
SP
247852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24786
24787 * manual/nptl.texi: Renamed to ...
24788 * manual/threads.texi: ... this.
24789 * manual/Makefile (chapters): Update.
24790
0e2b9cdd
RM
247912013-03-18 Roland McGrath <roland@hack.frob.com>
24792
24793 [BZ #14812]
24794 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24795 on argument names, not just descriptions.
0e2b9cdd
RM
24796 * malloc/memusagestat.c (options): Likewise.
24797 * nss/getent.c (options): Likewise.
63270c24
RM
24798
247992013-03-18 Benno Schulenberg <bensberg@justemail.net>
24800
24801 [BZ #14812]
24802 * iconv/iconv_prog.c (options): Put N_ translation marker
24803 on argument names, not just descriptions.
24804 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 24805
b2e1393c
OB
248062013-03-18 Ondrej Bilka <neleai@seznam.cz>
24807
24808 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24809 implementation which is faster on all x86_64 architectures.
24810 Tested on AMD, Intel Nehalem, SNB, IVB.
24811 * sysdeps/x86_64/strnlen.S: Likewise.
24812
24813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24814 Remove all multiarch strlen and strnlen versions.
24815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24816 Remove strlen and strnlen related parts.
24817
24818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24819 Inline strlen part.
24820 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24821
24822 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24823 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24824 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24825 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24826 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24827 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24828
ec4ff04d
CD
248292013-03-17 Carlos O'Donell <carlos@redhat.com>
24830
24831 * manual/memory.texi (Malloc Tunable Parameters):
24832 Sort parameters alphabetically. Add comments for missing entries.
24833
cd18e90a
DM
248342013-03-17 David S. Miller <davem@davemloft.net>
24835
24836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24837
2a185d32
JM
248382013-03-16 Joseph Myers <joseph@codesourcery.com>
24839
d2f9799e
JM
24840 [BZ #15283]
24841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24842 for arguments at most half maximum finite value.
24843 * math/libm-test.inc (j0_test): Add more tests.
24844 (j1_test): Likewise.
24845 (y0_test): Likewise.
24846 (y1_test): Likewise.
24847 * sysdeps/i386/fpu/libm-test-ulps: Update.
24848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24849
2a185d32
JM
24850 [BZ #14155]
24851 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24852 1 / x and functions P and Q for arguments above 0x1p256L.
24853 (__ieee754_y0l): Likewise.
24854 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24855 (__ieee754_y1l): Likewise.
24856 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24857 (j1_test): Likewise.
24858 (y0_test): Likewise.
24859 (y1_test): Likewise.
24860
6cbec759
TS
248612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24862
24863 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24864 variable.
24865
bc16e260
RM
248662013-03-15 Roland McGrath <roland@hack.frob.com>
24867
aefc9b8c
RM
24868 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24869 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24870 zero since it's initialized to EXEC_PAGESIZE.
24871
bc16e260
RM
24872 * sysdeps/unix/sysv/linux/ldsodefs.h
24873 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24874 * sysdeps/generic/ldsodefs.h: ... here.
24875
a57da955
TS
248762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24877
af00a34d
TS
24878 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24879
495ded2c
TS
24880 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24881 math/test-snan.c.
24882 * math/test-snan.c: Renamed from
24883 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24884 * math/Makefile (tests): Add test-snan.
24885 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24886 test-powerpc-snan.
24887
777b0332
TS
24888 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24889 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24890 functions.
24891 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24892 __builtin_nan family of functions.
24893 * math/libm-test.inc (initialize): Initialize qnan_value with
24894 __builtin_nan family of functions.
24895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24896 Remove variables.
24897 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24898 Remove functions.
24899 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24900 storage class. Initialize qNaN_var and sNaN_var with
24901 __builtin_nan and __builtin_nans families of functions,
24902 respectively.
24903
64d063b8
TS
24904 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24905 (sqrt_test): Remove duplicate test with qNaN input.
24906 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24907 (round_test, signbit_test, significand_test): Note missing +/-Inf
24908 as well as qNaN tests.
24909
67e971f1
TS
24910 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24911 qNaN_var. Fix a few strings, too.
24912 * math/libm-test.inc (nan_value): Rename to qnan_value.
24913 * math/gen-libm-test.pl (%beautify): Adjust to that.
24914 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24915 * math/test-misc.c (main): Likewise.
24916 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24917 to __qnan_bytes, and __qnan_union, respectively.
24918 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24919 Likewise.
24920 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24921 and lqnanval, respectively.
24922 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24923 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24924 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24925 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24926
64487e12
TS
24927 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24928 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24929 doubles.
24930
e015e27b
TS
24931 * math/test-misc.c (main): Fix copy'n'pastos.
24932 * misc/tst-efgcvt.c (special): Likewise.
24933
a57da955
TS
24934 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24935 Remove declarations.
24936
1e380345
SP
249372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24938
24939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24940 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24941 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24942 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24943
ef26eece
AZ
249442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24945
24946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24947 macro to return vdso values correctly in IFUNC implementations.
24948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24949 Optimization by using IFUNC.
24950
8cfdb7e0
SP
249512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24952 Richard Henderson <rth@redhat.com>
24953 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24954
24955 * Makefile.in (bench): New target.
24956 * NEWS: Mention the benchmark framework.
24957 * Rules (bench): Likewise.
24958 (binaries-bench): Generate binaries for functions to
24959 benchmark.
24960 * benchtests/Makefile: New makefile for benchmark tests.
24961 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24962 programs.
24963 * benchtests/exp-inputs: New input file for EXP function.
24964 * benchtests/pow-inputs: New input file for POW function.
24965 * scripts/bench.pl: New script to generate source files for
24966 benchmark programs.
24967
bcda9880
SP
249682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24969
d22ca8cd
SP
24970 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24971 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24972 computations on mantissa. Use macros for rounding and
24973 division.
24974 (denorm): Likewise.
24975 (__dbl_mp): Likewise.
24976 (add_magnitudes): Likewise.
24977 (sub_magnitudes): Likewise.
24978 (__mul): Likewise.
24979 (__sqr): Likewise.
24980 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24981 powers of two in terms of TWOPOW macro.
24982 (mp_no): Make type of mantissa as MANTISSA_T.
24983 [!RADIXI]: Define RADIXI.
24984 [!TWO52]: Define TWO52.
24985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24986
bcda9880
SP
24987 * manual/nptl.texi (cindex): Modify threads to pthreads.
24988
06d5adfb
JM
249892013-03-15 Joseph Myers <joseph@codesourcery.com>
24990
24991 * sysdeps/x86_64/preconfigure: Regenerated.
24992
41c7328e
JM
249932013-03-14 Joseph Myers <joseph@codesourcery.com>
24994
24995 [BZ #14155]
24996 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24997 0x1p28 and above.
24998 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24999 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25000 0x1p28 and above.
25001 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25002 * math/libm-test.inc (j0_test): Do not allow one spurious
25003 underflow exception.
25004 (y1_test): Likewise.
25005
e25cfa60
SP
250062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25007
0409959c
SP
25008 * manual/Makefile (chapters): Add nptl.
25009 * manual/debug.texi (Debugging Support): Add link to Threads
25010 chapter.
25011 * manual/nptl.texi: New file.
25012
e25cfa60
SP
25013 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25014
58a1335e
PB
250152013-03-14 Petr Baudis <pasky@ucw.cz>
25016
25017 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25018 for non-NULL pointer before the memory validity test. Pointed
25019 out by Holger Brunck <holger.brunck@keymile.com>.
25020
9dc7c64f
AS
250212013-03-13 Andreas Schwab <schwab@suse.de>
25022
25023 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25024 instead of .os.
25025
54206aa6
JM
250262013-03-13 Joseph Myers <joseph@codesourcery.com>
25027
25028 * timezone/zic.c: Update from tzcode 2013b.
25029
e98cdb38
CD
250302013-03-12 Carlos O'Donell <carlos@redhat.com>
25031
25032 * manual/install.texi (Configuring and compiling):
25033 Mention i686 and i586.
25034 * INSTALL: Regenerate.
25035
9967e003
RM
250362013-03-12 Roland McGrath <roland@hack.frob.com>
25037
25038 * sysdeps/init_array/elf-init.c: New file.
25039 * csu/elf-init.c
25040 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25041 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25042
25043 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25044 __gmon_start__ as global, but as static with a .preinit_array pointer.
25045 * sysdeps/init_array/gmon-start.c: New file. Use that.
25046 * sysdeps/init_array/crti.S: New file, empty except for comments.
25047 * sysdeps/init_array/crtn.S: Likewise.
25048
e6b5a293 250492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25050
25051 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25052 definining bcopy.
80f844c9
OB
25053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25054 Remove Prefer_SSE_for_memop.
25055 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25056 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25057 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25059 memset-x86-64.
80f844c9 25060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25061 Remove bzero, memset ifunc support.
80f844c9
OB
25062 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25063 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25064 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25065 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25066
fb6b0fcb
AS
250672013-03-11 Andreas Schwab <schwab@suse.de>
25068
25069 [BZ #15234]
25070 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25071 by SHLIB_COMPAT.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25073 (GLIBC_2.16): Remove pthread_atfork.
25074
3e6bd4b1
PP
250752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25076
25077 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25078 (ptestcases.h): Likewise.
25079
222d7f00
RM
250802013-03-08 Roland McGrath <roland@hack.frob.com>
25081
25082 * Makeconfig ($(common-objpfx)config.status): Depend on
25083 sysdeps/*/preconfigure{,.in} too.
25084
1ba4f030
JM
250852013-03-08 Joseph Myers <joseph@codesourcery.com>
25086
a222d91a
JM
25087 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25088 (__free_hook): Use void * instead of __malloc_ptr_t.
25089 (__malloc_hook): Likewise.
25090 (__realloc_hook): Likewise.
25091 (__memalign_hook): Likewise.
25092 (__after_morecore_hook): Likewise.
25093 * malloc/arena.c (save_malloc_hook): Likewise.
25094 (save_free_hook): Likewise.
25095 * malloc/hooks.c (malloc_hook_ini): Likewise.
25096 (realloc_hook_ini): Likewise.
25097 (memalign_hook_ini): Likewise.
25098 * malloc/malloc.c (malloc_hook_ini): Likewise.
25099 (realloc_hook_ini): Likewise.
25100 (memalign_hook_ini): Likewise.
25101 (__free_hook): Likewise.
25102 (__malloc_hook): Likewise.
25103 (__realloc_hook): Likewise.
25104 (__memalign_hook): Likewise.
25105 (__libc_malloc): Likewise.
25106 (__libc_free): Likewise.
25107 (__libc_realloc): Likewise.
25108 (__libc_memalign): Likewise.
25109 (__libc_valloc): Likewise.
25110 (__libc_pvalloc): Likewise.
25111 (__libc_calloc): Likewise.
25112 (__posix_memalign): Likewise.
25113 * malloc/morecore.c (__sbrk): Likewise.
25114 (__default_morecore): Likewise.
25115
5cc45e10
JM
25116 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25117
dd54b864
JM
25118 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25119 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25120 __malloc_ptrdiff_t.
25121
1ba4f030
JM
25122 * malloc/malloc.h (__malloc_size_t): Remove macro.
25123 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25124 __malloc_size_t.
25125 (old_memalign_hook): Likewise.
25126 (old_realloc_hook): Likewise.
25127 (struct hdr): Likewise.
25128 (flood): Likewise.
25129 (mallochook): Likewise.
25130 (memalignhook): Likewise.
25131 (reallochook): Likewise.
25132 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25133 (tr_old_realloc_hook): Likewise.
25134 (tr_old_memalign_hook): Likewise.
25135 (tr_mallochook): Likewise.
25136 (tr_reallochook): Likewise.
25137 (tr_memalignhook): Likewise.
25138
edf66e57
AZ
251392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25140
25141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25142 default_ldbl_pack and using as default implementation.
25143 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25144 implementation.
25145 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25146 redundant definition.
25147 (ldbl_insert_mantissa): Likewise.
25148 (ldbl_canonicalize): Likewise.
25149 (ldbl_nearbyint): Likewise.
25150 (ldbl_pack): Rename to ldbl_pack_ppc.
25151 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25152 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25153 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25154
6d9145d8
SP
251552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25156
25157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25158 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25159 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25160 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25162 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25163 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25164 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25165
4dd4e157
AJ
251662013-03-07 Andreas Jaeger <aj@suse.de>
25167
25168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25169 bits/mman-linux.h.
25170
adbb8027
SP
251712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25172
ce544b5b
SP
25173 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25174 Include mpa.h and declare __MPEXP.
25175 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25177 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25178 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25180 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25181 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25182
4cc149fd
SP
25183 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25184 (__slowpow): Use long double EXPL and LOGL functions to
25185 compute POW.
25186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25187 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25190 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25192
e6ebd4a7
SP
25193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25194 intermediate variable to calculate exponent.
25195 (__sqr): Likewise.
25196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25197 Likewise.
25198 (__sqr): Likewise.
25199
82a9811d
SP
25200 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25201 [!NO__SQR]: Define __sqr.
25202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25203 and NO__SQR. Remove all code except __mul and __sqr. Include
25204 sysdeps/ieee754/dbl-64/mpa.c.
25205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25206
adbb8027
SP
25207 [BZ #12723]
25208 * posix/Makefile (tests): Add tst-pathconf.
25209 * posix/tst-pathconf.c: New test case.
25210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25211 _PC_PIPE_BUF.
25212 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25213
39120df9
PF
252142013-03-06 Patsy Franklin <pfrankli@redhat.com>
25215
25216 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25217
67525cb8
AJ
252182013-03-06 Andreas Jaeger <aj@suse.de>
25219
664a9ce4
AJ
25220 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25221 definition via __MAP_ANONYMOUS.
25222
8e39047d
AJ
25223 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25224 it's not part of Linux headers.
25225
67525cb8
AJ
25226 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25227 (MAP_HUGE_MASK): Define.
25228
25229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25230 Define.
25231 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25233 Define.
25234 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25235 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25236 Define.
25237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25239 Define.
25240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25241
25242 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25243 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25244 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25245 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25246 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25247 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25248
25249 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25250 Handle f2fs.
25251
25252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25253 Handle f2fs and efivarfs.
25254
25255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25256 f2fs.
25257
25258 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25259 (EFIVARFS_MAGIC): Add.
25260 (F2FS_LINK_MAX): Add.
25261
e1b42695
PP
252622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25263
25264 * stdio-common/vfprintf.c: Replace __builtin_expect with
25265 __glibc_unlikely.
25266
2d67d91a
JM
252672013-03-06 Joseph Myers <joseph@codesourcery.com>
25268
25269 [BZ #13550]
25270 * sysdeps/generic/bp-sym.h: Remove file.
25271 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25272 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25273 <bp-sym.h> and <bp-asm.h>.
25274 (__longjmp): Don't use BP_SYM.
25275 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25276 and <bp-asm.h>.
25277 (memcpy): Don't use BP_SYM.
25278 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25279 <bp-sym.h> and <bp-asm.h>.
25280 (memcpy): Don't use BP_SYM.
25281 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25282 <bp-asm.h>.
25283 (memcpy): Don't use BP_SYM.
25284 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25285 <bp-asm.h>.
25286 (memset): Don't use BP_SYM.
25287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25289 (__bzero): Don't use BP_SYM.
25290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25293 <bp-sym.h> and <bp-asm.h>.
25294 (memcmp): Don't use BP_SYM. Remove comment about bounded
25295 pointers.
25296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25297 <bp-sym.h> and <bp-asm.h>.
25298 (memcpy): Don't use BP_SYM.
25299 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25300 <bp-sym.h> and <bp-asm.h>.
25301 (memset): Don't use BP_SYM.
25302 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25303 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25304 (__bzero): Don't use BP_SYM.
25305 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25306 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25308 <bp-sym.h> and <bp-asm.h>.
25309 (strncmp): Don't use BP_SYM. Remove comment about bounded
25310 pointers.
25311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25312 <bp-sym.h> and <bp-asm.h>.
25313 (memcpy): Don't use BP_SYM.
25314 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25315 <bp-sym.h> and <bp-asm.h>.
25316 (memset): Don't use BP_SYM.
25317 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25318 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25319 (__bzero): Don't use BP_SYM.
25320 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25321 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25323 <bp-sym.h> and <bp-asm.h>.
25324 (__memchr): Don't use BP_SYM.
25325 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25326 <bp-sym.h> and <bp-asm.h>.
25327 (memcmp): Don't use BP_SYM. Remove comment about bounded
25328 pointers.
25329 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25330 <bp-sym.h> and <bp-asm.h>.
25331 (memcpy): Don't use BP_SYM.
25332 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25333 <bp-sym.h> and <bp-asm.h>.
25334 (__mempcpy): Don't use BP_SYM.
25335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25336 <bp-sym.h> and <bp-asm.h>.
25337 (__memrchr): Don't use BP_SYM.
25338 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25339 <bp-sym.h> and <bp-asm.h>.
25340 (memset): Don't use BP_SYM.
25341 (__bzero): Likewise.
25342 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25343 <bp-sym.h> and <bp-asm.h>.
25344 (__rawmemchr): Don't use BP_SYM.
25345 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25346 <bp-sym.h> and <bp-asm.h>.
25347 (__STRCMP): Don't use BP_SYM.
25348 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25349 <bp-sym.h> and <bp-asm.h>.
25350 (strchr): Don't use BP_SYM.
25351 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25352 <bp-sym.h> and <bp-asm.h>.
25353 (__strchrnul): Don't use BP_SYM.
25354 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25355 <bp-sym.h> and <bp-asm.h>.
25356 (strlen): Don't use BP_SYM.
25357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25358 <bp-sym.h> and <bp-asm.h>.
25359 (strncmp): Don't use BP_SYM. Remove comment about bounded
25360 pointers.
25361 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25362 <bp-sym.h> and <bp-asm.h>.
25363 (__strnlen): Don't use BP_SYM.
25364 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25365 <bp-sym.h> and <bp-asm.h>.
25366 (__GI__setjmp): Don't use BP_SYM.
25367 (_setjmp): Likewise.
25368 (__sigsetjmp): Likewise.
25369 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25370 (L(start_addresses)): Don't use BP_SYM.
25371 (_start): Likewise.
25372 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25373 <bp-asm.h>.
25374 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25375 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25376 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25377 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25378 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25379 <bp-asm.h>.
25380 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25381 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25382 about bounded pointers.
25383 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25384 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25385 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25386 <bp-asm.h>.
25387 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25388 about bounded pointers. Remove GKM FIXME comments.
25389 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25390 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25391 <bp-asm.h>.
25392 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25393 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25394 Remove GKM FIXME comments.
25395 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25396 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25397 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25398 <bp-asm.h>.
25399 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25400 about bounded pointers. Remove GKM FIXME comment.
25401 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25402 and <bp-asm.h>.
25403 (strncmp): Don't use BP_SYM. Remove comment about bounded
25404 pointers.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25406 <bp-sym.h> and <bp-asm.h>.
25407 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25409 <bp-sym.h> and <bp-asm.h>.
25410 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25411 comment.
25412
cdcf361f
PP
254132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25414
25415 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25416 call free(NULL).
25417
3c4a2b15
DM
254182013-03-05 David S. Miller <davem@davemloft.net>
25419
25420 * po/es.po: Update from translation team.
25421
cdcf361f 254222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25423
25424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25425 <bits/mman-linux.h>.
25426 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25427 is fine.
25428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25429 <bits/mman-linux.h> to end of file.
25430 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25431 is fine.
25432 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25433 <bits/mman-linux.h> to end of file.
25434 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25435 is fine.
25436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25437 <bits/mman-linux.h> to end of file.
25438
25439 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25440 (MCL_CURRENT, MCL_FUTURE): Define here.
25441
5f67c04f
AK
254422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25443
8a4473cc 25444 [BZ #15232]
5f67c04f
AK
25445 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25446 attribute_hidden.
25447 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25448
c3e94a95
AK
254492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25450
25451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25452 fourth parameter needed for rt_sigprocmask syscall.
25453 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25454 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25455 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25456 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25457 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25458 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25459
cfb6382a
JM
254602013-03-04 Joseph Myers <joseph@codesourcery.com>
25461
25462 [BZ #13550]
25463 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25464 comment about bounded pointers.
25465 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25466 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25467
539d8e01
AJ
254682013-03-04 Andreas Jaeger <aj@suse.de>
25469
25470 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25471 common definitions.
25472
25473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25474 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25476 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25479
2e167a70 254802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25481
25482 [BZ #15055]
25483 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25484 __ieee754_sqrl instead of __sqrl.
25485
68508633
JM
254862013-03-01 Joseph Myers <joseph@codesourcery.com>
25487
25488 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25489 * sysdeps/powerpc/fpu_control.h: ... here.
25490 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25491 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25492 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25493 * sysdeps/powerpc/bits/mathinline.h: ... here.
25494
7775448e
RM
254952013-03-01 Roland McGrath <roland@hack.frob.com>
25496
25497 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25498 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25499 to just [NEED_DL_SYSINFO_DSO].
25500 * elf/dl-support.c: Likewise.
25501 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25502 * elf/rtld.c (dl_main): Likewise.
25503 * elf/setup-vdso.h (setup_vdso): Likewise.
25504 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25505 * sysdeps/unix/sysv/linux/dl-sysdep.c
25506 (_dl_discover_osversion): Likewise.
25507
4e9b5995
CD
255082013-03-01 Carlos O'Donell <carlos@redhat.com>
25509
25510 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25511 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25512
e23872c8
SP
255132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25514
e5c74c63
SP
25515 * NEWS: Mention libm performance improvements and non-x86 PI
25516 futex support.
25517
e23872c8
SP
25518 * csu/libc-start.c (__pthread_initialize_minimal): Change
25519 function arguments.
25520 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25521
b5510883
JM
255222013-02-28 Joseph Myers <joseph@codesourcery.com>
25523
25524 [BZ #13550]
25525 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25526 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25527 <bp-sym.h> and <bp-asm.h>.
25528 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25530 and <bp-asm.h>.
25531 (memcpy): Don't use BP_SYM.
25532 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25533 <bp-asm.h>.
25534 (__mpn_add_n): Don't use BP_SYM.
25535 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25536 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25537 and <bp-asm.h>.
25538 (__mpn_addmul_1): Don't use BP_SYM.
25539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25540 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25541 <bp-sym.h>.
25542 (_setjmp): Don't use BP_SYM.
25543 (__novmx_setjmp): Likewise.
25544 (__GI__setjmp): Likewise.
25545 (__vmx_setjmp): Likewise.
25546 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25547 <bp-sym.h>.
25548 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25549 (__bzero): Don't use BP_SYM.
25550 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25551 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25552 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25553 <bp-sym.h> and <bp-asm.h>.
25554 (memcpy): Don't use BP_SYM.
25555 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25556 <bp-sym.h> and <bp-asm.h>.
25557 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25559 <bp-sym.h> and <bp-asm.h>.
25560 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25561 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25562 <bp-asm.h>.
25563 (__mpn_lshift): Don't use BP_SYM.
25564 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25565 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25566 <bp-asm.h>.
25567 (memset): Don't use BP_SYM.
25568 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25569 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25570 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25571 <bp-asm.h>.
25572 (__mpn_mul_1): Don't use BP_SYM.
25573 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25575 <bp-sym.h> and <bp-asm.h>.
25576 (memcmp): Don't use BP_SYM.
25577 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25578 <bp-sym.h> and <bp-asm.h>.
25579 (memcpy): Don't use BP_SYM.
25580 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25581 <bp-sym.h> and <bp-asm.h>.
25582 (memset): Don't use BP_SYM.
25583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25584 <bp-sym.h> and <bp-asm.h>.
25585 (strncmp): Don't use BP_SYM.
25586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25587 <bp-sym.h> and <bp-asm.h>.
25588 (memcpy): Don't use BP_SYM.
25589 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25590 <bp-sym.h> and <bp-asm.h>.
25591 (memset): Don't use BP_SYM.
25592 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25593 <bp-sym.h> and <bp-asm.h>.
25594 (__memchr): Don't use BP_SYM.
25595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25596 <bp-sym.h> and <bp-asm.h>.
25597 (memcmp): Don't use BP_SYM.
25598 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25599 <bp-sym.h> and <bp-asm.h>.
25600 (memcpy): Don't use BP_SYM.
25601 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25602 <bp-sym.h> and <bp-asm.h>.
25603 (__mempcpy): Don't use BP_SYM.
25604 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25605 <bp-sym.h> and <bp-asm.h>.
25606 (__memrchr): Don't use BP_SYM.
25607 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25608 <bp-sym.h> and <bp-asm.h>.
25609 (memset): Don't use BP_SYM.
25610 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25611 <bp-sym.h> and <bp-asm.h>.
25612 (__rawmemchr): Don't use BP_SYM.
25613 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25614 <bp-sym.h> and <bp-asm.h>.
25615 (__STRCMP): Don't use BP_SYM.
25616 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25617 <bp-sym.h> and <bp-asm.h>.
25618 (strchr): Don't use BP_SYM.
25619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25620 <bp-sym.h> and <bp-asm.h>.
25621 (__strchrnul): Don't use BP_SYM.
25622 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25623 <bp-sym.h> and <bp-asm.h>.
25624 (strlen): Don't use BP_SYM.
25625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25626 <bp-sym.h> and <bp-asm.h>.
25627 (strncmp): Don't use BP_SYM.
25628 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25629 <bp-sym.h> and <bp-asm.h>.
25630 (__strnlen): Don't use BP_SYM.
25631 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25632 <bp-asm.h>.
25633 (__mpn_rshift): Don't use BP_SYM.
25634 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25635 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25636 <bp-sym.h> and <bp-asm.h>.
25637 (__sigsetjmp): Don't use BP_SYM.
25638 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25639 (L(start_addresses)): Don't use BP_SYM.
25640 (_start): Likewise.
25641 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25642 <bp-asm.h>.
25643 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25644 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25645 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25646 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25647 <bp-asm.h>.
25648 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25649 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25650 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25651 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25652 <bp-asm.h>.
25653 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25654 comments.
25655 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25656 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25657 <bp-asm.h>.
25658 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25659 FIXME comments.
25660 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25661 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25662 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25663 <bp-asm.h>.
25664 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25665 comment.
25666 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25667 and <bp-asm.h>.
25668 (strncmp): Don't use BP_SYM,
25669 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25670 <bp-asm.h>.
25671 (__mpn_sub_n): Don't use BP_SYM.
25672 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25673 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25674 and <bp-asm.h>.
25675 (__mpn_submul_1): Don't use BP_SYM.
25676 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25678 <bp-sym.h> and <bp-asm.h>.
25679 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25681 <bp-sym.h> and <bp-asm.h>.
25682 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25683 comment.
25684
8d19fe64
SP
256852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25686
25687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25688 Use ZK to minimize writes to Z.
25689 (sub_magnitudes): Simplify code a bit.
25690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25691 Use ZK to minimize writes to Z.
25692 (sub_magnitudes): Simplify code a bit.
25693
85bd816a
RM
256942013-02-27 Roland McGrath <roland@hack.frob.com>
25695
25696 * csu/gmon-start.c: Add special exception to license text.
25697
b5977bf2
RH
256982013-02-27 Richard Henderson <rth@redhat.com>
25699
25700 * scripts/config.guess: Update from config.git.
25701 * scripts/config.sub: Likewise.
25702
11d6e2f2
SP
257032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25704
09c14ed2
SP
25705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25706
a688864e
SP
25707 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25708
6295157a
SP
25709 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25710
b8de2202
SP
25711 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25712
11d6e2f2
SP
25713 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25714
7e80ddb8
RM
257152013-02-26 Roland McGrath <roland@hack.frob.com>
25716
25717 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25718 [$(build-shared = yes].
7e80ddb8 25719
7da6d9ed
SP
257202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25721
45f05884
SP
25722 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25723 (__mul): Reduce iterations for calculating mantissa.
25724
2236d359
SP
25725 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25726 MPTWO.
25727 (__mpranred): Likewise.
25728
7da6d9ed
SP
25729 [BZ #15160]
25730 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25731 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25732
b7688c42
PE
257332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25734
25735 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25736 Define __attribute__.
25737
53a5c423
SP
257382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25739
25740 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25741 unused.
25742 * posix/regex_internal.h (__attribute): Remove.
25743 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25744 (re_string_context_at): Likewise.
25745 (bitset_not): Use __attribute__ and mark function as possibly
25746 unused.
25747 (bitset_merge): Likewise.
25748 (bitset_mask): Likewise.
25749 (re_string_char_size_at): Likewise.
25750 (re_string_wchar_at): Likewise.
25751 (re_string_elem_size_at): Likewise.
25752
60f5a8b5
SP
257532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25754
2a983a2e
SP
25755 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25756 code.
25757 (cc32): Likewise.
25758
e69804d1
SP
25759 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25760 (__acr): Likewise.
25761 (__cpy): Likewise.
25762 (norm): Likewise.
25763 (denorm): Likewise.
25764 (__dbl_mp): Likewise.
25765 (add_magnitudes): Likewise.
25766 (sub_magnitudes): Likewise.
25767 (__mul): Likewise.
25768 (__inv): Likewise.
25769
2f22a1e8
SP
25770 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25771 style.
25772
8930ddc7
SP
25773 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25774 style.
25775
dc60cb11
SP
25776 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25777 code.
25778
60f5a8b5
SP
25779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25780 up changes with default code.
25781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25782 Likewise.
25783
b4d1fd33
AM
257842013-02-24 Allan McRae <allan@archlinux.org>
25785
faf6f8bc
AM
25786 * manual/socket.texi (The Internet Namespace): Order menu items
25787 to match that in the file.
25788
b4d1fd33
AM
25789 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25790 node listing of the info page menu.
25791
2366713d
JM
257922013-02-21 Joseph Myers <joseph@codesourcery.com>
25793
25794 [BZ #13550]
25795 * sysdeps/i386/bp-asm.h: Remove file.
25796 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25797 (PARMS): Do not use macros from bp-asm.h.
25798 (S1): Likewise.
25799 (S2): Likewise.
25800 (SIZE): Likewise.
25801 (__mpn_add_n): Do not use BP_SYM
25802 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25803 "bp-asm.h".
25804 (PARMS): Do not use macros from bp-asm.h.
25805 (S1): Likewise.
25806 (SIZE): Likewise.
25807 (__mpn_addmul_1): Do not use BP_SYM
25808 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25809 "bp-asm.h".
25810 (PARMS): Do not use macros from bp-asm.h.
25811 (SIGMSK): Likewise.
25812 (_setjmp): Likewise. Do not use BP_SYM.
25813 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25814 "bp-asm.h".
25815 (PARMS): Do not use macros from bp-asm.h.
25816 (SIGMSK): Likewise.
25817 (setjmp): Likewise. Do not use BP_SYM.
25818 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25819 "bp-asm.h".
25820 (PARMS): Do not use macros from bp-asm.h.
25821 (__frexp): Do not use BP_SYM.
25822 (frexp): Likewise.
25823 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25824 "bp-asm.h".
25825 (PARMS): Do not use macros from bp-asm.h.
25826 (__frexpf): Do not use BP_SYM.
25827 (frexpf): Likewise.
25828 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25829 "bp-asm.h".
25830 (PARMS): Do not use macros from bp-asm.h.
25831 (__frexpl): Do not use BP_SYM.
25832 (frexpl): Likewise.
25833 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25834 "bp-asm.h".
25835 (PARMS): Do not use macros from bp-asm.h.
25836 (__remquo): Do not use BP_SYM.
25837 (remquo): Likewise.
25838 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25839 "bp-asm.h".
25840 (PARMS): Do not use macros from bp-asm.h.
25841 (__remquof): Do not use BP_SYM.
25842 (remquof): Likewise.
25843 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25844 "bp-asm.h".
25845 (PARMS): Do not use macros from bp-asm.h.
25846 (__remquol): Do not use BP_SYM.
25847 (remquol): Likewise.
25848 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25849 "bp-asm.h".
25850 (PARMS): Do not use macros from bp-asm.h.
25851 (DEST): Likewise.
25852 (SRC): Likewise.
25853 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25854 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25855 "bp-asm.h".
25856 (PARMS): Do not use macros from bp-asm.h.
25857 (strlen): Do not use BP_SYM.
25858 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25859 "bp-asm.h".
25860 (PARMS): Do not use macros from bp-asm.h.
25861 (S1): Likewise.
25862 (S2): Likewise.
25863 (SIZE): Likewise.
25864 (__mpn_add_n): Do not use BP_SYM.
25865 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25866 "bp-asm.h".
25867 (PARMS): Do not use macros from bp-asm.h.
25868 (S1): Likewise.
25869 (SIZE): Likewise.
25870 (__mpn_addmul_1): Do not use BP_SYM.
25871 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25872 weak_alias.
25873 (bzero): Likewise.
25874 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25875 "bp-asm.h".
25876 (PARMS): Do not use macros from bp-asm.h.
25877 (S): Likewise.
25878 (SIZE): Likewise.
25879 (__mpn_lshift): Do not use BP_SYM.
25880 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25881 "bp-asm.h".
25882 (PARMS): Do not use macros from bp-asm.h.
25883 (DEST): Likewise.
25884 (SRC): Likewise.
25885 (LEN): Likewise.
25886 (memcpy): Likewise. Do not use BP_SYM.
25887 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25888 libc_hidden_def and weak_alias.
25889 (mempcpy): Do not use BP_SYM in weak_alias.
25890 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25891 "bp-asm.h".
25892 (PARMS): Do not use macros from bp-asm.h.
25893 (DEST): Likewise.
25894 (LEN): Likewise.
25895 [!BZERO_P] (CHR): Likewise.
25896 (memset): Likewise. Do not use BP_SYM.
25897 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25898 "bp-asm.h".
25899 (PARMS): Do not use macros from bp-asm.h.
25900 (S1): Likewise.
25901 (SIZE): Likewise.
25902 (__mpn_mul_1): Do not use BP_SYM.
25903 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25904 "bp-asm.h".
25905 (PARMS): Do not use macros from bp-asm.h.
25906 (S): Likewise.
25907 (SIZE): Likewise.
25908 (__mpn_rshift): Do not use BP_SYM.
25909 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25910 "bp-asm.h".
25911 (PARMS): Do not use macros from bp-asm.h.
25912 (STR): Likewise.
25913 (CHR): Likewise.
25914 (strchr): Likewise. Do not use BP_SYM.
25915 (index): Do not use BP_SYM in weak_alias.
25916 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25917 "bp-asm.h".
25918 (PARMS): Do not use macros from bp-asm.h.
25919 (DEST): Likewise.
25920 (SRC): Likewise.
25921 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25922 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25923 "bp-asm.h".
25924 (PARMS): Do not use macros from bp-asm.h.
25925 (strlen): Do not use BP_SYM.
25926 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25927 "bp-asm.h".
25928 (PARMS): Do not use macros from bp-asm.h.
25929 (S1): Likewise.
25930 (S2): Likewise.
25931 (SIZE): Likewise.
25932 (__mpn_sub_n): Do not use BP_SYM.
25933 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25934 "bp-asm.h".
25935 (PARMS): Do not use macros from bp-asm.h.
25936 (S1): Likewise.
25937 (SIZE): Likewise.
25938 (__mpn_submul_1): Do not use BP_SYM.
25939 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25940 "bp-asm.h".
25941 (PARMS): Do not use macros from bp-asm.h.
25942 (S1): Likewise.
25943 (S2): Likewise.
25944 (SIZE): Likewise.
25945 (__mpn_add_n): Do not use BP_SYM.
25946 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25947 weak_alias.
25948 (bzero): Likewise.
25949 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25950 "bp-asm.h".
25951 (PARMS): Do not use macros from bp-asm.h.
25952 (BLK2): Likewise.
25953 (LEN): Likewise.
25954 (memcmp): Do not use BP_SYM.
25955 (bcmp): Do not use BP_SYM in weak_alias.
25956 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25957 "bp-asm.h".
25958 (PARMS): Do not use macros from bp-asm.h.
25959 (DEST): Likewise.
25960 (SRC): Likewise.
25961 (LEN): Likewise.
25962 (memcpy): Likewise. Do not use BP_SYM.
25963 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25964 "bp-asm.h".
25965 (PARMS): Do not use macros from bp-asm.h.
25966 (DEST): Likewise.
25967 (SRC): Likewise.
25968 (LEN): Likewise.
25969 (memmove): Likewise. Do not use BP_SYM.
25970 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25971 "bp-asm.h".
25972 (PARMS): Do not use macros from bp-asm.h.
25973 (DEST): Likewise.
25974 (SRC): Likewise.
25975 (LEN): Likewise.
25976 (__mempcpy): Likewise. Do not use BP_SYM.
25977 (mempcpy): Do not use BP_SYM in weak_alias.
25978 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25979 "bp-asm.h".
25980 (PARMS): Do not use macros from bp-asm.h.
25981 (DEST): Likewise.
25982 (LEN): Likewise.
25983 [!BZERO_P] (CHR): Likewise.
25984 (memset): Likewise. Do not use BP_SYM.
25985 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25986 "bp-asm.h".
25987 (PARMS): Do not use macros from bp-asm.h.
25988 (STR2): Likewise.
25989 (strcmp): Do not use BP_SYM.
25990 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25991 "bp-asm.h".
25992 (PARMS): Do not use macros from bp-asm.h.
25993 (STR): Likewise.
25994 (DELIM): Likewise.
25995 [USE_AS_STRTOK_R] (SAVE): Likewise.
25996 (FUNCTION): Likewise. Do not use BP_SYM.
25997 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25998 aliases.
25999 (strtok_r): Likewise.
26000 (__GI___strtok_r): Likewise.
26001 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26002 (PARMS): Do not use macros from bp-asm.h.
26003 (S): Likewise.
26004 (SIZE): Likewise.
26005 (__mpn_lshift): Do not use BP_SYM.
26006 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26007 (PARMS): Do not use macros from bp-asm.h.
26008 (STR): Likewise.
26009 (CHR): Likewise.
26010 (__memchr): Do not use BP_SYM.
26011 (memchr): Do not use BP_SYM in weak_alias.
26012 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26013 (PARMS): Do not use macros from bp-asm.h.
26014 (BLK2): Likewise.
26015 (LEN): Likewise.
26016 (memcmp): Do not use BP_SYM.
26017 (bcmp): Do not use BP_SYM in weak_alias.
26018 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26019 (PARMS): Do not use macros from bp-asm.h.
26020 (S1): Likewise.
26021 (SIZE): Likewise.
26022 (__mpn_mul_1): Do not use BP_SYM.
26023 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26024 "bp-asm.h".
26025 (PARMS): Do not use macros from bp-asm.h.
26026 (STR): Likewise.
26027 (CHR): Likewise.
26028 (__rawmemchr): Do not use BP_SYM.
26029 (rawmemchr): Do not use BP_SYM in weak_alias.
26030 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26031 (PARMS): Do not use macros from bp-asm.h.
26032 (S): Likewise.
26033 (SIZE): Likewise.
26034 (__mpn_rshift): Do not use BP_SYM.
26035 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26036 (PARMS): Do not use macros from bp-asm.h.
26037 (SIGMSK): Likewise.
26038 (__sigsetjmp): Likewise. Do not use BP_SYM.
26039 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26040 (_start): Do not use BP_SYM.
26041 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26042 (PARMS): Do not use macros from bp-asm.h.
26043 (DEST): Likewise.
26044 (SRC): Likewise.
26045 (__stpcpy): Likewise. Do not use BP_SYM.
26046 (stpcpy): Do not use BP_SYM in weak_alias.
26047 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26048 "bp-asm.h".
26049 (PARMS): Do not use macros from bp-asm.h.
26050 (DEST): Likewise.
26051 (SRC): Likewise.
26052 (LEN): Likewise.
26053 (__stpncpy): Likewise. Do not use BP_SYM.
26054 (stpncpy): Do not use BP_SYM in weak_alias.
26055 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26056 (PARMS): Do not use macros from bp-asm.h.
26057 (STR): Likewise.
26058 (CHR): Likewise.
26059 (strchr): Likewise. Do not use BP_SYM.
26060 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26061 "bp-asm.h".
26062 (PARMS): Do not use macros from bp-asm.h.
26063 (STR): Likewise.
26064 (CHR): Likewise.
26065 (__strchrnul): Likewise. Do not use BP_SYM.
26066 (strchrnul): Do not use BP_SYM in weak_alias.
26067 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26068 "bp-asm.h".
26069 (PARMS): Do not use macros from bp-asm.h.
26070 (STOP): Likewise.
26071 (strcspn): Do not use BP_SYM.
26072 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26073 "bp-asm.h".
26074 (PARMS): Do not use macros from bp-asm.h.
26075 (STR): Likewise.
26076 (STOP): Likewise.
26077 (strpbrk): Likewise. Do not use BP_SYM.
26078 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26079 "bp-asm.h".
26080 (PARMS): Do not use macros from bp-asm.h.
26081 (STR): Likewise.
26082 (CHR): Likewise.
26083 (strrchr): Likewise. Do not use BP_SYM.
26084 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26085 (PARMS): Do not use macros from bp-asm.h.
26086 (SKIP): Likewise.
26087 (strspn): Do not use BP_SYM.
26088 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26089 (PARMS): Do not use macros from bp-asm.h.
26090 (STR): Likewise.
26091 (DELIM): Likewise.
26092 (SAVE): Likewise.
26093 (FUNCTION): Likewise. Do not use BP_SYM.
26094 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26095 aliases.
26096 (strtok_r): Likewise.
26097 (__GI___strtok_r): Likewise.
26098 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26099 (PARMS): Do not use macros from bp-asm.h.
26100 (S1): Likewise.
26101 (S2): Likewise.
26102 (SIZE): Likewise.
26103 (__mpn_sub_n): Do not use BP_SYM.
26104 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26105 "bp-asm.h".
26106 (PARMS): Do not use macros from bp-asm.h.
26107 (S1): Likewise.
26108 (SIZE): Likewise.
26109 (__mpn_submul_1): Do not use BP_SYM.
26110 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26111 <bp-sym.h>.
26112 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26113 and <bp-asm.h>.
26114 (PARMS): Do not use macros from bp-asm.h.
26115 (FLAGS): Likewise.
26116 (PTID): Likewise.
26117 (TLS): Likewise.
26118 (CTID): Likewise.
26119 (__clone): Do not use BP_SYM.
26120 (clone): Do not use BP_SYM in weak_alias.
26121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26122 and <bp-asm.h>.
26123 (PARMS): Do not use macros from bp-asm.h.
26124 (LEN): Likewise.
26125 (__mmap64): Do not use BP_SYM.
26126 (mmap64): Do not use BP_SYM in weak_alias.
26127 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26128 <bp-sym.h> and <bp-asm.h>.
26129 (PARMS): Do not use macros from bp-asm.h.
26130 (__posix_fadvise64_l64): Do not use BP_SYM.
26131 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26132 (PARMS): Do not use macros from bp-asm.h.
26133 (NSOPS): Likewise.
26134 (semtimedop): Do not use BP_SYM.
26135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26136 and <bp-asm.h>.
26137
582a3cff
AM
261382013-02-21 Allan McRae <allan@archlinux.org>
26139
26140 * manual/message.texi (Charset conversion in gettext):
26141 Move @end statement to beginning of line.
26142
bab8a695
SP
261432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26144
80945231
SP
26145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26146 static.
26147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26148 Likewise.
26149
bab8a695
SP
26150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26151 (denorm): Likewise.
26152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26154
e21d7aa7
AK
261552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26156
26157 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26158 tail-call to the resolved function if pltexit isn't needed.
26159
4c7a4263
SP
261602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26161
26162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26163 or Y being zero as being unlikely.
26164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26165 Likewise.
26166
41f49342
CD
261672013-02-20 Carlos O'Donell <carlos@redhat.com>
26168
26169 * manual/nss.texi (System Databases and Name Service Switch):
26170 Remove frobnicate @pxref.
26171
50022a93
TS
261722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26173
26174 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26175 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26176
08cbd996
PM
261772013-02-20 Petr Machata <pmachata@redhat.com>
26178
26179 * elf/elf.h (R_ARM_TARGET1): New macro.
26180 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26181 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26182 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26183 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26184 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26185 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26186 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26187 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26188 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26189 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26190 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26191 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26192 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26193 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26194 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26195 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26196 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26197 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26198 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26199 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26200 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26201 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26202 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26203 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26204 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26205 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26206 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26207 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26208 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26209 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26210 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26211 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26212 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26213 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26214 (R_ARM_THM_GOT_BREL12): Likewise.
26215 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26216 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26217 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26218 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26219 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26220 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26221 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26222 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26223 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26224
c7b275d6
TS
262252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26226
26227 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26228 __attribute_used__ to __attribute__ ((unused)).
26229
20cd7fb3
SP
262302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26231
26232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26233 powerpc mpa.c.
26234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26235 comment formatting.
26236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26237
92945b52
JM
262382013-02-19 Joseph Myers <joseph@codesourcery.com>
26239
26240 [BZ #13550]
26241 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26242 Remove macro.
26243 (ENTER): Remove both macro definitions.
26244 (LEAVE): Likewise.
26245 (CHECK_BOUNDS_LOW): Likewise.
26246 (CHECK_BOUNDS_HIGH): Likewise.
26247 (CHECK_BOUNDS_BOTH): Likewise.
26248 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26249 (RETURN_BOUNDED_POINTER): Likewise.
26250 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26251 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26252 (POP_ERRNO_LOCATION_RETURN): Likewise.
26253 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26254 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26255 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26256 macros.
26257 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26258 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26259 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26260 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26261 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26262 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26263 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26264 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26265 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26266 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26267 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26268 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26269 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26270 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26271 removed macros.
26272 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26273 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26274 macros.
26275 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26276 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26277 * sysdeps/i386/i586/memset.S (memset): Likewise.
26278 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26280 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26281 macros.
26282 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26283 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26284 Change uses of L(2) to L(out).
26285 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26286 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26287 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26288 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26289 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26290 removed macros.
26291 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26292 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26293 macros.
26294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26295 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26296 (RETURN): Do not use macro LEAVE.
26297 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26298 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26299 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26300 * sysdeps/i386/i686/memset.S (memset): Likewise.
26301 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26302 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26303 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26304 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26305 Likewise.
26306 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26307 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26308 L(1_2) and L(1_3) into L(1).
26309 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26310 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26311 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26312 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26313 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26314 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26315 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26317 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26318 macros.
26319 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26320 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26321 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26322 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26323 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26324 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26325 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26326 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26327 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26328 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26329 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26330 * sysdeps/i386/strspn.S (strspn): Likewise.
26331 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26332 conditional code.
26333 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26334 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26335 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26336 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26337 L(1_3) into L(1_1).
26338 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26339 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26340 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26341 macros.
26342 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26343
2389741a
JJ
263442013-02-19 Jakub Jelinek <jakub@redhat.com>
26345
26346 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26347 macro.
26348
2016b3cd
SP
263492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26350
e4f22324
SP
26351 * math/atest-exp.c (exp_mpn): Remove ROUND.
26352 * math/atest-exp2.c (exp_mpn): Likewise.
26353 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26354
2016b3cd
SP
26355 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26356 * stdlib/tst-tls-atexit-lib.c: Likewise.
26357 * stdlib/tst-tls-atexit.c: Likewise.
26358
4be9b544
MF
263592013-02-18 Mike Frysinger <vapier@gentoo.org>
26360
26361 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26362 and __attribute_alloc_size__.
26363
2f62b9ee
MF
263642013-02-18 Mike Frysinger <vapier@gentoo.org>
26365
26366 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26367 __attribute_alloc_size__.
26368 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26369 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26370
6ff444c4
MF
263712013-02-18 Mike Frysinger <vapier@gentoo.org>
26372
26373 * include/programs/xmalloc.h: New file.
26374 * catgets/gencat.c: Include it.
26375 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26376 * elf/pldd.c: Likewise.
26377 * iconv/iconv_charmap.c: Likewise.
26378 * iconv/iconvconfig.c: Likewise.
26379 * iconv/strtab.c: Likewise.
26380 * locale/programs/locale.c: Likewise.
26381 * locale/programs/localedef.h: Likewise.
26382 * locale/programs/simple-hash.c: Likewise.
26383 * nscd/nscd.h: Likewise.
26384 * nss/makedb.c: Likewise.
26385 * sysdeps/generic/ldconfig.h: Likewise.
26386
be179c8a
SP
263872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26388
ba384f6e
SP
26389 * Versions.def: Add GLIBC_2.18.
26390 * include/link.h (struct link_map): New member l_tls_dtor_count.
26391 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26392 (__call_tls_dtors): Likewise.
26393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26394 __cxa_thread_atexit_impl.
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26396 Likewise.
26397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26398 Likewise.
26399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26400 Likewise.
26401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26402 Likewise.
26403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26405 Likewise.
26406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26407 Likewise.
26408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26410 Likewise.
26411 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26412 (tests): Add test case tst-tls-atexit.
26413 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26414 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26415 (GLIBC_PRIVATE): Add __call_tls_dtors.
26416 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26417 for libstdc++.
26418 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26419 * stdlib/tst-tls-atexit.c: New test case.
26420 * stdlib/tst-tls-atexit-lib.c: New test case.
26421
ffaa74cf 26422 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26423
be179c8a
SP
26424 * elf/Versions (ld): Add _dl_find_dso_for_object.
26425 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26426 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26427 (dl_open_worker): Use _dl_find_dso_for_object.
26428 * elf/dl-sym.c (do_sym): Likewise.
26429 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26430
f78b5caa
AK
264312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26432
26433 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26434 Syntactic changes only.
26435 (_dl_runtime_profile): Do a tail-call to the resolved function.
26436
29691210
JM
264372013-02-17 Joseph Myers <joseph@codesourcery.com>
26438
26439 [BZ #13550]
26440 * sysdeps/x86_64/bp-asm.h: Remove file.
26441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26442 <bp-sym.h> and <bp-asm.h>.
26443 (__clone): Do not use BP_SYM.
26444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26445 <bp-sym.h> and <bp-asm.h>.
26446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26447 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26448 "bp-asm.h".
26449 (_setjmp): Do not use BP_SYM.
26450 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26451 "bp-asm.h".
26452 (setjmp): Do not use BP_SYM.
26453 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26454 libc_hidden_def.
26455 (mempcpy): Do not use BP_SYM in weak_alias.
26456 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26457 "bp-asm.h".
26458 (strchr): Do not use BP_SYM.
26459 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26460 "bp-asm.h".
26461 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26462 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26463 (_start): Do not use BP_SYM.
26464 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26465 "bp-asm.h".
26466 (strcat): Do not use BP_SYM.
26467 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (STRCMP): Do not use BP_SYM.
26470 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26471 "bp-asm.h".
26472 (STRCPY): Do not use BP_SYM.
26473 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26474 "bp-asm.h".
26475 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26476 "bp-asm.h".
26477 (FUNCTION): Do not use BP_SYM.
26478 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26479 weak_alias.
26480 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26481
f238fd19
AJ
264822013-02-17 Andreas Jaeger <aj@suse.de>
26483
26484 * time/Versions: Sort entries.
26485 * string/Versions: Likewise.
26486 * resolv/Versions: Likewise.
26487 * posix/Versions: Likewise.
26488 * iconv/Versions: Likewise.
26489 * elf/Versions: Likewise.
26490 * wcsmbs/Versions: Likewise.
26491
bd07f23c 264922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26493
22af19f9
SP
26494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26495 loop termination condition.
26496
4709fe76
SP
26497 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26498 variable to calculate EZ.
26499 (__sqr): Likewise.
2d0e0f29
SP
26500
26501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26502 the lower precision input.
26503
daaa7713
JM
265042013-02-15 Joseph Myers <joseph@codesourcery.com>
26505
26506 [BZ #13550]
26507 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26508 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26509 (run-via-rtld-prefix): Do not handle %-bp tests.
26510 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26511 (all-object-suffixes): Remove .ob.
26512 (bppfx): Remove variable.
26513 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26514 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26515 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26516 [$(build-bounded) = yes] (libtype.ob): Likewise.
26517 * Makerules (elide-routines.ob): Remove variable.
26518 (do-tests-clean): Do not handle *-bp.out.
26519 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26520 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26521 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26522 (tests): Do not include $(tests-bp.out).
26523 (xtests): Do not include $(xtests-bp.out).
26524 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26525 [$(build-bounded) = yes] ($(addprefix
26526 $(objpfx),$(binaries-bounded))): Remove rule.
26527 ($(objpfx)%-bp.out): Remove rule.
26528 * config.make.in (build-bounded): Remove variable.
26529 * crypt/Makefile [$(build-bounded) = yes]
26530 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26531 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26532 append to variable.
26533 [$(build-bounded) = yes] (install-lib): Likewise.
26534 [$(build-bounded) = yes] (generated): Likewise.
26535 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26536 Remove rule.
26537 * intl/Makefile [$(build-bounded) = yes]
26538 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26539 * math/Makefile [$(build-bounded) = yes]
26540 ($(tests:%=$(objpfx)%-bp): Likewise.
26541 * misc/Makefile [$(build-bounded) = yes]
26542 ($(objpfx)tst-tsearch-bp): Likewise.
26543 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26544 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26545 Remove dependency.
26546 * string/Makefile (o-objects.ob): Remove variable.
26547 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26548 (CFLAGS-.ob): Remove variable.
26549 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26550 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26551 both definitions of variable.
26552 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26553 (ASFLAGS-.ob): Remove variable.
26554
e97ed6dd
JM
265552013-02-14 Joseph Myers <joseph@codesourcery.com>
26556
2bdd4ca6
JM
26557 [BZ #13550]
26558 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26559 Remove __BOUNDED_POINTERS__ from condition.
26560 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26561 * string/bits/string2.h [!__NO_STRING_INLINES &&
26562 !__BOUNDED_POINTERS__]: Likewise.
26563 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26564 Likewise.
26565 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26566 Remove conditional code.
26567 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26568 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26569 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26570 condition.
26571
e97ed6dd
JM
26572 [BZ #13550]
26573 * csu/libc-start.c: Do not include <bp-sym.h>.
26574 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26575 * elf/dl-open.c: Do not include <bp-sym.h>.
26576 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26577 * math/fegetenv.c: Do not include <bp-sym.h>.
26578 (fegetenv): Do not use BP_SYM in versioned symbols.
26579 * nptl/sysdeps/pthread/bits/libc-lockP.h
26580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26581 <bp-sym.h>.
26582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26583 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26585 (__pthread_mutex_destroy): Likewise.
26586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26587 (__pthread_mutex_lock): Likewise.
26588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26589 (__pthread_mutex_trylock): Likewise.
26590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26591 (__pthread_mutex_unlock): Likewise.
26592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26593 (__pthread_mutexattr_init): Likewise.
26594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26595 (__pthread_mutexattr_destroy): Likewise.
26596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26597 (__pthread_mutexattr_settype): Likewise.
26598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26599 (__pthread_rwlock_init): Likewise.
26600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26601 (__pthread_rwlock_destroy): Likewise.
26602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26603 (__pthread_rwlock_rdlock): Likewise.
26604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26605 (__pthread_rwlock_tryrdlock): Likewise.
26606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26607 (__pthread_rwlock_wrlock): Likewise.
26608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26609 (__pthread_rwlock_trywrlock): Likewise.
26610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26611 (__pthread_rwlock_unlock): Likewise.
26612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26613 (__pthread_key_create): Likewise.
26614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26615 (__pthread_setspecific): Likewise.
26616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26617 (__pthread_getspecific): Likewise.
26618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26619 Likewise.
26620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26621 (_pthread_cleanup_push_defer): Likewise.
26622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26623 (_pthread_cleanup_pop_restore): Likewise.
26624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26625 (pthread_setcancelstate): Likewise.
26626 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26627 <bp-sym.h>.
26628 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26629 (memchr): Do not use BP_SYM in weak_alias.
26630 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26631 (fegetenv): Do not use BP_SYM in versioned symbols.
26632 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26633 (fesetenv): Do not use BP_SYM in versioned symbols.
26634 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26635 (feupdateenv): Do not use BP_SYM in versioned symbols.
26636 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26637 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26638 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26639 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26640 (open64): Do not use BP_SYM in weak_alias.
26641 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26642 (fegetenv): Do not use BP_SYM in versioned symbols.
26643 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26644 (fesetenv): Do not use BP_SYM in versioned symbols.
26645 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26646 (feupdateenv): Do not use BP_SYM in versioned symbols.
26647 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26648 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26649 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26650 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26651 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26652 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26653 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26654 <bp-sym.h>.
26655 (__libc_start_main): Do not use BP_SYM.
26656
d6752ccd
SP
266572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26658
cb57ce60
SP
26659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26660 redundant return line.
26661 (norm): Likewise.
26662 (denorm): Likewise.
26663 (dbl_mp): Likewise.
26664 (sub_magnitudes): Likewise.
26665 (__add): Likewise.
26666 (__sub): Likewise.
26667 (__mul): Likewise.
26668 (__inv): Likewise.
26669 (__dvd): Likewise.
26670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26671 (norm): Likewise.
26672 (denorm): Likewise.
26673 (dbl_mp): Likewise.
26674 (sub_magnitudes): Likewise.
26675 (__add): Likewise.
26676 (__sub): Likewise.
26677 (__mul): Likewise.
26678 (__inv): Likewise.
26679 (__dvd): Likewise.
26680
f414520d
SP
26681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26682 instead of __mul.
26683 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26684 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26685 (cc32): Likewise.
26686
d6752ccd
SP
26687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26688 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26690 of __mul for squares.
26691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26692 function
26693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26694 Likewise.
26695 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26696 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26697
70d9946a
JM
266982013-02-13 Joseph Myers <joseph@codesourcery.com>
26699
26700 [BZ #13550]
26701 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26702 code.
26703 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26704 prototype or function definition. Rename ubp_* variables and
26705 parameters. Remove argv definitions conditional on
26706 [__BOUNDED_POINTERS__].
26707 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26708 * elf/dl-runtime.c (_dl_fixup): Likewise.
26709 * include/set-hooks.h (RUN_HOOK): Likewise.
26710 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26711 definition.
26712 * string/strcpy.c (strcpy): Do not use __unbounded.
26713 * sysdeps/generic/frame.h (struct layout): Likewise.
26714 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26715 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26716 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26717 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26718 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26719 (__backtrace): Likewise.
26720 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26721 use __ptrvalue.
26722 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26723 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26724 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26725 Likewise.
26726 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26727 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26729 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26730 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26731 Do not use __unbounded.
26732 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26733 Rename __unboundedrlimits parameter to rlimits in prototype.
26734 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26735 Do not use __unbounded.
26736 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26737 not use __ptrvalue.
26738 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26739 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26740 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26741 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26742 __ptrvalue or __unbounded.
26743 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26744 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26745 use __unbounded.
26746 (__new_msgctl): Do not use __ptrvalue.
26747 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26748 __unbounded.
26749 (__libc_msgrcv): Do not use __ptrvalue.
26750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26751 startup_info): Do not use __unbounded.
26752 (__libc_start_main): Likewise. Rename ubp_* variables and
26753 parameters. Remove argv definitions conditional on
26754 [__BOUNDED_POINTERS__].
26755 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26756 __ptrvalue.
26757 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26758 use __unbounded.
26759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26760 or __ptrvalue.
26761 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26762 use __unbounded.
26763 (__new_shmctl): Do not use __ptrvalue.
26764 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26765 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26766 Likewise.
26767 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26769 (__libc_sigaction): Likewise.
26770 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26771 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26772 Likewise.
26773 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26774
cc7834d6
OB
267752013-02-13 Ondřej Bílka <neleai@seznam.cz>
26776
ffb1ec7b 26777 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
26778
26779 * string/mempcpy.c: Implement by calling memcpy.
26780
bdf02814
SP
267812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26782
c2af38aa
SP
26783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26784
4e92d59e
SP
26785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26786 evaluation.
26787
909279a5
SP
26788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26789 values in the mantissa.
26790
bdf02814
SP
26791 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26792 minimize writes to Z.
26793 (sub_magnitudes): Simplify code a bit.
26794
cd525923
RM
267952013-02-12 Roland McGrath <roland@hack.frob.com>
26796
26797 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26798 from the message. The linker prefixes all warnings with that already.
26799
7e2f0d2d
AS
268002013-02-12 Andreas Schwab <schwab@suse.de>
26801
a445af0b
AS
26802 [BZ #15078]
26803 * posix/regexec.c (extend_buffers): Add parameter min_len.
26804 (check_matching): Pass minimum needed length.
26805 (clean_state_log_if_needed): Likewise.
26806 (get_subexp): Likewise.
26807 * posix/Makefile (tests): Add bug-regex34.
26808 (bug-regex34-ENV): Define.
26809 * posix/bug-regex34.c: New file.
26810
7e2f0d2d
AS
26811 [BZ #11561]
26812 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26813 elements compare against the byte sequence of it, not its name.
26814 * posix/Makefile (tests): Add bug-regex35.
26815 (bug-regex35-ENV): Define.
26816 * posix/bug-regex35.c: New file.
26817
a175b684
TV
268182013-02-11 Tom de Vries <tom@codesourcery.com>
26819
26820 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26821 comment.
26822 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26823 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26824 (CHECK_EOL): Add undef.
26825
310998fe 268262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
26827
26828 * bits/stdlib-bsearch.h: New file.
26829 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 26830 * stdlib/stdlib.h: Likewise.
41eda41d 26831
8ded91fb
RM
268322013-02-11 Roland McGrath <roland@hack.frob.com>
26833
26834 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26835 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26836 declaration.
26837 * manual/search.texi (Array Search Function): Add missing const in
26838 lfind prototype.
26839 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26840 declaration to use rlim_t.
26841 (Basic Scheduling Functions): Remove erroneous const from
26842 sched_getparam prototype. Remove erroneous * from
26843 sched_get_priority_max and sched_get_priority_min prototypes.
26844 (Resource Usage): Fix summary @comment on vtimes to refer to
26845 sys/vtimes.h rather than vtimes.h.
26846 Add missing *s in vtimes prototype.
26847 (Limits on Resources): Fix ulimit prototype to return long int.
26848 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26849 prototypes to use long int rather than double.
26850 (BSD Random): Fix initstate and setstate to use char *, not void *.
26851 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26852 prototype to make second argument 'struct aiocb64 *const[]'.
26853 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26854 (Status of AIO Operations): Remove erroneous const in aio_return and
26855 aio_return64 prototypes.
26856 (Synchronizing I/O): Fix sync prototype to return void.
26857 * manual/startup.texi (Suboptions): Remove an erroneous const in
26858 getsubopt prototype.
26859 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26860 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26861 use size_t rather than int.
26862 (Scanning All Users): Likewise for getpwent_r.
26863 (Setting Groups): Add missing const to setgroups prototype.
26864 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26865 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26866 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26867 'const void *' rather than 'const char *'.
26868 (Host Address Functions): Likewise for inet_ntop.
26869 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26870 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26871 ssize_t for return value.
26872 (Sending Data): Likewise for send, sendto, sendmsg.
26873 (Socket Option Functions): Add a missing const in setsockopt prototype.
26874 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26875 use wchar_t for the argument.
26876 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26877 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26878 take no arguments.
26879 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26880 double/float/long double for second argument.
26881 Fix return types of significand, significandf, significandl.
26882 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26883 argument in fchmod prototype.
26884 (File Owner): Use uid_t and gid_t in fchown prototype.
26885 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26886 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26887 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26888 use 'const struct dirent **' as argument types to CMP function pointer
26889 argument.
26890 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26891 (File Times): Fix summary magic @comment for struct utimbuf and utime
26892 to refer to utime.h, not time.h.
26893 * manual/string.texi (Argz Functions): Add missing const in
26894 argz_extract and argz_next prototypes.
26895 (Finding Tokens in a String): Likewise for basename.
26896 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26897 (Copying and Concatenation): Fix typo in wmemmove prototype.
26898 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26899 (Signal Stack): Remove erroneous const in sigstack prototype.
26900 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26901 prototype.
26902 (Simple Calendar Time): Likewise for stime.
26903 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26904 prototype.
26905 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26906 say sys/sysctl.h instead.
26907 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26908 and vsyslog prototypes.
26909
fe77fe6d
TV
269102013-02-11 Tom de Vries <tom@codesourcery.com>
26911
26912 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26913 Remove.
26914
3a09b620
RM
269152013-02-11 Roland McGrath <roland@hack.frob.com>
26916
26917 * misc/sys/mman.h: Fix typo in mremap comment.
26918
550a0b89
RM
269192013-02-08 Roland McGrath <roland@hack.frob.com>
26920
26921 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26922 the '\0' terminator.
26923
a2da1673
JM
269242013-02-08 Joseph Myers <joseph@codesourcery.com>
26925
26926 [BZ #13550]
26927 * debug/segfault.c: Don't include <bp-checks.h>.
26928 * sysdeps/generic/bp-checks.h: Remove file.
26929 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26930 (__GETDENTS): Don't use CHECK_N.
26931 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26932 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26933 (__getgroups): Don't use CHECK_N.
26934 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26935 (setgroups): Don't use CHECK_N.
26936 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26937 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26938 (__libc_msgrcv): Don't use CHECK_N.
26939 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26940 (__libc_msgsnd): Don't use CHECK_N.
26941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26942 <bp-checks.h>.
26943 (__libc_pread): Don't use CHECK_N.
26944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26945 include <bp-checks.h>.
26946 (__libc_pread64): Don't use CHECK_N.
26947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26948 include <bp-checks.h>.
26949 (__libc_pwrite): Don't use CHECK_N.
26950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26951 include <bp-checks.h>.
26952 (__libc_pwrite64): Don't use CHECK_N.
26953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26954 <bp-checks.h>.
26955 (__libc_pread): Don't use CHECK_N.
26956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26957 include <bp-checks.h>.
26958 (__libc_pread64): Don't use CHECK_N.
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26960 include <bp-checks.h>.
26961 (__libc_pwrite): Don't use CHECK_N.
26962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26963 include <bp-checks.h>.
26964 (__libc_pwrite64): Don't use CHECK_N.
26965 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26966 (do_pread): Don't use CHECK_N.
26967 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26968 (do_pread64): Don't use CHECK_N.
26969 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26970 (do_pwrite): Don't use CHECK_N.
26971 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26972 (do_pwrite64): Don't use CHECK_N.
26973 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26974 (__libc_readv): Don't use CHECK_N.
26975 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26976 (semop): Don't use CHECK_N.
26977 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26978 <bp-checks.h>.
26979 (semtimedop): Don't use CHECK_N.
26980 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26981 (__libc_pread): Don't use CHECK_N.
26982 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26983 <bp-checks.h>.
26984 (__libc_pread64): Don't use CHECK_N.
26985 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26986 <bp-checks.h>.
26987 (__libc_pwrite): Don't use CHECK_N.
26988 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26989 <bp-checks.h>.
26990 (__libc_pwrite64): Don't use CHECK_N.
26991 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26992 <bp-checks.h>.
26993 (__libc_msgrcv): Don't use CHECK_N.
26994 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26995 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26996 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26997 (__libc_writev): Don't use CHECK_N.
26998
b84660a8
RM
269992013-02-08 Roland McGrath <roland@hack.frob.com>
27000
7f3e75f8
RM
27001 * string/strcpy.c: Removed unused variable.
27002
b84660a8
RM
27003 * Makeconfig (+sysdep-includes): Define with := rather than =.
27004 Use an existing include/ subdir of each sysdeps dir before it.
27005
471514d3
CD
270062013-02-08 Carlos O'Donell <carlos@redhat.com>
27007
27008 * nscd/connection.c (register_traced_file): Comment function.
27009 [HAVE_INOTIFY] (union __inev): Define.
27010 [HAVE_INOTIFY] (inotify_check_files): New function.
27011 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27012 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27013 clear_db_cache.
27014 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27015
b2d3c3be
CD
270162013-02-08 Carlos O'Donell <carlos@redhat.com>
27017
27018 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27019 loaded if not already and that a failure is permanent.
27020
b39949d2
CD
270212013-02-08 Carlos O'Donell <carlos@redhat.com>
27022
ddacd1db 27023 [BZ #15006]
b39949d2
CD
27024 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27025 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27026
b2c9eff4
JM
270272013-02-08 Joseph Myers <joseph@codesourcery.com>
27028
f3aae3f3
JM
27029 [BZ #13550]
27030 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27031 (CHECK_1_NULL_OK): Likewise.
27032 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27033 (__fxstat): Do not use CHECK_1.
27034 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27035 <bp-checks.h>.
27036 (___fxstat64): Do not use CHECK_1.
27037 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27038 <bp-checks.h>.
27039 (__fxstatat): Do not use CHECK_1.
27040 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27041 <bp-checks.h>.
27042 (__fxstatat64): Do not use CHECK_1.
27043 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27044 <bp-checks.h>.
27045 (__fxstat): Do not use CHECK_1.
27046 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27047 <bp-checks.h>.
27048 (__fxstatat): Do not use CHECK_1.
27049 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27050 <bp-checks.h>.
27051 (__getresgid): Do not use CHECK_1.
27052 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27053 <bp-checks.h>.
27054 (__getresuid): Do not use CHECK_1.
27055 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27056 <bp-checks.h>.
27057 (__lxstat): Do not use CHECK_1.
27058 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27059 <bp-checks.h>.
27060 (__old_msgctl): Do not use CHECK_1.
27061 (__new_msgctl): Likewise.
27062 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27063 <bp-checks.h>.
27064 (__new_setrlimit): Do not use CHECK_1.
27065 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27066 <bp-checks.h>.
27067 (__old_shmctl): Do not use CHECK_1.
27068 (__new_shmctl): Likewise.
27069 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27070 <bp-checks.h>.
27071 (__xstat): Do not use CHECK_1.
27072 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27073 (__lxstat): Do not use CHECK_1.
27074 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27075 <bp-checks.h>.
27076 (___lxstat64): Do not use CHECK_1.
27077 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27078 (__old_msgctl): Do not use CHECK_1.
27079 (__new_msgctl): Likewise.
27080 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27081 <bp-checks.h>.
27082 (__gettimeofday): Do not use CHECK_1.
27083 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27084 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27085 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27086 <bp-checks.h>.
27087 (__gettimeofday): Do not use CHECK_1.
27088 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27089 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27090 (__new_shmctl): Do not use CHECK_1.
27091 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27092 <bp-checks.h>.
27093 (do_sigtimedwait): Do not use CHECK_1.
27094 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27095 <bp-checks.h>.
27096 (do_sigwaitinfo): Do not use CHECK_1.
27097 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27098 <bp-checks.h>.
27099 (msgctl): Do not use CHECK_1.
27100 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27101 <bp-checks.h>.
27102 (shmctl): Do not use CHECK_1.
27103 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27104 (ustat): Do not use CHECK_1.
27105 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27106 <bp-checks.h>.
27107 (__fxstat): Do not use CHECK_1.
27108 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27109 <bp-checks.h>.
27110 (__fxstatat): Do not use CHECK_1.
27111 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27112 <bp-checks.h>.
27113 (__lxstat): Do not use CHECK_1.
27114 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27115 <bp-checks.h>.
27116 (__xstat): Do not use CHECK_1.
27117 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27118 (__xstat): Do not use CHECK_1.
27119 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27120 (___xstat64): Do not use CHECK_1.
27121
b2c9eff4
JM
27122 [BZ #13550]
27123 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27124 definitions.
27125 (CHECK_BOUNDS_HIGH): Likewise.
27126 * string/strcpy.c: Do not include <bp-checks.h>.
27127 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27128
f1d70dad
RM
271292013-02-07 Roland McGrath <roland@hack.frob.com>
27130
27131 * nscd/nscd-client.h (__nscd_drop_map_ref):
27132 Add __attribute__ ((unused)).
27133 * nis/nss-nisplus.h (niserr2nss): Likewise.
27134
27135 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27136 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27137
27138 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27139 Remove inline keyword.
27140 * include/rounding-mode.h (round_away): Likewise.
27141 * libio/wfileops.c (adjust_wide_data): Likewise.
27142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27143 (__m128i_strloadu_tolower): Likewise.
27144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27145 (__m128i_strloadu_tolower): Likewise.
27146 * time/mktime.c (ydhms_diff): Likewise.
27147 * locale/elem-hash.h (elem_hash): Likewise.
27148 * locale/setlocale.c (setdata): Likewise.
27149 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27150 (re_string_wchar_at): Likewise.
27151 (bitset_not, bitset_merge, bitset_mask): Likewise.
27152 [!(__GNUC__ > 3)] (inline): Remove macro.
27153 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27154 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27155 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27156 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27157 * string/memcmp.c (memcmp_bytes): Likewise.
27158 * locale/programs/locarchive.c (compute_hashval): Likewise.
27159 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27160 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27161 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27162 * nss/getent.c (print_rpc, print_protocols): Likewise.
27163 (print_passwd, print_group, print_aliases): Likewise.
27164 * nis/nss-nisplus.h (niserr2nss): Likewise.
27165 * nscd/connections.c (restart_p): Likewise.
27166 Change return type to bool.
27167
eab55bfb
RM
271682013-02-05 Roland McGrath <roland@hack.frob.com>
27169
7bd642f5
RM
27170 * Makeconfig (all-Depend-files): Add existing
27171 $(sorted-subdirs:=/Depend) files.
27172 (all-subdirs): Remove nss.
27173 * sysdeps/unix/inet/Subdirs: Add it here instead.
27174 * hesiod/Depend: New file.
27175
573c29b2
RM
27176 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27177 instead of calling alloca.
27178
b2e25af0
RM
27179 * io/lseek.c (__lseek): Rename to __libc_lseek.
27180 Define __lseek as an alias.
27181
eab55bfb
RM
27182 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27183
9a0d1941
CD
271842013-02-04 Carlos O'Donell <carlos@redhat.com>
27185
27186 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27187 else clause and remove check for non-standard endianness.
27188
b83bbec4
DM
271892013-02-04 David S. Miller <davem@davemloft.net>
27190
27191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27192
6277fdab
JM
271932013-02-04 Joseph Myers <joseph@codesourcery.com>
27194
27195 [BZ #13550]
27196 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27197 (__ubp_memchr): Remove prototype.
27198 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27199 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27200 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27201 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27202 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27203 Remove alias.
27204 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27205 (__ubp_memchr): Likewise.
27206 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27207 (__ubp_memchr): Likewise.
27208 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27209 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27210 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27212 CHECK_STRING.
27213 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27214 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27215 (__getcwd): Do not use CHECK_STRING.
27216 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27217 <bp-checks.h>.
27218 (__real_chown): Do not use CHECK_STRING.
27219 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27220 <bp-checks.h>.
27221 (fchownat): Do not use CHECK_STRING.
27222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27223 CHECK_STRING.
27224 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27225 <bp-checks.h>.
27226 (__lchown): Do not use CHECK_STRING.
27227 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27228 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27229 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27230 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27232 include <bp-checks.h>.
27233 (truncate64): Do not use CHECK_STRING.
27234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27235 <bp-checks.h>.
27236 (__real_chown): Do not use CHECK_STRING.
27237 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27238 <bp-checks.h>.
27239 (__lchown): Do not use CHECK_STRING.
27240 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27241 <bp-checks.h>.
27242 (__chown): Do not use CHECK_STRING.
27243 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27244 <bp-checks.h>.
27245 (truncate64): Do not use CHECK_STRING.
27246 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27247 Likewise.
27248 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27249 (__xmknod): Do not use CHECK_STRING.
27250 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27251 <bp-checks.h>.
27252 (__xmknodat): Do not use CHECK_STRING.
27253 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27254 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27255
903ae060
AS
272562013-02-04 Andreas Schwab <schwab@suse.de>
27257
27258 [BZ #14142]
27259 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27260 * include/netdb.h: Likewise for h_errno.
27261 * elf/tst-stackguard1.c: Include <tls.h>.
27262
542f9466
JK
272632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27264
27265 * elf/link.h (struct link_map): Extend the l_addr comment.
27266 * include/link.h (struct link_map): Likewise.
27267
e782a927
JM
272682013-02-01 Joseph Myers <joseph@codesourcery.com>
27269
27270 [BZ #13550]
27271 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27272 (BOUNDED_1): Remove macro.
27273 * debug/backtrace.c: Don't include <bp-checks.h>.
27274 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27275 (__backtrace): Likewise.
27276 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27277 <bp-checks.h>.
27278 (__backtrace): Don't use BOUNDED_1.
27279 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27280 <bp-checks.h>.
27281 (__backtrace): Don't use BOUNDED_1.
27282 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27283 (__backtrace): Don't use BOUNDED_1.
27284 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27285 (shmat): Don't use BOUNDED_N.
27286
8cf28c5e
JM
272872013-01-31 Joseph Myers <joseph@codesourcery.com>
27288
3a7ac8a0
JM
27289 [BZ #13550]
27290 * sysdeps/generic/bp-start.h: Remove file.
27291 * csu/libc-start.c: Don't include <bp-start.h>.
27292 (LIBC_START_MAIN): Set up __environ directly instead of using
27293 INIT_ARGV_and_ENVIRON.
27294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27295 <bp-start.h>.
27296
f3499f95
JM
27297 [BZ #13550]
27298 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27299 definitions.
27300 (CHECK_FCNTL): Likewise.
27301 (CHECK_N_PAGES): Likewise.
27302
32a45bea
JM
27303 [BZ #13550]
27304 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27305 definitions.
27306 (CHECK_SIGSET_NULL_OK): Likewise.
27307 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27308 <bp-checks.h>.
27309 (sigpending): Don't use CHECK_SIGSET.
27310 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27311 <bp-checks.h>.
27312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27313 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27314 <bp-checks.h>.
27315 (do_sigsuspend): Don't use CHECK_SIGSET.
27316 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27317 use CHECK_SIGSET.
27318 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27319 (do_sigwait): Don't use CHECK_SIGSET.
27320 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27321 use CHECK_SIGSET.
27322 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27323 include <bp-checks.h>.
27324 (sigpending): Don't use CHECK_SIGSET.
27325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27326 include <bp-checks.h>.
27327 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27328 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27329 <bp-checks.h>.
27330 (sigpending): Don't use CHECK_SIGSET.
27331 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27332 <bp-checks.h>.
27333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27334
2e8a5c8c
JM
27335 [BZ #13550]
27336 * sysdeps/generic/bp-semctl.h: Remove file.
27337 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27338 <bp-checks.h> and <bp-semctl.h>.
27339 (__old_semctl): Don't use CHECK_SEMCTL.
27340 (__new_semctl): Likewise.
27341 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27342 and <bp-semctl.h>.
27343 (__old_semctl): Don't use CHECK_SEMCTL.
27344 (__new_semctl): Likewise.
27345 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27346 <bp-checks.h> and <bp-semctl.h>.
27347 (__old_semctl): Don't use CHECK_SEMCTL.
27348 (__new_semctl): Likewise.
27349 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27350 <bp-checks.h> and <bp-semctl.h>.
27351 (semctl): Don't use CHECK_SEMCTL.
27352
c2d54929
JM
27353 [BZ #13550]
27354 * Makerules (elide-bp-thunks): Remove variable.
27355 (elide-routines.oS): Don't use $(elide-bp-thunks).
27356 (elide-routines.os): Likewise.
27357 (elide-routines.o): Likewise.
27358 (elide-routines.op): Likewise.
27359 (elide-routines.og): Likewise.
27360 (objects): Don't use $(bp-thunks).
27361 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27362 include.
27363 (common-generated): Do not add s-proto-bp.d.
27364 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27365 (int): Likewise.
27366 (typ): Likewise.
27367 Do not generate makefile rules for bounded-pointer thunks.
27368 * sysdeps/generic/bp-thunks.h: Remove file.
27369 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27370 * sysdeps/unix/s-proto-bp.S: Likewise.
27371
8cf28c5e
JM
27372 [BZ #15062]
27373 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27374 parts of result separately when argument is not close to line from
27375 -i to i and one part of argument is small.
27376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27378 * math/libm-test.inc (cacos_test): Add more tests.
27379 (casin_test): Likewise.
27380 (casinh_test): Likewise.
27381 * sysdeps/i386/fpu/libm-test-ulps: Update.
27382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27383
c4e33b8d
DM
273842013-01-31 David S. Miller <davem@davemloft.net>
27385
27386 * po/de.po: Update from translation team.
27387
3b60b421
MK
273882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27389
27390 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27391
bb931195
TS
273922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27393
b5a5da23
TS
27394 * configure.in (_AC_PROG_CC_C89): New definition.
27395 * configure: Regenerate.
27396
bb931195
TS
27397 * configure.in (AC_PROG_CPP): New definition.
27398 * configure: Regenerate.
27399
8c53a12c
JM
274002013-01-23 Joseph Myers <joseph@codesourcery.com>
27401
27402 * debug/tst-backtrace.h: New file.
27403 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27404 (ret): Remove variable.
27405 (x): Likewise.
27406 (FAIL): Remove macro.
27407 (NO_INLINE): Likewise.
27408 (fn1): Use match function instead of strstr.
27409 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27410 (ret): Remove variable.
27411 (x): Likewise.
27412 (FAIL): Remove macro.
27413 (NO_INLINE): Likewise.
27414 (fn): Use match function instead of strstr.
27415 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27416 (ret): Remove variable.
27417 (x): Likewise.
27418 (FAIL): Remove macro.
27419 (NO_INLINE): Likewise.
27420 (handle_signal): Use match function instead of strstr.
27421 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27422 (ret): Remove variable.
27423 (x): Likewise.
27424 (FAIL): Remove macro.
27425 (NO_INLINE): Likewise.
27426 (handle_signal): Use match function instead of strstr.
27427
4858fa2a
RM
274282013-01-23 Roland McGrath <roland@hack.frob.com>
27429
27430 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27431
bae8e7f5
DM
274322013-01-23 David S. Miller <davem@davemloft.net>
27433
27434 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27435 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27436 argument of CAS if possible.
27437 * sysdeps/sparc/sparc64/bits/atomic.h
27438 (__arch_compare_and_exchange_val_32_acq): Likewise.
27439 (__arch_compare_and_exchange_val_64_acq): Likewise.
27440
9cbbc4ae
PT
274412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27442
27443 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27444 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27445 Include <limits.h>.
67b3f58c 27446 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27447
5655a0b5
AC
274482013-01-23 Adam Conrad <adconrad@0c3.net>
27449
27450 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27451 (LDFLAGS-tst-array5): Likewise.
27452
052aff95
JM
274532013-01-23 Joseph Myers <joseph@codesourcery.com>
27454
27455 [BZ #15036]
27456 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27457 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27458 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27460
7c1e01aa
DM
274612013-01-21 David S. Miller <davem@davemloft.net>
27462
27463 * sysdeps/sparc/backtrace.c: New file.
27464 * sysdeps/sparc/sparc32/backtrace.h: New file.
27465 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27466 * sysdeps/sparc/sparc64/backtrace.h: New file.
27467 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27468 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27469 -funwind-tables.
27470
ab087e0a
AS
274712013-01-21 Andreas Schwab <schwab@suse.de>
27472
27473 [BZ #15020]
27474 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27475 closed its stdout.
27476
ed689c2f
AS
274772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27478
27479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27480 "mpa2.h".
27481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27482
31d470ac
JM
274832013-01-18 Joseph Myers <joseph@codesourcery.com>
27484 Mark Mitchell <mark@codesourcery.com>
27485 Tom de Vries <tom@codesourcery.com>
27486 Paul Pluzhnikov <ppluzhnikov@google.com>
27487
27488 * debug/tst-backtrace2.c: New file.
27489 * debug/tst-backtrace3.c: Likewise.
27490 * debug/tst-backtrace4.c: Likewise.
27491 * debug/tst-backtrace5.c: Likewise.
27492 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27493 (CFLAGS-tst-backtrace3.c): Likewise.
27494 (CFLAGS-tst-backtrace4.c): Likewise.
27495 (CFLAGS-tst-backtrace5.c): Likewise.
27496 (LDFLAGS-tst-backtrace2): Likewise.
27497 (LDFLAGS-tst-backtrace3): Likewise.
27498 (LDFLAGS-tst-backtrace4): Likewise.
27499 (LDFLAGS-tst-backtrace5): Likewise.
27500 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27501 tst-backtrace4 and tst-backtrace5.
27502
90567f30 275032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27504 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27505
27506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27507 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27509 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27511 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27512 "+r" and remove output regs list as redundant. Add explicit inline
27513 asm to specify register of return val to work around compiler codegen
27514 bug. Remove (int) cast on return value. Add return type parameter to
27515 use in macro so that this macro does not truncate return value for
27516 64-bit values.
27517 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27518 pass to INTERNAL_VSYSCALL_NCS.
27519 (INLINE_VSYSCALL): Add 'long int' as return type to
27520 INTERNAL_VSYSCALL_NCS macro invocation.
27521 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27522 INTERNAL_VSYSCALL_NCS macro invocation.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27524
d3b9ea61
SP
275252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27526
0b57daeb
SP
27527 [BZ #14496]
27528 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27529 Fix application of SIMD FP exception mask.
27530
caa99d06
SP
27531 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27532 mp_no from a power of two.
27533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27534 __mpexp_twomm1. Use __pow_mp.
27535
d3b9ea61
SP
27536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27537 multiplication.
27538
1dbaee3c
DM
275392013-01-17 David S. Miller <davem@davemloft.net>
27540
27541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27542
728d7b43
JM
275432013-01-17 Joseph Myers <joseph@codesourcery.com>
27544
27545 [BZ #15023]
27546 * include/complex.h: Condition contents on [!_COMPLEX_H].
27547 (__kernel_casinhf): New prototype.
27548 (__kernel_casinh): Likewise.
27549 (__kernel_casinhl): Likewise.
27550 * math/Makefile (libm_calls): Add k_casinh.
27551 * math/k_casinh.c: New file.
27552 * math/k_casinhf.c: Likewise.
27553 * math/k_casinhl.c: Likewise.
27554 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27555 finite nonzero arguments.
27556 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27557 finite nonzero arguments.
27558 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27559 finite nonzero arguments.
27560 * math/s_casinh.c: Do not include <float.h>.
27561 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27562 * math/s_casinhf.c: Do not include <float.h>.
27563 (__casinhf): Move code for finite nonzero arguments to
27564 k_casinhf.c.
27565 * math/s_casinhl.c: Do not include <float.h>.
27566 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27567 redefine.
27568 (__casinhl): Move code for finite nonzero arguments to
27569 k_casinhl.c.
27570 * math/libm-test.inc (cacos_test): Add more tests.
27571 * sysdeps/i386/fpu/libm-test-ulps: Update.
27572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27573
2a26ef3a
PT
275742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27575
27576 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27577 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27578 [!HAVE_MREMAP]: Remove [defined linux] case.
27579 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27580
a897655d
SP
275812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27582
27583 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27584
881ebe89 275852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27586
27587 * elf/elf.h (R_386_SIZE32): New relocation.
27588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27589 R_386_SIZE32.
27590 (elf_machine_rela): Likewise.
27591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27592 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27593
59981e9b
JM
275942013-01-17 Joseph Myers <joseph@codesourcery.com>
27595
27596 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27597 (FP_FAST_FMA): Do not define.
27598 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27599 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27600 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27601 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27602 !_SOFT_FLOAT]: Likewise.
27603 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27604 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27605 value.
27606 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27607 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27608 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27609 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27610 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27611 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27612 file.
27613
cfa8054f
AS
276142013-01-16 Andreas Schwab <schwab@suse.de>
27615
27616 [BZ #14327]
27617 * include/stdlib.h (__mktemp): Add declaration.
27618 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27619 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27620
dd930cc5
SP
276212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27622
881ebe89
SP
27623 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27624 definitions.
27625 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27626 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27627 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27628 definitions here.
27629 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27630 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27631 definitions.
27632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27633 and ONE.
27634 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27635 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27636 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27637 definitions.
27638 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27639 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27640 definitions.
27641 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27642
dd930cc5
SP
27643 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27644
c19a9f89
DM
276452013-01-15 David S. Miller <davem@davemloft.net>
27646
1aa61767
DM
27647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27648 trunc{,f} to libm-sysdep_routes.
27649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27651 file.
27652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27654 file.
27655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27656 file.
27657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27659 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27660 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27661 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27662 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27663 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27664 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27665
c42d5e98
DM
27666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27667 nearbyint{,f} to libm-sysdep_routes.
27668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27670 New file.
27671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27672 file.
27673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27674 New file.
27675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27676 file.
27677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27680 file.
27681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27683 file.
27684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27685 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27686 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27687
c19a9f89
DM
27688 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27689 libc_feholdexcept and libc_fesetenv.
27690
357679d2
MF
276912013-01-15 Mike Frysinger <vapier@gentoo.org>
27692
27693 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27694
65a82e3d
DM
276952013-01-14 David S. Miller <davem@davemloft.net>
27696
8b954ab9
DM
27697 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27698 (SPARC_ASM_VIS2_IFUNC): Likewise.
27699 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27701 use of 'siam' instruction.
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27703 Likewise.
27704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27705 Likewise.
27706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27707 Likewise.
27708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27713 file.
27714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27715 file.
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27717 file.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27719 file.
27720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27725 new VIS2 routines.
27726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27729 Likewise.
27730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27735 routines to libm-sysdep_routines.
27736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27737
65a82e3d
DM
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27739 fdim/fdimf to libm-sysdep_routines.
27740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27741 file.
27742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27744 file.
27745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27748 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27749 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27750 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27751 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27752
e34ab705
SP
277532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27754
2a91b573
SP
27755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27756 to optimize copies.
27757
1066a534
SP
27758 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27761
e34ab705
SP
27762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27763 local variable MPTWO.
27764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27765 Likewise.
27766
aba5e596
MF
277672013-01-13 Mike Frysinger <vapier@gentoo.org>
27768
27769 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27770 GLOB_NOESCAPE.
27771
e557e9e5
MF
277722013-01-13 Mike Frysinger <vapier@gentoo.org>
27773
27774 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27775
0428cec9
MF
277762013-01-13 Mike Frysinger <vapier@gentoo.org>
27777
27778 * manual/pattern.texi (glob_t): Document gl_flags.
27779 (glob64_t): Likewise.
27780
8794a964
DM
277812013-01-11 David S. Miller <davem@davemloft.net>
27782
66438c3f
RM
27783 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27784 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27785 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
27786 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27787 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27788 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27789 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27790 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27791 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27792 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27793 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27794 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27795 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27796
4ae4244d
DM
27797 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27798 sparc V9 rather than using V8 code.
27799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27801
8794a964
DM
27802 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27803 Move to...
27804 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27805 Here.
27806
6270516e
RM
278072013-01-11 Roland McGrath <roland@hack.frob.com>
27808
27809 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27810 not in the main loop.
27811 * configure: Regenerated.
27812
6a57d931
JM
278132013-01-11 Joseph Myers <joseph@codesourcery.com>
27814
27815 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27816 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27817 to just #else.
27818 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27819 [!__GLIBC_HAVE_LONG_LONG] case.
27820 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27821 condition to just #else.
27822 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27823 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27824 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27825 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27826 unconditional.
27827 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27828 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27829 #elif condition to just #else.
27830 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27831 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27832 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27833 #elif condition to just #else.
27834
0e8529e9
SE
278352013-01-11 Steve Ellcey <sellcey@mips.com>
27836
27837 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27838 (EF_MIPS_ARCH_64): Fix value.
27839 (EF_MIPS_ARCH_32R2): New.
27840 (EF_MIPS_ARCH_64R2): New.
27841
740b3dbe
L
278422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27843
27844 * Makeconfig (+link-pie-before-libc): New.
27845 (+link-pie-after-libc): Likewise.
27846 (+link-pie-tests): Likewise.
27847 (+link-pie): Rewritten.
27848 (link-before-libc): Remove $(config-LDFLAGS).
27849 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27850 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27851 (config-LDFLAGS): Renamed to ...
27852 (rtld-LDFLAGS): This.
27853 (rtld-tests-LDFLAGS): New macro.
27854 (link-libc-rpath-link): Likewise.
27855 (link-libc-tests-rpath-link): Likewise.
27856 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27857 (link-libc): Prepand $(link-libc-rpath-link).
27858 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27859 (test-program-prefix): New macro.
27860 (test-via-rtld-prefix): Likewise.
27861 (test-program-cmd): Likewise.
27862 (host-test-program-cmd): Likewise.
27863 * Makefile ($(common-objpfx)testrun.sh): Replace
27864 $(run-program-prefix) with $(test-program-prefix).
27865 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27866 $(rtld-LDFLAGS).
27867 ($(common-objpfx)shlib.lds): Likewise.
27868 (build-module-helper): Likewise.
27869 ($(common-objpfx)format.lds): Likewise.
27870 * Rules (binaries-pie-tests): New.
27871 (binaries-pie-notests): Likewise.
27872 (binaries-pie): Rewritten.
27873 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27874 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27875 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27876 (make-test-out): Replace $(host-built-program-cmd) with
27877 $(host-test-program-cmd).
27878 * config.make.in (build-hardcoded-path-in-tests): New variable.
27879 * configure.in (--enable-hardcoded-path-in-tests): New configure
27880 option.
27881 (hardcoded_path_in_tests): New AC_SUBST.
27882 * configure: Regenerated.
27883 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27884 $(built-program-cmd) with $(test-program-cmd).
27885 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27886 (test_program_cmd): This.
27887 * elf/Makefile ($(objpfx)order.out): Run test with
27888 $(test-program-prefix).
27889 ($(objpfx)order2.out): Likewise.
27890 ($(objpfx)tst-initorder.out): Likewise.
27891 ($(objpfx)tst-initorder2.out): Likewise.
27892 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27893 $(test-program-cmd).
27894 ($(objpfx)tst-array1-static.out): Likewise.
27895 ($(objpfx)tst-array2.out): Likewise.
27896 ($(objpfx)tst-array3.out): Likewise.
27897 ($(objpfx)tst-array4.out): Likewise.
27898 ($(objpfx)tst-array5.out): Likewise.
27899 ($(objpfx)tst-array5-static.out): Likewise.
27900 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27901 $(test-program-cmd).
27902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27903 $(run-program-prefix) with $(test-program-prefix).
27904 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27905 (test_program_prefix): This.
27906 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27907 $(run-program-prefix) with $(test-program-prefix).
27908 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27909 (test_program_prefix): This.
27910 * iconvdata/tst-tables.sh: Likewise.
27911 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27912 $(run-program-prefix) with $(test-program-prefix).
27913 ($(objpfx)tst-translit.out): Likewise.
27914 ($(objpfx)tst-gettext2.out): Likewise.
27915 ($(objpfx)tst-gettext4.out): Likewise.
27916 ($(objpfx)tst-gettext6.out): Likewise.
27917 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27918 (test_program_prefix): This.
27919 * intl/tst-gettext2.sh: Likewise.
27920 * intl/tst-gettext4.sh Likewise.
27921 * intl/tst-gettext6.sh: Likewise.
27922 * intl/tst-translit.sh: Likewise.
27923 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27924 with $(test-program-cmd).
27925 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27926 $(run-program-prefix) with $(test-program-prefix).
27927 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27928 (test_program_prefix): This.
27929 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27930 $(run-program-prefix) with $(test-program-prefix).
27931 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27932 (test_program_prefix): This.
27933 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27934 * posix/Makefile ($(objpfx)globtest.out): Replace
27935 $(run-via-rtld-prefix) and $(test-wrapper) with
27936 $(test-program-prefix) and $(test-via-rtld-prefix).
27937 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27938 $(test-program-prefix).
27939 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27940 $(host-test-program-cmd).
27941 (tst-spawn-ARGS): Likewise.
27942 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27943 $(test-program-prefix).
27944 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27945 (test_via_rtld_prefix): This.
27946 (test_wrapper): Renamed to ...
27947 (test_program_prefix): This.
27948 (run_program_prefix): Replaced by test_program_prefix.
27949 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27950 (test_program_prefix): This.
27951 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27952 with $(host-test-program-cmd).
27953 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27954 $(run-program-prefix) with $(test-program-prefix).
27955 ($(objpfx)tst-printf.out): Likewise.
27956 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27957 $(test-program-cmd).
27958 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27959 (test_program_prefix): This.
27960 * stdio-common/tst-unbputc.sh: Likewise.
27961 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27962 $(run-program-prefix) with $(test-program-prefix).
27963 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27964 (test_program_prefix): This.
27965 * string/Makefile ($(objpfx)tst-svc.out): Replace
27966 $(built-program-cmd) with $(test-program-cmd).
27967
c6fe55cf
AJ
279682013-01-11 Andreas Jaeger <aj@suse.de>
27969
27970 [BZ #15003]
27971 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27972 value. Sync with Linux 3.7.
27973
9e6919c8
DM
279742013-01-10 David S. Miller <davem@davemloft.net>
27975
27976 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27977 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27978 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27979
1c9f1a02
RM
279802013-01-10 Roland McGrath <roland@hack.frob.com>
27981
27982 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27983 never set.
27984 * configure: Regenerated.
27985
b9de2dde
DM
279862013-01-10 David S. Miller <davem@davemloft.net>
27987
27988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27989 sparc V9 rather than using V8 code.
27990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27992
e7f68ef4
RM
279932013-01-10 Roland McGrath <roland@hack.frob.com>
27994
27995 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27996 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27997 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27998 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27999 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28000 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28001 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28002 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28003 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28004 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28005 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28006 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28007 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28008 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28009 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28010 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28011 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28012 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28013 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28014 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28015 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28016 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28017 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28018 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28019 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28020 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28021 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28022
5a47cc9c
DM
280232013-01-10 David S. Miller <davem@davemloft.net>
28024
28025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28026
4cf8f209
L
280272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28028
28029 * posix/Makefile (tests-static): New variable.
28030 (tests): Add $(tests-static).
28031 (tst-exec-static-ARGS): New variable.
28032 (tst-spawn-static-ARGS): Likewise.
28033 * posix/tst-exec-static.c: New file.
28034 * posix/tst-spawn-static.c: Likewise.
28035 * posix/tst-exec.c: Support run directly.
28036 * posix/tst-spawn.c: Likewise.
28037
fed0faa1
JM
280382013-01-10 Joseph Myers <joseph@codesourcery.com>
28039
828beb13
JM
28040 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28041 long.
28042 * math/bits/mathcalls.h (llrint): Likewise.
28043 (llround): Likewise.
28044 * stdlib/stdlib.h (struct drand48_data): Likewise.
28045 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28046 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28047 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28048 Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28050 Likewise.
28051 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28052 (elf_greg_t): Likewise.
28053 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28054 (__jmp_buf): Likewise.
28055 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28056 definitions.
28057 (llrint): Likewise, for all definitions.
28058 (llrintl): Likewise.
28059
fed0faa1
JM
28060 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28061 Remove [__GNUC__] condition.
28062 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28063 condition to just [__USE_ISOC99].
28064 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28065
1a20cb20
L
280662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28067
28068 [BZ #14200]
28069 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28070 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28071 defined.
28072 (_POSIX_V6_ILP32_OFF32): Likewise.
28073 (_XBS5_ILP32_OFF32): Likewise.
28074 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28075 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28076
751b85f7
SP
280772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28078
7490eb81
SP
28079 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28080
751b85f7
SP
28081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28082 doubles __mpexp_twomm1. Adjust usage.
28083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28084 Remove.
28085
988197f0
AS
280862013-01-10 Andreas Schwab <schwab@suse.de>
28087
28088 [BZ #14964]
28089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28090 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28091
e83d7298
DM
280922013-01-09 David S. Miller <davem@davemloft.net>
28093
034ed64b 28094 [BZ #15003]
57f41c40
AS
28095 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28096 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28097 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28098 (TCP_FASTOPEN): Define.
e83d7298
DM
28099 (tcp_repair_opt): New structure.
28100 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28101 enum values.
57f41c40
AS
28102 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28103 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28104 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28105 (tcp_cookie_transactions): New structure.
28106
d5e0b9bd
AB
281072013-01-09 Anton Blanchard <anton@samba.org>
28108
28109 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28110 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28111 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28113
0c07e3ea
JM
281142013-01-09 Joseph Myers <joseph@codesourcery.com>
28115
28116 * include/features.h (__USE_ANSI): Remove.
28117
232f7002
RM
281182013-01-09 Roland McGrath <roland@hack.frob.com>
28119
ad98e30c
RM
28120 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28121
232f7002
RM
28122 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28123
950c99ca
SP
281242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28125
b5792741
SP
28126 * sysdeps/s390/fpu/libm-test-ulps: Update.
28127
47cf2278
SP
28128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28129
950c99ca
SP
28130 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28131 (__acr): Likewise.
28132 (__cpy): Likewise.
28133 (norm): Likewise.
28134 (denorm): Likewise.
28135 (__mp_dbl): Likewise.
28136 (__dbl_mp): Likewise.
28137 (add_magnitudes): Likewise.
28138 (sub_magnitudes): Likewise.
28139 (__add): Likewise.
28140 (__sub): Likewise.
28141 (__mul): Likewise.
28142 (__inv): Likewise.
28143 (__dvd): Likewise.
28144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28145 (__acr): Likewise.
28146 (__cpy): Likewise.
28147 (norm): Likewise.
28148 (denorm): Likewise.
28149 (__mp_dbl): Likewise.
28150 (__dbl_mp): Likewise.
28151 (add_magnitudes): Likewise.
28152 (sub_magnitudes): Likewise.
28153 (__add): Likewise.
28154 (__sub): Likewise.
28155 (__mul): Likewise.
28156 (__inv): Likewise.
28157 (__dvd): Likewise.
28158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28159 (__acr): Likewise.
28160 (__cpy): Likewise.
28161 (norm): Likewise.
28162 (denorm): Likewise.
28163 (__mp_dbl): Likewise.
28164 (__dbl_mp): Likewise.
28165 (add_magnitudes): Likewise.
28166 (sub_magnitudes): Likewise.
28167 (__add): Likewise.
28168 (__sub): Likewise.
28169 (__mul): Likewise.
28170 (__inv): Likewise.
28171 (__dvd): Likewise.
28172
eede9df9
JM
281732013-01-08 Joseph Myers <joseph@codesourcery.com>
28174
28175 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28176 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28177 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28178 2 && __USE_EXTERN_INLINES]: Likewise.
28179
c40ea3d9
AJ
281802013-01-08 Andreas Jaeger <aj@suse.de>
28181
28182 [BZ# 14985]
28183 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28184 Remove.
28185 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28186 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28187
2ccdea26
AB
281882013-01-07 Anton Blanchard <anton@samba.org>
28189
28190 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28191 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28192 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28193 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28194 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28195 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28196 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28197 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28200 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28201 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28204 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28206 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28211 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28213 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28214 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28215 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28216 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28217 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28219 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28220 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28225 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28233
a9708fed
JM
282342013-01-07 Joseph Myers <joseph@codesourcery.com>
28235
375607b9
JM
28236 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28237 (__MALLOC_PMT): Likewise.
28238 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28239 [__GNUC__], only on [_LIBC].
28240 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28241 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28242 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28243 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28244 forward declaration.
28245 (realloc_hook_ini): Likewise.
28246 (memalign_hook_ini): Likewise.
28247 (__libc_memalign): Do not use __MALLOC_PMT in variable
28248 declaration.
28249 (__libc_valloc): Likewise.
28250 (__libc_pvalloc): Likewise.
28251 (__libc_calloc): Likewise.
28252 (__posix_memalign): Likewise.
28253
a9708fed
JM
28254 [BZ #14996]
28255 * math/s_casinh.c: Include <float.h>.
28256 (__casinh): Do not do computation with squaring and square root
28257 for large arguments.
28258 * math/s_casinhf.c: Include <float.h>.
28259 (__casinhf): Do not do computation with squaring and square root
28260 for large arguments.
28261 * math/s_casinhl.c: Include <float.h>.
28262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28263 (__casinhl): Do not do computation with squaring and square root
28264 for large arguments.
28265 * math/libm-test.inc (casin_test): Add more tests.
28266 (casinh_test): Likewise.
28267 * sysdeps/i386/fpu/libm-test-ulps: Update.
28268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28269
afec409a
L
282702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28273 (__x86_64_raw_data_cache_size): Likewise.
28274 (__x86_64_data_cache_size_half): Likewise.
28275 (__x86_64_raw_data_cache_size_half): Likewise.
28276 (__x86_64_shared_cache_size): Likewise.
28277 (__x86_64_raw_shared_cache_size): Likewise.
28278 (__x86_64_shared_cache_size_half): Likewise.
28279 (__x86_64_raw_shared_cache_size_half): Likewise.
28280 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28281 to ...
28282 (__x86_data_cache_size): This.
28283 (__x86_64_raw_data_cache_size): Renamed to ...
28284 (__x86_raw_data_cache_size): This.
28285 (__x86_64_data_cache_size_half): Renamed to ...
28286 (__x86_data_cache_size_half): This.
28287 (__x86_64_raw_data_cache_size_half): Renamed to ...
28288 (__x86_raw_data_cache_size_half): This.
28289 (__x86_64_shared_cache_size): Renamed to ...
28290 (__x86_shared_cache_size): This.
28291 (__x86_64_raw_shared_cache_size): Renamed to ...
28292 (__x86_raw_shared_cache_size): This.
28293 (__x86_64_shared_cache_size_half): Renamed to ...
28294 (__x86_shared_cache_size_half): This.
28295 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28296 (__x86_raw_shared_cache_size_half): This.
28297 * sysdeps/x86_64/memcpy.S: Updated.
28298 * sysdeps/x86_64/memset.S: Likewise.
28299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28302
0b3986d0
DM
283032013-01-04 David S. Miller <davem@davemloft.net>
28304
28305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28306
e47686e9
AS
283072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28308
d643bac1
AS
28309 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28310 1 to avoid redefinition warning.
28311 (__USE_GNU): Don't define.
28312 (init_signaling_nan): Protoize.
28313
e47686e9
AS
28314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28315
b18decba
SP
283162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28317
fffb407f
SP
28318 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28320 (__cpymn): Likewise.
28321 (norm): Remove commented code.
28322 (denorm): Likewise.
28323 (__mp_dbl): Likewise.
28324 (__inv): Likewise.
28325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28326 (__cpymn): Likewise.
28327 (norm): Remove commented code.
28328 (denorm): Likewise.
28329 (__mp_dbl): Likewise.
28330 (__inv): Likewise.
28331
b18decba
SP
28332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28333 mp_no value for 1.0 and 2.0.
28334 (norm): Use RADIXI instead of radixi.d.
28335 (denorm): Likewise.
28336 (__mul): Use 0.0 instead of zero.d.
28337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28338 mp_no value for 1.0 and 2.0.
28339 (norm): Use RADIXI instead of radixi.d.
28340 (denorm): Likewise.
28341 (__mul): Use 0.0 instead of zero.d.
28342
cdc1c96f
JM
283432013-01-04 Joseph Myers <joseph@codesourcery.com>
28344
28345 [BZ #14994]
28346 * math/s_casinh.c (__casinh): Reduce finite argument to first
28347 quadrant then set signs of results at the end.
28348 * math/s_casinhf.c (__casinhf): Likewise.
28349 * math/s_casinhl.c (__casinhl): Likewise.
28350 * math/libm-test.inc (casin_test): Add more tests.
28351 (casinh_test): Likewise.
28352 * sysdeps/i386/fpu/libm-test-ulps: Update.
28353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28354
302913e1
SP
283552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28356
6420d207
SP
28357 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28358
a9e48ab4
SP
28359 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28360
b7837264
SP
28361 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28362 declarations.
28363 (denorm): Likewise.
28364 (__mp_dbl): Likewise.
28365 (__inv): Likewise.
28366
f8af25d2
SP
28367 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28368 and adjust the header comment.
28369
302913e1
SP
28370 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28371 variable name from declaration.
28372
5d7dd1ca
L
283732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28374
28375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28376 Initialize COMMON_CPUID_INDEX_7 element.
28377 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28378 (CPUID_RTM): Likewise.
28379 (HAS_RTM): Likewise.
28380 (COMMON_CPUID_INDEX_7): New enum.
28381
2f5f40f4
AS
283822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28383
28384 [BZ #14981]
28385 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28386 size is zero, record memory as freed.
28387
4056f4a0
AJ
283882013-01-03 Andreas Jaeger <aj@suse.de>
28389
28390 * po/ia.po: Add new Interlingua translation.
28391
ab15736f 283922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28393
28394 * locale/programs/localedef.c: Fix description of '--posix' flag.
28395
568035b7
JM
283962013-01-02 Joseph Myers <joseph@codesourcery.com>
28397
e6898b8d
JM
28398 * NEWS: Update dates in second copyright notice.
28399 * README: Update copyright dates in example.
28400 * manual/libc.texinfo: Update copyright dates.
28401 * scripts/test-installation.pl: Update copyright date in --version
28402 output.
28403
0e2f9562
JM
28404 * hurd/ctty-input.c: Fix copyright notice formatting.
28405 * hurd/ctty-output.c: Likewise.
28406 * hurd/dtable.c: Likewise.
28407 * hurd/hurd-raise.c: Likewise.
28408 * hurd/hurdprio.c: Likewise.
28409 * hurd/msgportdemux.c: Likewise.
28410 * misc/sys/file.h: Likewise.
28411 * misc/sys/ioctl.h: Likewise.
28412 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28413 * sysdeps/mach/hurd/chdir.c: Likewise.
28414 * sysdeps/mach/hurd/fchdir.c: Likewise.
28415 * sysdeps/mach/hurd/rename.c: Likewise.
28416 * sysdeps/mach/hurd/rmdir.c: Likewise.
28417 * sysdeps/mach/hurd/seekdir.c: Likewise.
28418 * sysdeps/mach/hurd/setsid.c: Likewise.
28419 * sysdeps/posix/wait3.c: Likewise.
28420
568035b7
JM
28421 * All files with FSF copyright notices: Update copyright dates
28422 using scripts/update-copyrights.
28423 * intl/plural.c: Regenerated.
28424 * locale/programs/charmap-kw.h: Likewise.
28425 * locale/programs/locfile-kw.h: Likewise.
28426
da08f647
SP
284272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28428
0f5477af
SP
28429 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28430 four values.
28431
44e0d4c2
SP
28432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28433 calculation loop and add branch prediction.
28434
4d55b4e5
SP
28435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28436 check access beyond bounds of m1np.
28437
da08f647
SP
28438 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28439 MPTWO.
28440 (__inv): Remove local variable MPTWO to use the global
28441 constant.
28442 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28444 variable MPTWO.
28445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28446 MP3HALFS static const.
28447
8e051029
DM
284482013-01-01 David S. Miller <davem@davemloft.net>
28449
28450 * po/ca.po: Update from translation team.
28451
f4cf5f2d
JM
284522013-01-01 Joseph Myers <joseph@codesourcery.com>
28453
28454 * scripts/update-copyrights: New file.
28455 * Makeconfig: Reformat copyright notice.
28456 * ctype/ctype.h: Likewise.
28457 * debug/swprintf_chk.c: Likewise.
28458 * elf/dl-cache.c: Likewise.
28459 * elf/dl-debug.c: Likewise.
28460 * elf/dl-object.c: Likewise.
28461 * grp/initgroups.c: Likewise.
28462 * hurd/Makefile: Likewise.
28463 * hurd/hurd/signal.h: Likewise.
28464 * hurd/hurdfault.c: Likewise.
28465 * hurd/hurdioctl.c: Likewise.
28466 * hurd/hurdlookup.c: Likewise.
28467 * hurd/intr-msg.c: Likewise.
28468 * iconv/gconv_open.c: Likewise.
28469 * libio/swprintf.c: Likewise.
28470 * locale/lc-ctype.c: Likewise.
28471 * locale/nl_langinfo.c: Likewise.
28472 * mach/Machrules: Likewise.
28473 * mach/Makefile: Likewise.
28474 * malloc/obstack.h: Likewise.
28475 * manual/Makefile: Likewise.
28476 * manual/tsort.awk: Likewise.
28477 * misc/bits/stab.def: Likewise.
28478 * nis/nis_print_group_entry.c: Likewise.
28479 * nis/nis_table.c: Likewise.
28480 * nis/nss_compat/compat-pwd.c: Likewise.
28481 * nis/nss_compat/compat-spwd.c: Likewise.
28482 * po/Makefile: Likewise.
28483 * posix/fnmatch.c: Likewise.
28484 * posix/regex.h: Likewise.
28485 * resolv/Makefile: Likewise.
28486 * resolv/nss_dns/dns-network.c: Likewise.
28487 * resolv/res_hconf.c: Likewise.
28488 * scripts/gen-sorted.awk: Likewise.
28489 * soft-fp/soft-fp.h: Likewise.
28490 * stdio-common/printf.h: Likewise.
28491 * stdlib/monetary.h: Likewise.
28492 * stdlib/random.c: Likewise.
28493 * stdlib/random_r.c: Likewise.
28494 * sysdeps/generic/Makefile: Likewise.
28495 * sysdeps/gnu/Makefile: Likewise.
28496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28519 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28524 * sysdeps/mach/hurd/errnos.awk: Likewise.
28525 * sysdeps/mach/hurd/fork.c: Likewise.
28526 * sysdeps/mach/hurd/getcwd.c: Likewise.
28527 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28528 * sysdeps/mach/hurd/mmap.c: Likewise.
28529 * sysdeps/mach/hurd/utimes.c: Likewise.
28530 * sysdeps/mach/hurd/xmknod.c: Likewise.
28531 * sysdeps/posix/profil.c: Likewise.
28532 * sysdeps/posix/readdir_r.c: Likewise.
28533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28534 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28535 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28536 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28538 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28540 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28544 * sysdeps/pthread/lio_listio.c: Likewise.
28545 * sysdeps/sparc/dl-procinfo.h: Likewise.
28546 * sysdeps/unix/i386/sysdep.S: Likewise.
28547 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28548 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28549 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28550 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28552 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28553 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28554 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28555 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28556 * sysdeps/wordsize-32/divdi3.c: Likewise.
28557 * time/sys/time.h: Likewise.
28558 * wcsmbs/Makefile: Likewise.
28559
0549fbba
DM
285602013-01-01 David S. Miller <davem@davemloft.net>
28561
a141f1a7
DM
28562 * po/fr.po: Update from translation team.
28563
0549fbba
DM
28564 * catgets/gencat.c: Update copyright year.
28565 * csu/version.c: Likewise.
28566 * debug/catchsegv.sh: Likewise.
28567 * debug/pcprofiledump.c: Likewise.
28568 * debug/xtrace.sh: Likewise.
28569 * elf/ldconfig.c: Likewise.
28570 * elf/ldd.bash.in: Likewise.
28571 * elf/pldd.c: Likewise.
28572 * elf/sotruss.ksh: Likewise.
28573 * elf/sprof.c: Likewise.
28574 * iconv/iconv_prog.c: Likewise.
28575 * iconv/iconvconfig.c: Likewise.
28576 * locale/programs/locale.c: Likewise.
28577 * locale/programs/localedef.c: Likewise.
28578 * login/programs/pt_chown.c: Likewise.
28579 * malloc/memusage.sh: Likewise.
28580 * malloc/memusagestat.c: Likewise.
28581 * malloc/mtrace.pl: Likewise.
28582 * nscd/nscd.c: Likewise.
28583 * nss/getent.c: Likewise.
28584 * nss/makedb.c: Likewise.
28585 * posix/getconf.c: Likewise.
28586
18ea052c
SP
285872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28588
28589 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28590 numbers.
28591
9c89fca6
MF
285922012-12-30 Mike Frysinger <vapier@gentoo.org>
28593
28594 * math/bits/mathcalls.h (modf): Use __nonnull.
28595
085ec079
SP
285962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28597
28598 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28599 (split): Use macro CN instead of the bare value.
28600 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28601 could be used.
28602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28603 instead of the bare value.
28604 (power1): Likewise.
28605
6d9f97e1
SP
286062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28607
d63f73be
SP
28608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28609 __ATAN_TWOM.
28610 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28611
6d9f97e1
SP
28612 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28613 their values.
28614 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28616 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28617 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28618
4c4febf5
AJ
286192012-12-28 Andreas Jaeger <aj@suse.de>
28620
af5843ef
AJ
28621 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28622 values are from Linux 3.7.
28623
4c4febf5
AJ
28624 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28625 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28626
99136f82
SP
286272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28628
2f216c3c 28629 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28630 TRUE case.
28631
99136f82
SP
28632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28633 (norm): Likewise.
28634 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28635 variables with preprocessor constants.
28636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28637 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28639
7fffbdff
BH
286402012-12-27 Bruno Haible <bruno@clisp.org>
28641
28642 [BZ #14317]
28643 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28644 only if needed.
28645
b76eb5f0
SP
286462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28647
31a7fe5c
SP
28648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28649 and use variable directly.
28650 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28651
b76eb5f0
SP
28652 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28653 MPONE.
28654 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28656 variable MPONE.
28657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28659 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28660 include directive. Remove local variable MPONE.
28661 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28664
2c8bfe7d
DM
286652012-12-25 David S. Miller <davem@davemloft.net>
28666
28667 * version.h (RELEASE): Set to "development".
28668 (VERSION): Set to "2.17.90".
28669 * NEWS: Add 2.18 section.
28670
147d03b0
DM
286712012-12-21 David S. Miller <davem@davemloft.net>
28672
28673 * po/hr.po: Update from translation team.
28674
a8ebb2b9
AK
286752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28676
28677 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28678
95b4f1b6
SE
286792012-12-19 Steve Ellcey <sellcey@mips.com>
28680
b2d94007 28681 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28682
cedb2a90
MS
286832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28684
28685 * manual/contrib.texi (Contributors): Spelling correction.
28686
bbf527d6
DM
286872012-12-15 David S. Miller <davem@davemloft.net>
28688
28689 * po/ru.po: Update from translation team.
28690
bc38c906
DM
286912012-12-13 David S. Miller <davem@davemloft.net>
28692
85429b1a
DM
28693 * NEWS: Mention IFUNC testsuite enhancements.
28694
d283e353
DM
28695 * po/pl.po: Update from translation team.
28696 * po/bg.po: Likewise.
28697
bc38c906
DM
28698 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28699 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28700
a181b0d7
DM
287012012-12-11 David S. Miller <davem@davemloft.net>
28702
4641d57e
DM
28703 * po/sv.po: Update from translation team.
28704
f7bc6495
DM
28705 * po/vi.po: Update from translation team.
28706
6fc9048f
DM
28707 * po/cs.po: Update from translation team.
28708
a181b0d7
DM
28709 * po/de.po: Update from translation team.
28710 * po/eo.po: Likewise.
28711 * po/nl.po: Likewise.
28712
f70bfe80
SP
287132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28714
3c8b4190
SP
28715 [BZ #14246]
28716 * manual/argp.texi (Argp Helper Functions): Move node to follow
28717 Argp Parsing State.
28718
f70bfe80
SP
28719 [BZ #14872]
28720 * manual/conf.texi (Limits on File System Capacity): Mention if
28721 terminating null is included in the max size.
28722
188f0adf
AJ
287232012-12-10 Andreas Jaeger <aj@suse.de>
28724
28725 * po/cs.po: Update from translation team.
28726
56e7d3ad
SP
287272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28728
28729 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28730 void pointer and cast to uintptr_t.
28731 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28732 path.
28733 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28734 * sysdeps/s390/s390-64/memset.S: Likewise.
28735
76f2d2ea 287362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28737
28738 [BZ #14833]
28739 * menual/message.texi (Message Translation): Fix typos.
28740 (Helper programs for gettext): Likewise.
28741
67cbf9a2
AS
287422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28743
28744 [BZ #14898]
28745 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28746 Change to -1.
28747
682d0e9a
DM
287482012-12-07 David S. Miller <davem@davemloft.net>
28749
28750 * po/libc.pot: Update.
28751
573cd484
RH
287522012-12-07 Richard Henderson <rth@redhat.com>
28753
7e9da188 28754 [BZ #10114]
573cd484
RH
28755 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28756 normal/normal case to before the switch.
28757 (_FP_DIV): Likewise.
28758
e933a943
MF
287592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28760 Mike Frysinger <vapier@gentoo.org>
28761
28762 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28763 check for __NR_fadvise64_64.
28764
82123268
CM
287652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28766
28767 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28768 0, not just to plain "0" as a statement.
28769 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28770 with cw.
28771
d9814526
JM
287722012-12-06 Joseph Myers <joseph@codesourcery.com>
28773
28774 * NEWS: Use sourceware.org in Bugzilla URL.
28775
7728c574
SP
287762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28777
f16946dd
SP
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28780
5704bbcb
SP
28781 * stdio-common/tst-put-error.c (do_test): Add newline to the
28782 padded test to ensure flush.
28783
17aa0516
JL
287842012-12-05 Jeff Law <law@redhat.com>
28785
28786 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28787
363313b5
JM
287882012-12-05 Joseph Myers <joseph@codesourcery.com>
28789
effbd42a
JM
28790 * README: Don't refer to ports add-on as distributed separately.
28791 Mention AArch64 in list of systems supported in the ports add-on.
28792
87600365
JM
28793 * LICENSES: Add more non-FSF copyright and license notices.
28794
a0d7066a
JM
28795 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28796 ((unused)).
28797
66ca5a5b
JM
28798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28799
363313b5
JM
28800 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28801 10000 as width of padded output.
28802
b37984ad
JM
288032012-12-04 Joseph Myers <joseph@codesourcery.com>
28804
9003570a
JM
28805 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28806
b37984ad
JM
28807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28808 variable LX with __attribute__ ((unused)).
28809 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28810 Likewise.
28811 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28814 with __attribute__ ((unused)).
28815
c8df52ec
DM
288162012-12-04 David S. Miller <davem@abraco.davemloft.net>
28817
28818 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28819
b3b099af
JM
288202012-12-04 Joseph Myers <joseph@codesourcery.com>
28821
c33aa6e3
JM
28822 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28823 (CFLAGS-nldbl-acos.c): New variable.
28824 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28825 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28826 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28827 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28828 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28829 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28830 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28831 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28832 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28833 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28834 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28835 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28836 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28837 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28838 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28839 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28840 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28841 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28842 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28843 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28844 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28845 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28846 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28847 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28848 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28849 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28850 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28851 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28852 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28853 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28854 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28855 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28856 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28857 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28858 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28859 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28860 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28861 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28862 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28863 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28864 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28865 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28866 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28867 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28868 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28869 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28870 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28871 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28872 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28873 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28874 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28875 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28876 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28877 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28878 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28879 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28880 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28881 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28882 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28883 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28884 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28885 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28886 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28887 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28888 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28889 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28890 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28891 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28892 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28893 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28894 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28895 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28896 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28897 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28898 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28899 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28900 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28901 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28902 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28903 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28904 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28905 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28906 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28907 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28908 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28909 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28910 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28911 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28912 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28913 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28914 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28915 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28916 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28917 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28918 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28919 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28920 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28921
20f0018d
JM
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28923 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28924
b3b099af
JM
28925 [BZ #14914]
28926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28927 whole low double instead of just low 47 bits when splitting values
28928 into two parts.
28929
029264d1
AM
289302012-12-03 Allan McRae <allan@archlinux.org>
28931
28932 * manual/stdio.texi (Predefined Printf Handlers): Remove
28933 @hsep and @vsep usage.
28934
c9d6789e
MF
289352012-12-03 Mike Frysinger <vapier@gentoo.org>
28936
28937 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28938 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28939
4b7634a5
JL
289402012-12-03 Jeff Law <law@redhat.com>
28941
28942 * time/sys/time.h (settimeofday): Do not mark TV argument
28943 as __nonnull.
28944
eb6cbd24
MF
289452012-12-01 Mike Frysinger <vapier@gentoo.org>
28946
28947 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28948 when currently writing and seek to current position when not.
28949 * libio/Makefile (tests): Remove bug-fclose1.
28950 * libio/bug-fclose1.c: Delete.
28951
f638872a
JM
289522012-12-01 Joseph Myers <joseph@codesourcery.com>
28953
28954 * manual/arith.texi (feenableexcept): Fix typo.
28955 (fedisableexcept): Likewise.
28956
48085d14
RM
289572012-11-30 Roland McGrath <roland@hack.frob.com>
28958
28959 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28960 second, differently-typed declaration, rather than a cast.
28961
1a538b9f
SP
289622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28963
28964 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28965 * include/rpc/svc.h: ... here.
28966
d07f2ff1 289672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
28968
28969 [BZ #13013]
28970 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28971 depending n and resplen2 to catch cases where answer
28972 equals answerp2.
28973
c93ec1f0
CD
289742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28975
28976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28977 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28978
37db69de
MF
289792012-11-29 Mike Frysinger <vapier@gentoo.org>
28980
28981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28982
e10c4e4f
RM
289832012-11-29 Roland McGrath <roland@hack.frob.com>
28984
28985 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28986
2af1b328
JL
289872012-11-28 Jeff Law <law@redhat.com>
28988
28989 [BZ #13761]
28990 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28991 dataset_temporary. Track alloca usage into alloca_used.
28992 If dataset is large allocate and release it via malloc/free.
28993
111db5b1
FW
289942012-06-04 Florian Weimer <fweimer@redhat.com>
28995
f06cc227 28996 [BZ #14197]
111db5b1
FW
28997 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28998
dd694abd
DM
289992012-11-28 David S. Miller <davem@davemloft.net>
29000
29001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29002
9984dd01
JM
290032012-11-28 Joseph Myers <joseph@codesourcery.com>
29004
29005 [BZ #14803]
29006 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29007 of pi/2 rounded to nearest to 64 bits.
29008 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29009 nearest to 64 bits.
29010 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29011 bits.
29012
14bc93a9
JL
290132012-11-28 Jeff Law <law@redhat.com>
29014 Martin Osvald <mosvald@redhat.com>
29015
29016 [BZ #14889]
29017 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29018 * sunrpc/svc.c: Include time.h.
29019 (__svc_accept_failed): New function.
29020 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29021 any reason other than EINTR, call __svc_accept_failed.
29022 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29023 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29024
e3c6aa3a
AS
290252012-11-28 Andreas Schwab <schwab@suse.de>
29026
29027 * scripts/abilist.awk: Also handle indirect functions in .opd
29028 section.
29029
1bead169
JM
290302012-11-28 Joseph Myers <joseph@codesourcery.com>
29031
29032 [BZ #13881]
29033 * sysdeps/x86/fpu/powl_helper.c: New file.
29034 * sysdeps/x86/fpu/Makefile: Likewise.
29035 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29036 (p3): New object.
29037 (__ieee754_powl): Use __powl_helper for finite arguments except
29038 integer exponents below 8.
29039 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29040 (p3): New object.
29041 (__ieee754_powl): Use __powl_helper for finite arguments except
29042 integer exponents below 8.
29043 * math/libm-test.inc (pow_test): Add more tests and enable some
29044 previously disabled tests.
29045 * sysdeps/i386/fpu/libm-test-ulps: Update.
29046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29047
0817d63d
SP
290482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29049 Carlos O'Donell <carlos_odonell@mentor.com>
29050
29051 * nss/makedb.c (is_prime): Assert that input is odd and greater
29052 than 4. Note that fact in a comment too.
29053 (next_prime): Add 4 to input.
29054
de2fd463
SP
290552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29056
29057 [BZ #11741]
29058 * libio/Makefile (tests): Add test case tst-fwrite-error.
29059 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29060 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29061 * libio/tst-fwrite-error.c: New test case.
29062
c515fb51
L
290632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29066 before casting to void *.
29067 * include/libc-internal.h (__pointer_type): New macro.
29068 (__integer_if_pointer_type_sub): Likewise.
29069 (__integer_if_pointer_type): Likewise.
29070 (cast_to_integer): Likewise.
29071 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29072 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29073 before casting to atomic64_t.
29074 (atomic_exchange_acq): Likewise.
29075 (__arch_exchange_and_add_body): Likewise.
29076 (__arch_add_body): Likewise.
29077 (atomic_add_negative): Likewise.
29078 (atomic_add_zero): Likewise.
29079
4cf77aa9
JM
290802012-11-26 Joseph Myers <joseph@codesourcery.com>
29081
29082 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29083 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29084 (add_fdes): Likewise.
29085 (linear_search_fdes): Likewise.
29086 (binary_search_unencoded_fdes): Likewise.
29087
d260b3b4
AS
290882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29089
29090 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29091
67060746
AC
290922012-11-24 Adam Conrad <adconrad@0c3.net>
29093
29094 * configure.in: Autodetect C++ header directories.
29095 * configure: Regenerated.
29096
800938a1
MF
290972012-11-23 Mike Frysinger <vapier@gentoo.org>
29098
29099 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29100
4e6e34e6
AS
291012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29102
29103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29104
7c7feb47
JM
291052012-11-22 Joseph Myers <joseph@codesourcery.com>
29106
7184dcdf
JM
29107 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29108 LDBL_MANT_DIG == 106]: Disable some tests.
29109 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29110 Likewise.
29111 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29112 Likewise.
29113
0a42601f
JM
29114 [BZ #14871]
29115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29116 input for small inputs. Return +/- pi/2 for large inputs.
29117 * math/libm-test.inc (atan_test): Add more tests.
29118
79c9b9fe
JM
29119 * sysdeps/generic/unwind-dw2-fde-glibc.c
29120 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29121 __attribute__ ((unused)).
29122
c60d3bf2
JM
29123 [BZ #14645]
29124 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29125 x * y if x and y are nonzero and z is zero.
29126
ef1e0867
JM
29127 [BZ #14811]
29128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29129 nonzero exponents with absolute value below 0x1p-117 to +/-
29130 0x1p-117.
29131
1468ded3
JM
29132 [BZ #14869]
29133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29134 up arguments below 2**-450, not just those below 2**-500.
29135 * math/libm-test.inc (hypot_test): Add another test.
29136
8e27e3cc
JM
29137 [BZ #14868]
29138 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29139 Return a+b for ratio over 2**120, not 2**60.
29140 * math/libm-test.inc (hypot_test): Add another test.
29141
c9c0279b
JM
29142 * math/libm-test.inc (clog_test): Use
29143 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29144 (clog10_test): Likewise.
29145
7c7feb47
JM
29146 [BZ #6778]
29147 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29148
fff1530e
AS
291492012-11-22 Andreas Schwab <schwab@suse.de>
29150
29151 * sysdeps/i386/fpu/libm-test-ulps: Update.
29152
94558d30
PT
291532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29154
29155 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29156 printf output with newline.
29157
7e1be741
L
291582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29159
6bfea974
L
29160 [BZ #14865]
29161 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29162 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29163 -z nodlopen, -z initfirst and -z execstack support.
29164 * configure: Regenerated.
29165
7e1be741
L
29166 * elf/elf.h (DF_1_NODIRECT): New macro.
29167 (DF_1_IGNMULDEF): Likewise.
29168 (DF_1_NOKSYMS): Likewise.
29169 (DF_1_NOHDR): Likewise.
29170 (DF_1_EDITED): Likewise.
29171 (DF_1_NORELOC): Likewise.
29172 (DF_1_SYMINTPOSE): Likewise.
29173 (DF_1_GLOBAUDIT): Likewise.
29174 (DF_1_SINGLETON): Likewise.
29175 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29176 DT_1_SUPPORTED_MASK bits.
29177 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29178
105ce2ce
CD
291792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29180
29181 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29182
123be9de
TS
291832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29184
d072f3f7
TS
29185 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29186 macro.
29187
123be9de
TS
29188 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29189 (sendmmsg): Move declarations...
29190 * socket/sys/socket.h: ... here.
29191 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29192 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29193 include it from...
29194 * socket/recvmmsg.c: ... this new file.
29195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29196 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29197 definition of __sendmmsg hidden.
29198 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29199 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29200 Move ENOSYS stub into and include it from...
29201 * socket/sendmmsg.c: ... this new file.
29202 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29203 (sysdep_routines): Move recvmmsg and sendmmsg...
29204 * socket/Makefile (routines): ... here.
29205 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29206 (GLIBC_PRIVATE): Add __sendmmsg.
29207 * include/sys/socket.h (__sendmmsg): Add declarations.
29208 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29209 sendmmsg.
29210
cf9a5d18
JM
292112012-11-20 Joseph Myers <joseph@codesourcery.com>
29212
29213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29214 variable I1 with __attribute__ ((unused)).
29215 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29216
ecd4caf9
JM
292172012-11-19 Joseph Myers <joseph@codesourcery.com>
29218
be14d48f
JM
29219 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29220 DUMMY variables with __attribute__ ((unused)).
29221
ecd4caf9
JM
29222 * bits/byteswap.h: Include <bits/types.h>.
29223 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29224
986cab95
PT
292252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29226
29227 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29228 string_t. Do not manually set errno.
29229 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29230 length with __strnlen. Make sure to both set errno and return it on
29231 failure.
29232
6d33cc9d
DM
292332012-11-19 David S. Miller <davem@davemloft.net>
29234
29235 With help from Joseph Myers.
29236 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29237 very large arguments properly.
29238 * math/libm-test.inc (atan_test): New tests.
29239 (atan2_test): New tests.
29240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29242
ee663277
JM
292432012-11-19 Joseph Myers <joseph@codesourcery.com>
29244
877f2d8e
JM
29245 [BZ #14856]
29246 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29247 Define to 3.
29248
116fc08a
JM
29249 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29250 [POSIX] (EADDRNOTAVAIL): Likewise.
29251 [POSIX] (EAFNOSUPPORT): Likewise.
29252 [POSIX] (EALREADY): Likewise.
29253 [POSIX] (ECONNABORTED): Likewise.
29254 [POSIX] (ECONNREFUSED): Likewise.
29255 [POSIX] (ECONNRESET): Likewise.
29256 [POSIX] (EDESTADDRREQ): Likewise.
29257 [POSIX] (EDQUOT): Likewise.
29258 [POSIX] (EHOSTUNREACH): Likewise.
29259 [POSIX] (EIDRM): Likewise.
29260 [POSIX] (EISCONN): Likewise.
29261 [POSIX] (ELOOP): Likewise.
29262 [POSIX] (EMULTIHOP): Likewise.
29263 [POSIX] (ENETDOWN): Likewise.
29264 [POSIX] (ENETUNREACH): Likewise.
29265 [POSIX] (ENOBUFS): Likewise.
29266 [POSIX] (ENODATA): Likewise.
29267 [POSIX] (ENOLINK): Likewise.
29268 [POSIX] (ENOMSG): Likewise.
29269 [POSIX] (ENOPROTOOPT): Likewise.
29270 [POSIX] (ENOSR): Likewise.
29271 [POSIX] (ENOSTR): Likewise.
29272 [POSIX] (ENOTCONN): Likewise.
29273 [POSIX] (ENOTSOCK): Likewise.
29274 [POSIX] (EOPNOTSUPP): Likewise.
29275 [POSIX] (EOVERFLOW): Likewise.
29276 [POSIX] (EPROTO): Likewise.
29277 [POSIX] (EPROTONOSUPPORT): Likewise.
29278 [POSIX] (EPROTOTYPE): Likewise.
29279 [POSIX] (ESTALE): Likewise.
29280 [POSIX] (ETIME): Likewise.
29281 [POSIX] (ETXTBSY): Likewise.
29282 [POSIX] (EWOULDBLOCK): Likewise.
29283 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29284 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29285 [POSIX] (SEEK_CUR): Likewise.
29286 [POSIX] (SEEK_END): Likewise.
29287 [POSIX || UNIX98] (mode_t): Do not require.
29288 [POSIX] (off_t): Likewise.
29289 [POSIX] (pid_t): Likewise.
29290 [POSIX] (sys/stat.h): Do not allow header.
29291 [POSIX] (unistd.h): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29293 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29295 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29296 require.
29297 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29298 sigevent): Specify elements.
29299 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29300 entry.
29301 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29302 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29303
a483863f
JM
29304 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29305 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29306 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29307 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29308 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29309 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29310 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29311 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29312 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29313 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29314 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29315 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29316 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29317 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29318 Likewise.
29319 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29320 Likewise.
29321 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29322 Likewise.
29323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29324 Likewise.
29325 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29326 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29327 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29328 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29329 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29330 Specify lower bound on value.
29331 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29332 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29333 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29334 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29335 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29336 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29337 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29338 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29339 value.
29340 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29341 as optional.
29342 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29343 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29344 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29345 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29346 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29347 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29348 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29349 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29350 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29351 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29352 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29353 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29358 entry.
29359 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29360 optional.
29361 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29367 Likewise.
29368 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29373 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29374 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29375 as optional.
29376 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29380 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29381 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29382 specify as optional.
29383 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29386 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29387 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29388 [XPG3] (NL_LANGMAX): Likewise.
29389 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29390 [POSIX || XPG3] (NL_NMAX): Likewise.
29391 [POSIX || XPG3] (NL_SETMAX): Likewise.
29392 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29393 [XPG3] (NZERO): Likewise.
29394 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29395 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29396 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29397 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29398 (REG_ERANGE): Expect.
29399 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29400 optional-constant.
29401 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29402 Use (void) in prototype.
29403 [POSIX] (*_t): Allow.
29404 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29405 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29406 (WRDE_BADVAL): Expect.
29407
5ba924e3
JM
29408 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29409 expect.
29410 [XPG3 || XPG4] (O_RSYNC): Likewise.
29411 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29412 Likewise.
29413 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29414 [XPG3 || XPG4] (sigqueue): Likewise.
29415 [XPG3 || XPG4] (sigtimedwait): Likewise.
29416 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29417 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29418 [XPG3 || XPG4] (vsnprintf): Likewise.
29419 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29420 Likewise.
29421 [XPG3 || XPG4] (blksize_t): Likewise.
29422 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29423 Likewise.
29424 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29425 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29426 [XPG3 || XPG4] (struct itimerspec): Likewise.
29427 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29428 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29429 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29430 [XPG3 || XPG4] (clockid_t): Likewise.
29431 [XPG3 || XPG4] (timer_t): Likewise.
29432 [XPG3 || XPG4] (clock_getres): Likewise.
29433 [XPG3 || XPG4] (clock_gettime): Likewise.
29434 [XPG3 || XPG4] (clock_settime): Likewise.
29435 [XPG3 || XPG4] (nanosleep): Likewise.
29436 [XPG3 || XPG4] (timer_create): Likewise.
29437 [XPG3 || XPG4] (timer_delete): Likewise.
29438 [XPG3 || XPG4] (timer_gettime): Likewise.
29439 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29440 [XPG3 || XPG4] (timer_settime): Likewise.
29441 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29442 [XPG3 || XPG4] (getlogin_r): Likewise.
29443 [XPG3 || XPG4] (pread): Likewise.
29444 [XPG3 || XPG4] (pthread_atfork): Likewise.
29445 [XPG3 || XPG4] (pwrite): Likewise.
29446
ee663277
JM
29447 [BZ #14835]
29448 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29449 <bits/siginfo.h>.
29450
942caa16
PT
294512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29452
e19af380
PT
29453 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29454 finalizing MALLSTREAM.
29455
942caa16
PT
29456 * sysdeps/mach/hurd/syncfs.c: New file.
29457
cfde9b46
SP
294582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29459
29460 [BZ #14719]
29461 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29462 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29463 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29464 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29465 (_nss_dns_gethostbyname4_r): Likewise.
29466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29467 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29468
f6da27e5
PH
294692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29470
29471 [BZ #13763]
29472 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29473
6665d4a2
SM
294742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29475
1f51ee92
SM
29476 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29477 * elf/cache.c (print_entry): Print ",AArch64" for
29478 FLAG_AARCH64_LIB64
29479
6665d4a2
SM
29480 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29481 * elf/cache.c (print_entry): Print ",hard-float" for
29482 FLAG_ARM_LIBHF.
29483
05b227bd
DM
294842012-11-18 David S. Miller <davem@davemloft.net>
29485
29486 With help from Joseph Myers.
29487 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29488 cutoff to 2**-13.
29489 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29490 cutoff to 2**-25.
29491 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29492 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29493 small.
29494 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29495 * math/libm-test.inc (y0_test): New tests.
29496 (y1_test): New tests.
29497 * sysdeps/i386/fpu/libm-test-ulps: Update.
29498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29500
786b0b67
AS
295012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29502
29503 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29504 64-bit targets.
29505 * configure: Regenerated.
29506
8e18b86d
DM
295072012-11-17 David S. Miller <davem@davemloft.net>
29508
29509 [BZ #14811]
29510 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29511 nonzero exponents with absolute value below 0x1p-128 to +/-
29512 0x1p-128.
29513
531f1ae0
JM
295142012-11-17 Joseph Myers <joseph@codesourcery.com>
29515
12df29e2
JM
29516 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29517
150dc1a0
JM
29518 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29519
531f1ae0
JM
29520 * posix/getconf-speclist.c: New file.
29521 * posix/posix-envs.def: Likewise.
29522 * posix/confstr.c (START_ENV_GROUP): New macro.
29523 (END_ENV_GROUP): Likewise.
29524 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29525 (KNOWN_PRESENT_ENV_STRING): Likewise.
29526 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29527 (UNKNOWN_ENVIRONMENT): Likewise.
29528 (confstr): Include posix-envs.def instead of handling
29529 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29530 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29531 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29532 (END_ENV_GROUP): Likewise.
29533 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29534 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29535 (UNKNOWN_ENVIRONMENT): Likewise.
29536 (__sysconf): Include posix-envs.def instead of handling associated
29537 cases directly here.
29538 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29539 preprocessing getconf-speclist.c rather than running getconf or
29540 generating empty file.
29541
a93f9cbc
PT
295422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29543
29544 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29545
d64d9f87
AL
295462012-11-16 Andrej Lajovic <natrij@gmail.com>
29547
29548 [BZ #14672]
29549 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29550
447885eb
DM
295512012-11-16 David S. Miller <davem@davemloft.net>
29552
29553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29554 smaller than LDBL_EPSILON/2.0L, just return xm1.
29555
bcbf9830
L
295562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29557
29558 * elf/tst-array1.c (init): Set constructor priority to 1000.
29559 (fini): Set destructor priority to 1000.
29560 * elf/tst-array2dep.c: Likewise.
29561
2b766585
SP
295622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29563
29564 [BZ #11741]
29565 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29566 (_IO_new_file_xsputn): Also return EOF if none of the input
29567 data was written when overflow failed.
29568 * libio/iopadn.c (_IO_padn): Likewise.
29569 * libio/iowpadn.c (_IO_wpadn): Likewise.
29570 * stdio-common/tst-put-error.c: Add copyright notice.
29571 (do_test): Add case for printing padded string.
29572 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29573 _IO_padn returned error.
29574 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29575 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29576 return EOF.
29577
b1848fde
SP
295782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29579
29580 * libio/libioP.h: Add comment note that the references to C++
29581 bits are now obsolete.
29582
2fd89785
MS
295832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29584
29585 * math/libm-test.inc (check_complex): Use asprintf.
29586
e3ea5409
JM
295872012-11-14 Joseph Myers <joseph@codesourcery.com>
29588
29589 * debug/pcprofiledump.c (print_version): Update copyright year.
29590 * malloc/memusagestat.c (print_version): Likewise.
29591
2e64d265
L
295922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29593
29594 [BZ #14831]
29595 * elf/Makefile (tests): Add tst-audit8.
29596 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29597 ($(objpfx)tst-audit8.out): New target.
29598 (tst-audit8-ENV): New variable.
29599 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29600 audit if l_reloc_result is NULL.
29601 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29602 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29603 * elf/tst-audit8.c: New file.
29604
c485e4d2
MS
296052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29606
29607 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29608 * misc/Makefile (CFLAGS-select.c): Define.
29609 * posix/Makefile (CFLAGS-pause.c): Define.
29610
3a0d900a
DM
296112012-11-13 David S. Miller <davem@davemloft.net>
29612
29613 * crypt/Makefile: Move test targets after toplevel Rules
29614 inclusion. Grab any necessary sysdep routines when linking.
29615 * crypt/md5.c (md5_process_block): Remove define, we will always
29616 name it __md5_process_block.
29617 (md5_finish_ctx): Update md5_process_block call.
29618 (md5_stream): Likewise.
29619 (md5_process_bytes): Likewise.
29620 (md5_process_block): Rename to __md5_process_block and move to ...
29621 * crypt/md5-block.c: ... here.
29622 * crypt/sha256.c (sha256_process_block): Move to ...
29623 * crypt/sha256-block.c: ... here.
29624 * crypt/sha512.c (sha512_process_block): Move to ...
29625 * crypt/sha512-block.c: ... here.
29626 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29627 path.
29628 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29629 * sysdeps/sparc/sparc64/multiarch/Makefile
29630 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29631 crypt subdir.
29632 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29633 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29634 multiarch changes.
29635 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29636 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29637 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29638 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29639 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29640 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29641 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29642 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29643 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29644 file.
29645 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29646 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29647 file.
29648 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29649
8ca89318
JM
296502012-11-13 Joseph Myers <joseph@codesourcery.com>
29651
e27d476a
JM
29652 * timezone/tzselect.ksh: Update from tzcode git revision
29653 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29654 * timezone/zdump.c: Likewise.
29655 * timezone/zic.c: Likewise.
29656 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29657 in TZVERSION setting, not $(PKGVERSION).
29658 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29659 REPORT_BUGS_TO settings.
29660
8ca89318
JM
29661 [BZ #14838]
29662 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29663 macro.
29664
47594329
MS
296652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29666
29667 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29668 detection to immediately after _FP_ROUND().
29669 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29670 bits are 0.
29671
640ac3f1
DM
296722012-11-11 David S. Miller <davem@davemloft.net>
29673
29674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29675 inttypes.h
29676 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29677 __close rather than their public counterparts.
29678
3d2577bb
JM
296792012-11-10 Joseph Myers <joseph@codesourcery.com>
29680
29681 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29682 file.
29683 [UNIX98] (sem_timedwait): Do not expect.
29684 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29685 [XPG4 || UNIX98] (sockatmark): Do not expect.
29686 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29687 (clock_getcpuclockid): Do not expect.
29688 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29689 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29690 Do not expect.
29691 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29692 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29693 [UNIX98] (vwscanf): Likewise.
29694 [UNIX98] (vswscanf): Likewise.
29695
fb1ae1ee
JM
296962012-11-09 Joseph Myers <joseph@codesourcery.com>
29697
9ec6f8bd
JM
29698 * timezone/version.h: Remove file.
29699 * timezone/README: Do not refer to version.h.
29700 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29701 $(objpfx)version.h.
29702 ($(objpfx)zdump.o): Likewise.
c3f81911 29703 ($(objpfx)version.h): New target.
9ec6f8bd 29704
0aa8f8a1
JM
29705 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29706 2012i.
29707 * timezone/README: Don't mention modification to tzselect.ksh.
29708 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29709 work on unmodified tzselect.ksh. Substitute version numbers in
29710 tzselect.ksh.
29711
4e87147f
JM
29712 * Makefile (format-me): Remove.
29713 (INSTALL): Adjust indentation. Use commands directly instead of
29714 using $(format-me).
29715
8b748aed
JM
29716 * aclocal.m4 (ACX_PKGVERSION): New macro.
29717 (ACX_BUGURL): Likewise.
29718 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29719 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29720 (REPORT_BUGS_TO): Likewise.
29721 * configure: Regenerated.
29722 * config.h.in (PKGVERSION): New macro.
29723 (REPORT_BUGS_TO): Likewise.
29724 * config.make.in (PKGVERSION): New variable.
29725 (PKGVERSION_TEXI): Likewise.
29726 (REPORT_BUGS_TO): Likewise.
29727 (REPORT_BUGS_TEXI): Likewise.
29728 * Makefile (format-me): Use -I$(common-objpfx)manual.
29729 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29730 ($(common-objpfx)manual/%): New target.
29731 (manual/%): Remove target.
29732 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29733 (print_version): Use PKGVERSION.
29734 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29735 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29736 and REPORT_BUGS_TO.
29737 ($(objpfx)xtrace): Likewise.
29738 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29739 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29740 (print_version): Use PKGVERSION.
29741 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29742 (do_version): Use PKGVERSION.
29743 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29744 REPORT_BUGS_TO.
29745 (common-ldd-rewrite): Likewise.
29746 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29747 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29748 (print_version): Use PKGVERSION.
29749 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29750 * elf/pldd.c (argp_program_bug_address): Remove variable.
29751 (more_help): New function.
29752 (argp): Use more_help.
29753 (print_version): Use PKGVERSION.
29754 * elf/sln.c (main): Use PKGVERSION.
29755 (usage): Use REPORT_BUGS_TO.
29756 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29757 (top level): Use PKGVERSION.
29758 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29759 (print_version): Use PKGVERSION.
29760 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29761 (print_version): Use PKGVERSION.
29762 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29763 (print_version): Use PKGVERSION.
29764 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29765 (print_version): Use PKGVERSION.
29766 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29767 (print_version): Use PKGVERSION.
29768 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29769 (print_version): Use PKGVERSION.
29770 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29771 and BUGURL.
29772 ($(objpfx)memusage): Likewise.
29773 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29774 (do_version): Use PKGVERSION.
29775 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29776 (print_version): Use PKGVERSION.
29777 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29778 ($PKGVERSION): New variable.
29779 ($REPORT_BUGS_TO): Likewise.
29780 (usage): Use $REPORT_BUGS_TO.
29781 (top level): Use $PKGVERSION.
29782 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29783 ($(objpfx)pkgvers.texi): New rule.
29784 ($(objpfx)stamp-pkgvers): Likewise.
29785 * manual/install.texi: Include pkgvers.texi.
29786 (--with-pkgversion): Document new configure option.
29787 (--with-bugurl): Likewise.
29788 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29789 than necessarily for this particular distribution. Use
29790 REPORT_BUGS_TO for where to report bugs.
29791 * INSTALL: Regenerated.
29792 * manual/libc.texinfo: Include pkgvers.texi.
29793 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29794 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29795 (print_version): Use PKGVERSION.
29796 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29797 (print_version): Use PKGVERSION.
29798 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29799 (print_version): Use PKGVERSION.
29800 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29801 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29802 macro.
29803 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29804 (print_version): Use PKGVERSION.
29805 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29806 (print_version): Use PKGVERSION.
29807 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29808 and PKGVERSION.
29809
92e4b6a9
JM
29810 * timezone/checktab.awk: Update from tzcode 2012i.
29811 * timezone/ialloc.c: Likewise.
29812 * timezone/private.h: Likewise.
29813 * timezone/scheck.c: Likewise.
29814 * timezone/tzfile.h: Likewise.
29815 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29816 (TZVERSION): Hardcode tzcode version number.
29817 * timezone/zdump.c: Update from tzcode 2012i.
29818 * timezone/zic.c: Likewise.
29819 * timezone/version.h: New file.
29820 * timezone/README: Describe version.h. Update upstream location.
29821
9bde902c
JM
29822 [BZ #14824]
29823 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29824 (mktemp): Enable declaration.
29825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29826 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29827 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29829 Likewise.
29830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29831 Likewise.
29832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29833 Likewise.
29834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29835 Likewise.
29836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29837 Likewise.
29838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29839 Likewise.
29840
fb1ae1ee
JM
29841 [BZ #14821]
29842 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29843 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29844 for copies of such integer values.
29845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29847
2c1adbcb
AJ
298482012-11-09 Andreas Jaeger <aj@suse.de>
29849
29850 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29851 definitions and declarations that are provided by
29852 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29853
d0f8457e
AK
298542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29855
3a235abb 29856 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
29857 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29858 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29859 definition.
29860
57241e26
MS
298612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29862
29863 * elf/elf.h: Update comment before AArch64 relocations.
29864
60e8270d
DM
298652012-11-07 David S. Miller <davem@davemloft.net>
29866
29867 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29868 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29869 (__start_context): Declare.
29870 (__makecontext_ret): Delete.
29871 (__makecontext): Hook up __start_context instead of
29872 __makecontext_ret.
29873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29874 (sysdep_routines): Add __start_context when in stdlib.
29875
0fbb0fbc
JM
298762012-11-07 Joseph Myers <joseph@codesourcery.com>
29877
29878 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29879 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29880 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29881 hardcoded "nm".
29882 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29883 (READELF): New variable. Use it instead of hardcoded "readelf".
29884
eb48db7e
L
298852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29886
29887 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29888 * sysdeps/x86/Makefile: Here.
29889 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29890 * sysdeps/x86/tst-xmmymm.sh: This.
29891
05bcf62a
JM
298922012-11-07 Joseph Myers <joseph@codesourcery.com>
29893
c4b6cf53
JM
29894 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29895 expectations.
29896 [UNIX98] (pthread_barrier_t): Do not expect.
29897 [UNIX98] (pthread_barrierattr_t): Likewise.
29898 [UNIX98] (pthread_spinlock_t): Likewise.
29899 [UNIX98] (pthread_barrier_destroy): Likewise.
29900 [UNIX98] (pthread_barrier_init): Likewise.
29901 [UNIX98] (pthread_barrier_wait): Likewise.
29902 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29903 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29904 [UNIX98] (pthread_barrierattr_init): Likewise.
29905 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29906 [UNIX98] (pthread_getcpuclockid): Likewise.
29907 [UNIX98] (pthread_mutex_timedlock): Likewise.
29908 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29909 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29910 [UNIX98] (pthread_sigmask): Likewise.
29911 [UNIX98] (pthread_spin_destroy): Likewise.
29912 [UNIX98] (pthread_spin_init): Likewise.
29913 [UNIX98] (pthread_spin_lock): Likewise.
29914 [UNIX98] (pthread_spin_trylock): Likewise.
29915 [UNIX98] (pthread_spin_unlock): Likewise.
29916 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29917 Do not expect.
29918 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29919 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29920 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29921 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29922 [XPG3 || XPG4] (pthread_key_t): Likewise.
29923 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29924 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29925 [XPG3 || XPG4] (pthread_once_t): Likewise.
29926 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29927 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29928 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29929 [XPG3 || XPG4] (pthread_t): Likewise.
29930
cbe6e120
JM
29931 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29932 not expect.
29933 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29934
1b126443
JM
29935 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29936 Change function return type to int.
29937
b961a573
JM
29938 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29939 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29940 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29941 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29942 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29943 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29944 [!POSIX] (posix_madvise): Likewise.
29945 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29946 && !UNIX98].
29947 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29948 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29949 (mode_t): Likewise.
29950 (posix_mem_offset): Likewise.
29951 (posix_typed_mem_get_info): Likewise.
29952 (posix_typed_mem_open): Likewise.
29953
9e188909
JM
29954 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29955 Change condition to [XOPEN2K8].
29956
05bcf62a
JM
29957 * conform/conformtest.pl: Preprocess allow-header data with -x c
29958 instead of from stdin.
29959 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29960 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29961 [C99-based standards] (cerfc): Likewise.
29962 [C99-based standards] (cexp2): Likewise.
29963 [C99-based standards] (cexpm1): Likewise.
29964 [C99-based standards] (clog10): Likewise.
29965 [C99-based standards] (clog1p): Likewise.
29966 [C99-based standards] (clog2): Likewise.
29967 [C99-based standards] (clgamma): Likewise.
29968 [C99-based standards] (ctgamma): Likewise.
29969 [C99-based standards] (cerff): Likewise.
29970 [C99-based standards] (cerfcf): Likewise.
29971 [C99-based standards] (cexp2f): Likewise.
29972 [C99-based standards] (cexpm1f): Likewise.
29973 [C99-based standards] (clog10f): Likewise.
29974 [C99-based standards] (clog1pf): Likewise.
29975 [C99-based standards] (clog2f): Likewise.
29976 [C99-based standards] (clgammaf): Likewise.
29977 [C99-based standards] (ctgammaf): Likewise.
29978 [C99-based standards] (cerfl): Likewise.
29979 [C99-based standards] (cerfcl): Likewise.
29980 [C99-based standards] (cexp2l): Likewise.
29981 [C99-based standards] (cexpm1l): Likewise.
29982 [C99-based standards] (clog10l): Likewise.
29983 [C99-based standards] (clog1pl): Likewise.
29984 [C99-based standards] (clog2l): Likewise.
29985 [C99-based standards] (clgammal): Likewise.
29986 [C99-based standards] (ctgammal): Likewise.
29987 * conform/data/inttypes.h-data [C99-based standards]: Include
29988 stdint.h-data. Remove all expectations for stdint.h contents.
29989 [C99-based standards] (PRI*): Do not allow.
29990 [C99-based standards] (SCN*): Likewise.
29991 [C99-based standards] (*_t): Likewise.
29992 [C99-based-standards] (PRId8): Expect macro.
29993 [C99-based-standards] (PRIi8): Likewise.
29994 [C99-based-standards] (PRIo8): Likewise.
29995 [C99-based-standards] (PRIu8): Likewise.
29996 [C99-based-standards] (PRIx8): Likewise.
29997 [C99-based-standards] (PRIX8): Likewise.
29998 [C99-based-standards] (SCNd8): Likewise.
29999 [C99-based-standards] (SCNi8): Likewise.
30000 [C99-based-standards] (SCNo8): Likewise.
30001 [C99-based-standards] (SCNu8): Likewise.
30002 [C99-based-standards] (SCNx8): Likewise.
30003 [C99-based-standards] (PRIdLEAST8): Likewise.
30004 [C99-based-standards] (PRIiLEAST8): Likewise.
30005 [C99-based-standards] (PRIoLEAST8): Likewise.
30006 [C99-based-standards] (PRIuLEAST8): Likewise.
30007 [C99-based-standards] (PRIxLEAST8): Likewise.
30008 [C99-based-standards] (PRIXLEAST8): Likewise.
30009 [C99-based-standards] (SCNdLEAST8): Likewise.
30010 [C99-based-standards] (SCNiLEAST8): Likewise.
30011 [C99-based-standards] (SCNoLEAST8): Likewise.
30012 [C99-based-standards] (SCNuLEAST8): Likewise.
30013 [C99-based-standards] (SCNxLEAST8): Likewise.
30014 [C99-based-standards] (PRIdFAST8): Likewise.
30015 [C99-based-standards] (PRIiFAST8): Likewise.
30016 [C99-based-standards] (PRIoFAST8): Likewise.
30017 [C99-based-standards] (PRIuFAST8): Likewise.
30018 [C99-based-standards] (PRIxFAST8): Likewise.
30019 [C99-based-standards] (PRIXFAST8): Likewise.
30020 [C99-based-standards] (SCNdFAST8): Likewise.
30021 [C99-based-standards] (SCNiFAST8): Likewise.
30022 [C99-based-standards] (SCNoFAST8): Likewise.
30023 [C99-based-standards] (SCNuFAST8): Likewise.
30024 [C99-based-standards] (SCNxFAST8): Likewise.
30025 [C99-based-standards] (PRId16): Likewise.
30026 [C99-based-standards] (PRIi16): Likewise.
30027 [C99-based-standards] (PRIo16): Likewise.
30028 [C99-based-standards] (PRIu16): Likewise.
30029 [C99-based-standards] (PRIx16): Likewise.
30030 [C99-based-standards] (PRIX16): Likewise.
30031 [C99-based-standards] (SCNd16): Likewise.
30032 [C99-based-standards] (SCNi16): Likewise.
30033 [C99-based-standards] (SCNo16): Likewise.
30034 [C99-based-standards] (SCNu16): Likewise.
30035 [C99-based-standards] (SCNx16): Likewise.
30036 [C99-based-standards] (PRIdLEAST16): Likewise.
30037 [C99-based-standards] (PRIiLEAST16): Likewise.
30038 [C99-based-standards] (PRIoLEAST16): Likewise.
30039 [C99-based-standards] (PRIuLEAST16): Likewise.
30040 [C99-based-standards] (PRIxLEAST16): Likewise.
30041 [C99-based-standards] (PRIXLEAST16): Likewise.
30042 [C99-based-standards] (SCNdLEAST16): Likewise.
30043 [C99-based-standards] (SCNiLEAST16): Likewise.
30044 [C99-based-standards] (SCNoLEAST16): Likewise.
30045 [C99-based-standards] (SCNuLEAST16): Likewise.
30046 [C99-based-standards] (SCNxLEAST16): Likewise.
30047 [C99-based-standards] (PRIdFAST16): Likewise.
30048 [C99-based-standards] (PRIiFAST16): Likewise.
30049 [C99-based-standards] (PRIoFAST16): Likewise.
30050 [C99-based-standards] (PRIuFAST16): Likewise.
30051 [C99-based-standards] (PRIxFAST16): Likewise.
30052 [C99-based-standards] (PRIXFAST16): Likewise.
30053 [C99-based-standards] (SCNdFAST16): Likewise.
30054 [C99-based-standards] (SCNiFAST16): Likewise.
30055 [C99-based-standards] (SCNoFAST16): Likewise.
30056 [C99-based-standards] (SCNuFAST16): Likewise.
30057 [C99-based-standards] (SCNxFAST16): Likewise.
30058 [C99-based-standards] (PRId32): Likewise.
30059 [C99-based-standards] (PRIi32): Likewise.
30060 [C99-based-standards] (PRIo32): Likewise.
30061 [C99-based-standards] (PRIu32): Likewise.
30062 [C99-based-standards] (PRIx32): Likewise.
30063 [C99-based-standards] (PRIX32): Likewise.
30064 [C99-based-standards] (SCNd32): Likewise.
30065 [C99-based-standards] (SCNi32): Likewise.
30066 [C99-based-standards] (SCNo32): Likewise.
30067 [C99-based-standards] (SCNu32): Likewise.
30068 [C99-based-standards] (SCNx32): Likewise.
30069 [C99-based-standards] (PRIdLEAST32): Likewise.
30070 [C99-based-standards] (PRIiLEAST32): Likewise.
30071 [C99-based-standards] (PRIoLEAST32): Likewise.
30072 [C99-based-standards] (PRIuLEAST32): Likewise.
30073 [C99-based-standards] (PRIxLEAST32): Likewise.
30074 [C99-based-standards] (PRIXLEAST32): Likewise.
30075 [C99-based-standards] (SCNdLEAST32): Likewise.
30076 [C99-based-standards] (SCNiLEAST32): Likewise.
30077 [C99-based-standards] (SCNoLEAST32): Likewise.
30078 [C99-based-standards] (SCNuLEAST32): Likewise.
30079 [C99-based-standards] (SCNxLEAST32): Likewise.
30080 [C99-based-standards] (PRIdFAST32): Likewise.
30081 [C99-based-standards] (PRIiFAST32): Likewise.
30082 [C99-based-standards] (PRIoFAST32): Likewise.
30083 [C99-based-standards] (PRIuFAST32): Likewise.
30084 [C99-based-standards] (PRIxFAST32): Likewise.
30085 [C99-based-standards] (PRIXFAST32): Likewise.
30086 [C99-based-standards] (SCNdFAST32): Likewise.
30087 [C99-based-standards] (SCNiFAST32): Likewise.
30088 [C99-based-standards] (SCNoFAST32): Likewise.
30089 [C99-based-standards] (SCNuFAST32): Likewise.
30090 [C99-based-standards] (SCNxFAST32): Likewise.
30091 [C99-based-standards] (PRId64): Likewise.
30092 [C99-based-standards] (PRIi64): Likewise.
30093 [C99-based-standards] (PRIo64): Likewise.
30094 [C99-based-standards] (PRIu64): Likewise.
30095 [C99-based-standards] (PRIx64): Likewise.
30096 [C99-based-standards] (PRIX64): Likewise.
30097 [C99-based-standards] (SCNd64): Likewise.
30098 [C99-based-standards] (SCNi64): Likewise.
30099 [C99-based-standards] (SCNo64): Likewise.
30100 [C99-based-standards] (SCNu64): Likewise.
30101 [C99-based-standards] (SCNx64): Likewise.
30102 [C99-based-standards] (PRIdLEAST64): Likewise.
30103 [C99-based-standards] (PRIiLEAST64): Likewise.
30104 [C99-based-standards] (PRIoLEAST64): Likewise.
30105 [C99-based-standards] (PRIuLEAST64): Likewise.
30106 [C99-based-standards] (PRIxLEAST64): Likewise.
30107 [C99-based-standards] (PRIXLEAST64): Likewise.
30108 [C99-based-standards] (SCNdLEAST64): Likewise.
30109 [C99-based-standards] (SCNiLEAST64): Likewise.
30110 [C99-based-standards] (SCNoLEAST64): Likewise.
30111 [C99-based-standards] (SCNuLEAST64): Likewise.
30112 [C99-based-standards] (SCNxLEAST64): Likewise.
30113 [C99-based-standards] (PRIdFAST64): Likewise.
30114 [C99-based-standards] (PRIiFAST64): Likewise.
30115 [C99-based-standards] (PRIoFAST64): Likewise.
30116 [C99-based-standards] (PRIuFAST64): Likewise.
30117 [C99-based-standards] (PRIxFAST64): Likewise.
30118 [C99-based-standards] (PRIXFAST64): Likewise.
30119 [C99-based-standards] (SCNdFAST64): Likewise.
30120 [C99-based-standards] (SCNiFAST64): Likewise.
30121 [C99-based-standards] (SCNoFAST64): Likewise.
30122 [C99-based-standards] (SCNuFAST64): Likewise.
30123 [C99-based-standards] (SCNxFAST64): Likewise.
30124 [C99-based-standards] (PRIdMAX): Likewise.
30125 [C99-based-standards] (PRIiMAX): Likewise.
30126 [C99-based-standards] (PRIoMAX): Likewise.
30127 [C99-based-standards] (PRIuMAX): Likewise.
30128 [C99-based-standards] (PRIxMAX): Likewise.
30129 [C99-based-standards] (PRIXMAX): Likewise.
30130 [C99-based-standards] (SCNdMAX): Likewise.
30131 [C99-based-standards] (SCNiMAX): Likewise.
30132 [C99-based-standards] (SCNoMAX): Likewise.
30133 [C99-based-standards] (SCNuMAX): Likewise.
30134 [C99-based-standards] (SCNxMAX): Likewise.
30135 [C99-based-standards] (PRIdPTR): Likewise.
30136 [C99-based-standards] (PRIiPTR): Likewise.
30137 [C99-based-standards] (PRIoPTR): Likewise.
30138 [C99-based-standards] (PRIuPTR): Likewise.
30139 [C99-based-standards] (PRIxPTR): Likewise.
30140 [C99-based-standards] (PRIXPTR): Likewise.
30141 [C99-based-standards] (SCNdPTR): Likewise.
30142 [C99-based-standards] (SCNiPTR): Likewise.
30143 [C99-based-standards] (SCNoPTR): Likewise.
30144 [C99-based-standards] (SCNuPTR): Likewise.
30145 [C99-based-standards] (SCNxPTR): Likewise.
30146 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30147 allow.
30148 * conform/data/stdint.h-data: Update comments to clarify
30149 requirements.
30150 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30151 type.
30152 [C99-based standards] (INT8_MAX): Likewise.
30153 [C99-based standards] (INT16_MIN): Likewise.
30154 [C99-based standards] (INT16_MAX): Likewise.
30155 [C99-based standards] (INT32_MIN): Likewise.
30156 [C99-based standards] (INT32_MAX): Likewise.
30157 [C99-based standards] (INT64_MIN): Likewise.
30158 [C99-based standards] (INT64_MAX): Likewise.
30159 [C99-based standards] (UINT8_MAX): Likewise.
30160 [C99-based standards] (UINT16_MAX): Likewise.
30161 [C99-based standards] (UINT32_MAX): Likewise.
30162 [C99-based standards] (UINT64_MAX): Likewise.
30163 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30164 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30165 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30166 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30167 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30168 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30169 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30170 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30171 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30172 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30173 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30174 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30175 [C99-based standards] (INT_FAST8_MIN): Likewise.
30176 [C99-based standards] (INT_FAST8_MAX): Likewise.
30177 [C99-based standards] (INT_FAST16_MIN): Likewise.
30178 [C99-based standards] (INT_FAST16_MAX): Likewise.
30179 [C99-based standards] (INT_FAST32_MIN): Likewise.
30180 [C99-based standards] (INT_FAST32_MAX): Likewise.
30181 [C99-based standards] (INT_FAST64_MIN): Likewise.
30182 [C99-based standards] (INT_FAST64_MAX): Likewise.
30183 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30184 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30185 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30186 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30187 [C99-based standards] (INTPTR_MIN): Likewise.
30188 [C99-based standards] (INTPTR_MAX): Likewise.
30189 [C99-based standards] (UINTPTR_MAX): Likewise.
30190 [C99-based standards] (INTMAX_MIN): Likewise.
30191 [C99-based standards] (INTMAX_MAX): Likewise.
30192 [C99-based standards] (UINTMAX_MAX): Likewise.
30193 [C99-based standards] (PTRDIFF_MIN): Likewise.
30194 [C99-based standards] (PTRDIFF_MAX): Likewise.
30195 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30196 [C99-based standards] (SIZE_MAX): Likewise.
30197 [C99-based standards] (WCHAR_MAX): Likewise.
30198 [C99-based standards] (WINT_MAX): Likewise.
30199 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30200 constraint on value.
30201 [C99-based standards] (WCHAR_MIN): Likewise.
30202 [C99-based standards] (WINT_MIN): Likewise.
30203 [C99-based standards] (*_t): Allow.
30204 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30205 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30206 Include math.h-data and complex.h-data. Remove all expectations
30207 of math.h and complex.h contents.
30208 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30209 at end of line.
30210 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30211 (struct tm): Expect tag.
30212 [C99-based-standards] (wcstof): Expect function.
30213 [C99-based-standards] (wcstold): Likewise.
30214 [C99-based-standards] (wcstoll): Likewise.
30215 [C99-based-standards] (wcstoull): Likewise.
30216 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30217 macro-int-constant. Specify type.
30218 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30219 constraint on value.
30220 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30221 Specify type.
30222 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30223 Specify value.
30224 [ISO C standards]: Do not allow headers.
30225 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30226 wcs[abcdefghijklmnopqrstuvwxyz]*.
30227 [ISO C standards] (*_t): Do not allow.
30228 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30229 Expect function.
30230 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30231 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30232 Specify type.
30233 [ISO C standards]: Do not allow headers.
30234 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30235 is[abcdefghijklmnopqrstuvwxyz]*.
30236 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30237 to[abcdefghijklmnopqrstuvwxyz]*.
30238 [ISO C standards] (*_t): Do not allow.
30239 * conform/data/stdalign.h-data: New file.
30240 * conform/data/stdbool.h-data: Likewise.
30241 * conform/data/stdnoreturn.h-data: Likewise.
30242
7514feb8
RM
302432012-11-07 Roland McGrath <roland@hack.frob.com>
30244
30245 [BZ #14815]
30246 * manual/filesys.texi (Directory Entries): Typo fix.
30247 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30248
19b2ecfc
MS
302492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30250
30251 * elf/elf.h (EM_AARCH64): New macro.
30252 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30253 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30254 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30255 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30256 (R_AARCH64_TLSDESC): Likewise.
30257 (NT_ARM_TLS): Likewise.
30258 (NT_ARM_HW_BREAK): Likewise.
30259 (NT_ARM_HW_WATCH): Likewise.
30260
60e235ee
JM
302612012-11-07 Joseph Myers <joseph@codesourcery.com>
30262
30263 [BZ #14811]
30264 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30265 (__ieee754_powl): Saturate nonzero exponents with absolute value
30266 below 0x1p-79 to +/- 0x1p-79.
30267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30268 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30269 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30270 nonzero exponents with absolute value below 0x1p-32 to +/-
30271 0x1p-32.
30272 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30273 (__ieee754_powl): Saturate nonzero exponents with absolute value
30274 below 0x1p-79 to +/- 0x1p-79.
30275 * math/libm-test.inc (pow_test): Add more tests.
30276
0ab234b7
AK
302772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30278
30279 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30280 _dl_s390_cap_flags with kernel. Increase string length.
30281 (_dl_s390_platforms): Add z196 and zEC12.
30282
45832f74
JM
302832012-11-07 Joseph Myers <joseph@codesourcery.com>
30284
30285 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30286 Change XOPEN21K to XOPEN2K.
30287
19218757
MK
302882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30289
30290 * string/memmove.c: Use memcpy when possible.
30291
c5f45721
AJ
302922012-11-06 Andreas Jaeger <aj@suse.de>
30293
30294 * po/eo.po: Update from translation team.
30295
82477c28
JM
302962012-11-06 Joseph Myers <joseph@codesourcery.com>
30297
30298 [BZ #14793]
30299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30300 exponent and small x and y exponents, scale x or y up. Increase
30301 by 2 the exponent used in scaling up.
30302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30304 * math/libm-test.inc (fma_test): Add more tests.
30305 (fma_test_towardzero): Likewise.
30306 (fma_test_downward): Likewise.
30307 (fma_test_upward): Likewise.
30308
99252c8c
JM
303092012-11-05 Joseph Myers <joseph@codesourcery.com>
30310
acfa885f
JM
30311 [BZ #14805]
30312 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30313 fenv_t *.
30314
99252c8c
JM
30315 [BZ #14801]
30316 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30317 namespace for names of struct fields.
30318 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30319 fenv_t fields.
30320 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30321 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30322
d6d98dea
ST
303232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30324
30325 [BZ #3665]
30326 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30327
e10bb107
TS
303282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30329
30330 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30331 PTR_DEMANGLE.
30332
30333 [BZ #5246]
30334 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30335 PTR_DEMANGLE.
30336
a0c2940d
JM
303372012-11-04 Joseph Myers <joseph@codesourcery.com>
30338
30339 [BZ #14797]
30340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30341 definitely overflow as x * y not x * y + z.
30342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30344 * math/libm-test.inc (fma_test): Add more tests.
30345 (fma_test_towardzero): Likewise.
30346 (fma_test_downward): Likewise.
30347 (fma_test_upward): Likewise.
30348
b830319d
TS
303492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30350
30351 [BZ #157]
30352
30353 * include/stub-tag.h: Remove file.
30354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30355 '#include' of it.
30356 * manual/maint.texi (Porting): Don't reference it.
30357 * Makerules ($(objpfx)stubs): Likewise.
30358 * dirent/closedir.c: Don't include <stub-tag.h>.
30359 * dirent/dirfd.c: Likewise.
30360 * dirent/fdopendir.c: Likewise.
30361 * dirent/getdents.c: Likewise.
30362 * dirent/getdents64.c: Likewise.
30363 * dirent/opendir.c: Likewise.
30364 * dirent/readdir.c: Likewise.
30365 * dirent/readdir64.c: Likewise.
30366 * dirent/readdir64_r.c: Likewise.
30367 * dirent/readdir_r.c: Likewise.
30368 * dirent/rewinddir.c: Likewise.
30369 * dirent/seekdir.c: Likewise.
30370 * dirent/telldir.c: Likewise.
30371 * gmon/profil.c: Likewise.
30372 * grp/setgroups.c: Likewise.
30373 * inet/if_index.c: Likewise.
30374 * io/access.c: Likewise.
30375 * io/chdir.c: Likewise.
30376 * io/chmod.c: Likewise.
30377 * io/chown.c: Likewise.
30378 * io/close.c: Likewise.
30379 * io/dup.c: Likewise.
30380 * io/dup2.c: Likewise.
30381 * io/dup3.c: Likewise.
30382 * io/euidaccess.c: Likewise.
30383 * io/faccessat.c: Likewise.
30384 * io/fchdir.c: Likewise.
30385 * io/fchmod.c: Likewise.
30386 * io/fchmodat.c: Likewise.
30387 * io/fchown.c: Likewise.
30388 * io/fchownat.c: Likewise.
30389 * io/fcntl.c: Likewise.
30390 * io/flock.c: Likewise.
30391 * io/fstatfs.c: Likewise.
30392 * io/fstatfs64.c: Likewise.
30393 * io/fstatvfs.c: Likewise.
30394 * io/fstatvfs64.c: Likewise.
30395 * io/futimens.c: Likewise.
30396 * io/fxstat.c: Likewise.
30397 * io/fxstat64.c: Likewise.
30398 * io/fxstatat.c: Likewise.
30399 * io/fxstatat64.c: Likewise.
30400 * io/getcwd.c: Likewise.
30401 * io/isatty.c: Likewise.
30402 * io/lchmod.c: Likewise.
30403 * io/lchown.c: Likewise.
30404 * io/link.c: Likewise.
30405 * io/linkat.c: Likewise.
30406 * io/lseek.c: Likewise.
30407 * io/lseek64.c: Likewise.
30408 * io/lxstat64.c: Likewise.
30409 * io/mkdir.c: Likewise.
30410 * io/mkdirat.c: Likewise.
30411 * io/mkfifo.c: Likewise.
30412 * io/mkfifoat.c: Likewise.
30413 * io/open.c: Likewise.
30414 * io/open64.c: Likewise.
30415 * io/openat.c: Likewise.
30416 * io/openat64.c: Likewise.
30417 * io/pipe.c: Likewise.
30418 * io/pipe2.c: Likewise.
30419 * io/poll.c: Likewise.
30420 * io/posix_fadvise.c: Likewise.
30421 * io/posix_fadvise64.c: Likewise.
30422 * io/posix_fallocate.c: Likewise.
30423 * io/posix_fallocate64.c: Likewise.
30424 * io/read.c: Likewise.
30425 * io/readlink.c: Likewise.
30426 * io/readlinkat.c: Likewise.
30427 * io/rmdir.c: Likewise.
30428 * io/sendfile.c: Likewise.
30429 * io/sendfile64.c: Likewise.
30430 * io/statfs.c: Likewise.
30431 * io/statfs64.c: Likewise.
30432 * io/statvfs.c: Likewise.
30433 * io/statvfs64.c: Likewise.
30434 * io/symlink.c: Likewise.
30435 * io/symlinkat.c: Likewise.
30436 * io/ttyname.c: Likewise.
30437 * io/ttyname_r.c: Likewise.
30438 * io/umask.c: Likewise.
30439 * io/unlink.c: Likewise.
30440 * io/unlinkat.c: Likewise.
30441 * io/utime.c: Likewise.
30442 * io/utimensat.c: Likewise.
30443 * io/write.c: Likewise.
30444 * io/xmknod.c: Likewise.
30445 * io/xmknodat.c: Likewise.
30446 * io/xstat.c: Likewise.
30447 * io/xstat64.c: Likewise.
30448 * login/getpt.c: Likewise.
30449 * login/grantpt.c: Likewise.
30450 * login/unlockpt.c: Likewise.
30451 * math/e_acoshl.c: Likewise.
30452 * math/e_acosl.c: Likewise.
30453 * math/e_asinl.c: Likewise.
30454 * math/e_atan2l.c: Likewise.
30455 * math/e_atanhl.c: Likewise.
30456 * math/e_coshl.c: Likewise.
30457 * math/e_expl.c: Likewise.
30458 * math/e_fmodl.c: Likewise.
30459 * math/e_gammal_r.c: Likewise.
30460 * math/e_hypotl.c: Likewise.
30461 * math/e_j0l.c: Likewise.
30462 * math/e_j1l.c: Likewise.
30463 * math/e_jnl.c: Likewise.
30464 * math/e_lgammal_r.c: Likewise.
30465 * math/e_log10l.c: Likewise.
30466 * math/e_log2l.c: Likewise.
30467 * math/e_logl.c: Likewise.
30468 * math/e_powl.c: Likewise.
30469 * math/e_rem_pio2l.c: Likewise.
30470 * math/e_sinhl.c: Likewise.
30471 * math/e_sqrtl.c: Likewise.
30472 * math/fclrexcpt.c: Likewise.
30473 * math/fedisblxcpt.c: Likewise.
30474 * math/feenablxcpt.c: Likewise.
30475 * math/fegetenv.c: Likewise.
30476 * math/fegetexcept.c: Likewise.
30477 * math/fegetround.c: Likewise.
30478 * math/feholdexcpt.c: Likewise.
30479 * math/fesetenv.c: Likewise.
30480 * math/fesetround.c: Likewise.
30481 * math/feupdateenv.c: Likewise.
30482 * math/fgetexcptflg.c: Likewise.
30483 * math/fraiseexcpt.c: Likewise.
30484 * math/fsetexcptflg.c: Likewise.
30485 * math/ftestexcept.c: Likewise.
30486 * math/k_cosl.c: Likewise.
30487 * math/k_rem_pio2l.c: Likewise.
30488 * math/k_sinl.c: Likewise.
30489 * math/k_tanl.c: Likewise.
30490 * math/s_asinhl.c: Likewise.
30491 * math/s_atanl.c: Likewise.
30492 * math/s_cbrtl.c: Likewise.
30493 * math/s_erfl.c: Likewise.
30494 * math/s_expm1l.c: Likewise.
30495 * math/s_log1pl.c: Likewise.
30496 * math/s_tanhl.c: Likewise.
30497 * misc/acct.c: Likewise.
30498 * misc/brk.c: Likewise.
30499 * misc/chflags.c: Likewise.
30500 * misc/chroot.c: Likewise.
30501 * misc/fchflags.c: Likewise.
30502 * misc/fgetxattr.c: Likewise.
30503 * misc/flistxattr.c: Likewise.
30504 * misc/fremovexattr.c: Likewise.
30505 * misc/fsetxattr.c: Likewise.
30506 * misc/fsync.c: Likewise.
30507 * misc/ftruncate.c: Likewise.
30508 * misc/futimes.c: Likewise.
30509 * misc/futimesat.c: Likewise.
30510 * misc/getdomain.c: Likewise.
30511 * misc/getdtsz.c: Likewise.
30512 * misc/gethostid.c: Likewise.
30513 * misc/gethostname.c: Likewise.
30514 * misc/getloadavg.c: Likewise.
30515 * misc/getpagesize.c: Likewise.
30516 * misc/getsysstats.c: Likewise.
30517 * misc/getxattr.c: Likewise.
30518 * misc/gtty.c: Likewise.
30519 * misc/ioctl.c: Likewise.
30520 * misc/lgetxattr.c: Likewise.
30521 * misc/listxattr.c: Likewise.
30522 * misc/llistxattr.c: Likewise.
30523 * misc/lremovexattr.c: Likewise.
30524 * misc/lsetxattr.c: Likewise.
30525 * misc/lutimes.c: Likewise.
30526 * misc/madvise.c: Likewise.
30527 * misc/mincore.c: Likewise.
30528 * misc/mlock.c: Likewise.
30529 * misc/mlockall.c: Likewise.
30530 * misc/mmap.c: Likewise.
30531 * misc/mprotect.c: Likewise.
30532 * misc/msync.c: Likewise.
30533 * misc/munlock.c: Likewise.
30534 * misc/munlockall.c: Likewise.
30535 * misc/munmap.c: Likewise.
30536 * misc/preadv.c: Likewise.
30537 * misc/preadv64.c: Likewise.
30538 * misc/ptrace.c: Likewise.
30539 * misc/pwritev.c: Likewise.
30540 * misc/pwritev64.c: Likewise.
30541 * misc/readv.c: Likewise.
30542 * misc/reboot.c: Likewise.
30543 * misc/remap_file_pages.c: Likewise.
30544 * misc/removexattr.c: Likewise.
30545 * misc/revoke.c: Likewise.
30546 * misc/select.c: Likewise.
30547 * misc/setdomain.c: Likewise.
30548 * misc/setegid.c: Likewise.
30549 * misc/seteuid.c: Likewise.
30550 * misc/sethostid.c: Likewise.
30551 * misc/sethostname.c: Likewise.
30552 * misc/setregid.c: Likewise.
30553 * misc/setreuid.c: Likewise.
30554 * misc/setxattr.c: Likewise.
30555 * misc/sstk.c: Likewise.
30556 * misc/stty.c: Likewise.
30557 * misc/swapoff.c: Likewise.
30558 * misc/swapon.c: Likewise.
30559 * misc/sync.c: Likewise.
30560 * misc/syncfs.c: Likewise.
30561 * misc/syscall.c: Likewise.
30562 * misc/truncate.c: Likewise.
30563 * misc/ualarm.c: Likewise.
30564 * misc/usleep.c: Likewise.
30565 * misc/ustat.c: Likewise.
30566 * misc/utimes.c: Likewise.
30567 * misc/vhangup.c: Likewise.
30568 * misc/writev.c: Likewise.
30569 * posix/_exit.c: Likewise.
30570 * posix/alarm.c: Likewise.
30571 * posix/execve.c: Likewise.
30572 * posix/fexecve.c: Likewise.
30573 * posix/fork.c: Likewise.
30574 * posix/fpathconf.c: Likewise.
30575 * posix/getaddrinfo.c: Likewise.
30576 * posix/getegid.c: Likewise.
30577 * posix/geteuid.c: Likewise.
30578 * posix/getgid.c: Likewise.
30579 * posix/getgroups.c: Likewise.
30580 * posix/getlogin.c: Likewise.
30581 * posix/getlogin_r.c: Likewise.
30582 * posix/getpgid.c: Likewise.
30583 * posix/getpid.c: Likewise.
30584 * posix/getppid.c: Likewise.
30585 * posix/getresgid.c: Likewise.
30586 * posix/getresuid.c: Likewise.
30587 * posix/getsid.c: Likewise.
30588 * posix/getuid.c: Likewise.
30589 * posix/glob64.c: Likewise.
30590 * posix/nanosleep.c: Likewise.
30591 * posix/pathconf.c: Likewise.
30592 * posix/pause.c: Likewise.
30593 * posix/posix_madvise.c: Likewise.
30594 * posix/pread.c: Likewise.
30595 * posix/pread64.c: Likewise.
30596 * posix/pwrite.c: Likewise.
30597 * posix/pwrite64.c: Likewise.
30598 * posix/sched_getaffinity.c: Likewise.
30599 * posix/sched_getp.c: Likewise.
30600 * posix/sched_gets.c: Likewise.
30601 * posix/sched_primax.c: Likewise.
30602 * posix/sched_primin.c: Likewise.
30603 * posix/sched_rr_gi.c: Likewise.
30604 * posix/sched_setaffinity.c: Likewise.
30605 * posix/sched_setp.c: Likewise.
30606 * posix/sched_sets.c: Likewise.
30607 * posix/sched_yield.c: Likewise.
30608 * posix/setgid.c: Likewise.
30609 * posix/setlogin.c: Likewise.
30610 * posix/setpgid.c: Likewise.
30611 * posix/setresgid.c: Likewise.
30612 * posix/setresuid.c: Likewise.
30613 * posix/setsid.c: Likewise.
30614 * posix/setuid.c: Likewise.
30615 * posix/sleep.c: Likewise.
30616 * posix/spawni.c: Likewise.
30617 * posix/sysconf.c: Likewise.
30618 * posix/times.c: Likewise.
30619 * posix/wait.c: Likewise.
30620 * posix/wait3.c: Likewise.
30621 * posix/wait4.c: Likewise.
30622 * posix/waitpid.c: Likewise.
30623 * resolv/gai_sigqueue.c: Likewise.
30624 * resource/getpriority.c: Likewise.
30625 * resource/getrlimit.c: Likewise.
30626 * resource/getrusage.c: Likewise.
30627 * resource/nice.c: Likewise.
30628 * resource/setpriority.c: Likewise.
30629 * resource/setrlimit.c: Likewise.
30630 * resource/ulimit.c: Likewise.
30631 * rt/aio_cancel.c: Likewise.
30632 * rt/aio_fsync.c: Likewise.
30633 * rt/aio_read.c: Likewise.
30634 * rt/aio_sigqueue.c: Likewise.
30635 * rt/aio_suspend.c: Likewise.
30636 * rt/aio_write.c: Likewise.
30637 * rt/clock_getres.c: Likewise.
30638 * rt/clock_gettime.c: Likewise.
30639 * rt/clock_nanosleep.c: Likewise.
30640 * rt/clock_settime.c: Likewise.
30641 * rt/lio_listio.c: Likewise.
30642 * rt/mq_close.c: Likewise.
30643 * rt/mq_getattr.c: Likewise.
30644 * rt/mq_notify.c: Likewise.
30645 * rt/mq_open.c: Likewise.
30646 * rt/mq_receive.c: Likewise.
30647 * rt/mq_send.c: Likewise.
30648 * rt/mq_setattr.c: Likewise.
30649 * rt/mq_timedreceive.c: Likewise.
30650 * rt/mq_timedsend.c: Likewise.
30651 * rt/mq_unlink.c: Likewise.
30652 * rt/shm_open.c: Likewise.
30653 * rt/shm_unlink.c: Likewise.
30654 * rt/timer_create.c: Likewise.
30655 * rt/timer_delete.c: Likewise.
30656 * rt/timer_getoverr.c: Likewise.
30657 * rt/timer_gettime.c: Likewise.
30658 * rt/timer_settime.c: Likewise.
30659 * setjmp/__longjmp.c: Likewise.
30660 * setjmp/setjmp.c: Likewise.
30661 * signal/kill.c: Likewise.
30662 * signal/killpg.c: Likewise.
30663 * signal/raise.c: Likewise.
30664 * signal/sigaction.c: Likewise.
30665 * signal/sigaltstack.c: Likewise.
30666 * signal/sigblock.c: Likewise.
30667 * signal/sigignore.c: Likewise.
30668 * signal/sigintr.c: Likewise.
30669 * signal/signal.c: Likewise.
30670 * signal/sigpause.c: Likewise.
30671 * signal/sigpending.c: Likewise.
30672 * signal/sigqueue.c: Likewise.
30673 * signal/sigreturn.c: Likewise.
30674 * signal/sigset.c: Likewise.
30675 * signal/sigsetmask.c: Likewise.
30676 * signal/sigstack.c: Likewise.
30677 * signal/sigsuspend.c: Likewise.
30678 * signal/sigtimedwait.c: Likewise.
30679 * signal/sigvec.c: Likewise.
30680 * signal/sigwait.c: Likewise.
30681 * signal/sigwaitinfo.c: Likewise.
30682 * signal/sysv_signal.c: Likewise.
30683 * socket/accept.c: Likewise.
30684 * socket/accept4.c: Likewise.
30685 * socket/bind.c: Likewise.
30686 * socket/connect.c: Likewise.
30687 * socket/getpeername.c: Likewise.
30688 * socket/getsockname.c: Likewise.
30689 * socket/getsockopt.c: Likewise.
30690 * socket/isfdtype.c: Likewise.
30691 * socket/listen.c: Likewise.
30692 * socket/recv.c: Likewise.
30693 * socket/recvfrom.c: Likewise.
30694 * socket/recvmsg.c: Likewise.
30695 * socket/send.c: Likewise.
30696 * socket/sendmsg.c: Likewise.
30697 * socket/sendto.c: Likewise.
30698 * socket/setsockopt.c: Likewise.
30699 * socket/shutdown.c: Likewise.
30700 * socket/sockatmark.c: Likewise.
30701 * socket/socket.c: Likewise.
30702 * socket/socketpair.c: Likewise.
30703 * stdio-common/ctermid.c: Likewise.
30704 * stdio-common/cuserid.c: Likewise.
30705 * stdio-common/remove.c: Likewise.
30706 * stdio-common/rename.c: Likewise.
30707 * stdio-common/renameat.c: Likewise.
30708 * stdio-common/tempname.c: Likewise.
30709 * stdlib/getcontext.c: Likewise.
30710 * stdlib/makecontext.c: Likewise.
30711 * stdlib/setcontext.c: Likewise.
30712 * stdlib/swapcontext.c: Likewise.
30713 * stdlib/system.c: Likewise.
30714 * streams/fattach.c: Likewise.
30715 * streams/fdetach.c: Likewise.
30716 * streams/getmsg.c: Likewise.
30717 * streams/getpmsg.c: Likewise.
30718 * streams/putmsg.c: Likewise.
30719 * streams/putpmsg.c: Likewise.
30720 * sysdeps/unix/bsd/getpt.c: Likewise.
30721 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30722 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30723 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30725 Likewise.
30726 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30727 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30728 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30729 * sysvipc/msgctl.c: Likewise.
30730 * sysvipc/msgget.c: Likewise.
30731 * sysvipc/msgrcv.c: Likewise.
30732 * sysvipc/msgsnd.c: Likewise.
30733 * sysvipc/semctl.c: Likewise.
30734 * sysvipc/semget.c: Likewise.
30735 * sysvipc/semop.c: Likewise.
30736 * sysvipc/semtimedop.c: Likewise.
30737 * sysvipc/shmat.c: Likewise.
30738 * sysvipc/shmctl.c: Likewise.
30739 * sysvipc/shmdt.c: Likewise.
30740 * sysvipc/shmget.c: Likewise.
30741 * termios/tcdrain.c: Likewise.
30742 * termios/tcflow.c: Likewise.
30743 * termios/tcflush.c: Likewise.
30744 * termios/tcgetattr.c: Likewise.
30745 * termios/tcgetpgrp.c: Likewise.
30746 * termios/tcsendbrk.c: Likewise.
30747 * termios/tcsetattr.c: Likewise.
30748 * termios/tcsetpgrp.c: Likewise.
30749 * time/adjtime.c: Likewise.
30750 * time/clock.c: Likewise.
30751 * time/getitimer.c: Likewise.
30752 * time/gettimeofday.c: Likewise.
30753 * time/setitimer.c: Likewise.
30754 * time/settimeofday.c: Likewise.
30755 * time/stime.c: Likewise.
30756 * time/time.c: Likewise.
30757
307582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 30759
a20492cf
PT
30760 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30761 /usr/old/bin.
30762
72e182e3
PT
30763 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30764 instead of spaces.
30765 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30766
fbeafede
JM
307672012-11-03 Joseph Myers <joseph@codesourcery.com>
30768
5b5b04d6
JM
30769 [BZ #14796]
30770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30771 FE_TONEAREST before applying Dekker multiplication and Knuth
30772 addition. Clear inexact exceptions and check for exact zero
30773 results afterwards.
30774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30777 * math/libm-test.inc (fma_test): Add more tests.
30778 (fma_test_towardzero): Likewise.
30779 (fma_test_downward): Likewise.
30780 (fma_test_upward): Likewise.
30781 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30782 function.
30783 (libc_fesetround): New macro.
30784 (libc_fesetroundf): Likewise.
30785 (libc_fesetroundl): Likewise.
30786 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30787 function.
30788 (libc_fesetround_387): Likewise.
30789 (libc_fesetroundf): New macro.
30790 (libc_fesetround): Likewise.
30791 (libc_fesetroundl): Likewise.
30792 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30793 function.
30794 (libc_fesetroundf): New macro.
30795 (libc_fesetround): Likewise.
30796 (libc_fesetroundl): Likewise.
30797 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30798 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30799 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30800 libm_hidden_ver.
30801 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30802 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30803 libm_hidden_def.
30804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30805 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30806 libm_hidden_ver.
30807 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30808 libm_hidden_def.
30809
fbeafede
JM
30810 [BZ #3439]
30811 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30812 integer constant usable in #if and use that to give value to enum
30813 constant.
30814 (FE_DIVBYZERO): Likewise.
30815 (FE_UNDERFLOW): Likewise.
30816 (FE_OVERFLOW): Likewise.
30817 (FE_INVALID): Likewise.
30818 (FE_INVALID_SNAN): Likewise.
30819 (FE_INVALID_ISI): Likewise.
30820 (FE_INVALID_IDI): Likewise.
30821 (FE_INVALID_ZDZ): Likewise.
30822 (FE_INVALID_IMZ): Likewise.
30823 (FE_INVALID_COMPARE): Likewise.
30824 (FE_INVALID_SOFTWARE): Likewise.
30825 (FE_INVALID_SQRT): Likewise.
30826 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30827 (FE_TONEAREST): Likewise.
30828 (FE_TOWARDZERO): Likewise.
30829 (FE_UPWARD): Likewise.
30830 (FE_DOWNWARD): Likewise.
30831 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30832 (FE_DIVBYZERO): Likewise.
30833 (FE_OVERFLOW): Likewise.
30834 (FE_UNDERFLOW): Likewise.
30835 (FE_INEXACT): Likewise.
30836 (FE_TONEAREST): Likewise.
30837 (FE_DOWNWARD): Likewise.
30838 (FE_UPWARD): Likewise.
30839 (FE_TOWARDZERO): Likewise.
30840 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30841 (FE_UNDERFLOW): Likewise.
30842 (FE_OVERFLOW): Likewise.
30843 (FE_DIVBYZERO): Likewise.
30844 (FE_INVALID): Likewise.
30845 (FE_TONEAREST): Likewise.
30846 (FE_TOWARDZERO): Likewise.
30847 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30848 (FE_OVERFLOW): Likewise.
30849 (FE_UNDERFLOW): Likewise.
30850 (FE_DIVBYZERO): Likewise.
30851 (FE_INEXACT): Likewise.
30852 (FE_TONEAREST): Likewise.
30853 (FE_TOWARDZERO): Likewise.
30854 (FE_UPWARD): Likewise.
30855 (FE_DOWNWARD): Likewise.
30856 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30857 (FE_DIVBYZERO): Likewise.
30858 (FE_OVERFLOW): Likewise.
30859 (FE_UNDERFLOW): Likewise.
30860 (FE_INEXACT): Likewise.
30861 (FE_TONEAREST): Likewise.
30862 (FE_DOWNWARD): Likewise.
30863 (FE_UPWARD): Likewise.
30864 (FE_TOWARDZERO): Likewise.
30865
105ca950
CM
308662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30867
30868 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30869
a542b389
AS
308702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30871
30872 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30873 commands. Quote $PWD.
30874 (blacklist_exports): Don't use remove_newlines. Replace "declare
30875 -x" by "export".
30876 (remove_newlines): Remove.
30877
f62c8abc
L
308782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30879
30880 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30881 * stdlib/stdlib.h (atof): Moved to ...
30882 * include/bits/stdlib-float.h: Here. New file.
30883 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30884 * stdlib/bits/stdlib-float.h: New file.
30885 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30886 -mno-sse -mno-mmx.
30887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30888 <xmmintrin.h>.
30889
0155d5b2
JM
308902012-11-02 Joseph Myers <joseph@codesourcery.com>
30891
a68d0680
JM
30892 * conform/conformtest.pl (@headers): Add fenv.h.
30893 * conform/data/fenv.h-data: New file.
30894 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30895 include of <math/fenv.h>.
30896
caf7f573
JM
30897 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30898 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30899 && !UNIX98]. Enables tests for XOPEN2K8.
30900 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30901 POSIX2008]: Likewise.
30902
6c073ad6
JM
30903 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30904 (struct rusage): Do not expect type or its members.
30905
0155d5b2
JM
30906 [BZ #3439]
30907 * math/math.h (FP_NAN): Define macro to integer constant usable in
30908 #if and use that to give value to enum constant.
30909 (FP_INFINITE): Likewise.
30910 (FP_ZERO): Likewise.
30911 (FP_SUBNORMAL): Likewise.
30912 (FP_NORMAL): Likewise.
30913
b5dcacb4
AS
309142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30915
30916 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30917 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30918 arguments.
30919
f7934be8
RM
309202012-11-02 Roland McGrath <roland@hack.frob.com>
30921
30922 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30923 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30924 autoconf-time if not.
30925 * configure.in: Remove AC_PREREQ.
30926
d7d08bde
TMQMF
309272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30928
30929 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30930 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30931 of the internal implementation.
30932
dcdae19a
JM
309332012-11-02 Joseph Myers <joseph@codesourcery.com>
30934
30935 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30936 except include of <misc/sys/syslog.h>.
30937
d6cffd3e
AS
309382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30939
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30941 function returns with a NULL context exit with zero.
30942
b3563932
TMQMF
309432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30944
30945 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30946
b288a93d
L
309472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30948
30949 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30950 (run_program_cmd): This.
30951 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30952 (tst_langinfo): New variable. Use it.
30953
a2421a68
SAS
309542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30955
30956 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30957 floating point opcodes.
30958
6f796e1b
TS
309592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30960
7402596b
TS
30961 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30962 variable.
30963
d0d4f868
TS
30964 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30965
6f796e1b
TS
30966 * sysdeps/mach/hurd/powerpc: Remove directory.
30967 * sysdeps/mach/powerpc: Likewise.
30968
4da224a2
AS
309692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30970
30971 * scripts/check-local-headers.sh: Ignore c++ headers.
30972
341dd673
TS
309732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30974
30975 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30976 __libc_cleanup_region_start argument.
30977
473611b2
JM
309782012-11-01 Joseph Myers <joseph@codesourcery.com>
30979
30980 [BZ #14784]
30981 [BZ #14785]
30982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30983 x * y using scaling, not as x * y + z.
30984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30986 * math/libm-test.inc (fma_test): Add more tests.
30987 (fma_test_towardzero): Likewise.
30988 (fma_test_downward): Likewise.
30989 (fma_test_upward): Likewise.
30990
4078da3d
TS
309912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30992
30993 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30994
903252aa
JM
309952012-10-31 Joseph Myers <joseph@codesourcery.com>
30996
30997 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30998 New variable.
30999
cbc818d0
TS
310002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31001
31002 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31003
5a03cb1e
AS
310042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31005
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31007 Fix sort order.
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31009 Likewise.
31010
90aff2ff
TMQMF
310112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31012
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31014 Fix the order of the list for glibc 2.17.
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31016 Likewise.
31017
1818fcb7
AS
310182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31019
31020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31021
ef82f4da
JM
310222012-10-31 Joseph Myers <joseph@codesourcery.com>
31023
16a0e2ec
JM
31024 [BZ #14610]
31025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31026 for low part of x being zero before using __atanl (y).
31027 * math/libm-test.inc (atan2_test): Add another test.
31028
0eb69512
JM
31029 * manual/install.texi (Configuring and compiling): Document
31030 general use of test-wrapper and test-wrapper-env.
31031 * INSTALL: Regenerated.
31032
ef82f4da
JM
31033 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31034 (__fma): Do not extract and scale down low bits on after-rounding
31035 systems when result rounded to normal precision would have normal
31036 exponent.
31037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31038 (__fmal): Do not extract and scale down low bits on after-rounding
31039 systems when result rounded to normal precision would have normal
31040 exponent.
31041 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31042 (__fmal): Do not extract and scale down low bits on after-rounding
31043 systems when result rounded to normal precision would have normal
31044 exponent.
31045 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31046 macro.
31047 (fma_test): Add more tests.
31048 (fma_test_towardzero): Likewise.
31049 (fma_test_downward): Likewise.
31050 (fma_test_upward): Likewise.
31051
954ef0d9
L
310522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31053
31054 * sysdeps/i386/tininess.h: Renamed to ...
31055 * sysdeps/x86/tininess.h: This.
31056 * sysdeps/x86_64/tininess.h: Removed.
31057
df61ffb2
JM
310582012-10-30 Joseph Myers <joseph@codesourcery.com>
31059
31060 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31061 input. Use $(build-program-cmd).
31062 ($(objpfx)tst-array1-static.out): Likewise.
31063 ($(objpfx)tst-array2.out): Likewise.
31064 ($(objpfx)tst-array3.out): Likewise.
31065 ($(objpfx)tst-array4.out): Likewise.
31066 ($(objpfx)tst-array5.out): Likewise.
31067 ($(objpfx)tst-array5-static.out): Likewise.
31068
01767843
CM
310692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31070
47cc1490
CM
31071 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31072 if defined.
31073
01767843
CM
31074 * nss/nsswitch.h (nss_interface_function): Provide new
31075 macro for use with NSS functions.
31076 * grp/initgroups.c: Use new macro.
31077 * nss/getXXbyYY.c: Likewise.
31078 * nss/getXXbyYY_r.c: Likewise.
31079 * nss/getXXent.c: Likewise.
31080 * nss/getXXent_r.c: Likewise.
31081 * sysdeps/posix/getaddrinfo.c: Likewise.
31082
8321aa97
AJ
310832012-10-30 Andreas Jaeger <aj@suse.de>
31084
31085 * po/ru.po: Update Russion translation from translation project.
31086
2a27fd6d
JM
310872012-10-30 Joseph Myers <joseph@codesourcery.com>
31088
8627a232
JM
31089 [BZ #14152]
31090 [BZ #14783]
31091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31092 result and shift together with sticky bit instead of replicating
31093 round-to-nearest rounding.
31094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31096 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31097 missing underflow exceptions.
31098 (fma_test_towardzero): Add more tests.
31099 (fma_test_downward): Likewise.
31100 (fma_test_upward): Likewise.
31101
2a27fd6d
JM
31102 [BZ #14047]
31103 * sysdeps/generic/tininess.h: New file.
31104 * sysdeps/i386/tininess.h: Likewise.
31105 * sysdeps/sh/tininess.h: Likewise.
31106 * sysdeps/x86_64/tininess.h: Likewise.
31107 * stdlib/tst-strtod-underflow.c: Likewise.
31108 * stdlib/tst-tininess.c: Likewise.
31109 * stdlib/strtod_l.c: Include <tininess.h>.
31110 (round_and_return): Do not set errno for exact underflow cases.
31111 Force an underflow exception when setting errno for underflow.
31112 Determine underflow based on rounding to normal precision if
31113 TININESS_AFTER_ROUNDING.
31114 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31115 ERANGE for exact underflow cases.
31116 * stdlib/Makefile (tests): Add tst-tininess and
31117 tst-strtod-underflow.
31118 ($(objpfx)tst-tininess): Use $(link-libm).
31119 ($(objpfx)tst-strtod-underflow): Likewise.
31120
e7170363
AJ
311212012-10-30 Andreas Jaeger <aj@suse.de>
31122
e5088dc6
AJ
31123 [BZ#14767]
31124 * elf/Makefile (tests): Remove conditional for have-initfini-array
31125 since this is now always required and the variable does not exist
31126 anymore.
31127 (tests-static): Likewise.
31128 (modules-names): Likewise.
31129
e7170363 31130 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31131
31132 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31133 merged with constructor/destructor.
31134 (init_array): Likewise.
31135 * elf/tst-array2dep.c (fini_array): Likewise.
31136 (init_array): Likewise.
31137
60457d8a
MF
311382012-10-29 Mike Frysinger <vapier@gentoo.org>
31139
31140 * manual/message.texi: Delete @cartouche tags.
31141
8bece752
PT
311422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31143
94ce799f
PT
31144 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31145 EOPNOTSUPP.
31146 * sysdeps/mach/hurd/fsync.c: Likewise.
31147
8bece752
PT
31148 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31149 [_POSIX_REALTIME_SIGNALS]: Change condition to
31150 [_POSIX_REALTIME_SIGNALS > 0].
31151
86ebe6b1
AJ
311522012-10-27 Andreas Jaeger <aj@suse.de>
31153
31154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31155 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31157 [__WORDSIZE != 64]: Likewise.
31158
54399c08
L
311592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31160
31161 * iconvdata/tst-table.sh: Remove ${SHELL}.
31162 * iconvdata/tst-tables.sh: Likewise.
31163
e2211bed
DM
311642012-10-25 David S. Miller <davem@davemloft.net>
31165
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31167 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31168 of strtoull.
31169
f303f97c
DM
31170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31171 ifunc-impl-list.c
31172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31173 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31174 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31175 file.
31176
1e9d84cd
RM
311772012-10-25 Roland McGrath <roland@hack.frob.com>
31178
31179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31180 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31181 __getdirentries.
31182
df381762
JM
311832012-10-25 Joseph Myers <joseph@codesourcery.com>
31184 Jim Blandy <jimb@codesourcery.com>
31185
31186 * scripts/cross-test-ssh.sh: New file.
31187 * manual/install.texi (Configuring and compiling): Document use of
31188 cross-test-ssh.sh.
31189 * INSTALL: Regenerated.
31190
bff64913
PT
311912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31192
31193 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31194 EOPNOTSUPP.
31195
25fe8932
JM
311962012-10-25 Joseph Myers <joseph@codesourcery.com>
31197
31198 * Makeconfig (run-program-prefix): Fix comment.
31199
cc1290d0
JM
312002012-10-24 Joseph Myers <joseph@codesourcery.com>
31201 Jim Blandy <jimb@codesourcery.com>
31202
31203 * Makeconfig (test-wrapper): New variable,
31204 (test-wrapper-env): Likewise.
31205 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31206 (run-built-tests): Define to yes.
31207 (run-program-prefix): Use $(test-wrapper).
31208 (built-program-cmd): Likewise.
31209 * Rules (make-test-out): Use $(test-wrapper-env) and
31210 $(host-built-program-cmd).
31211 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31212 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31213 tst-pathopt.sh.
31214 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31215 $(test-wrapper-env) to tst-rtld-load-self.sh.
31216 ($(objpfx)order2.out): Use $(test-wrapper).
31217 ($(objpfx)tst-initorder.out): Likewise.
31218 ($(objpfx)tst-initorder2.out): Likewise.
31219 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31220 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31221 (test_wrapper_env): New variable. Use it to run ld.so.
31222 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31223 Use it to run ld.so.
31224 (test_wrapper_env): Likewise.
31225 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31226 $(test-wrapper) to run-iconv-test.sh.
31227 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31228 (ICONV): Use $test_wrapper.
31229 * posix/Makefile ($(objpfx)globtest.out): Pass
31230 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31231 globtest.sh, not $(run-program-prefix).
31232 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31233 (test_wrapper): Likewise.
31234 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31235 set together with run_via_rtld_prefix.
31236 (run_program_prefix): Define in terms of test_wrapper and
31237 run_via_rtld_prefix.
31238
6e6249d0
RM
312392012-10-24 Roland McGrath <roland@hack.frob.com>
31240
31241 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31242 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31243 Targets removed.
31244
31245 [BZ #14743]
31246 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31247 Declare __clock_getres, __clock_gettime, __clock_settime,
31248 __clock_nanosleep, and __clock_getcpuclockid.
31249 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31250 Remove librt_hidden_def (clock_gettime).
31251 * sysdeps/unix/clock_gettime.c: Likewise.
31252 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31254 * rt/clock_getres.c: Define __clock_getres as an alias.
31255 * sysdeps/posix/clock_getres.c: Likewise.
31256 * rt/clock_settime.c: Define __clock_settime as an alias.
31257 * sysdeps/unix/clock_settime.c: Likewise.
31258 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31259 * sysdeps/unix/clock_nanosleep.c: Likewise.
31260 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31261 * rt/clock-compat.c: New file.
31262 * rt/Makefile (librt-routines): Add clock-compat and move
31263 $(clock-routines) to ...
31264 (routines): ... here, new variable.
31265 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31266 Don't add get_clockfreq here.
31267 * rt/Versions (libc: GLIBC_2.17): New version set.
31268 Add clock_* symbols here.
31269 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31271 (GLIBC_2.17): Add clock_* symbols.
31272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31276 Likewise.
31277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31278 Likewise.
31279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31283 * NEWS: Mention the move.
31284
31285 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31286 Use __open, __read, __close rather than their public counterparts.
31287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31288 (__get_clockfreq_via_cpuinfo): Likewise.
31289 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31290 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31291
31292 * config.h.in (HAVE_IFUNC): New #undef.
31293 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31294 was successful.
31295 * configure: Regenerated.
31296
0cae3f4b
MF
312972012-10-24 Mike Frysinger <vapier@gentoo.org>
31298
31299 * configure.in: Move READELF check to start of file.
31300 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31301 libc_cv_asm_gnu_indirect_function in the process.
31302 * configure: Regenerated.
31303
8175a253
MF
313042012-10-24 Mike Frysinger <vapier@gentoo.org>
31305
31306 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31307 send the output to /dev/null.
31308 (libc_cv_cc_with_libunwind): Likewise.
31309 (libc_cv_as_noexecstack): Likewise.
31310 * configure: Regenerate.
31311
0708a7d1
JM
313122012-10-24 Joseph Myers <joseph@codesourcery.com>
31313
10b40d85
JM
31314 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31315
0708a7d1
JM
31316 * posix/globtest.sh (TMPDIR): Do not set.
31317 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31318 (testout): Likewise.
31319
9fddec1a
AJ
313202012-10-24 Andreas Jaeger <aj@suse.de>
31321
3a8db22f
AJ
31322 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31323 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31324 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31325 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31326 posix_fadvise64, posix_fallocate64.
31327
9fddec1a
AJ
31328 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31329 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31330 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31331 Likewise.
31332 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31333 Likewise.
31334 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31335
31336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31337 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31338 <bits/fcntl-linux.h>.
31339 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31340
31341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31342 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31343 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31344 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31345 [__WORDSIZE != 64]: Likewise.
31346
ebfd1bbd
JM
313472012-10-23 Joseph Myers <joseph@codesourcery.com>
31348
03ac099f
JM
31349 * Makeconfig (run-built-tests): New variable.
31350 * Rules [$(cross-compiling) = yes]: Change condition to
31351 [$(run-built-tests) = no].
31352 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31353 to [$(run-built-tests) = yes].
31354 * elf/Makefile [$(cross-compiling) = no]: Likewise
31355 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31356 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31357 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31358 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31359 * io/Makefile [$(cross-compiling) = no]: Likewise.
31360 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31361 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31362 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31363 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31364 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31365 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31366 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31367 * string/Makefile [$(cross-compiling) = no]: Likewise.
31368
ebfd1bbd
JM
31369 * posix/Makefile ($(objpfx)globtest.out): Pass
31370 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31371 $(rtld-installed-name).
31372 * posix/globtest.sh (elf_objpfx): Remove variable.
31373 (rtld_installed_name): Likewise.
31374 (library_path): Likewise.
31375 (run_program_prefix): New variable. Use for running globtest
31376 binary.
31377
166bca24
JB
313782012-10-23 Jim Blandy <jimb@codesourcery.com>
31379 Joseph Myers <joseph@codesourcery.com>
31380
31381 * Makeconfig (host-built-program-cmd): New variable.
31382 * elf/Makefile (tst-stackguard1-ARGS): Use
31383 $(host-built-program-cmd).
31384 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31385 (tst-spawn-ARGS): Likewise.
31386 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31387
88866099
JM
313882012-10-23 Joseph Myers <joseph@codesourcery.com>
31389 Jim Blandy <jimb@codesourcery.com>
31390
31391 * Makeconfig (run-via-rtld-prefix): New variable.
31392 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31393 (built-program-cmd): Likewise.
31394
b4b4c296
AJ
313952012-10-22 Andreas Jaeger <aj@suse.de>
31396
31397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31398 __O_RSYNC if it exists, otherwise to O_SYNC.
31399
6fb54a22
JB
314002012-10-22 Jim Blandy <jimb@codesourcery.com>
31401 Joseph Myers <joseph@codesourcery.com>
31402
31403 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31404 /dev/null.
31405 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31406 from /dev/null
31407 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31408 /dev/null.
31409
481b90b9
AJ
314102012-10-22 Andreas Jaeger <aj@suse.de>
31411
2a0e2669
AJ
31412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31413 Define always.
31414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31415
76e38f9a
AJ
31416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31417 bits/fcntl-linux.h.
31418
7cd37b43
AJ
31419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31420 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31421
481b90b9
AJ
31422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31423 to __O_LARGEFILE.
31424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31425 to __O_LARGEFILE.
31426
aba75984
JB
314272012-10-21 Jim Blandy <jimb@codesourcery.com>
31428 Joseph Myers <joseph@codesourcery.com>
31429
31430 * config.make.in (NM): New variable.
31431
88d4247f
AJ
314322012-10-21 Andreas Jaeger <aj@suse.de>
31433
31434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31435 definitions and declarations that are provided by
31436 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31437
f2eed205
L
314382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31439
31440 [BZ #14683]
31441 * elf/Makefile (tests-static): Add tst-leaks1-static.
31442 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31443 ($(objpfx)tst-leaks1-static): New rule.
31444 ($(objpfx)tst-leaks1-static-mem): Likewise.
31445 (tst-leaks1-static-ENV): New macro.
31446 * elf/dl-open.c (dl_open_worker): Check the main application
31447 only if SHARED is defined.
31448 * elf/tst-leaks1-static.c: New file.
31449
335e6931
AJ
314502012-10-20 Andreas Jaeger <aj@suse.de>
31451
31452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31453 generic values for Linux.
31454 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31455 and declarations that are provided by <bits/fcntl-linux.h> and
31456 include <bits/fcntl-linux.h>.
31457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31459
ac5c94d3
RM
314602012-10-20 Roland McGrath <roland@hack.frob.com>
31461
31462 * io/fcntl.h: Move include of <bits/types.h> to the top and
31463 include it unconditionally.
31464
de54b33a
L
314652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31466
228cfb01
L
31467 * wcsmbs/Makefile (tests-ifunc): New variable.
31468 (tests): Add $(tests-ifunc).
31469 * wcsmbs/test-wcschr-ifunc.c: New file.
31470 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31471 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31472 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31473 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31474 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31475
69f07e5f
L
31476 * string/Makefile (tests-ifunc): New variable.
31477 (tests): Add $(tests-ifunc).
31478 * string/test-memccpy.c (TEST_NAME): New macro.
31479 * string/test-memchr.c (TEST_NAME): Likewise.
31480 * string/test-memcmp.c (TEST_NAME): Likewise.
31481 * string/test-memcpy.c (TEST_NAME): Likewise.
31482 * string/test-memmem.c (TEST_NAME): Likewise.
31483 * string/test-memmove.c (TEST_NAME): Likewise.
31484 * string/test-memset.c (TEST_NAME): Likewise.
31485 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31486 * string/test-stpcpy.c (TEST_NAME): Likewise.
31487 * string/test-stpncpy.c (TEST_NAME): Likewise.
31488 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31489 * string/test-strcasestr.c (TEST_NAME): Likewise.
31490 * string/test-strcat.c (TEST_NAME): Likewise.
31491 * string/test-strchr.c (TEST_NAME): Likewise.
31492 * string/test-strcmp.c(TEST_NAME): Likewise.
31493 * string/test-strcpy.c (TEST_NAME): Likewise.
31494 * string/test-strcspn.c (TEST_NAME): Likewise.
31495 * string/test-strlen.c (TEST_NAME): Likewise.
31496 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31497 * string/test-strncmp.c (TEST_NAME): Likewise.
31498 * string/test-strncpy.c (TEST_NAME): Likewise.
31499 * string/test-strnlen.c (TEST_NAME): Likewise.
31500 * string/test-strpbrk.c (TEST_NAME): Likewise.
31501 * string/test-strrchr.c (TEST_NAME): Likewise.
31502 * string/test-strspn.c (TEST_NAME): Likewise.
31503 * string/test-strstr.c (TEST_NAME): Likewise.
31504 * string/test-bcopy-ifunc.c: New file.
31505 * string/test-bzero-ifunc.c: Likewise.
31506 * string/test-memccpy-ifunc.c: Likewise.
31507 * string/test-memchr-ifunc.c: Likewise.
31508 * string/test-memcmp-ifunc.c: Likewise.
31509 * string/test-memcpy-ifunc.c: Likewise.
31510 * string/test-memmem-ifunc.c: Likewise.
31511 * string/test-memmove-ifunc.c: Likewise.
31512 * string/test-mempcpy-ifunc.c: Likewise.
31513 * string/test-memset-ifunc.c: Likewise.
31514 * string/test-rawmemchr-ifunc.c: Likewise.
31515 * string/test-stpcpy-ifunc.c: Likewise.
31516 * string/test-stpncpy-ifunc.c: Likewise.
31517 * string/test-strcasecmp-ifunc.c: Likewise.
31518 * string/test-strcasestr-ifunc.c: Likewise.
31519 * string/test-strcat-ifunc.c: Likewise.
31520 * string/test-strchr-ifunc.c: Likewise.
31521 * string/test-strchrnul-ifunc.c: Likewise.
31522 * string/test-strcmp-ifunc.c: Likewise.
31523 * string/test-strcpy-ifunc.c: Likewise.
31524 * string/test-strcspn-ifunc.c: Likewise.
31525 * string/test-strlen-ifunc.c: Likewise.
31526 * string/test-strncasecmp-ifunc.c: Likewise.
31527 * string/test-strncat-ifunc.c: Likewise.
31528 * string/test-strncmp-ifunc.c: Likewise.
31529 * string/test-strncpy-ifunc.c: Likewise.
31530 * string/test-strnlen-ifunc.c: Likewise.
31531 * string/test-strpbrk-ifunc.c: Likewise.
31532 * string/test-strrchr-ifunc.c: Likewise.
31533 * string/test-strspn-ifunc.c: Likewise.
31534 * string/test-strstr-ifunc.c: Likewise.
31535
de54b33a
L
31536 * debug/Makefile (tests-ifunc): New variable.
31537 (tests): Add $(tests-ifunc).
31538 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31539 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31540 * debug/test-stpcpy_chk-ifunc.c: New file.
31541 * debug/test-strcpy_chk-ifunc.c: Likewise.
31542
88481c16
SP
315432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31544
31545 [BZ #13601]
31546 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31547 header is not read in.
31548
135948bd
JM
315492012-10-19 Joseph Myers <joseph@codesourcery.com>
31550
89f1c388
JM
31551 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31552 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31553 directly. Pass built executable to script as
31554 $(built-program-cmd).
31555 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31556 $testprogram without using LD_LIBRARY_PATH and $ldso.
31557
e40a0d21
JM
31558 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31559 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31560 $(rtld-installed-name).
31561 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31562 (rtld_installed_name): Likewise.
31563 (library_path): Likewise.
31564 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31565 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31566 $(run-program-prefix) to tst-tables.sh.
31567 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31568 it to run tst-table-from and tst-table-to.
31569 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31570 Pass it to tst-table.sh.
31571 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31572 $(run-program-prefix) to tst-gettext.sh.
31573 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31574 tst-translit.sh.
31575 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31576 tst-gettext2.sh.
31577 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31578 to run tst-gettext.
31579 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31580 to run tst-gettext2.
31581 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31582 to run tst-translit.
31583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31584 $(run-program-prefix) to tst-mtrace.sh.
31585 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31586 to run tst-mtrace.
31587 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31588 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31589 $(rtld-installed-name).
31590 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31591 (rtld_installed_name): Likewise.
31592 (run_program_prefix): New variable. Use it to run wordexp-test.
31593
728e272a
JM
31594 * Makeconfig (ARCH): Remove all definitions.
31595 (machine): Likewise.
31596 [ARCH]: Remove conditional code.
31597 [!objdir]: Give error.
31598 [!objdir] (objpfx): Remove.
31599 [!objdir] (common-objpfx): Likewise.
31600 [!objdir] (common-objdir): Likewise.
31601 * configure.in (config_makefile): Remove. Hardcode Makefile in
31602 AC_CONFIG_FILES call.
31603 * configure: Regenerated.
31604
d528cdcf
JM
31605 [BZ #13888]
31606 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31607 or TMPDIR.
31608 (testout): Likewise.
31609
135948bd
JM
31610 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31611 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31612 $(rtld-installed-name).
31613 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31614 (rtld_installed_name): Likwise.
31615 (runit): Remove function.
31616 (run_getconf): New variable, Use it for running getconf binary.
31617
38c78296
L
316182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31619
31620 [BZ #14716]
31621 * string/test-memmem.c (check_result): New function.
31622 (do_one_test): Use it.
31623 (check1): New function.
31624 (test_main): Use it.
31625
d077f65f
MT
316262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31627
31628 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31629
ced52c71
JM
316302012-10-18 Joseph Myers <joseph@codesourcery.com>
31631
31632 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31633 (_G_LSEEK64): Likewise.
31634 (_G_MMAP64): Likewise.
31635 (_G_FSTAT64): Likewise.
31636 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31637 (_G_LSEEK64): Likewise.
31638 (_G_MMAP64): Likewise.
31639 (_G_FSTAT64): Likewise.
31640 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31641 unconditional. Call __mmap64 directly.
31642 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31643 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31644 __lseek64 directly.
31645 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31646 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31647 __mmap64 directly.
31648 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31649 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31650 __lseek64 directly.
31651 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31652 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31653 __lseek64 directly.
31654 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31655 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31656 __lseek64 directly.
31657 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31658 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31659 __fxstat64 directly.
31660 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31661 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31662 unconditional.
31663 (freopen64) [!_G_OPEN64]: Remove conditional code.
31664 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31665 unconditional.
31666 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31667 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31668 unconditional.
31669 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31670 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31671 unconditional.
31672 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31673 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31674 unconditional.
31675 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31676 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31677 unconditional.
31678 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31679 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31680 unconditional.
31681 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31682 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31683 unconditional.
31684 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31685
b741de23
SP
316862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31687
31688 [BZ #12140]
31689 * manual/memory.texi (Malloc Tunable Parameters): Add note
31690 about free list pointers overwriting some perturb bytes.
31691 Wording suggested by Roland McGrath.
31692
f9b9d9c9
JM
316932012-10-17 Joseph Myers <joseph@codesourcery.com>
31694
31695 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31696 (lgamma_test): Likewise.
31697 (tgamma_test): Likewise.
31698
172a631a
FW
316992012-10-16 Florian Weimer <fweimer@redhat.com>
31700
31701 [BZ #14700]
31702 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31703 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31704
e9f37252
MK
317052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31706
31707 * NEWS: Mention BZ #14716.
31708 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31709 when removing AVAILABLE1_USES_J macro.
31710
d394eb74
L
317112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31712
31713 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31714 (__bswap_64): __uint64_t for unsigned 64-bit int.
31715
ca38dc17
AS
317162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31717
31718 * include/string.h (memmem): Declare libc hidden alias.
31719 * string/memmem.c (memmem): Define libc hidden alias.
31720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31721 __read, __close instead of open, read, close.
31722
9a387d1f
L
317232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31724
ac49ecaf
L
31725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31726 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31727 global and hidden.
31728 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31729 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31730 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31731 Likewise.
31732 (__rawmemchr_sse2): Likewise.
31733 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31734 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31735 (__strchr_sse2): Likewise.
31736 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31737 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31738 (__strcasecmp_sse2): Likewise.
31739 (__strncasecmp_sse2): Likewise.
31740 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31741 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31742 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31743 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31744 (__strrchr_sse2): Likewise.
31745 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31746 ifunc-impl-list.c.
31747 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31748 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31749 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31750 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31751 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31752 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31753 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31754 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31755 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31756 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31757 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31758 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31759 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31760 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31761 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31762 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31763 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31764 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31765 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31766 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31767 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31768 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31769 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31770 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31771 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31774 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31775 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31776 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31777
b090e8ea
L
31778 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31779 global and hidden.
31780 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31781 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31782 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31783 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31784 Likewise.
31785 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31786 Likewise.
31787 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31788 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31789 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31790 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31791 ifunc-impl-list.c.
31792 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31793 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31795 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31796 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31797 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31798 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31799 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31800 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31801 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31805 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31806 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31809 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31810 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31811 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31812 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31817 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31818 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31819 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31820 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31822 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31823 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31824 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31825 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31826 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31827 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31828 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31829 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31830 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31831 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31832 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31833
11dd4af6
L
31834 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31835 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31836 * include/ifunc-impl-list.h: New file.
31837 * misc/ifunc-impl-list.c: Likewise.
31838 * misc/Makefile (routines): Add ifunc-impl-list.
31839 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31840 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
31841 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31842 TEST_NAME]: New variables.
11dd4af6
L
31843 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31844 are defined.
31845 (test_init): Call __libc_ifunc_impl_list to initialize
31846 func_list if TEST_IFUNC and TEST_NAME are defined.
31847
9a387d1f
L
31848 * string/Makefile (strop-tests): Add bcopy and bzero.
31849 * string/test-bcopy.c: New file.
31850 * string/test-bzero.c: Likewise.
31851 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31852 defined.
31853 * string/test-memset.c: Support bzero test if TEST_BZERO is
31854 defined.
31855 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31856 __libc_memmove.
31857 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31858 __libc_memset.
31859 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31860 of memset.
31861
472371b9
JM
318622012-10-10 Joseph Myers <joseph@codesourcery.com>
31863
1e4a9536
JM
31864 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31865 * configure: Regenerated.
31866
d173d12e
JM
31867 * Makeconfig (+link-static-before-libc): Don't include
31868 $(link-static-libc).
31869
472371b9
JM
31870 * libio/libio.h (_IO_pos_t): Remove.
31871
89a3ad0b
AO
318722012-10-10 Alexandre Oliva <aoliva@redhat.com>
31873
31874 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31875 McGrath.
31876
e7451425
AO
318772012-10-10 Alexandre Oliva <aoliva@redhat.com>
31878
31879 * crypt/crypt-entry.c: Include fips-private.h.
31880 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31881 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31882 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31883 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31884
4ba74a35
AO
318852012-10-10 Alexandre Oliva <aoliva@redhat.com>
31886
31887 * crypt/crypt-private.h: Include stdbool.h.
31888 (_ufc_setup_salt_r): Return bool.
31889 * crypt/crypt-entry.c: Include errno.h.
31890 (__crypt_r): Return NULL with EINVAL for bad salt.
31891 * crypt/crypt_util.c (bad_for_salt): New.
31892 (_ufc_setup_salt_r): Check that salt is long enough and within
31893 the specified alphabet.
31894 * crypt/badsalttest.c: New file.
31895 * crypt/Makefile (tests): Add it.
31896 ($(objpfx)badsalttest): New.
31897
f96f1242
MK
318982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31899
31900 * NEWS: Add entry for BZ #14602.
31901
0e8e0c1c
JM
319022012-10-09 Joseph Myers <joseph@codesourcery.com>
31903
31904 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31905 type-generic.
31906 * math/libm-test.inc: Update comment listing what functions and
31907 macros are tested.
31908 (isgreater_test): New function.
31909 (isgreaterequal_test): Likewise.
31910 (isless_test): Likewise.
31911 (islessequal_test): Likewise.
31912 (islessgreater_test): Likewise.
31913 (isunordered_test): Likewise.
31914 (main): Call the new functions.
31915
273edc5e
RM
319162012-10-09 Roland McGrath <roland@hack.frob.com>
31917
b8493de0
RM
31918 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31919 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31920 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31921 * sysdeps/i386/configure: Regenerated.
31922 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31923 * sysdeps/mach/configure: Regenerated.
31924 * sysdeps/mach/hurd/configure: Regenerated.
31925 * sysdeps/powerpc/configure: Regenerated.
31926 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31927 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31928 * sysdeps/s390/s390-32/configure: Regenerated.
31929 * sysdeps/s390/s390-64/configure: Regenerated.
31930 * sysdeps/sh/configure: Regenerated.
31931 * sysdeps/sparc/configure: Regenerated.
31932 * sysdeps/unix/sysv/linux/configure: Regenerated.
31933 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31934 * sysdeps/x86_64/configure: Regenerated.
31935
273edc5e
RM
31936 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31937 defined. Don't check if MAP is NULL.
31938
c8450f70
JM
319392012-10-09 Joseph Myers <joseph@codesourcery.com>
31940
31941 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31942 (_G_stat64): Likewise.
31943 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31944 (_G_stat64): Likewise.
31945 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31946 instead of struct _G_stat64.
31947 * libio/fileops.c (mmap_remap_check): Likewise.
31948 (decide_maybe_mmap): Likewise.
31949 (_IO_new_file_seekoff): Likewise.
31950 (_IO_file_stat): Likewise.
31951 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31952 _G_off64_t.
31953 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31954 instead of struct _G_stat64.
31955 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31956
57e605ba
MK
319572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31958
31959 [BZ #14602]
31960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31961 Replace with ...
31962 (CHECK_EOL): New macro.
31963 (two_way_short_needle): Check beginning of haystack for EOL. Use
31964 CHECK_EOL.
31965 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31966 Replace with CHECK_EOL.
31967 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31968 Replace with CHECK_EOL.
31969
ef1bb361
JM
319702012-10-08 Joseph Myers <joseph@codesourcery.com>
31971
31972 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31973 type-generic.
31974 * math/libm-test.inc: Update comment listing what functions and
31975 macros are tested.
31976 (finite_test): New function.
31977 (isinf_test): Likewise.
31978 (isnan_test): Likewise.
31979 (fpclassify_test): Test subnormal input.
31980 (isfinite_test): Likewise.
31981 (isnormal_test): Likewise.
31982 (main): Call the new functions.
31983
55f11534
JN
319842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31985
31986 [BZ #14660]
31987 * Makerules (%.dynsym): Force C locale when running
31988 $(OBJDUMP) --dynamic-syms.
31989
1ab29350
AS
319902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31991
31992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31993 <stdint.h>.
31994
f1ecb7ef
DM
319952012-10-06 David S. Miller <davem@davemloft.net>
31996
31997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31998 upper 32-bits of the length value in %o2 since we use branch-on-register
31999 tests which consider the entire 64-bit register.
32000
5d41d91a
L
320012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32002
32003 * string/test-strstr.c (check2): Add a test for page boundary.
32004
3baddb72
DM
320052012-10-05 David S. Miller <davem@davemloft.net>
32006
32007 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32008 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32009 file.
32010 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32011 sysdep_routines.
32012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32013 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32014 and bzero when HWCAP_SPARC_CRYPTO is present.
32015
9cee5585
L
320162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32017
d7e0dab9
L
32018 [BZ #14602]
32019 * string/test-strstr.c (check2): New function.
32020 (test_main): Call check2.
32021
03759f47
L
32022 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32023 and bug-strchr1.
32024 * string/bug-strcasestr1.c (do_test): Moved to ...
32025 * string/test-strcasestr.c (check1): Here. New function.
32026 (do_one_test): Break out result checking code into ...
32027 (check_result): This. New function.
32028 (do_one_test): Call check_result.
32029 (test_main): Call check1.
32030 * string/bug-strchr1.c (do_test): Moved to ...
32031 * string/test-strchr.c (check1): Here. New function.
32032 (do_one_test): Break out result checking code into ...
32033 (check_result): This. New function.
32034 (do_one_test): Call check_result.
32035 (test_main): Call check1.
32036 * string/bug-strstr1.c (main): Moved to ...
046f153e 32037 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32038 (do_one_test): Break out result checking code into ...
32039 (check_result): This. New function.
32040 (do_one_test): Call check_result.
32041 (test_main): Call check1.
32042 * string/bug-strcasestr1.c: Removed.
32043 * string/bug-strchr1.c: Likewise.
32044 * string/bug-strstr1.c: Likewise.
32045
53cea63e
L
32046 * elf/Makefile (dl-routines): Add hwcaps.
32047 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32048 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32049 (_dl_important_hwcaps): Moved to ...
32050 * elf/dl-hwcaps.c: Here. New file.
32051 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32052
9cee5585 32053 [BZ #14557]
bb859b06
L
32054 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32055 if IS_IN_rtld isn't defined.
32056
9cee5585
L
32057 * elf/dl-support.c (_dl_sysinfo_map): New.
32058 Include "get-dynamic-info.h" and "setup-vdso.h".
32059 (_dl_non_dynamic_init): Call setup_vdso.
32060 * elf/dynamic-link.h: Don't include <assert.h>.
32061 (elf_get_dynamic_info): Moved to ...
32062 * elf/get-dynamic-info.h: Here. New file.
32063 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32064 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32065 * elf/setup-vdso.h: Here. New file.
32066 * elf/rtld.c: Include "setup-vdso.h".
32067 (dl_main): Call setup_vdso.
32068
23c31b76
JM
320692012-10-05 Joseph Myers <joseph@codesourcery.com>
32070
28234b07
JM
32071 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32072 creal in comment listing functions tested. List finite, isinf,
32073 isnan, isless, islessequal, isgreater, isgreaterequal,
32074 islessgreater, isunordered, lgamma_r and pow10 as functions and
32075 macros not tested. Mention which functions not tested are aliases
32076 for other functions. Fix typo. Note that signs of NaNs are not
32077 tested.
32078
23c31b76
JM
32079 * scripts/config.guess: Update from config.git.
32080 * scripts/config.sub: Likewise.
32081
9043e228
RM
320822012-10-04 Roland McGrath <roland@hack.frob.com>
32083
32084 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32085 * misc/madvise.c (madvise): Renamed to __madvise.
32086 Make madvise a weak alias.
32087 * include/sys/mman.h: Declare __madvise.
32088 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32089 * sysdeps/unix/syscalls.list
32090 (madvise): Make __madvise the strong name, and madvise a weak alias.
32091 * sysdeps/unix/sysv/linux/syscalls.list
32092 (madvise, mmap): Remove redundant entries.
32093 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32094 * malloc/malloc.c (mtrim): Likewise.
32095 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32096
f57f8055
RM
320972012-10-03 Roland McGrath <roland@hack.frob.com>
32098
32099 * sysdeps/mach/hurd/dl-cache.c: File removed.
32100 * config.h.in (USE_LDCONFIG): New #undef.
32101 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32102 * configure: Regenerated.
32103 * elf/Makefile (dl-routines): Add dl-cache only under
32104 [$(use-ldconfig) = yes].
32105 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32106 cache on [USE_LDCONFIG].
32107 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32108 [USE_LDCONFIG].
32109 * elf/rtld.c (dl_main): Likewise.
32110
5bb0c10a
PT
321112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32112
32113 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32114 _SC_LEVEL4_CACHE_LINESIZE.
32115
010188c6
RM
321162012-10-03 Roland McGrath <roland@hack.frob.com>
32117
32118 * sysdeps/unix/bsd/confstr.h: File removed.
32119
b6c5ec07
AO
321202012-10-02 Alexandre Oliva <aoliva@redhat.com>
32121
32122 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32123 sys/sdt-config.h.
32124
408223d4
RM
321252012-10-02 Roland McGrath <roland@hack.frob.com>
32126
32127 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32128 Make 'mapoff' field ElfW(Off) rather than off_t.
32129
bb9510dc
DL
321302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32131
fc997c6e
DL
32132 * nscd/Makefile: Remove nscd-cflags and all its users.
32133 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32134 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32135
bb9510dc
DL
32136 [BZ #10631]
32137 * malloc.c (malloc_printerr): Clarify error message.
32138
05699367
L
321392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32140
32141 [BZ #14648]
32142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32143 Set bit_FMA_Usable if FMA is supported.
32144 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32145 macro.
32146 (bit_FMA4_Usable): Updated.
32147 (index_FMA_Usable): New macro.
32148 (CPUID_FMA): Likewise
32149 (HAS_FMA): Defined with bit_FMA_Usable.
32150
51367701
RM
321512012-10-01 Roland McGrath <roland@hack.frob.com>
32152
32153 * bits/types.h (__swblk_t): Type removed.
32154 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32155 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32157 (__SWBLK_T_TYPE): Likewise.
32158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32159 (__SWBLK_T_TYPE): Likewise.
32160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32161 (__SWBLK_T_TYPE): Likewise.
32162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32163 (__SWBLK_T_TYPE): Likewise.
32164
4d57bf63 321652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32166 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32167
32168 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32169 (xdr_mapname): Use YPMAXMAP as maxsize.
32170 (xdr_peername): Use YPMAXPEER as maxsize.
32171 (xdr_keydat): Use YPAXRECORD as maxsize.
32172 (xdr_valdat): Use YPMAXRECORD as maxsize.
32173
93c65d43
RM
321742012-10-01 Roland McGrath <roland@hack.frob.com>
32175
497a03d6
RM
32176 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32177
93c65d43
RM
32178 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32179 * csu/init-first.c: ... here.
32180 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32181 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32183 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32184 * sysdeps/i386/init-first.c: File removed.
32185 * sysdeps/sh/init-first.c: File removed.
32186
bec749fd
JM
321872012-10-01 Joseph Myers <joseph@codesourcery.com>
32188
32189 [BZ #14645]
32190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32191 if x * y might underflow to zero and z is zero.
32192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32194 * math/libm-test.inc (min_subnorm_value): New variable.
32195 (fma_test): Add more tests.
32196 (fma_test_towardzero): Likewise.
32197 (fma_test_downward): Likewise
32198 (fma_test_upward): Likewise.
32199 (initialize): Set min_subnorm_value.
32200
8ec5b013
JM
322012012-09-29 Joseph Myers <joseph@codesourcery.com>
32202
32203 [BZ #14638]
32204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32205 0 + 0.
32206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32207 mode for addition resulting in exact zero.
32208 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32210 exact 0 + 0.
32211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32213 * math/libm-test.inc (fma_test): Add more tests.
32214 (fma_test_towardzero): New function.
32215 (fma_test_downward): Likewise.
32216 (fma_test_upward): Likewise.
32217 (main): Call the new functions.
32218
b1fa802e
DM
322192012-09-28 David S. Miller <davem@davemloft.net>
32220
32221 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32222
d3b9fd9e
RM
322232012-09-28 Roland McGrath <roland@hack.frob.com>
32224
ea4d37b3
RM
32225 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32226 instead of SIGALRM.
32227
ac51c949
RM
32228 * sysdeps/gnu/_G_config.h: Moved to ...
32229 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32230 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32231 * sysdeps/generic/_G_config.h: ... here.
32232
28c195f7
RM
32233 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32234
848917f9
RM
32235 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32236
6bacf05b
RM
32237 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32238 Conditionalize target on [libnss_test1.so-version].
32239
91363dbb
RM
32240 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32241
cc87f7d8
RM
32242 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32243 (elfobjdir): Move out of conditionals.
32244
b1c608fe
RM
32245 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32246 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32247 (__nss_lookup_function): Conditionalize label remove_from_tree on
32248 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32249
1d9a6d96
DM
322502012-09-28 David S. Miller <davem@davemloft.net>
32251
32252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32253 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32254 file.
32255 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32256 sysdep_routines.
32257 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32259 when HWCAP_SPARC_CRYPTO is present.
32260
72581615
PT
322612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32262
32263 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32264
715a900c
JL
322652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32266
32267 [BZ #6530]
32268 * stdio-common/vfprintf.c (process_string_arg): Revert
32269 2000-07-22 change.
32270
322712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32272
32273 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32274 for testcase.
32275 * stdio-common/tst-sprintf.c: Include <locale.h>
32276 (main): Test sprintf's handling of incomplete multibyte
32277 characters.
32278
9bac1d86
L
322792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32280
32281 * elf/dl-runtime.c (VERSYMIDX): Removed.
32282 * elf/dl-version.c (VERSYMIDX): Likewise.
32283 * elf/do-rel.h (VERSYMIDX): Likewise.
32284 (VALIDX): Likewise.
32285 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32286 * elf/rtld.c (VALIDX): Likewise.
32287 (ADDRIDX): Likewise.
9bac1d86
L
32288 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32289 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32290 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32291 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32292 (VALIDX): Likewise.
32293 (ADDRIDX): Likewise.
9bac1d86 32294
b31606c0
PT
322952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32296
32297 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32298
11541177
JL
322992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32300
32301 [BZ #11438]
32302 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32303 to global scope.
32304 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32305 addresses are in the same scope as 192.0.2/24.
32306 * posix/gai.conf: Document new scope table defaults.
32307
adb26fae
SP
323082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32309
32310 [BZ #5298]
32311 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32312 for ftell. Compute offsets from write pointers instead.
32313 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32314
4573c6b0
SP
323152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32316
32317 [BZ #14543]
32318 * libio/Makefile (tests): New test case tst-fseek.
32319 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32320 combination works in wide mode.
32321 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32322 state when the external buffer state changes.
32323
aa9bbfe6
DM
323242012-09-27 David S. Miller <davem@davemloft.net>
32325
32326 [BZ #14376]
32327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32328 pass reloc->r_addend in as the 'high' argument to
32329 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32330
784421e7
DM
32331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32332
c39bc8b8
PT
323332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32334
32335 * rt/tst-aio2.c: Include <pthread.h>.
32336 * rt/tst-aio3.c: Likewise.
32337
1ccc2399
SE
323382012-09-27 Steve Ellcey <sellcey@mips.com>
32339
32340 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32341
31ed4153
L
323422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32343
25f5f885
L
32344 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32345 contents on [SHARED].
31ed4153 32346
b7bfe116
MP
323472012-09-26 Marek Polacek <polacek@redhat.com>
32348
32349 [BZ #14530]
32350 [BZ #13741]
32351 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32352 for C++ and GCC <4.3 as well as for non GCC compilers.
32353
43c4edba
MT
323542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32355
32356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32357
6a1bf82f
RM
323582012-09-25 Roland McGrath <roland@hack.frob.com>
32359
32360 * Makefile.in (all, install): Declare with .PHONY.
32361 Reported by Michael Hope <michael.hope@linaro.org>.
32362
8ad11b9a
TMQMF
323632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32364
32365 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32366 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32367 system header.
32368 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32369 Likewise.
32370 (sydep_routines): Add the new and the internal functions.
32371 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32372 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32374 (GLIBC_2.17): Add the new function.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32376 (GLIBC_2.17): Likewise.
32377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32378 (GLIBC_2.17): Likewise.
32379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32380 (GLIBC_2.17): Likewise.
32381 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32382
7e2fca8d
AM
323832012-09-25 Alan Modra <amodra@gmail.com>
32384
32385 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32386 Add release barrier before setting once_control to say
32387 initialisation is done. Add hints on lwarx. Use macro in
32388 place of isync.
32389 (clear_once_control): Add release barrier.
32390
b87c4b24
JM
323912012-09-25 Joseph Myers <joseph@codesourcery.com>
32392
d032e0d2
JM
32393 [BZ #13629]
32394 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32395 specially.
32396 * math/s_clog10.c (__clog10): Likewise.
32397 * math/s_clog10f.c (__clog10f): Likewise.
32398 * math/s_clog10l.c (__clog10l): Likewise.
32399 * math/s_clogf.c (__clogf): Likewise.
32400 * math/s_clogl.c (__clogl): Likewise.
32401 * math/Makefile (libm-calls): Add x2y2m1.
32402 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32403 (__x2y2m1): Likewise.
32404 (__x2y2m1l): Likewise.
32405 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32406 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32409 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32410 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32411 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32412 * sysdeps/i386/fpu/libm-test-ulps: Update.
32413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414
b87c4b24
JM
32415 [BZ #14621]
32416 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32417 int as type of variable DEPTH.
32418 (glob): Use size_t instead of int as type of variables NEWCOUNT
32419 and OLD_PATHC.
32420
6d3bf199
LD
324212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32422
22bf5c17
LD
32423 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32424 Add s_sincosf-sse2.
32425 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32426 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32427 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32428 macros for using routine as __sincosf_ia32.
32429 Use macro for function declaration and weak_alias.
32430 * sysdeps/i386/fpu/libm-test-ulps: Update.
32431
32432 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32434
32435 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32436 subnormal argument.
32437 * math/s_cexpf.c (__cexpf): Likewise.
32438 * math/s_csinf.c (__csinf): Likewise.
32439 * math/s_csinhf.c (__csinhf): Likewise.
32440 * math/s_ctanf.c (__ctanf): Likewise.
32441 * math/s_ctanhf.c (__ctanhf): Likewise.
32442 * math/s_ccosh.c (__ccoshf): Likewise.
32443 * math/s_cexp.c (__cexpl): Likewise.
32444 * math/s_csin.c (__csin): Likewise.
32445 * math/s_csinh.c (__csinh): Likewise.
32446 * math/s_ctan.c (__ctan): Likewise.
32447 * math/s_ctanh.c (ctanh): Likewise.
32448 * math/s_ccoshl.c (__ccoshl): Likewise.
32449 * math/s_cexpl.c (__cexpl): Likewise.
32450 * math/s_csinl.c (__csinl): Likewise.
32451 * math/s_csinhl.c (__csinhl): Likewise.
32452 * math/s_ctanl.c (__ctanl): Likewise.
32453 * math/s_ctanhl.c (__ctanhl): Likewise.
32454
203e5603
JM
324552012-09-25 Joseph Myers <joseph@codesourcery.com>
32456
32457 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32458 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32459 (_IO_off_t): Define to __off_t, not _G_off_t.
32460 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32461 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32462 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32463 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32464 type of __dummy and __dummy2 fields.
32465 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32466 (_G_ssize_t): Likewise.
32467 (_G_off_t): Likewise.
32468 (_G_pid_t): Likewise.
32469 (_G_uid_t): Likewise.
32470 (_G_wchar_t): Likewise.
32471 (_G_wint_t): Likewise.
32472 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32473 (_G_ssize_t): Likewise.
32474 (_G_off_t): Likewise.
32475 (_G_pid_t): Likewise.
32476 (_G_uid_t): Likewise.
32477 (_G_wchar_t): Likewise.
32478 (_G_wint_t): Likewise.
32479 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32480 (_G_ssize_t): Likewise.
32481 (_G_off_t): Likewise.
32482 (_G_pid_t): Likewise.
32483 (_G_uid_t): Likewise.
32484 (_G_wchar_t): Likewise.
32485 (_G_wint_t): Likewise.
32486
9fab36eb
SP
324872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32488
32489 * malloc/arena.c: Include malloc-sysdep.h.
32490 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32491 is sufficient to shrink the heap or an unmap is needed.
32492 * sysdeps/generic/malloc-sysdep.h: New file. Define
32493 new function check_may_shrink_heap.
32494 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32495 new function check_may_shrink_heap.
32496
2b4f00d1
SP
324972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32498
32499 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32500 comments.
32501
9a9028b1
DL
325022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32503
57c69bef
DL
32504 * catgets/test-gencat.sh: Add "set -e".
32505 * elf/tst-pathopt.sh: Likewise.
32506 * grp/tst_fgetgrent.sh: Likewise.
32507 * iconvdata/run-iconv-test.sh: Likewise.
32508 * intl/tst-gettext.sh: Likewise.
32509 * intl/tst-gettext2.sh: Likewise.
32510 * intl/tst-gettext4.sh: Likewise.
32511 * intl/tst-gettext6.sh: Likewise.
32512 * intl/tst-translit.sh: Likewise.
32513 * io/ftwtest-sh: Likewise.
32514 * libio/test-freopen.sh: Likewise.
32515 * malloc/tst-mtrace.sh: Likewise.
32516 * posix/globtest.sh: Likewise.
32517 * posix/tst-getconf.sh: Likewise.
32518 * posix/wordexp-tst.sh: Likewise.
32519 * stdio-common/tst-printf.sh: Likewise.
32520 * stdio-common/tst-unbputc.sh: Likewise.
32521 * stdlib/tst-fmtmsg.sh: Likewise.
32522 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32523 * catgets/Makefile: Do not specify -e option when running
32524 testsuite shell scripts.
32525 * elf/Makefile: Likewise.
32526 * grp/Makefile: Likewise.
32527 * iconvdata/Makefile: Likewise.
32528 * intl/Makefile: Likewise.
32529 * io/Makefile: Likewise.
32530 * libio/Makefile: Likewise.
32531 * malloc/Makefile: Likewise.
32532 * posix/Makefile: Likewise.
32533 * stdio-common/Makefile: Likewise.
32534 * stdlib/Makefile: Likewise.
32535 * sysdeps/x86_64/Makefile: Likewise.
32536
9a9028b1
DL
32537 * io/ftwtest-sh: Add copyright header.
32538 * posix/globtest.sh: Likewise.
32539 * posix/tst-getconf.sh: Likewise.
32540 * posix/wordexp-tst.sh: Likewise.
32541 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32542
ced6f16e
L
325432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32544
94b32c39
L
32545 [BZ #13679]
32546 * Makeconfig (+link): Defined as $(+link-static) if
32547 $(build-shared) isn't yes.
32548 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32549 isn't yes.
32550 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32551
189e935b
L
32552 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32553
ced6f16e
L
32554 [BZ #14562]
32555 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32556 new chunk size with MALLOC_ALIGN_MASK.
32557
a9f8e53a
JM
325582012-09-24 Joseph Myers <joseph@codesourcery.com>
32559
32560 [BZ #5044]
32561 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32562 <rounding-mode.h>.
32563 (__printf_fphex): Determine rounding using get_rounding_mode and
32564 round_away.
32565 * stdio-common/tst-printf-round.c (struct hex_test): New
32566 structure.
32567 (hex_tests): New variable.
32568 (test_hex_in_one_mode): New function.
32569 (do_test): Also run tests for hex float output.
32570
43153109
JM
325712012-09-21 Joseph Myers <joseph@codesourcery.com>
32572
32573 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32574 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32575 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32576 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32577 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32578 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32579 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32580 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32581
8a26625d
JM
325822012-09-20 Joseph Myers <joseph@codesourcery.com>
32583
32584 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32585 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32586 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32587 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32588
f3fd569c
DL
325892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32590
32591 [BZ #14579]
32592 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32593 mode only.
32594 * elf/tst-rtld-load-self.sh: New test.
32595 * elf/Makefile: Run it.
32596
63bbedd4
JM
325972012-09-18 Joseph Myers <joseph@codesourcery.com>
32598
32599 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32600 (tst-writev-ENV): Remove.
32601 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32602
626f8b6a
CM
326032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32604
32605 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32606
b7aaa4d6
JM
326072012-09-17 Joseph Myers <joseph@codesourcery.com>
32608
32609 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32610 unconditional.
32611 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32612 Likewise.
32613 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32614 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32616 Likewise.
32617
65513990
L
326182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32619
32620 [BZ #14587]
32621 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32622 * config.make.in (have-cpp-asm-debuginfo): Removed.
32623 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32624 * configure: Regenerated.
32625
784761be
JM
326262012-09-14 Joseph Myers <joseph@codesourcery.com>
32627
32628 [BZ #5044]
32629 * stdio-common/printf_fp.c: Include <stdbool.h> and
32630 <rounding-mode.h>.
32631 (___printf_fp): Determine rounding using get_rounding_mode and
32632 round_away.
32633 * stdio-common/tst-printf-round.c: New file.
32634 * stdio-common/Makefile (tests): Add tst-printf-round.
32635 (link-libm): New variable.
32636 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32637
9503345f
L
326382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32639
32640 [BZ #14576]
32641 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32642 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32643 Likewise.
32644 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32645 Likewise.
32646
ad35fc00
JM
326472012-09-13 Joseph Myers <joseph@codesourcery.com>
32648
32649 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32650 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32651 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32653
6c9b0f68
JM
326542012-09-12 Joseph Myers <joseph@codesourcery.com>
32655
32656 [BZ #14518]
32657 * include/rounding-mode.h: New file.
32658 * sysdeps/generic/get-rounding-mode.h: Likewise.
32659 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32660 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32661 (MAX_VALUE): New macro.
32662 (MIN_VALUE): Likewise.
32663 (overflow_value): New function.
32664 (underflow_value): Likewise.
32665 (round_and_return): Use overflow_value and underflow_value to
32666 determine return values in overflow and underflow cases. Use
32667 round_away to determine rounding depending on rounding mode.
32668 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32669 determine return values in overflow and underflow cases.
32670 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32671 (struct test_results): New structure.
32672 (struct test): Use struct test_results to store expected results
32673 for all rounding modes.
32674 (TEST): Include expected results for all rounding modes.
32675 (test_in_one_mode): New function.
32676 (do_test): Use test_in_one_mode to compute and check results.
32677 Check results for all rounding modes.
32678 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32679 $(link-libm).
32680
19fcedd5
AM
326812012-12-09 Allan McRae <allan@archlinux.org>
32682
1e9d84cd 32683 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32684
8bbfd2f1
JM
326852012-09-11 Joseph Myers <joseph@codesourcery.com>
32686
32687 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32688 (_G_int32_t): Likewise.
32689 (_G_uint16_t): Likewise.
32690 (_G_uint32_t): Likewise.
32691 (_G_HAVE_BOOL): Likewise.
32692 (_G_HAVE_ATEXIT): Likewise.
32693 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32694 (_G_HAVE_IO_FILE_OPEN): Likewise.
32695 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32696 (_G_int32_t): Likewise.
32697 (_G_uint16_t): Likewise.
32698 (_G_uint32_t): Likewise.
32699 (_G_HAVE_BOOL): Likewise.
32700 (_G_HAVE_ATEXIT): Likewise.
32701 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32702 (_G_HAVE_IO_FILE_OPEN): Likewise.
32703 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32704 (_G_int32_t): Likewise.
32705 (_G_uint16_t): Likewise.
32706 (_G_uint32_t): Likewise.
32707 (_G_HAVE_BOOL): Likewise.
32708 (_G_HAVE_ATEXIT): Likewise.
32709 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32710 (_G_HAVE_IO_FILE_OPEN): Likewise.
32711
b1dc5912
L
327122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32713
32714 * csu/libc-tls.c: Update copyright years.
32715
0e886ef9
JM
327162012-09-10 Joseph Myers <joseph@codesourcery.com>
32717
28361c5e
JM
32718 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32719 [!_G_USING_THUNKS]: Remove conditional code.
32720 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32721 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32722
0e886ef9
JM
32723 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32724 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32725 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32726 (_G_VTABLE_LABEL_PREFIX): Likewise.
32727 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32728 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32729 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32730 (_G_VTABLE_LABEL_PREFIX): Likewise.
32731 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32732 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32734 (_G_VTABLE_LABEL_PREFIX): Likewise.
32735 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32736
bcba7aa2
L
327372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32738
32739 * libio/Makefile: Include ../Makeconfig before tests.
32740 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32741 only if $(build-shared) is yes.
32742
06585ee8
L
32743 * iconv/gconv_db.c: Update copyright years.
32744
80ccd52c
LD
327452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32746
32747 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32748 unwind info if defined PIC. Fix special cases description.
32749 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32750
32751 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32752 DP_HI_MASK entry.
32753 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32754
691bc9c1
L
327552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32756
3d9b46b3
L
32757 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32758
de2139a9
L
32759 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32760 is NULL.
32761
5ca78dd0
L
32762 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32763 (LDLIBS-tst-chk4): This.
32764 (LDFLAGS-tst-chk5): Renamed to ...
32765 (LDLIBS-tst-chk5): This.
32766 (LDFLAGS-tst-chk6): Renamed to ...
32767 (LDLIBS-tst-chk6): This.
32768 (LDFLAGS-tst-lfschk4): Renamed to ...
32769 (LDLIBS-tst-lfschk4): This.
32770 (LDFLAGS-tst-lfschk5): Renamed to ...
32771 (LDLIBS-tst-lfschk5): This.
32772 (LDFLAGS-tst-lfschk6): Renamed to ...
32773 (LDLIBS-tst-lfschk6): This.
32774
691bc9c1
L
32775 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32776 on $(common-objpfx)soversions.mk.
32777
65cafb1c
JM
327782012-09-07 Joseph Myers <joseph@codesourcery.com>
32779
32780 [BZ #10014]
32781 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32782 example host name.
32783
c78ab094
SP
327842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32785
32786 * malloc/arena.c (arena_get_retry): New function that gets
32787 another arena for the caller to try its request on.
32788 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32789 current arena cannot fulfill the request.
32790 (__libc_memalign): Likewise.
32791 (__libc_memalign): Likewise.
32792 (__libc_pvalloc): Likewise.
32793 (__libc_calloc): Likewise.
32794
01f49f59
JT
327952012-09-05 John Tobey <john.tobey@gmail.com>
32796
32797 [BZ #13542]
32798 * manual/arith.texi (Operations on Complex): Fix description
32799 of carg branch cut.
32800
4c23fed5
JM
328012012-09-06 Joseph Myers <joseph@codesourcery.com>
32802
1d3c8572
JM
32803 [BZ #10014]
32804 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32805 host name.
32806
4c23fed5
JM
32807 [BZ #10038]
32808 * manual/memory.texi (Memory): Make order of menu items match
32809 order of sections.
32810
04570aaa
L
328112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32812
32813 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32814 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32815 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32816
b80af2f4
L
328172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32818
32819 * csu/libc-tls.c (static_dtv): Renamed to ...
32820 (_dl_static_dtv): This. Make it global.
32821 (_dl_initial_dtv): Removed.
32822 (__libc_setup_tls): Updated.
32823 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32824 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32825 DL_INITIAL_DTV.
32826
2abe9f15
PM
328272012-09-06 Petr Machata <pmachata@redhat.com>
32828
32829 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32830 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32831 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32832 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32833
0948c3af
L
328342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32835
32836 [BZ #14545]
32837 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32838 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32839 freeing dtv[-1].
32840
a5055ad1
L
328412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 [BZ #14544]
32844 * Makeconfig (link-static-before-libc): Replace $(+prector)
32845 with $(+prectorT).
32846 (link-static-after-libc): Replace $(+postctor) with
32847 $(+postctorT).
32848 (link-bounded): Replace $(+prector)/$(+postctor) with
32849 $(+prectorT)/$(+postctorT).
32850 (+prectorT): New macro.
32851 (+postctorT): Likewise.
32852
ed8c2ecd
JM
328532012-09-06 Joseph Myers <joseph@codesourcery.com>
32854
32855 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32856 (round_str): Handle values above the maximum for IBM long double
32857 as inexact.
32858 * stdlib/tst-strtod-round.c (tests): Regenerated.
32859
14c996c8
AK
328602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32861
32862 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32863 assembler flag.
32864 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32865 zarch_nohighgprs around the zarch optimized routines.
32866 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32867 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32869 for zarch.
32870
430d6ce6
DM
328712012-09-05 David S. Miller <davem@davemloft.net>
32872
32873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32874
57f41c40
AS
32875 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32876 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
32877 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32878 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32879 entries.
32880
24d4e01b
AO
328812012-09-05 Alexandre Oliva <aoliva@redhat.com>
32882
32883 * malloc/arena.c: Fold copyright years.
32884 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32885
61d58174
AO
328862012-09-05 Alexandre Oliva <aoliva@redhat.com>
32887
32888 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32889
20196a5e
AO
328902012-09-05 Alexandre Oliva <aoliva@redhat.com>
32891
32892 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32893
5c447383
AO
328942012-09-05 Alexandre Oliva <aoliva@redhat.com>
32895
32896 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32897 change internal state upon failure.
32898
fad64255
AO
328992012-09-05 Alexandre Oliva <aoliva@redhat.com>
32900
32901 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32902 * malloc/memusage.c (mmap): Likewise.
32903 (mmap64, mremap): Likewise. Adjust name in comment.
32904
1ffb8c90
SP
329052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32906
32907 * libio/fileops.c: Fix typos in comments.
32908 * libio/oldfileops.c: Likewise.
32909 * libio/wfileops.c: Likewise.
32910
6ef9cc37
SP
329112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32912
32913 [BZ #1349]
32914 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32915 (tst-malloc-usable-ENV): Set environment for test case.
32916 * malloc/hooks.c (malloc_check_get_size): New function to get
32917 requested size.
32918 * malloc/malloc.c (musable): Use malloc_check_get_size.
32919 * malloc/tst-malloc-usable.c: New test case.
32920
4d038ae3
AS
329212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32922
32923 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32924
c4e85184
AM
329252012-09-05 Allan McRae <allan@archlinux.org>
32926
b9dafc56 32927 [BZ #13966]
c4e85184
AM
32928 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32929 determine header location.
32930 * configure: Regenerated.
32931
e1343020
AS
329322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32933
32934 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32935 float format.
32936 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
32937 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32938 format.
e1343020
AS
32939 (test): Regenerate.
32940
0a9f1987
DM
329412012-09-04 David S. Miller <davem@davemloft.net>
32942
32943 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32944 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32945 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32946
29237804
FW
329472012-09-04 Florian Weimer <fweimer@redhat.com>
32948
32949 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32950 failures.
32951
edb3cb88
FW
32952 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32953
60160d83
JM
329542012-09-04 Joseph Myers <joseph@codesourcery.com>
32955
32956 [BZ #9914]
32957 * libio/iogetdelim.c: Include <limits.h>.
32958 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32959 + len + 1 would overflow.
32960
bcd6c8dc
AJ
329612012-09-03 Andreas Jaeger <aj@suse.de>
32962
32963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32964 * sysdeps/i386/fpu/libm-test-ulps: Update.
32965
4ffffbd2
LD
329662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32967
32968 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32969 Add s_sinf-sse2, s_conf-sse2.
32970
32971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32972 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32973 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32974 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32975
32976 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32977 for using routine as __sinf_ia32.
32978 Use macro for function declaration and weak_alias.
32979 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32980 for using routine as __cosf_ia32.
32981 Use macro for function declaration and weak_alias.
32982
32983 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32984 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32985
32986 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32987 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32989
32990 * math/libm-test.inc (cos_test): Add more test cases.
32991 (sin_test): Likewise.
32992 (sincos_test): Likewise.
32993
511fa286
AK
329942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32995
32996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32997 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32998 hidden.
32999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33000
5f30cfec
L
330012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33002
33003 [BZ #14538]
33004 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33005 first element of the GOT.
33006 (elf_machine_load_address): Return the difference between
33007 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33008
0786794f
AM
330092012-09-01 Allan McRae <allan@archlinux.org>
33010
5f30cfec
L
33011 [BZ #13412]
33012 * configure.in (AWK): Require gawk version 3.0 or later.
33013 * configure: Regenerated.
0786794f 33014
26889eac
JM
330152012-09-01 Joseph Myers <joseph@codesourcery.com>
33016
33017 * sysdeps/unix/sysv/linux/kernel-features.h
33018 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33020 [__NR_clock_getres]: Make code unconditional.
33021 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33022 (clock_getcpuclockid): Remove code left unreachable by removal of
33023 conditionals.
33024 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33025 code unconditional.
33026 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33027 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33028 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33029 Make code unconditional.
33030 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33032 * sysdeps/unix/sysv/linux/clock_settime.c
33033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33034 conditional code.
33035 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33036 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33037
d22e28b0
L
330382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33039
33040 [BZ #14476]
33041 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33042 scripts/test-installation.pl.
33043
33044 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33045 and $ld_so_version if it is set.
33046
050af9c4
SP
330472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33048
33049 [BZ #14516]
33050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33051 failure if reading from procfs failed.
33052 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33053
ad845c0b
JM
330542012-08-27 Joseph Myers <joseph@codesourcery.com>
33055
33056 * sysdeps/unix/sysv/linux/kernel-features.h
33057 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33058 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33059 Remove conditional code.
33060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33061 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33062 Remove conditional code.
33063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33064 * sysdeps/unix/sysv/linux/i386/fxstat.c
33065 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33067 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33068 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33070 * sysdeps/unix/sysv/linux/i386/lxstat.c
33071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33073 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33074 Remove conditional code.
33075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33076 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33077 Remove conditional code.
33078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33079 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33080 <kernel-features.h>.
33081 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33082 Remove.
33083 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33084 Remove conditional code.
33085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33086 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33087 Remove conditional.
33088
5dbf56af
MF
330892012-08-27 Mike Frysinger <vapier@gentoo.org>
33090
33091 [BZ #5400]
33092 * NEWS: Add fixed bug number.
33093
d6e70f43
JM
330942012-08-27 Joseph Myers <joseph@codesourcery.com>
33095
7efb4737
JM
33096 [BZ #14519]
33097 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33098 underflowing exponent in case of negative sign.
33099 * stdlib/tst-strtod-round-data: Add more tests.
33100 * stdlib/tst-strtod-round.c (tests): Regenerated.
33101
af92131a
JM
33102 [BZ #3479]
33103 * stdlib/strtod_l.c (NDIG): Remove.
33104 (HEXNDIG): Likewise.
33105 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33106 smallest representable value.
33107 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33108 lie within an exact representation of 1/2 ulp of the result.
33109 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33110 unconditionally.
33111 (TENS_P9_IDX): Define unconditionally.
33112 (TENS_P9_SIZE): Likewise.
33113 (TENS_P10_IDX): Likewise.
33114 (TENS_P10_SIZE): Likewise.
33115 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33116 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33117 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33118 entries for 10^2^13 and 10^2^14.
33119 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33120 (TENS_P13_IDX): Define.
33121 (TENS_P13_SIZE): Likewise.
33122 (TENS_P14_IDX): Likewise.
33123 (TENS_P14_SIZE): Likewise.
33124 (_fpioconst_pow10): Change array size to
33125 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33126 unconditional.
33127 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33128 1024]: Add entries for 10^2^13 and 10^2^14.
33129 [LAST_POW10 > _LAST_POW10]: Remove #error.
33130 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33131 (_fpioconst_pow10): Change array size to
33132 FPIOCONST_POW10_ARRAY_SIZE.
33133 * stdlib/gen-fpioconst.c: New file.
33134 * stdlib/gen-tst-strtod-round.c: Likewise.
33135 * stdlib/tst-strtod-round-data: Likewise.
33136 * stdlib/tst-strtod-round.c: Likewise.
33137 * stdlib/Makefile (tests): Add tst-strtod-round.
33138
d6e70f43
JM
33139 [BZ #14459]
33140 * stdlib/strtod_l.c: Include <stdint.h>.
33141 (NDEBUG): Do not define.
33142 (round_and_return): Change EXPONENT parameter to type intmax_t.
33143 Rearrange calculations to avoid internal overflow possibilities.
33144 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33145 Rearrange calculations to avoid internal overflow possibilities.
33146 Assert that number fits inside MPNSIZE limbs.
33147 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33148 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33149 calculations and add assertions to avoid internal overflow
33150 possibilities. Add casts to avoid signed/unsigned operations.
33151 * stdlib/tst-strtod-overflow.c: New file.
33152 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33153
1f529f7d
MP
331542012-08-25 Marek Polacek <polacek@redhat.com>
33155
33156 * time/time.h: Fix some typos in comments.
33157
59a629f1
RM
331582012-08-23 Roland McGrath <roland@hack.frob.com>
33159
33160 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33161 * posix/tst-rfc3484-2.c: Likewise.
33162 * posix/tst-rfc3484-3.c: Likewise.
33163
d3bafbc9
SM
331642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33165
33166 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33167 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33168
4efcc022
JM
331692012-08-23 Joseph Myers <joseph@codesourcery.com>
33170
33171 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33172 #include of fxstatat64.c.
33173
3cc3ef96
RM
331742012-08-22 Roland McGrath <roland@hack.frob.com>
33175
f04e2132
RM
33176 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33177 * shadow/getspent_r.c: Likewise.
33178 * shadow/getspnam.c: Likewise.
33179 * shadow/getspnam_r.c: Likewise.
33180 * gshadow/getsgent.c: Likewise.
33181 * gshadow/getsgent_r.c: Likewise.
33182 * gshadow/getsgnam.c: Likewise.
33183 * gshadow/getsgnam_r.c: Likewise.
33184 * inet/getnetbyad.c: Likewise.
33185 * inet/getnetbyad_r.c: Likewise.
33186 * inet/getnetbynm.c: Likewise.
33187 * inet/getnetbynm_r.c: Likewise.
33188 * inet/getnetent.c: Likewise.
33189 * inet/getnetent_r.c: Likewise.
33190 * inet/getproto.c: Likewise.
33191 * inet/getproto_r.c: Likewise.
33192 * inet/getprtent.c: Likewise.
33193 * inet/getprtent_r.c: Likewise.
33194 * inet/getprtname.c: Likewise.
33195 * inet/getprtname_r.c: Likewise.
33196 * inet/getrpcbyname.c: Likewise.
33197 * inet/getrpcbyname_r.c: Likewise.
33198 * inet/getrpcbynumber.c: Likewise.
33199 * inet/getrpcbynumber_r.c: Likewise.
33200 * inet/getrpcent.c: Likewise.
33201 * inet/getrpcent_r.c: Likewise.
33202 * inet/getaliasent.c: Likewise.
33203 * inet/getaliasent_r.c: Likewise.
33204 * inet/getaliasname.c: Likewise.
33205 * inet/getaliasname_r.c: Likewise.
33206 * nscd/getgrgid_r.c: Likewise.
33207 * nscd/getgrnam_r.c: Likewise.
33208 * nscd/gethstbyad_r.c: Likewise.
33209 * nscd/gethstbynm3_r.c: Likewise.
33210 * nscd/getpwnam_r.c: Likewise.
33211 * nscd/getpwuid_r.c: Likewise.
33212 * nscd/getsrvbynm_r.c: Likewise.
33213 * nscd/getsrvbypt_r.c: Likewise.
33214 * nscd/gai.c: Likewise.
33215
c53d909c
RM
33216 * configure.in (build_nscd): New substituted variable, set
33217 by --disable-build-nscd and defaults to $use_nscd.
33218 * configure: Regenerated.
33219 * config.make.in (build-nscd): New substituted variable.
33220 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33221 Change conditional to require [$(build-nscd) = yes] as well.
33222 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33223
3cc3ef96
RM
33224 [BZ# 13696]
33225 * configure.in (use_nscd): New substituted variable, set by
33226 --disable-nscd. If enabled, define USE_NSCD.
33227 * configure: Regenerated.
33228 * config.h.in: Add USE_NSCD.
33229 * config.make.in (use-nscd): New substituted variable.
33230 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33231 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33232 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33233 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33234 (CFLAGS-getgrnam_r.c): Likewise.
33235 (CFLAGS-initgroups.c): Likewise.
33236 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33237 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33238 Variables removed.
33239 * inet/getnetgrent_r.c
33240 (nscd_setnetgrent): New function, broken out of ...
33241 (setnetgrent): ... here. Call it.
33242 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33243 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33244 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33245 * nscd/Makefile (routines, aux): Move definitions after include of
33246 Makeconfig. Conditionalize on [$(use-nscd) != no].
33247 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33248 Conditionalize on [USE_NSCD].
33249 (is_nscd, nscd_init_cb): Likewise.
33250 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33251 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33252 * nss/nss_db/db-init.c: Likewise.
33253 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33254 [USE_NSCD].
33255 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33256 (make_request): Use it.
33257 (cache_valid_p): New function.
33258 (__check_pf): Use it.
33259 * NEWS: Add item for --disable-nscd.
33260
07e51550
DL
332612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33262
33263 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33264 to support sed >= 4.2.1-20-ga9bf076.
33265 * configure: Regenerated.
33266
35a5b08b
RM
332672012-08-22 Roland McGrath <roland@hack.frob.com>
33268
33269 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33270 Conditionalize whole body on [IREL].
33271
8479f23a
JL
332722012-08-22 Jeff Law <law@redhat.com>
33273
33274 [BZ #14505]
33275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33276 if the family is PF_UNSPEC.
33277
48da0b21
MF
332782012-08-22 Mike Frysinger <vapier@gentoo.org>
33279
33280 * Makerules (lib-version): Rename from V.
33281 (install-lib-nosubdir): Change V to lib-version.
33282
15d0da8c
WS
332832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33284
33285 [BZ #14252]
33286 * powerpc32/power6/wcschr.c: New file.
33287 * powerpc32/power6/wcscpy.c: New file.
33288 * powerpc32/power6/wcsrchr.c: New file.
33289 * powerpc64/power6/wcschr.c: New file.
33290 * powerpc64/power6/wcscpy.c: New file.
33291 * powerpc64/power6/wcsrchr.c: New file.
33292
bcca0895
MK
332932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33294
33295 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33296 (two_way_short_needle): Use it.
5a4aaa33
RM
33297 * string/strstr.c (AVAILABLE1_USES_J): Define.
33298 * string/strcasestr.c: Likewise.
99677e57
MK
33299
33300 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33301 array references.
33302 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33303
400726de
MK
33304 [BZ #11607]
33305 * NEWS: Add an entry.
33306 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33307 define their defaults.
33308 (two_way_short_needle): Detect end-of-string on-the-fly.
33309 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33310 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33311 * string/bug-strcasestr1.c: New test.
33312 * string/Makefile: Run it.
33313
20a71f2c
MK
333142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33315
33316 [BZ #11607]
33317 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33318 the first character.
33319
21ad0558
RM
333202012-08-21 Roland McGrath <roland@hack.frob.com>
33321
33322 * csu/elf-init.c (__libc_csu_irel): Function removed.
33323 * csu/libc-start.c (apply_irel): New function.
33324 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33325
0e1d9911
JM
333262012-08-21 Joseph Myers <joseph@codesourcery.com>
33327
33328 * sysdeps/unix/sysv/linux/kernel-features.h
33329 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33330 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33331 <kernel-features.h>.
33332 [__NR_fadvise64_64]: Make code unconditional.
33333 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33334 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33335 !__NR_fadvise64_64)]: Likewise.
33336 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33337 !__NR_fadvise64_64))]: Likewise.
33338 [__NR_fadvise64]: Make code unconditional.
33339 [!__NR_fadvise64]: Remove conditional code.
33340 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33341 <kernel-features.h>.
33342 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33343 unconditional.
33344 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33345 conditional code.
33346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33347 not include <kernel-features.h>.
33348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33349 unconditional.
33350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33351 conditional code.
33352 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33353 include <kernel-features.h>.
33354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33355 unconditional.
33356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33357 conditional code.
33358
14a50c9d
WS
333592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33360
33361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33362 slight instruction rearrangements per scrollpipe analysis.
33363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33364
c0f4faf0
RM
333652012-08-20 Roland McGrath <roland@hack.frob.com>
33366
696da859
RM
33367 * manual/syslog.texi (syslog; vsyslog, closelog):
33368 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33369 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33370
c0f4faf0
RM
33371 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33372 DSOCAPS to match condition on defining it.
33373
348363b2
JM
333742012-08-20 Joseph Myers <joseph@codesourcery.com>
33375
a35cbf28
JM
33376 * sysdeps/unix/sysv/linux/kernel-features.h
33377 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33379 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33380 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33382 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33383 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33387
445f7ecd
JM
33388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33389 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33390
348363b2
JM
33391 * sysdeps/unix/sysv/linux/kernel-features.h
33392 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33393 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33394 unconditional.
33395 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33396 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33397 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33398 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33399 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33400 Make code unconditional.
33401 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33402 (__mmap64) [!__NR_mmap2]: Likewise.
33403 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33404 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33405 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33407 [__NR_mmap2]: Make code unconditional.
33408 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33409 (__mmap64) [!__NR_mmap2]: Likewise.
33410
bc5bc0e5
AK
334112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33412
33413 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33414
88d506de
AJ
334152012-08-18 Andreas Jaeger <aj@suse.de>
33416
33417 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33418
493387d2
MF
334192012-08-18 Mike Frysinger <vapier@gentoo.org>
33420
33421 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33422 * include/unistd.h (__have_sock_cloexec): Likewise.
33423 (__have_pipe2): Likewise.
33424 (__have_dup3): Likewise.
33425
a277af22
MF
334262012-08-18 Mike Frysinger <vapier@gentoo.org>
33427
33428 [BZ #9685]
33429 * include/unistd.h (__have_pipe2): Change define into an extern int.
33430 (__have_dup3): Likewise.
33431 * socket/have_sock_cloexec.c: Include fcntl.h.
33432 (__have_pipe2): New variable.
33433 (__have_dup3): Likewise.
33434
fdab8fd3
MF
334352012-08-17 Mike Frysinger <vapier@gentoo.org>
33436
33437 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33438
31035e80
MP
334392012-08-17 Marek Polacek <polacek@redhat.com>
33440
33441 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33442 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33443
3bd9e993
RM
334442012-08-17 Roland McGrath <roland@hack.frob.com>
33445
c91c505f
RM
33446 * configure.in: Add AC_SUBST for sysheaders.
33447 * configure: Regenerated.
33448 * config.make.in (sysheaders): New substituted variable.
33449
7c6f9d53
RM
33450 * sysdeps/unix/mkfifo.c: Moved ...
33451 * sysdeps/posix/mkfifo.c: ... here.
33452 * sysdeps/unix/mkfifoat.c: Moved ...
33453 * sysdeps/posix/mkfifoat.c: ... here.
33454
33455 * sysdeps/unix/utime.c: Moved ...
33456 * sysdeps/posix/utime.c: ... here.
33457
33458 * sysdeps/unix/time.c: Moved ...
33459 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33460 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33461 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33462
33463 * sysdeps/unix/nice.c: Moved ...
33464 * sysdeps/posix/nice.c: ... here.
33465
33466 * sysdeps/unix/alarm.c: Moved ...
33467 * sysdeps/posix/alarm.c: ... here.
33468
3bd9e993
RM
33469 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33470
d1f09384
JL
334712012-08-17 Jeff Law <law@redhat.com>
33472
33473 * intl/Makefile (codeset_mo): New variable.
33474 ($(codeset_mo)): New target.
33475 (tst-codeset.out): Depend on that. Remove explicit rule.
33476 (tst-gettext3.out, tst-gettext5.out): Likewise.
33477 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33478 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33479 * intl/tst-codeset.sh: Remove.
33480 * intl/tst-gettext3.sh: Likewise.
33481 * intl/tst-gettext5.sh: Likewise.
33482
2ae1ae5c
RM
334832012-08-17 Roland McGrath <roland@hack.frob.com>
33484
c31fdb83
RM
33485 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33486 * sysdeps/unix/syscalls.list: ... here.
33487
a0844057
RM
33488 * sysdeps/posix/getaddrinfo.c
33489 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33490 (gaiconf_init, gaiconf_reload): Use them.
33491 [!_STATBUF_ST_NSEC]
33492 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33493 Define using time_t rather than struct timespec.
33494
750c1f2a
RM
33495 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33496 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33497 Macros removed.
33498 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33499 [!NO_THREADS].
33500 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33501 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33502 Likewise.
33503
2ae1ae5c
RM
33504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33505 __libc_cleanup_push argument.
33506
e66a42f5
RM
33507 * bits/param.h: New file.
33508 * misc/sys/param.h: New file.
33509 * include/sys/param.h: New file.
33510 * misc/Makefile (headers): Add bits/param.h.
33511 * sysdeps/generic/sys/param.h: File removed.
33512 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33513 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33514 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33515 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33516
b7c08a66
RM
33517 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33518 last change.
33519
b2e1c562
RM
33520 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33521 [_IO_MTSAFE_IO].
33522 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33523 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33524 New macros.
33525
c75ccd4c
RM
33526 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33527 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33528 rather than -D_IO_MTSAFE_IO conditionally.
33529 * stdio-common/Makefile (CPPFLAGS): Likewise.
33530 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33531 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33532 Use $(libio-mtsafe).
33533 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33534 of -D_IO_MTSAFE_IO.
33535 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33536 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33537 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33538 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33539 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33540 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33541 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33542 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33543 (CFLAGS-fread_u_chk.c): Likewise.
33544 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33545 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33546 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33547 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33548 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33549 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33550 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33551 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33552 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33553
33554 * libio/Makefile: Test [$(libc-reentrant) = yes]
33555 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33556
33557 * Makeconfig
33558 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33559 * sysdeps/pthread/configure: File removed.
33560 * sysdeps/pthread/Makeconfig: New file.
33561 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33562 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33563
d9195db8
GB
335642012-08-16 Gary Benson <gbenson@redhat.com>
33565
33566 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33567 unmapping the first object in a namespace.
33568
86466cd9
RM
335692012-08-16 Roland McGrath <roland@hack.frob.com>
33570
33571 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33572 (__internal_setnetgrent): ... this. Add internal_function to
33573 definition. Add libc_hidden_def.
33574 (setnetgrent): Update caller.
33575 (internal_endnetgrent): Renamed to ...
33576 (__internal_endnetgrent): ... this. Add internal_function to
33577 definition. Add libc_hidden_def.
33578 (endnetgrent): Update caller.
33579 (internal_getnetgrent_r): Renamed to ...
33580 (__internal_getnetgrent_r): ... this. Add internal_function to
33581 definition. Add libc_hidden_def.
33582 (__getnetgrent_r): Update caller.
33583 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33584
c3c8283c
JM
335852012-08-16 Joseph Myers <joseph@codesourcery.com>
33586
33587 * stdlib/longlong.h: Update from GCC.
33588
db1ee0a8
RM
335892012-08-16 Roland McGrath <roland@hack.frob.com>
33590
33591 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33592 on _QL, which is set by umul_ppmm but never used.
33593 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33594 variables, which are set by GMP macros but never used.
33595 * stdio-common/_itowa.c (_itowa): Likewise.
33596 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33597 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33598
30f69637
CD
335992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33600
33601 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33602 struct La_sh_regs is not constant.
33603 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33604 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33605 and struct La_sparc64_regs are not constant.
33606
93a78ac4
JM
336072012-08-16 Joseph Myers <joseph@codesourcery.com>
33608
33609 * sysdeps/unix/sysv/linux/kernel-features.h
33610 (__ASSUME_POSIX_TIMERS): Remove.
33611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33612 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33613 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33614 Make code unconditional.
33615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33616 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33617 Make code unconditional.
33618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33619 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33620 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33622 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33623 Make code unconditional.
33624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33626 (__libc_missing_posix_timers): Remove.
33627
dd924cd7
RM
336282012-08-15 Roland McGrath <roland@hack.frob.com>
33629
4b4f2771
RM
33630 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33631 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33632
601c888b
RM
33633 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33634
176790a7
RM
33635 * elf/dl-sym.c: Include <stdlib.h>.
33636
329bc018
RM
33637 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33638 constants, which avoids warnings in 32-bit builds.
33639
e04e272d
RM
33640 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33641 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33642
952bf94a
RM
33643 * misc/lseek.c: File moved to ...
33644 * io/lseek.c: ... here.
33645
7c99b50a
RM
33646 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33647
dd924cd7
RM
33648 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33649 shifting LEN more than 31 bits at once.
33650
b3f479a8
LD
336512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33652
33653 [BZ #14195]
8c4ae0d4
RM
33654 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33655 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33656 * string/test-strncasecmp.c (check1): Renamed to...
33657 (bz12205): ...this.
33658 (bz14195): Add new testcase for two empty input strings and N > 0.
33659 (test_main): Call new testcase, adapt for renamed function.
33660
9c55864e
AJ
336612012-08-15 Andreas Jaeger <aj@suse.de>
33662
33663 [BZ #14090]
33664 * crypt/md5test2.c: New test, based on test supplied by Serge
33665 Belyshev <belyshev@depni.sinp.msu.ru>.
33666 * crypt/Makefile (xtests): Add md5test-giant..
33667 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33668
02dcb6c5
PE
336692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33670
33671 [BZ #14090]
33672 * crypt/md5.c (md5_process_block): Don't assume the buffer
33673 length is less than 2**32.
33674 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33675 length is less than 2**64.
33676
a3f95dcc
RM
336772012-08-15 Roland McGrath <roland@hack.frob.com>
33678
be75d758
RM
33679 * string/str-two-way.h: Include <sys/param.h>.
33680 (MAX): Macro removed.
33681
7312ca90
RM
33682 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33683 Move #define and #undef of memmove to just before and after
33684 including <string.h>.
33685
9a0a5486
RM
33686 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33687 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33688 and after including <string.h>. Move declarations of
33689 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33690 to before #include "string/memmove.c".
33691
67cc348d
RM
33692 * include/dirent.h: Declare __getdirentries.
33693
a3f95dcc
RM
33694 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33695 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33696
ca98e171
MF
336972012-08-14 Mike Frysinger <vapier@gentoo.org>
33698
33699 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33700 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33701 * sysdeps/i386/configure: Regenerated.
33702 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33703 STABS_CURRENT_FILE, and STABS_FUN.
33704 (END): Remove call to STABS_FUN_END.
33705 (STABS_CURRENT_FILE1): Delete.
33706 (STABS_CURRENT_FILE): Likewise.
33707 (STABS_FUN): Likewise.
33708 (STABS_FUN_END): Likewise.
33709 (STABS_FUN2): Likewise.
33710 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33711 * sysdeps/x86_64/configure: Regenerated.
33712
5908bf46
RM
337132012-08-14 Roland McGrath <roland@hack.frob.com>
33714
33715 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33716 * elf/dl-lookup.c: Likewise.
5908bf46 33717
f2c05b9e
JM
337182012-08-14 Joseph Myers <joseph@codesourcery.com>
33719
33720 * sysdeps/unix/sysv/linux/kernel-features.h
33721 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33722 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33723 unconditionally.
33724 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33725 unconditionally.
33726 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33727 condition on __ASSUME_CLONE_THREAD_FLAGS.
33728
e11f5155
AJ
337292012-08-14 Andreas Jaeger <aj@suse.de>
33730
33731 * sysdeps/i386/fpu/libm-test-ulps: Update.
33732
51a9ba86
MK
337332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33734
2fdd4f78
AJ
33735 * include/atomic.h (atomic_exchange_and_add): Split into ...
33736 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33737 New atomic macros.
51a9ba86 33738
ba6cba9e
MT
337392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33740
33741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33742
42443a47
JL
337432012-08-13 Jeff Law <law@redhat.com>
33744
33745 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33746 null byte in the output string.
33747
121dce05
JM
337482012-08-10 Joseph Myers <joseph@codesourcery.com>
33749
33750 * sysdeps/unix/sysv/linux/kernel-features.h
33751 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33752 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33753 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33755 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33756 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33757 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33758
bf51f568
JL
337592012-08-09 Jeff Law <law@redhat.com>
33760
33761 [BZ #13939]
33762 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33763 When avoid_arena is set, don't retry in the that arena. Pick the
33764 next one, whatever it might be.
33765 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33766 (arena_lock): Pass in new parameter to arena_get2.
33767 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33768 arena_get2.
33769 (__libc_malloc): Unify retrying after main arena failure with
33770 __libc_memalign version.
33771 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33772
f85fa270
L
337732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 [BZ #14166]
33776 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33777 to __redirect_strstr.
33778 (__strstr_sse42): Use typeof __redirect_strstr.
33779 (__strstr_ia32): Likewise.
33780 (__libc_strstr): New prototype.
33781 (strstr): Renamed to ...
33782 (__libc_strstr): This.
33783 (strstr): New strong alias of __libc_strstr.
33784 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33785 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33786 __redirect_time.
33787 Include <time.h>.
33788 (__libc_time): New prototype.
33789 (time_ifunc): Replace time with __libc_time.
33790 (time): New strong alias and hidden definition of __libc_time.
33791 (__GI_time): Remove strong alias.
33792 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33793 Include <stddef.h>.
33794 (memmove): Redefined to __redirect_memmove.
33795 (__memmove_sse2): Use typeof __redirect_memmove.
33796 (__memmove_ssse3): Likewise.
33797 (__memmove_ssse3_back): Likewise.
33798 (__libc_memmove): New prototype.
33799 (memmove): Renamed to ...
33800 (__libc_memmove): This.
33801 (memmove): New strong alias of __libc_memmove.
33802
33b4a91e
MS
338032012-08-08 Mark Salter <msalter@redhat.com>
33804
33805 * elf/elf.h
33806 (R_MN10300_TLS_GD): Define.
33807 (R_MN10300_TLS_LD): Likewise.
33808 (R_MN10300_TLS_LDO): Likewise.
33809 (R_MN10300_TLS_GOTIE): Likewise.
33810 (R_MN10300_TLS_IE): Likewise.
33811 (R_MN10300_TLS_LE): Likewise.
33812 (R_MN10300_TLS_DTPMOD): Likewise.
33813 (R_MN10300_TLS_DTPOFF): Likewise.
33814 (R_MN10300_TLS_TPOFF): Likewise.
33815 (R_MN10300_SYM_DIFF): Likewise.
33816 (R_MN10300_ALIGN): Likewise.
33817 (R_MN10300_NUM): Update.
33818
b36137f1
JM
338192012-08-08 Joseph Myers <joseph@codesourcery.com>
33820
33821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33822 Remove.
33823
cdd915fd
RM
338242012-08-08 Roland McGrath <roland@hack.frob.com>
33825
a2433aac
RM
33826 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33827
cdd915fd
RM
33828 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33829 sysdeps/unix -> sysdeps/posix move.
33830 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33831
bf9b740a
AM
338322012-08-07 Allan McRae <allan@archlinux.org>
33833
33834 [BZ #14303]
33835 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33836 (SUNOS_CPP): Likewise.
33837 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33838 not found.
33839 (open_input): Call CPP using execvp.
33840
93df14ee
JM
338412012-08-07 Joseph Myers <joseph@codesourcery.com>
33842
33843 * sysdeps/unix/sysv/linux/kernel-features.h
33844 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33845 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33846 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33847 (__ASSUME_WAITID_SYSCALL): Likewise.
33848 * sysdeps/unix/sysv/linux/dl-execstack.c
33849 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33850 code unconditional.
33851 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33852 conditional code.
33853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33854 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33855 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33856 code.
33857 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33858 unconditional.
33859 [__ASSUME_WAITID_SYSCALL]: Likewise.
33860 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33861
d34689de
RM
338622012-08-07 Roland McGrath <roland@hack.frob.com>
33863
a281decc
RM
33864 * sysdeps/unix/closedir.c: Renamed to ...
33865 * sysdeps/posix/closedir.c: ... here.
33866 * sysdeps/unix/dirfd.c: Renamed to ...
33867 * sysdeps/posix/dirfd.c: ... here.
33868 * sysdeps/unix/dirstream.h: Renamed to ...
33869 * sysdeps/posix/dirstream.h: ... here.
33870 * sysdeps/unix/fdopendir.c: Renamed to ...
33871 * sysdeps/posix/fdopendir.c: ... here.
33872 * sysdeps/unix/opendir.c: Renamed to ...
33873 * sysdeps/posix/opendir.c: ... here.
33874 * sysdeps/unix/readdir.c: Renamed to ...
33875 * sysdeps/posix/readdir.c: ... here.
33876 * sysdeps/unix/readdir_r.c: Renamed to ...
33877 * sysdeps/posix/readdir_r.c: ... here.
33878 * sysdeps/unix/rewinddir.c: Renamed to ...
33879 * sysdeps/posix/rewinddir.c: ... here.
33880 * sysdeps/unix/seekdir.c: Renamed to ...
33881 * sysdeps/posix/seekdir.c: ... here.
33882 * sysdeps/unix/telldir.c: Renamed to ...
33883 * sysdeps/posix/telldir.c: ... here.
33884 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33885 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33886 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33887 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33888
22895b47
RM
33889 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33890 * bits/fcntl.h: ... here.
33891
707a53b6
RM
33892 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33893 not 0.
33894 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33895 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33896 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33897 (struct flock): Move l_start, l_len to the beginning.
33898 Use __pid_t for l_pid.
33899 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33900 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33901 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33902 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33903 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33904 [__USE_LARGEFILE64] (struct flock64): New type.
33905 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33906
f0bd3e25
RM
33907 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33908 * bits/dirent.h: ... here.
33909
d34689de
RM
33910 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33911 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33912
6dad2c06
JM
339132012-08-07 Joseph Myers <joseph@codesourcery.com>
33914
33915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33916 Change from 2.6.0 to 2.6.16.
33917 * sysdeps/unix/sysv/linux/configure: Regenerated.
33918 * sysdeps/unix/sysv/linux/kernel-features.h
33919 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33920 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33921 version.
33922 (__ASSUME_UTIMES): Likewise.
33923 (__ASSUME_CLONE_STOPPED): Remove.
33924 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33925 architectures, not kernel version.
33926 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33929 (__ASSUME_WAITID_SYSCALL): Likewise.
33930 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33931 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33932 * README: State 2.6.16 as minimum Linux kernel version. Do not
33933 refer to older versions.
33934
03af9520
RM
339352012-08-06 Roland McGrath <roland@hack.frob.com>
33936
8e49df1d
RM
33937 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33938 Define alphasort64 as an alias.
33939 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33940 Define versionsort64 as an alias.
33941 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33942 Define scandir64 as an alias.
33943 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33944 Define scandirat64 as an alias.
33945 * dirent/alphasort64.c (alphasort64):
33946 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33947 * dirent/versionsort64.c: Likewise.
33948 * dirent/scandir64.c: Likewise.
33949 * dirent/scandirat64.c: Likewise.
33950 * sysdeps/wordsize-64/alphasort.c: File removed.
33951 * sysdeps/wordsize-64/alphasort64.c: File removed.
33952 * sysdeps/wordsize-64/scandir.c: File removed.
33953 * sysdeps/wordsize-64/scandir64.c: File removed.
33954 * sysdeps/wordsize-64/scandirat.c: File removed.
33955 * sysdeps/wordsize-64/scandirat64.c: File removed.
33956 * sysdeps/wordsize-64/versionsort.c: File removed.
33957 * sysdeps/wordsize-64/versionsort64.c: File removed.
33958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33966
33967 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33969 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33971 [defined __arch64__ || defined __sparcv9]
33972 (__INO_T_MATCHES_INO64_T): New macro.
33973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33974 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33975 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33976 * sysdeps/unix/sysv/linux/bits/dirent.h
33977 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33978 (_DIRENT_MATCHES_DIRENT64): New macro.
33979
03af9520
RM
33980 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33981 Define lockf64 as an alias.
33982 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33983 Define fseeko64 as an alias.
33984 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33985 Define ftello64 as an alias.
33986 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33987 Define _IO_fgetpos64 and fgetpos64 as aliases.
33988 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33989 Define _IO_fsetpos64 and fsetpos64 as aliases.
33990 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33991 Conditionalize body on this.
33992 * libio/fseeko64.c: Likewise.
33993 * libio/ftello64.c: Likewise.
33994 * libio/iofgetpos64.c: Likewise.
33995 * libio/iofsetpos64.c: Likewise.
33996 * sysdeps/wordsize-64/lockf.c: File removed.
33997 * sysdeps/wordsize-64/lockf64.c: File removed.
33998 * sysdeps/wordsize-64/fseeko.c: File removed.
33999 * sysdeps/wordsize-64/fseeko64.c: File removed.
34000 * sysdeps/wordsize-64/ftello.c: File removed.
34001 * sysdeps/wordsize-64/ftello64.c: File removed.
34002 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34003 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34004 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34005 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34012 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34014 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34016
34017 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34019 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34021 [defined __arch64__ || defined __sparcv9]
34022 (__OFF_T_MATCHES_OFF64_T): New macro.
34023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34024 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34026 (__OFF_T_MATCHES_OFF64_T): New macro.
34027
c5757acd
L
340282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34029
34030 * stdlib/secure-getenv.c (__secure_getenv): Replace
34031 GLIBC_2_16 with GLIBC_2_17.
34032
3a31811e
L
340332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34034
34035 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34036 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34037
faa2bccb
DM
340382012-08-03 David S. Miller <davem@davemloft.net>
34039
34040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34041
85fe1997
JM
340422012-08-03 Joseph Myers <joseph@codesourcery.com>
34043
34044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34045 Remove.
34046 (__ASSUME_CORRECT_SI_PID): Likewise.
34047 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34048 (__ASSUME_TMPFS_NAME): Likewise.
34049 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34050 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34051 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34052 (HAVE_AUX_SECURE): Make definition unconditional.
34053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34054 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34055
4f75b7a0
RM
340562012-08-03 Roland McGrath <roland@hack.frob.com>
34057
34058 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34059 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34060 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34062 __eloop_threshold instead of SYMLOOP_MAX.
34063
34064 * sysdeps/generic/eloop-threshold.h: New file.
34065 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34066 of MAXSYMLINKS.
34067 * elf/chroot_canon.c (chroot_canon): Likewise.
34068
7aab07e4
JM
340692012-08-03 Joseph Myers <joseph@codesourcery.com>
34070
34071 [BZ #13717]
34072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34073 Change to 2.6.0 everywhere.
34074 * sysdeps/unix/sysv/linux/configure: Regenerated.
34075 * sysdeps/unix/sysv/linux/kernel-features.h
34076 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34077 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34078 kernel versions.
34079 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34080 (__ASSUME_FUTEX_REQUEUE): Remove.
34081 (__ASSUME_STATFS64): Define unconditionally.
34082 (__ASSUME_AT_SECURE): Likewise.
34083 (__ASSUME_CORRECT_SI_PID): Likewise.
34084 (__ASSUME_TGKILL): Define without depending on kernel version for
34085 i386.
34086 (__ASSUME_UTIMES): Likewise.
34087 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34088 kernel version.
34089 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34090 (__ASSUME_TMPFS_NAME): Likewise.
34091 * README: Update reference to Linux kernel versions.
34092
b67e9372
MP
340932012-08-02 Marek Polacek <polacek@redhat.com>
34094
1f529f7d 34095 [BZ# 14150]
b67e9372
MP
34096 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34097 libc_cv_asm_type_prefix with %.
34098 * configure: Regenerated.
d2441631
RM
34099 * include/libc-symbols.h: Remove comment about
34100 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34101 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34102 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34103 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34104 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34105 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34106 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34107 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34108 * elf/tst-unique2mod1.c: Likewise.
34109 * elf/tst-unique1mod2.c: Likewise.
34110 * elf/tst-unique1mod1.c: Likewise.
34111 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34112 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34113 Replace ASM_TYPE_DIRECTIVE with .type.
34114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34115 * sysdeps/i386/sysdep.h: Likewise.
34116 * sysdeps/x86_64/sysdep.h: Likewise.
34117 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34119 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34120 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34121 * sysdeps/powerpc/powerpc32/sysdep.h:
34122 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34123 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34125 * sysdeps/i386/fpu/e_powf.S: Likewise.
34126 * sysdeps/i386/fpu/e_expl.S: Likewise.
34127 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34129 * sysdeps/i386/fpu/e_pow.S: Likewise.
34130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34134 * sysdeps/i386/fpu/e_log2.S: Likewise.
34135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34137 * sysdeps/i386/fpu/e_powl.S: Likewise.
34138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34139 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34140 * sysdeps/i386/fpu/e_logl.S: Likewise.
34141 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34146 * sysdeps/i386/fpu/e_log.S: Likewise.
34147 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34148 * sysdeps/i386/fpu/e_logf.S: Likewise.
34149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34151 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34152 * sysdeps/i386/fpu/e_log10.S: Likewise.
34153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34159 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34160 * sysdeps/i386/i686/strtok.S: Likewise.
34161 * sysdeps/i386/i386-mcount.S: Likewise.
34162 * sysdeps/i386/strtok.S: Likewise.
34163 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34167 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34168 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34169 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34170 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34172 * sysdeps/x86_64/_mcount.S: Likewise.
34173 * sysdeps/x86_64/strtok.S: Likewise.
34174 * sysdeps/sh/_mcount.S: Likewise.
34175
2747bf9a
RM
341762012-08-01 Roland McGrath <roland@hack.frob.com>
34177
34178 * libio/iofopen.c: Include <fcntl.h>.
34179 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34180 (_IO_fopen64, fopen64): Define as aliases.
34181 * libio/iofopen64.c: Include <fcntl.h>.
34182 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34183 Conditionalize body on this.
34184 * sysdeps/wordsize-64/iofopen.c: File removed.
34185 * sysdeps/wordsize-64/iofopen64.c: File removed.
34186
3fb791b8
MP
341872012-08-01 Marek Polacek <polacek@redhat.com>
34188
34189 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34190 Use dlfcn directly instead of a variable.
34191 (binfmt-subdir): Do not define.
34192 (dlfcn): Likewise.
34193
a9f1039f
JM
341942012-08-01 Joseph Myers <joseph@codesourcery.com>
34195
23bddc06
JM
34196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34197 Remove all definitions.
34198 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34199 <kernel-features.h>.
34200 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34201 (miss_F_GETOWN_EX): Remove all definitions.
34202 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34203 macro definition.
34204 [!__ASSUME_FCNTL64]: Remove conditional code.
34205 [__ASSUME_FCNTL64]: Make code unconditional.
34206 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34207 <kernel-features.h>.
34208 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34209 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34210 (lockf64) [__NR_fcntl64]: Make code unconditional.
34211 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34212
a9f1039f
JM
34213 * sysdeps/unix/sysv/linux/kernel-features.h
34214 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34215 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34216 Make code unconditional.
34217 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34218 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34220 [__NR_vfork]: Make code unconditional.
34221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34224 [__NR_vfork]: Make code unconditional.
34225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34227
09c0ee5f
RM
342282012-08-01 Roland McGrath <roland@hack.frob.com>
34229
48aec5b9
RM
34230 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34231 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34232
cd97c966
RM
34233 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34234 Define mkstemp64 as an alias.
3f55550c
RM
34235 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34236 Define mkstemps64 as an alias.
cd97c966
RM
34237 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34238 Define mkostemp64 as an alias.
b8625cfc
RM
34239 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34240 Define mkostemps64 as an alias.
cd97c966
RM
34241 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34242 Conditionalize body on this.
34243 * misc/mkostemp64.c: Likewise.
b8625cfc 34244 * misc/mkostemps64.c: Likewise.
3f55550c 34245 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34246 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34247 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34248 * sysdeps/wordsize-64/mkostemp.c: File removed.
34249 * sysdeps/wordsize-64/mkstemp.c: File removed.
34250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34251 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34252 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34253 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34254
09c0ee5f
RM
34255 [BZ #14138]
34256 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34257 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34258 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34259 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34260
34261 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34262 compat_symbol macros from <shlib-compat.h> rather than the underlying
34263 default_symbol_version and symbol_version macros, so that DEFAULT
34264 lines in shlib-versions are respected.
34265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34266
7e66ee51
FW
342672012-08-01 Florian Weimer <fweimer@redhat.com>
34268
34269 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34270 Declare with warn_unused_result.
34271 (setgid, setregid, setegid, setresgid): Likewise.
34272 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34273 Likewise.
34274 * WUR-REPORT: Remove set*id functions.
34275
d2a54255
PT
342762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34277
34278 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34279
7ecdb005
RM
342802012-07-31 Roland McGrath <roland@hack.frob.com>
34281
b4180a5e 34282 [BZ #10191]
789bd351
RM
34283 * include/sys/socket.h (__libc_accept, __libc_accept4):
34284 Add attribute_hidden.
34285 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34286
40ce302d
RM
34287 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34288 use of PTR_MANGLE.
34289 * inet/getnetgrent_r.c (setup): Likewise.
34290
7ecdb005
RM
34291 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34292
e2eabb2c
DM
342932012-07-31 David S. Miller <davem@davemloft.net>
34294
34295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34296
d0419dbf
JM
342972012-07-31 Joseph Myers <joseph@codesourcery.com>
34298
34299 [BZ #13629]
34300 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34301 value between 1.0 and 2.0 and smaller part has absolute value less
34302 than 1.0.
34303 * math/s_clog10.c (__clog10): Likewise.
34304 * math/s_clog10f.c (__clog10f): Likewise.
34305 * math/s_clog10l.c (__clog10l): Likewise.
34306 * math/s_clogf.c (__clogf): Likewise.
34307 * math/s_clogl.c (__clogl): Likewise.
34308 * math/libm-test.inc (clog_test): Add more tests.
34309 (clog10_test): Likewise.
34310 * sysdeps/i386/fpu/libm-test-ulps: Update.
34311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34312
2bc13872
FW
343132012-07-31 Florian Weimer <fweimer@redhat.com>
34314
34315 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34316 Exit with zero in case no suitable GID is found, and write a
34317 message to standard error.
34318
bea9b193
RM
343192012-07-30 Roland McGrath <roland@hack.frob.com>
34320
34321 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34322 rather than to 1.
34323 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34324 (MAXPATHLEN): Removed.
34325 (NOGROUP, NODEV): New macros.
34326 (setbit, clrbit, isset, isclr): New macros.
34327 (howmany, roundup, powerof2): New macros.
34328 (DEV_BSIZE): New macro.
34329
34330 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34331 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34332
34333 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34334 definition on [!__NO_LONG_DOUBLE_MATH].
34335
34336 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34337 PTR_MANGLE and PTR_DEMANGLE.
34338
34339 * socket/accept4.c (accept4): Rename to __libc_accept4.
34340 Define accept4 as a weak alias.
34341
34342 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34343 on [_DIRENT_HAVE_D_TYPE].
34344 * io/ftw.c (ftw_dir): Likewise.
34345
34346 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34347
34348 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34349
34350 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34351 Use the BSD numbers rather than the arbitrary ones we had.
34352 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34353 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34354 (SIGXCPU, SIGXFSZ): New macros.
34355 (_NSIG): Now 32.
34356
34357 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34358 initializer on [_LIBC_REENTRANT].
34359
34360 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34361 definitions inside [_POSIX_MAPPED_FILES].
34362
34363 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34364
34365 * dirent/opendir.c: Include <fcntl.h>.
34366
34367 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34368 (__libc_getspecific): Likewise.
34369 (__libc_key_create): Likewise.
34370
34371 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34372 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34373 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34374 (tmpfile64): Define as alias.
34375 * sysdeps/wordsize-64/tmpfile.c: File removed.
34376 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34379
34380 * stdio-common/vfscanf.c: Include <stdbool.h>.
34381 * nss/makedb.c: Likewise.
34382 * stdio-common/_i18n_number.h: Likewise.
34383 * argp/argp-help.c: Likewise.
34384 * posix/wordexp.c: Likewise.
34385 * sysdeps/posix/spawni.c: Likewise.
34386 * nss/nss_files/files-initgroups.c: Likewise.
34387 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34388 * nss/nss_files/files-initgroups.c: Likewise.
34389 * nss/nss_db/db-netgrp.c: Likewise.
34390 * nss/nss_db/db-initgroups.c: Likewise.
34391 * io/fchmodat.c: Include <sys/stat.h>.
34392
34393 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34394 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34395
34396 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34397 [HAVE_MMAP].
34398
34399 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34400 Add multiple inclusion protection.
34401
e5abc686
DM
344022012-07-27 David S. Miller <davem@davemloft.net>
34403
34404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34405
815e6fa3
GB
344062012-07-27 Gary Benson <gbenson@redhat.com>
34407
34408 [BZ #14298]
34409 * elf/rtld.c: Include <stap-probe.h>.
34410 (dl_main): Added static probes "init_start" and "init_complete".
34411 * elf/dl-load.c: Include <stap-probe.h>.
34412 (lose): Take new parameter "nsid".
34413 Added static probe "map_failed".
34414 (_dl_map_object_from_fd): Pass namespace id to lose.
34415 Added static probe "map_start".
34416 (open_verify): Pass namespace id to lose.
34417 * elf/dl-open.c: Include <stap-probe.h>.
34418 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34419 and "reloc_complete".
34420 * elf/dl-close.c: Include <stap-probe.h>.
34421 (_dl_close_worker): Added static probes "unmap_start" and
34422 "unmap_complete".
34423 * elf/rtld-debugger-interface.txt: New file documenting the above.
34424
9f98c16c
RM
344252012-07-26 Roland McGrath <roland@hack.frob.com>
34426
34427 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34428 rather than a string variable.
34429 * sunrpc/rpc_main.c (h_output): Likewise.
34430 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34431
f3c22df3
PT
344322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34433
34434 * inet/check_native.c: New file.
34435
3129cfc6
JM
344362012-07-26 Joseph Myers <joseph@codesourcery.com>
34437
da865e95
JM
34438 [BZ #13629]
34439 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34440 if larger part has absolute value 1.0.
34441 * math/s_clog10.c (__clog10): Likewise.
34442 * math/s_clog10f.c (__clog10f): Likewise.
34443 * math/s_clog10l.c (__clog10l): Likewise.
34444 * math/s_clogf.c (__clogf): Likewise.
34445 * math/s_clogl.c (__clogl): Likewise.
34446 * math/libm-test.inc (clog_test): Add more tests.
34447 (clog10_test): Likewise.
34448 * sysdeps/i386/fpu/libm-test-ulps: Update.
34449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34450
3129cfc6
JM
34451 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34452 (pltexit): Likewise.
34453 (La_regs): Likewise.
34454 (La_retval): Likewise.
34455 (int_retval): Likewise.
34456 Update #error for removed macros to refer only to definitions in
34457 tst-audit.h.
34458 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34459 macro.
34460 (pltexit): Likewise.
34461 (La_regs): Likewise.
34462 (La_retval): Likewise.
34463 (int_retval): Likewise.
34464 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34465 macro.
34466 (pltexit): Likewise.
34467 (La_regs): Likewise.
34468 (La_retval): Likewise.
34469 (int_retval): Likewise.
34470 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34471 macro.
34472 (pltexit): Likewise.
34473 (La_regs): Likewise.
34474 (La_retval): Likewise.
34475 (int_retval): Likewise.
34476 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34477 macro.
34478 (pltexit): Likewise.
34479 (La_regs): Likewise.
34480 (La_retval): Likewise.
34481 (int_retval): Likewise.
34482 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34483 macro.
34484 (pltexit): Likewise.
34485 (La_regs): Likewise.
34486 (La_retval): Likewise.
34487 (int_retval): Likewise.
34488 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34489 macro.
34490 (pltexit): Likewise.
34491 (La_regs): Likewise.
34492 (La_retval): Likewise.
34493 (int_retval): Likewise.
34494 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34495 macro definitions in tst-audit.h.
34496 * sysdeps/i386/tst-audit.h: New file.
34497 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34498 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34499 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34500 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34501 * sysdeps/sh/tst-audit.h: Likewise.
34502 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34503 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34504 * sysdeps/x86_64/tst-audit.h: Likewise.
34505
bfc07087
AJ
345062012-07-26 Andreas Jaeger <aj@suse.de>
34507
b1b2aaf8
AJ
34508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34509 ptrace.
34510
34511 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34512 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34513 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34514 PTRACE_O_MASK.
34515 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34516 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34517 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34518
bfc07087
AJ
34519 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34520 value.
34521
34522 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34523 _sigsys.
34524 (si_call_addr, si_syscall, si_arch): Define new macro.
34525 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34526 _sigsys.
34527 (si_call_addr, si_syscall, si_arch): Define new marcro.
34528 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34529 _sigsys.
34530 (si_call_addr, si_syscall, si_arch): Define new macro.
34531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34532 _sigsys.
34533 (si_call_addr, si_syscall, si_arch): Define new macro.
34534
89b4b02f
JM
345352012-07-25 Joseph Myers <joseph@codesourcery.com>
34536
34537 [BZ #13717]
34538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34539 Change to 2.4.21 where previously 2.4.1.
34540 * sysdeps/unix/sysv/linux/configure: Regenerated.
34541 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34542 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34543 Linux kernel version.
34544 (__ASSUME_STD_AUXV): Remove.
34545 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34546 kernel version.
34547 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34548 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34549 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34550 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34551 (__ASSUME_NETLINK_SUPPORT): Likewise.
34552 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34553 (__no_netlink_support): Remove conditional definition.
34554 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34555 Remove.
34556 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34557 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34558 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34559 (if_nameindex_ioctl): Remove.
34560 (if_nameindex_netlink): Do not handle __no_netlink_support.
34561 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34562 code.
34563 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34564 Remove conditional code.
34565 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34566 code.
34567 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34568 unconditional.
34569 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34570 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34571 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34572 Remove.
34573 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34574 [!__ASSUME_STD_AUXV]: Remove conditional code.
34575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34576 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34577 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34579 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34580 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34581 code.
34582 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34584 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34585 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34586 conditional code.
34587 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34589 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34590 code.
34591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34592 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34593 conditional code.
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34595 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34596 code unconditional.
34597 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34598 conditional code.
34599 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34600 unconditional.
34601 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34602 conditional code.
34603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34604 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34605 unconditional.
34606 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34607 conditional code.
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34609 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34610 code unconditional.
34611 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34612 conditional code.
34613 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34614 unconditional.
34615 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34616 conditional code.
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34618 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34619 code unconditional.
34620 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34621 conditional code.
34622 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34623 unconditional.
34624 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34625 conditional code.
34626
842a39cd
AS
346272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34628
34629 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34630 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34631 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34632 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34633 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34634 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34635 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34636 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34637 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34638 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34639 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34640 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34641 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34642 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34644 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34645 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34649 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34650 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34652
84b3fd84
FW
346532012-07-25 Florian Weimer <fweimer@redhat.com>
34654
34655 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34656 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34657 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34658 Introduce __libc_secure_getenv.
0c7936d5
FW
34659 * stdlib/Versions (2.17): Add secure_getenv
34660 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34661 * stdlib/secure-getenv.c: Rename __secure_getenv to
34662 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34663 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34664 * stdlib/tst-secure-getenv.c: New.
34665 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34666 * manual/startup.texi (Environment Access): Document
34667 secure_getenv.
84b3fd84
FW
34668 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34669 __libc_secure_getenv.
34670 * inet/ruserpass.c (ruserpass): Likewise.
34671 * malloc/mtrace.c (mtrace): Likewise.
34672 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34673 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34674 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34675 * sysdeps/posix/tempname.c: Likewise. Evaluate
34676 HAVE_SECURE_GETENV.
34677 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34678 __secure_getenv to __libc_secure_getenv.
84b3fd84 34679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34681 Likewise.
34682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34683 Likewise.
34684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34691
56e49b71
JM
346922012-07-25 Joseph Myers <joseph@codesourcery.com>
34693
34694 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34695 (struct La_i86_retval): Likewise.
34696 (struct La_x86_64_regs): Likewise.
34697 (struct La_x86_64_retval): Likewise.
34698 (struct La_x32_regs): Likewise.
34699 (struct La_x32_retval): Likewise.
34700 (struct La_ppc32_regs): Likewise.
34701 (struct La_ppc32_retval): Likewise.
34702 (struct La_ppc64_regs): Likewise.
34703 (struct La_ppc64_retval): Likewise.
34704 (struct La_sh_regs): Likewise.
34705 (struct La_sh_retval): Likewise.
34706 (struct La_s390_32_regs): Likewise.
34707 (struct La_s390_32_retval): Likewise.
34708 (struct La_s390_64_regs): Likewise.
34709 (struct La_s390_64_retval): Likewise.
34710 (struct La_sparc32_regs): Likewise.
34711 (struct La_sparc32_retval): Likewise.
34712 (struct La_sparc64_regs): Likewise.
34713 (struct La_sparc64_retval): Likewise.
34714 (struct audit_ifaces): Remove architecture-specific pltenter and
34715 pltexit members.
34716 * sysdeps/i386/ldsodefs.h: New file.
34717 * sysdeps/powerpc/ldsodefs.h: Likewise.
34718 * sysdeps/s390/ldsodefs.h: Likewise.
34719 * sysdeps/sh/ldsodefs.h: Likewise.
34720 * sysdeps/sparc/ldsodefs.h: Likewise.
34721 * sysdeps/x86_64/ldsodefs.h: Likewise.
34722
354691b7
MP
347232012-07-25 Marek Polacek <polacek@redhat.com>
34724
34725 [BZ #6808]
34726 * math/libm-test.inc (yn_test): Add another test.
34727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34728 to ERANGE when the result is +-Inf.
34729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34730 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34731 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34732 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34733
bf9e2071
JM
347342012-07-24 Joseph Myers <joseph@codesourcery.com>
34735
34736 * conform/data/time.h-data (NULL): Use macro-constant. Require
34737 equal to 0.
34738 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34739 clock_t.
34740 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34741
57633811
TS
347422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34743
34744 * configure.in <sysdeps resolving>: Correct printing
34745 Implies_before.
34746 * configure: Regenerate.
34747
c23c33b0
TS
347482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34749
34750 * math/w_ilogb.c: Include <limits.h>.
34751 * math/w_ilogbl.c: Likewise.
34752
b5982523
JM
347532012-07-20 Joseph Myers <joseph@codesourcery.com>
34754
34755 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34756 va_copy. Document allowing for unavailable va_copy only as
34757 pre-C99 compatibility.
34758 * manual/string.texi (Copying and Concatenation): Use va_copy
34759 instead of __va_copy in concat example.
34760
ac4ea442
PT
347612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34762
34763 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34764 (__sendto): Use create_address_port. Initialize APORT and deallocate
34765 it if not null.
34766
f98eafbd
PT
34767 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34768 with O_NOLINK passed to __file_name_lookup.
34769
898c7aab
PT
34770 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34771 with O_NOLINK passed to __file_name_lookup.
34772
0ced335a
PT
34773 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34774 negative N or less than NGIDS.
34775
b3404dbd
PT
34776 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34777 type to string_t. Set ERANGE as errno and return it if NAME is not big
34778 enough. Use memcpy instead of strncpy.
34779
0f48659e
JM
347802012-07-20 Joseph Myers <joseph@codesourcery.com>
34781
34782 * elf/Makefile (check-data): Remove.
34783 (localplt.data): New vpath directive.
34784 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34785 instead of $(check-data).
34786 * scripts/data/localplt-generic.data: Move to ...
34787 * sysdeps/generic/localplt.data: ... here.
34788 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34789 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34790 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34792 ... here.
34793 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34795 ... here.
34796 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34798 ... here.
34799 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34801 ... here.
34802 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34804 ... here.
34805 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34807 ... here.
34808
d37cbdaa
AZ
348092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34810
34811 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34812 PPC32 and PPC64 files.
34813 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34814 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34815
46f85fc2
AK
348162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34817
34818 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34819 __makecontext_ret to ...
34820 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34821 ... here and call exit if uc_link is NULL. New file.
34822 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34823 __makecontext_ret.S.
34824 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34825 __makecontext_ret to ...
34826 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34827 ... here and call exit if uc_link is NULL. New file.
34828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34829 __makecontext_ret.S.
34830
08f43f9b
AK
348312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34832
34833 * elf/elf.h (R_390_IRELATIVE): New definition.
34834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34835 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34836 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34838 (elf_machine_lazy_rel): Likewise.
34839 * sysdeps/s390/dl-irel.h: New file.
34840 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34841 * sysdeps/s390/s390-64/memset.S: New asm code.
34842 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34843 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34844 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34845 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34846 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34847 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34848 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34849 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34850 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34851 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34852 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34853 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34854 * sysdeps/s390/s390-32/memset.S: New asm code.
34855 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34856
3b05db33
MP
348572012-07-17 Marek Polacek <polacek@redhat.com>
34858
34859 [BZ #14349]
34860 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34861 * sysdeps/s390/s390-64/configure.in: Likewise.
34862 * sysdeps/sparc/configure.in: Likewise.
34863 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34864 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34865 * sysdeps/i386/configure.in: Likewise.
34866 * sysdeps/x86_64/configure.in: Likewise.
34867 * sysdeps/sh/configure.in: Likewise.
34868 * sysdeps/s390/s390-32/configure: Regenerated.
34869 * sysdeps/s390/s390-64/configure: Likewise.
34870 * sysdeps/x86_64/configure: Likewise.
34871 * sysdeps/sh/configure: Likewise.
34872 * sysdeps/powerpc/powerpc64/configure: Likewise.
34873 * sysdeps/powerpc/powerpc32/configure: Likewise.
34874 * sysdeps/sparc/configure: Likwise.
34875 * sysdeps/i386/configure: Likewise.
34876
a66877c6
MP
34877 * elf/dl-open.c: Comment fixes.
34878
cfc82fd8
JM
348792012-07-17 Joseph Myers <joseph@codesourcery.com>
34880
bd29910a
JM
34881 * Makefile [CXX] (check-data): Remove.
34882 [CXX] (c++-types.data): New vpath directive.
34883 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34884 vpath. Do not allow for C++ type data being missing.
34885 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34886 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34887 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34888 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34889 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34890 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34891 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34893 ... here.
34894 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34896 ... here.
34897 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34899 ... here.
34900 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34902 ... here.
34903 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34905 ... here.
34906 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34908 ... here.
34909 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34911 ... here.
34912 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34914
cfc82fd8
JM
34915 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34916 definitions to architecture-specific files.
34917 (TLS_IE): Likewise.
34918 (TLS_LD): Likewise.
34919 (TLS_GD): Likewise.
34920 * sysdeps/i386/tls-macros.h: New file.
34921 * sysdeps/powerpc/tls-macros.h: Likewise.
34922 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34923 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34924 * sysdeps/sh/tls-macros.h: Likewise.
34925 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34926 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34927 * sysdeps/x86_64/tls-macros.h: Likewise.
34928
f7db3170
TS
349292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34930
07cbfc23
TS
34931 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34932 zero value for regular exit case.
34933
f7db3170
TS
34934 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34935 (__start_context): Preserve zero value for regular exit case.
34936
dc97c227
TS
349372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34938 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34939
34940 * manual/setjmp.texi (setcontext): Clarify normal process
34941 termination when uc_link is the null pointer.
34942 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34943 exit call.
34944
d0cd7d02
AS
349452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34946
34947 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34948 preprocessor. Test for each exception mask separately.
34949
dd318934
AJ
349502012-07-16 Andreas Jaeger <aj@suse.de>
34951
34952 * po/ru.po: Update from translation team.
34953
8048311a
JM
349542012-07-15 Joseph Myers <joseph@codesourcery.com>
34955
34956 * conform/data/string.h-data (NULL): Use macro-constant. Require
34957 equal to 0.
34958 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34959 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34960 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34961 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34963
b637d46e
AJ
349642012-07-13 Andreas Jaeger <aj@suse.de>
34965
34966 * po/fr.po: Update from translation team.
34967
541428fe
MP
349682012-07-12 Marek Polacek <polacek@redhat.com>
34969
34970 [BZ #14173]
34971 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34973 loop condition.
34974
ec332e94
JM
349752012-07-12 Joseph Myers <joseph@codesourcery.com>
34976
34977 [BZ #13717]
34978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34979 Change to 2.4.1 where previously 2.4.0.
34980 * sysdeps/unix/sysv/linux/configure: Regenerated.
34981 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34982 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34983 version.
34984 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34985 (__ASSUME_AT_CLKTCK): Remove.
34986 (__ASSUME_AT_PAGESIZE): Likewise.
34987 (__ASSUME_AT_XID): Likewise.
34988 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34989 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34990 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34991 unconditionally.
34992 (HAVE_AUX_PAGESIZE): Likewise.
34993 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34994 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34995 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34996
7b6e99be
JB
349972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34998
34999 [BZ #14307]
35000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35001 the temporary buffer used to invoke __gethostbyname2_r,
35002 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35003 host_data / struct gaih_addrtuple.
35004 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35005 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35006 header file nss/nsswitch.h.
35007 * nss/nsswitch.h (global scope): Add definition of implementation
35008 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35009 resolv/nss_dns/dns-host.c).
35010
608404eb
AJ
350112012-07-11 Andreas Jaeger <aj@suse.de>
35012
35013 * po/fr.po: Update from translation team.
35014
71220aca
AJ
35015 * po/sv.po: Update from translation team
35016 * po/fr.po: Another update from translation team.
35017
28cfe843
AZ
350182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35019
35020 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35021 for subnormals or multiply small sinh result by itself.
35022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35024
6b90f981
DM
350252012-07-11 David S. Miller <davem@davemloft.net>
35026
35027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35028
c6825772
AS
350292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35030
35031 [BZ #14347]
35032 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35033 (INTERNAL_MARK): Shift it here.
35034
7b8e0d49
MP
350352012-07-10 Marek Polacek <polacek@redhat.com>
35036
35037 [BZ #14151]
35038 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35039 libc_cv_asm_global_directive with .globl.
35040 * configure: Regenerated.
35041 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35042 with .globl.
35043 * sysdeps/i386/configure: Regenerated.
35044 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35045 with .globl.
35046 * sysdeps/x86_64/configure: Regenerated.
35047 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35048 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35049 * elf/tst-unique2mod2.c: Likewise.
35050 * elf/tst-unique2mod1.c: Likewise.
35051 * elf/tst-unique1mod2.c: Likewise.
35052 * elf/tst-unique1mod1.c: Likewise.
35053 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35054 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35057 * sysdeps/mach/sysdep.h: Likewise.
35058 * sysdeps/i386/sysdep.h: Likewise.
35059 * sysdeps/i386/i386-mcount.S: Likewise.
35060 * sysdeps/x86_64/_mcount.S: Likewise.
35061 * sysdeps/x86_64/sysdep.h: Likewise.
35062 * sysdeps/sh/_mcount.S: Likewise.
35063 * sysdeps/sh/sysdep.h: Likewise.
35064 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35065 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35066 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35067 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35068 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35069 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35070 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35071 * locale/localeinfo.h: Likewise.
35072 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35073 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35074
6c55cda3
RM
350752012-07-09 Roland McGrath <roland@hack.frob.com>
35076
35077 [BZ #14336]
35078 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35079 system".
35080 * manual/message.texi (The Uniforum approach): Likewise.
35081 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35082 (glibc iconv Implementation): Likewise.
35083
638a572e
JM
350842012-07-09 Joseph Myers <joseph@codesourcery.com>
35085
35086 [BZ #14337]
35087 * math/s_clog.c (__clog): Avoid scaling a value down where that
35088 could result in underflow.
35089 * math/s_clog10.c (__clog10): Likewise.
35090 * math/s_clog10f.c (__clog10f): Likewise.
35091 * math/s_clog10l.c (__clog10l): Likewise.
35092 * math/s_clogf.c (__clogf): Likewise.
35093 * math/s_clogl.c (__clogl): Likewise.
35094 * math/libm-test.inc (clog_test): Add more tests.
35095 (clog10_test): Likewise.
35096 * sysdeps/i386/fpu/libm-test-ulps: Update.
35097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35098
261f4859
AS
350992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35100
0abaf3e4
AS
35101 [BZ #14283]
35102 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35103 by 7 not 8 to examine high bit of fractional part.
35104
261f4859
AS
35105 [BZ #14042]
35106 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35107 for call to __mcount_internal.
35108 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35109 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35110 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35111
f17ac40d
JM
351122012-07-06 Joseph Myers <joseph@codesourcery.com>
35113
9ad63c23
JM
35114 [BZ #14154]
35115 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35116 approximation for values within 0x1p-13f of an odd multiple of
35117 pi/4.
35118 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35119 exception. Add more tests.
35120 * sysdeps/i386/fpu/libm-test-ulps: Update.
35121
f17ac40d
JM
35122 [BZ #6778]
35123 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35124 inputs and return -1 for them. Do not check for +Inf in case not
35125 reachable for +Inf.
35126 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35127 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35129 and return -1 for them. Do not check for +Inf in case not
35130 reachable for +Inf.
35131 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35132 define.
35133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35134 and return -1 for them. Do not check for +Inf in case not
35135 reachable for +Inf.
35136 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35137 spurious underflow.
35138 * sysdeps/i386/fpu/libm-test-ulps: Update.
35139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35140
fb21f89b
MF
351412012-07-06 Mike Frysinger <vapier@gentoo.org>
35142
35143 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35144
cdfe2c5e
JM
351452012-07-05 Joseph Myers <joseph@codesourcery.com>
35146
35147 [BZ #14157]
35148 [BZ #14331]
35149 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35150 could result in spurious underflow. Scale down values above
35151 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35152 * math/s_csqrtf.c (__csqrtf): Likewise.
35153 * math/s_csqrtl.c (__csqrtl): Likewise.
35154 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35155 spurious underflow.
35156 * sysdeps/i386/fpu/libm-test-ulps: Update.
35157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35158
70d35b67
AS
351592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35160
704bc459
AS
35161 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35162 xopen-msg.sed.
35163 * catgets/xopen-msg.awk: New file.
35164 * catgets/xopen-msg.sed: Removed.
35165
70d35b67
AS
35166 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35167 po2text.sed.
35168 * intl/po2test.awk: New file.
35169 * intl/po2test.sed: Removed.
35170
ca61cf32
JM
351712012-07-04 Joseph Myers <joseph@codesourcery.com>
35172
35173 [BZ #14328]
35174 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35175 or multiply small sinh result by itself.
35176 * math/s_ctanf.c (__ctanf): Likewise.
35177 * math/s_ctanh.c (__ctanh): Likewise.
35178 * math/s_ctanhf.c (__ctanhf): Likewise.
35179 * math/s_ctanhl.c (__ctanhl): Likewise.
35180 * math/s_ctanl.c (__ctanl): Likewise.
35181 * math/libm-test.inc (ctan_test_tonearest): New function.
35182 (ctan_test_towardzero): Likewise.
35183 (ctan_test_downward): Likewise.
35184 (ctan_test_upward): Likewise.
35185 (ctanh_test_tonearest): Likewise.
35186 (ctanh_test_towardzero): Likewise.
35187 (ctanh_test_downward): Likewise.
35188 (ctanh_test_upward): Likewise.
35189 (main): Call these new functions.
35190 * sysdeps/i386/fpu/libm-test-ulps: Update.
35191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35192
ca48a46a
MF
351932012-07-03 Mike Frysinger <vapier@gentoo.org>
35194
35195 * .gitignore: Delete /ports entry.
35196
9d63d37d
AJ
351972012-07-03 Andreas Jaeger <aj@suse.de>
35198
35199 * po/bg.po: Update from translation team.
35200 * po/cs.po: Likewise.
35201 * po/de.po: Likewise.
35202 * po/hr.po: Likewise.
35203 * po/nl.pl: Likewise.
35204 * po/pl.po: Likewise.
35205 * po/vi.po: Likewise.
35206
370ca3d2
JM
352072012-07-03 Joseph Myers <joseph@codesourcery.com>
35208
95f5a9a8
JM
35209 * Makeconfig [!+link] (+link-before-libc): New variable.
35210 [!+link] (+link-after-libc): Likewise.
35211 [!+link] (+link-tests): Likewise.
35212 [!+link] (+link): Define in terms of $(+link-before-libc) and
35213 $(+link-after-libc).
35214 [!+link-static] (+link-static-before-libc): New variable.
35215 [!+link-static] (+link-static-after-libc): Likewise.
35216 [!+link-static] (+link-static-tests): Likewise.
35217 [!+link-static] (+link-static): Define in terms of
35218 $(+link-static-before-libc) and $(+link-static-after-libc).
35219 [build-shared] (link-libc-before-gnulib): New variable.
35220 [build-shared] (link-libc-tests): Likewise.
35221 [build-shared] (link-libc): Define in terms of
35222 $(link-libc-before-gnulib).
35223 [!build-shared] (link-libc-tests): New variable.
35224 (link-libc-static-tests): New variable.
35225 [!gnulib] (gnulib-arch): New variable.
35226 [!gnulib] (gnulib-tests): Likewise.
35227 [!gnulib] (static-gnulib-arch): Likewise.
35228 [!gnulib] (static-gnulib-tests): Likewise.
35229 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35230 Define with "=" instead of ":=".
35231 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35232 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35233 * Rules (binaries-all-notests): New variable.
35234 (binaries-all-tests): Likewise.
35235 (binaries-static-notests): Likewise.
35236 (binaries-static-tests): Likewise.
35237 (binaries-all): Define using $(binaries-all-notests) and
35238 $(binaries-all-tests).
35239 (binaries-static): Define using $(binaries-static-notests) and
35240 $(binaries-static-tests).
35241 (binaries-shared-tests): New variable.
35242 (binaries-shared-notests): Likewise.
35243 (binaries-shared): Remove variable.
35244 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35245 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35246 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35247 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35248 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35249 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35250 * elf/Makefile (sln-modules): New variable.
35251 (extra-objs): Add $(sln-modules:=.o).
35252 (ldconfig-modules): Add static-stubs.
35253 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35254 * elf/static-stubs.c: New file.
35255
7a845b2c
JM
35256 [BZ #14283]
35257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35258 by 7 not 8 to examine high bit of fractional part. Use volatile
35259 variables when splitting into final array of floats if
35260 __FLT_EVAL_METHOD__ != 0.
35261 * math/libm-test.inc (cos_test): Add another test.
35262 (sin_test): Likewise.
35263 * sysdeps/i386/fpu/libm-test-ulps: Update.
35264
e2283f38
JM
35265 [BZ #14273]
35266 * math/libm-test.inc (cosh_test): Add more tests.
35267
370ca3d2
JM
35268 * version.h (RELEASE): Set to "development".
35269 (VERSION): Set to "2.16.90".
35270
ee9247c3
CD
352712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35272
35273 * NEWS: Update copyright. Remove last-updated date.
35274 Mention math library bug fixes and timezone data changes.
35275 * README: Mention GNU/Hurd, x32, and HPPA support status.
35276
4648c381
TS
352772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35278
35279 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35280
aac78a43
AJ
352812012-06-27 Andreas Jaeger <aj@suse.de>
35282
35283 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35284
ed3dbfad
AJ
352852012-06-25 Andreas Jaeger <aj@suse.de>
35286
35287 * sysdeps/s390/fpu/libm-test-ulps: Update.
35288
4d0ee855
AS
352892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35290 Thomas Schwinge <thomas@codesourcery.com>
35291
35292 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35293 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35295 fanotify_mark.
35296
af1bce34
TS
352972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35298
a9fa33ba
TS
35299 * sysdeps/mach/start.c: Remove file.
35300 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35301 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35302 * sysdeps/sh/init-first.c: Likewise.
35303
58f902b8
TS
35304 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35305 registers for frame unwinding purposes, add CFI directives.
35306 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35308 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35309 Likewise.
35310
1518f58b
TS
35311 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35312 __fortify_fail returning.
35313 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35314
db9b5059
TS
35315 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35316 sysdeps/sh/____longjmp_chk.S.
35317 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35318 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35319 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35320 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35321
967705fe
TS
35322 * sysdeps/sh/abort-instr.h: New file.
35323 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35324 process in case exit returns.
35325
a9def8c4
TS
35326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35327 initialize the GOT register before use.
35328
2a649725
TS
35329 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35330 calculation of ARGC > 4.
35331
af1bce34
TS
35332 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35333 meaningful names to some local labels.
35334
d230f50a
KK
353352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35336 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35337
35338 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35339 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35340 (__arch_compare_and_exchange_val_16_acq): Likewise.
35341 (__arch_compare_and_exchange_val_32_acq): Likewise.
35342 (atomic_exchange_and_add): Fix gUSA sequence.
35343 (atomic_add): Likewise.
35344 (atomic_add_negative): Likewise.
35345 (atomic_add_zero): Likewise.
35346 (atomic_bit_test_set): Likewise.
35347
0479b305
AS
353482012-06-22 Andreas Schwab <schwab@redhat.com>
35349
35350 [BZ #13579]
35351 * include/link.h (struct link_map): Add l_free_initfini.
35352 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35353 l_initfini.
35354 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35355 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35356 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35357 set.
35358
0e3933b9
CD
353592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35360
35361 * configure.in: Use AC_LANG_SOURCE.
35362 * configure: Regenerate.
35363
4248b1b1
RM
353642012-06-22 Roland McGrath <roland@hack.frob.com>
35365
35366 * configure.in (libc_cv_localstatedir): New substituted variable.
35367 * configure: Regenerated.
35368 * config.make.in (localstatedir): New variable, substituted from
35369 libc_cv_localstatedir.
35370 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35371 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35372 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35373 * sysdeps/gnu/configure: Regenerated.
35374
006dd861
JL
353752012-06-21 Jeff Law <law@redhat.com>
35376
35377 [BZ #14277]
35378 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35379 free. Simplify list management for _LIBC case.
35380
79662d42
JM
353812012-06-21 Joseph Myers <joseph@codesourcery.com>
35382
b7abb4bf
JM
35383 [BZ #14273]
35384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35385 Clear sign bit of 64-bit integer value before comparing against
35386 overflow value.
35387
79662d42
JM
35388 * sysdeps/mach/configure: Regenerated.
35389
1f150908
L
353902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35391
35392 [BZ #14278]
35393 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35394
28363bbf
JL
353952012-06-21 Jeff Law <law@redhat.com>
35396
35397 [BZ #13882]
35398 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35399 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35401 * elf/dl-open.c (dl_open_worker): Likewise.
35402
09615db4
CD
354032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35404
35405 * scripts/list-sources.sh: Scan PORTS for translations.
35406 * po/libc.pot: Regenerated.
35407
2174c6dd
AJ
354082012-06-21 Andreas Jaeger <aj@suse.de>
35409
35410 [BZ #12194]
35411 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35412 warning.
35413 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35414 * bits/byteswap-16.h (__bswap_16): Likewise.
35415 * bits/byteswap.h (__bswap_constant_16): Likewise.
35416
3ee947b1
L
354172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35418
35419 [BZ #14117]
a2f34833
L
35420 * sysdeps/i386/fpu_control.h: Removed.
35421 * sysdeps/x86_64/fpu_control.h: Moved to ...
35422 * sysdeps/x86/fpu_control.h: Here.
35423
3ee947b1
L
35424 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35425 (_FPU_SETCW): Likewise.
35426
ed1825f8
L
354272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35428
25f1282a
L
35429 [BZ #14117]
35430 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35431 * sysdeps/x86/fpu/bits/mathinline.h: This.
35432 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35433
ed1825f8
L
35434 [BZ #14050]
35435 [BZ #14117]
35436 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35437 functions if __x86_64__ is defined.
35438
36d54b74
CLT
354392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35440
35441 * string/endian.h: Add !__ASSEMBLER__ condition for including
35442 conversion interfaces.
35443
10285c21
JM
354442012-06-15 Joseph Myers <joseph@codesourcery.com>
35445
35446 [BZ #14241]
35447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35448 of ABS(x) in calculating zero to negative powers other than odd
35449 integers.
35450 * math/libm-test.inc (pow_test): Add more tests.
35451
06c5abbd
AJ
354522012-06-15 Andreas Jaeger <aj@suse.de>
35453
35454 * manual/contrib.texi (Contributors): Update entry of Liubov
35455 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35456 Machado Filho.
35457
a3aeac40
CH
354582012-06-15 Cyril Hrubis <metan@ucw.cz>
35459
35460 * string/string.h: Add __wur to GNU version of strerror_r.
35461
49bdf4c1
L
354622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35463
35464 [BZ #14229]
35465 * string/Makefile (tests): Add tst-strtok_r.
35466 * string/tst-strtok_r.c: New file.
35467 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35468 RAX_LP/RDX_LP on SAVE_PTR.
35469
834f9b8d
RM
354702012-06-14 Roland McGrath <roland@hack.frob.com>
35471
35472 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35473
75fa1921
JM
354742012-06-14 Joseph Myers <joseph@codesourcery.com>
35475
35476 * libm_test.inc (csqrt_test): Allow more spurious underflow
35477 exceptions.
35478 (j0_test): Likewise.
35479 (j1_test): Likewise.
35480 (y0_test): Likewise.
35481 (y1_test): Likewise.
35482
771766df
CD
354832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35484
35485 * po/Makefile (libc.pot): Use UTF-8 charset.
35486
ceb9e56b
PP
354872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35488
35489 [BZ #14210]
35490 Suppress sign-conversion warning from FD_SET.
35491 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35492 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35493 not unsigned long int.
35494 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35495
ddb28975
L
354962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 [BZ #14050]
35499 [BZ #14117]
35500 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35501 __extern_always_inline instead of __extern_inline.
35502 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35503 (__signbit): Likewise.
35504 (__signbitl): Support C++ namespace.
35505 (lrintf): New inline function.
35506 (lrint): Likewise.
35507 (llrintf): Likewise.
35508 (llrint): Likewise.
35509 (fmaxf): Likewise.
35510 (fmax): Likewise.
35511 (fminf): Likewise.
35512 (fmin): Likewise.
35513 (rint): Likewise.
35514 (rintf): Likewise.
35515 (ceil): Likewise.
35516 (ceilf): Likewise.
35517 (floor): Likewise.
35518 (floorf): Likewise.
35519 (nearbyint): Likewise.
35520 (nearbyintf): Likewise.
35521
d7b4fb26
TS
355222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35523
35524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35525 non-default versions.
35526
eb55f5c2
RM
355272012-06-11 Roland McGrath <roland@hack.frob.com>
35528
35529 [BZ #14218]
35530 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35531
366af02c
TS
355322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35533
99ff6e5c
TS
35534 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35535 (FE_UPWARD, FE_DOWNWARD): Don't define.
35536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35538
366af02c
TS
35539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35540 reading it.
35541 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35543
793ea851
KK
355442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35545
35546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35550
a728a38f
L
355512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35552
35553 [BZ #14117]
c08010c7
L
35554 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35555 * sysdeps/i386/fpu/Implies: New file.
35556 * sysdeps/x86_64/fpu/Implies: Likewise.
35557 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35558 * sysdeps/x86/fpu/bits/fenv.h: This.
35559
a728a38f
L
35560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35561 __SSE_MATH__.
35562
6e230d11
SP
355632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35564
35565 [BZ #14134]
35566 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35567 character 0xffff that matches the last element of the
35568 conversion table.
35569
1b671feb
AZ
355702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35571
35572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35573 fmodl commit.
35574
6043738b
AZ
355752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35576
35577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35578 values higher than 25.6283.
35579
34ae0b32
AZ
355802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35581
35582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35583 subnormal exponent extraction and add some __builtin_expect.
35584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35585 Fix for subnormal mantissa calculation.
35586
1214ec8f
MF
355872012-06-04 Mike Frysinger <vapier@gentoo.org>
35588
35589 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35590 cpu2 is -1 and errno is not ENOSYS.
35591
f3d1f93c
L
355922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35593
35594 [BZ #14117]
0e4a3cd7
L
35595 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35596 * sysdeps/x86/bits/string.h: This.
35597 * sysdeps/x86_64/bits/string.h: Removed.
35598
6704c645
L
35599 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35600 if not compiling for x86-64, but compiling for >= i486.
35601
48495318
L
35602 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35603 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35604
14adcbfc
L
35605 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35606 New macro from Linux kernel 3.4.0.
35607 (FP_XSTATE_MAGIC2): Likewise.
35608 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35609 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35610 (struct _fpx_sw_bytes): New struct.
35611 (struct _xsave_hdr): Likewise.
35612 (struct _ymmh_state): Likewise.
35613 (struct _xstate): Likewise.
35614
68e408ab
L
35615 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35616 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35617 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35618 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35619 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35620 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35621
f3d1f93c
L
35622 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35623 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35624 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35625 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35626 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35627 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35628
d9dc34cd
TMQMF
356292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35630
35631 [BZ #13743]
35632 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35633 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35634 (sysdep_headers): Include sys/platform/ppc.h.
35635 * sysdeps/powerpc/test-gettimebase.c: Test for
35636 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35637 * manual/Makefile (appendices): Include platform.texi.
35638 * manual/contrib.texi (Contributors): Update @node pointers.
35639 * manual/maint.texi (Maintenance): Likewise.
35640 (Platform): New node.
35641 * manual/platform.texi: New file. Document the new features.
35642
4af3879c
SP
356432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35644 Jakub Jelinek <jakub@redhat.com>
35645
35646 [BZ #14188]
35647 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35648 where __builtin_expect is unavailable.
35649
2fd6ff13
DM
356502012-06-03 David S. Miller <davem@davemloft.net>
35651
35652 * stdlib/longlong.h: Updated from GCC.
35653
173f7220
AS
356542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35655
35656 [BZ #14042]
35657 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35658 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35659 __mcount_internal.
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35661 (GLIBC_2.16): Likewise.
35662
f34a1c6f
L
356632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35664
35665 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35666
88a4576f
JM
356672012-06-01 Joseph Myers <joseph@codesourcery.com>
35668
ea32bcdd
JM
35669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35670 (default-abi): New variable.
35671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35673 variable.
35674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35675 Likewise.
35676 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35677 Likewise.
35678 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35679 Likewise.
35680
88a4576f
JM
35681 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35682 definition. Document in comment.
35683
402fe938
DM
356842012-06-01 David S. Miller <davem@davemloft.net>
35685
35686 * stdlib/longlong.h: Updated from GCC.
35687
3553723f
L
356882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35689
35690 [BZ #14117]
3bd872c4
L
35691 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35692 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35693 sys/debugreg.h sys/io.h here.
35694 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35695 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35696 sys/io.h.
35697 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35698 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35699 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35700 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35701 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35702 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35703
3553723f
L
35704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35705 Define only if __x86_64__ is defined.
35706
4842e4fe
JM
357072012-06-01 Joseph Myers <joseph@codesourcery.com>
35708
c5bfe3d5
JM
35709 [BZ #14048]
35710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35711 Use int64_t for variable i.
35712 * math/libm-test.inc (fmod_test): Add more tests.
35713
4842e4fe
JM
35714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35715 z computation is not scheduled after fetestexcept.
35716 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35717 Use math_force_eval instead of asm to ensure calculation scheduled
35718 before exception test.
35719 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35720 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35721
efb73488
AJ
357222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35723
35724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35725 computation is not scheduled after fetestexcept.
35726
29bcce7c
L
357272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35728
35729 [BZ #14117]
35730 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35731 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35732
73a68f94
AZ
357332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35734
35735 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35736 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35737
67b6df78
L
357382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35739
edf2933a 35740 [BZ #14117]
ebc64a18
L
35741 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35742 <bits/wordsize.h>.
35743 (__WCHAR_MIN): Support __WORDSIZE == 64.
35744 (__WCHAR_MAX): Likewise.
35745
edf2933a
L
35746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35748
57c6cf40
L
35749 [BZ #14183]
35750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35751 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35752
67b6df78 35753 [BZ #14117]
8eb6281e
L
35754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35756
aac639f4
L
35757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35758 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35759
67b6df78
L
35760 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35761 Defined to 1 if __x86_64__ isn't defined.
35762 (_STAT_VER_LINUX_OLD): New.
35763 (st_atime): Remove duplicate.
35764 (st_mtime): Likewise.
35765 (st_ctime): Likewise.
35766
1c2cfe81
DM
357672012-05-31 David S. Miller <davem@davemloft.net>
35768
35769 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35770 entries.
35771
5be8418c
AS
357722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35773
e7725326
AS
35774 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35775 gen-libm-test.pl.
35776
5be8418c
AS
35777 [BZ #14132]
35778 * elf/dl-reloc.c: Include <_itoa.h>.
35779 (_dl_reloc_bad_type): Remove use of INTUSE.
35780 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35781 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35782 * stdio-common/psiginfo.c (psiginfo): Likewise.
35783 * stdio-common/psignal.c (psignal): Likewise.
35784 * string/strsignal.c (strsignal): Likewise.
35785 * include/signal.h (_sys_siglist): Declare hidden proto.
35786 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35787 INTVARDEF with libc_hidden_data_def.
35788 * stdio-common/itoa-udigits.c: Likewise.
35789 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35790 (_itoa_lower_digits_internal): Remove declaration.
35791 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35792 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35793 (_sys_sigabbrev_internal): Remove aliases.
35794 (_sys_siglist): Define hidden alias.
35795
507352f1
MT
357962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35797
35798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35799 bits/sysctl.h.
35800
42bbb1c3
L
358012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35802
35803 [BZ #14117]
6bd784b6
L
35804 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35805 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35806
8bca20f0
L
35807 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35808 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35809 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35810 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35812 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35813
f9e890a9
L
35814 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35815 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35817
471101a1
L
35818 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35819 with __addr.
35820 (insw): Likewise.
35821 (insl): Likewise.
35822 (outsb): Likewise.
35823 (outsw): Likewise.
35824 (outsl): Likewise.
35825
6451c862
L
35826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35828 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35829
a254b8c9
L
35830 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35831 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35833 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35834 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35835 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35836
b8dfdd92
L
35837 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35838 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35839
578cd270
L
35840 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35841 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35842
de662f5f
L
35843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35845 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35846
25653439
L
35847 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35848 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35849 to ...
35850 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35851
6bad24a0
L
35852 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35853 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35854 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35855
42bbb1c3
L
35856 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35857 for x86-64.
35858 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35859
2d10d547
JM
358602012-05-31 Joseph Myers <joseph@codesourcery.com>
35861
35862 * math/math.h (M_El): Use two more decimal places.
35863 (M_LOG2El): Likewise.
35864 (M_LOG10El): Likewise.
35865 (M_LN2l): Likewise.
35866 (M_LN10l): Likewise.
35867 (M_PIl): Likewise.
35868 (M_PI_2l): Likewise.
35869 (M_PI_4l): Likewise.
35870 (M_1_PIl): Likewise.
35871 (M_2_PIl): Likewise.
35872 (M_2_SQRTPIl): Likewise.
35873 (M_SQRT2l): Likewise.
35874 (M_SQRT1_2l): Likewise.
35875
f230c29b
DM
358762012-05-31 David S. Miller <davem@davemloft.net>
35877
35878 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35879 values between float registers.
35880 * sysdeps/sparc/sparc64/memset.S: Likewise.
35881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35882
fed806c3
MF
358832012-05-31 Mike Frysinger <vapier@gentoo.org>
35884
35885 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35886 -D_FORTIFY_SOURCE=1.
35887 (CPPFLAGS-tst-longjmp_chk.c): Define.
35888 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35889 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35890 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35891 CFLAGS-tst-wchar-h.c.
35892
30917259
MP
358932012-05-31 Marek Polacek <polacek@redhat.com>
35894
35895 [BZ #14132]
35896 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35897 __endmntent_internal): Remove declaration.
35898 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35899 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35900 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35901
1c58d5dc
DM
359022012-05-30 David S. Miller <davem@davemloft.net>
35903
35904 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35905 (___Q_simulate_exceptions): Use real FP ops rather than writing
35906 into the %fsr.
35907 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35908 Likewise.
35909
7dc00e0d
L
359102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35911
35912 [BZ #14117]
0bd53985
L
35913 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35914 * sysdeps/x86/bits/xtitypes.h: This.
35915
3a257e66
L
35916 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35917 * sysdeps/x86/bits/wordsize.h: This.
35918
62f62904
L
35919 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35920 * sysdeps/x86/bits/huge_vall.h: This.
35921
404fe9d9
L
35922 * sysdeps/i386/bits/select.h: Removed.
35923 * sysdeps/x86_64/bits/select.h: Renamed to ...
35924 * sysdeps/x86/bits/select.h: This.
35925
d48d0446
L
35926 * sysdeps/i386/bits/setjmp.h: Removed.
35927 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35928 * sysdeps/x86/bits/setjmp.h: This.
35929
7dc00e0d
L
35930 * sysdeps/i386/bits/mathdef.h: Removed.
35931 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35932 * sysdeps/x86/bits/mathdef.h: This.
35933
03277f8f
AS
359342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35935
35936 [BZ #14132]
35937 * include/sys/socket.h (__connect_internal)
35938 (__libc_sa_len_internal): Remove declaration.
35939 (__connect, __libc_sa_len): Declare hidden_proto.
35940 (SA_LEN): Remove use of INTUSE.
35941 * socket/connect.c: Add libc_hidden_def.
35942 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35943 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35944 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35945 alias.
35946 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35947 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35948 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35949 of adding _internal alias.
35950
13764867
L
359512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35952
35953 [BZ #14117]
6bd97696
L
35954 * sysdeps/i386/bits/link.h: Removed.
35955 * sysdeps/i386/bits/linkmap.h: Likewise.
35956 * sysdeps/x86_64/bits/link.h: Renamed to ...
35957 * sysdeps/x86/bits/link.h: This.
35958 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35959 * sysdeps/x86/bits/linkmap.h: This.
35960
f726f0bb
L
35961 * sysdeps/i386/bits/endian.h: Removed.
35962 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35963 * sysdeps/x86/bits/endian.h: This.
35964
13764867
L
35965 * sysdeps/i386/bits/byteswap.h: Removed.
35966 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35967 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35968 * sysdeps/x86/bits/byteswap.h: This.
35969 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35970 * sysdeps/x86/bits/byteswap-16.h: This.
35971 * sysdeps/i386/Implies: Add x86.
35972 * sysdeps/x86_64/Implies: Likewise.
35973
ae251b0b
DM
359742012-05-30 David S. Miller <davem@davemloft.net>
35975
35976 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35977 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35979 (FP_TRAPPING_EXCEPTIONS): Define.
35980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35981 (FP_TRAPPING_EXCEPTIONS): Define.
35982 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35983 subnormals only when inexact has been signalled or underflow
35984 exceptions are enabled.
35985 (_FP_PACK_CANONICAL): Likewise.
35986
d5c90867
L
359872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35988
35989 [BZ #14183]
35990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35991 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35992
63f1549e
RH
359932012-05-30 Richard Henderson <rth@twiddle.net>
35994
8d8f2279
RH
35995 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35996 with #ifndef NOT_IN_libc.
35997
63f1549e
RH
35998 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35999 marked to avoid plt entry.
36000
0ab0291b
L
360012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36002
36003 [BZ #14112]
36004 * Makeconfig (default-abi): New macro.
36005 (abi-includes): Likewise.
36006 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36007 $(abi-$(default-abi)-lib-soname) for soname if defined.
36008 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36009 abi-variants.
36010 * Makefile (installed-stubs): Likewise.
36011 * include/stubs-biarch.h: Removed.
36012 * scripts/lib-names.awk: Only handle one library at a time.
36013 * scripts/soversions.awk: Remove WORDSIZE support.
36014 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36015 entries.
36016 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36017 Removed.
36018 (syscall-list-default-condition): Likewise.
36019 (syscall-list-default-condition): Likewise.
36020 (syscall-list-includes): Likewise.
36021 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36022 syscall-list-* with abi-*. Handle undefined abi-variants.
36023 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36024 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36025 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36026 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36027 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36028 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36029 Removed.
36030 (syscall-list-32-options): Likewise.
36031 (syscall-list-32-condition): Likewise.
36032 (syscall-list-64-options): Likewise.
36033 (syscall-list-64-condition): Likewise.
36034 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36035 macro.
36036 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36037 Renamed to ...
36038 (abi-*): This.
36039 (abi-64-ld-soname): New macro.
36040 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36041 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36042 Renamed to ...
36043 (abi-*): This.
36044 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36045 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36046
4da0431d
JM
360472012-05-30 Joseph Myers <joseph@codesourcery.com>
36048
3a85279c
JM
36049 * sysdeps/unix/sysv/linux/kernel-features.h
36050 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36051 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36052 include <kernel-features.h>.
36053 [!__NR_ftruncate64]: Remove conditional code.
36054 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36055 [__NR_ftruncate64]: Make code unconditional.
36056 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36057 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36058 include <kernel-features.h>.
36059 [!__NR_ftruncate64]: Remove conditional code.
36060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36061 [__NR_ftruncate64]: Make code unconditional.
36062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36064 include <kernel-features.h>.
36065 [!__NR_ftruncate64]: Remove conditional code.
36066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36067 [__NR_ftruncate64]: Make code unconditional.
36068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36070 include <kernel-features.h>.
36071 [!__NR_ftruncate64]: Remove conditional code.
36072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36073 [__NR_ftruncate64]: Make code unconditional.
36074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36075
4da0431d
JM
36076 * configure.in (libc_cv_fpie): Weaken to a compile test using
36077 LIBC_TRY_CC_OPTION.
36078 * configure: Regenerated.
36079
11ef492c
AK
360802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36081
36082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36086 Refreshed.
36087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36093 Refreshed.
36094
d66ef399
DM
360952012-05-27 David S. Miller <davem@davemloft.net>
36096
36097 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36098 (___Q_zero): New.
36099 (__Q_simulate_exceptions): Return void. Change to simulate
36100 exceptions by writing into the %fsr.
36101 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36102 (__Qp_handle_exceptions): Likewise.
36103 (numbers): Delete.
36104 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36105 __Qp_handle_exceptions.
36106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36107 __Qp_handle_exceptions.
36108 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36109 as unused and give dummy FP_RND_NEAREST initializer.
36110 (FP_INHIBIT_RESULTS): Define.
36111 (___Q_simulate_exceptions): Update declaration.
36112 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36113 formatting.
36114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36115 as unused and give dummy FP_RND_NEAREST initializer.
36116 (__Qp_handle_exceptions): Update declaration.
36117 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36118 formatting.
36119
04fb54b5
TS
361202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36121
36122 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36123 the temporary FPU control word.
36124 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36125 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36126 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36130 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36132 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36133 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36135
3f99608f
KK
361362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36137
36138 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36139 fields.
36140
65a4de4e
CLT
361412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36142
36143 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36144 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36145 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36146 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36147 Likewise.
36148 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36149 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36150 Likewise.
36151
15749d40
UD
361522012-05-27 Ulrich Drepper <drepper@gmail.com>
36153
36154 * po/h.po: Update from translation team.
36155
25dbcb27
AS
361562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36157
3d3f8e55
AS
36158 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36159
25dbcb27
AS
36160 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36161 handling of denormals.
36162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36163 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36169 Likewise.
36170
7ad47a80 361712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36172
36173 [BZ #14152]
36174 * math/libm-test.inc (fma_test): Don't always expect underflow
36175 exception.
36176
9c6ea9fa
SP
361772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36178
36179 [BZ #12416]
36180 * elf/tst-execstack.c: Include stackinfo.h.
36181 (do_test): Adjust test case to ensure that pthread_getattr_np
36182 behaviour remains the same after marking stack executable.
36183
a8239222
JM
361842012-05-25 Joseph Myers <joseph@codesourcery.com>
36185
36186 * sysdeps/unix/sysv/linux/kernel-features.h
36187 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36188 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36189 kernel-features.h.
36190 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36191 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36192 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36193 kernel-features.h.
36194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36196
918b5606
L
361972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36198
36199 * configure.in: Define the default includes to being none.
36200 * configure: Regenerated.
36201
3a097cc7
RM
362022012-05-25 Roland McGrath <roland@hack.frob.com>
36203
8422c9a5
RM
36204 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36205 * sysdeps/x86_64/setjmp.S: Likewise.
36206 * sysdeps/i386/bsd-setjmp.S: Likewise.
36207 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36208 * sysdeps/i386/setjmp.S: Likewise.
36209 * sysdeps/i386/__longjmp.S: Likewise.
36210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36212
3a097cc7
RM
36213 * include/stap-probe.h: New file.
36214 * configure.in: Handle --enable-systemtap.
36215 * configure: Regenerated.
36216 * config.h.in (USE_STAP_PROBE): New #undef.
36217 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36218 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36219 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36220
21708942
JM
362212012-05-25 Joseph Myers <joseph@codesourcery.com>
36222
36223 [BZ #13717]
36224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36225 to 2.4.0 where earlier.
36226 * sysdeps/unix/sysv/linux/configure: Regenerated.
36227 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36228 <kernel-features.h>.
36229 [__ASSUME_32BITUIDS]: Make code unconditional.
36230 [!__ASSUME_32BITUIDS]: Remove conditional code.
36231 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36232 <kernel-features.h>.
36233 [__ASSUME_32BITUIDS]: Make code unconditional.
36234 [!__ASSUME_32BITUIDS]: Remove conditional code.
36235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36236 [__ASSUME_32BITUIDS]: Make code unconditional.
36237 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36238 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36239 <kernel-features.h>.
36240 [__ASSUME_32BITUIDS]: Make code unconditional.
36241 [!__ASSUME_32BITUIDS]: Remove conditional code.
36242 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36243 <kernel-features.h>.
36244 [__ASSUME_32BITUIDS]: Make code unconditional.
36245 [!__ASSUME_32BITUIDS]: Remove conditional code.
36246 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36247 <kernel-features.h>.
36248 [__ASSUME_32BITUIDS]: Make code unconditional.
36249 [!__ASSUME_32BITUIDS]: Remove conditional code.
36250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36251 <kernel-features.h>.
36252 [__ASSUME_32BITUIDS]: Make code unconditional.
36253 [!__ASSUME_32BITUIDS]: Remove conditional code.
36254 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36255 <kernel-features.h>.
36256 [__ASSUME_32BITUIDS]: Make code unconditional.
36257 [!__ASSUME_32BITUIDS]: Remove conditional code.
36258 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36259 <kernel-features.h>.
36260 [__ASSUME_32BITUIDS]: Make code unconditional.
36261 [!__ASSUME_32BITUIDS]: Remove conditional code.
36262 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36263 <kernel-features.h>.
36264 [__ASSUME_32BITUIDS]: Make code unconditional.
36265 [!__ASSUME_32BITUIDS]: Remove conditional code.
36266 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36267 <kernel-features.h>.
36268 [__ASSUME_32BITUIDS]: Make code unconditional.
36269 [!__ASSUME_32BITUIDS]: Remove conditional code.
36270 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36271 <kernel-features.h>.
36272 [__ASSUME_32BITUIDS]: Make code unconditional.
36273 [!__ASSUME_32BITUIDS]: Remove conditional code.
36274 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36275 <kernel-features.h>.
36276 [__ASSUME_32BITUIDS]: Make code unconditional.
36277 [!__ASSUME_32BITUIDS]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36279 <kernel-features.h>.
36280 [__NR_setresgid] (__setresgid): Do not declare.
36281 [__ASSUME_32BITUIDS]: Make code unconditional.
36282 [!__ASSUME_32BITUIDS]: Remove conditional code.
36283 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36284 <kernel-features.h>.
36285 [__NR_setresuid] (__setresuid): Do not declare.
36286 [__ASSUME_32BITUIDS]: Make code unconditional.
36287 [!__ASSUME_32BITUIDS]: Remove conditional code.
36288 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36289 <kernel-features.h>.
36290 [__ASSUME_32BITUIDS]: Make code unconditional.
36291 [!__ASSUME_32BITUIDS]: Remove conditional code.
36292 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36293 <kernel-features.h>.
36294 [__ASSUME_32BITUIDS]: Make code unconditional.
36295 [!__ASSUME_32BITUIDS]: Remove conditional code.
36296 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36297 <kernel-features.h>.
36298 [__ASSUME_32BITUIDS]: Make code unconditional.
36299 [!__ASSUME_32BITUIDS]: Remove conditional code.
36300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36301 <kernel-features.h>.
36302 [__ASSUME_32BITUIDS]: Make code unconditional.
36303 [!__ASSUME_32BITUIDS]: Remove conditional code.
36304 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36305 <kernel-features.h>.
36306 [__ASSUME_32BITUIDS]: Make code unconditional.
36307 [!__ASSUME_32BITUIDS]: Remove conditional code.
36308 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36309 <kernel-features.h>.
36310 [__ASSUME_32BITUIDS]: Make code unconditional.
36311 [!__ASSUME_32BITUIDS]: Remove conditional code.
36312 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36313 <kernel-features.h>.
36314 [__ASSUME_32BITUIDS]: Make code unconditional.
36315 [!__ASSUME_32BITUIDS]: Remove conditional code.
36316 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36317 <kernel-features.h>.
36318 [__ASSUME_32BITUIDS]: Make code unconditional.
36319 [!__ASSUME_32BITUIDS]: Remove conditional code.
36320 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36321 <kernel-features.h>.
36322 [__ASSUME_32BITUIDS]: Make code unconditional.
36323 [!__ASSUME_32BITUIDS]: Remove conditional code.
36324 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36325 <kernel-features.h>.
36326 [__ASSUME_32BITUIDS]: Make code unconditional.
36327 [!__ASSUME_32BITUIDS]: Remove conditional code.
36328 * sysdeps/unix/sysv/linux/kernel-features.h
36329 (__ASSUME_SETRESUID_SYSCALL): Remove.
36330 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36331 (__ASSUME_32BITUIDS): Likewise.
36332 (__ASSUME_LDT_WORKS): Likewise.
36333 (__ASSUME_O_DIRECTORY): Likewise.
36334 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36335 architecture but not kernel version.
36336 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36337 (__ASSUME_MMAP2_SYSCALL): Likewise.
36338 (__ASSUME_STAT64_SYSCALL): Likewise.
36339 (__ASSUME_IPC64): Likewise.
36340 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36341 <kernel-features.h>.
36342 [__ASSUME_32BITUIDS]: Make code unconditional.
36343 [!__ASSUME_32BITUIDS]: Remove conditional code.
36344 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36345 <kernel-features.h>.
36346 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36347 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36348 132096]: Remove conditional code.
36349 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36350 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36351 <kernel-features.h>.
36352 [__ASSUME_32BITUIDS]: Make code unconditional.
36353 [!__ASSUME_32BITUIDS]: Remove conditional code.
36354 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36355 <kernel-features.h>.
36356 [__ASSUME_32BITUIDS]: Make code unconditional.
36357 [!__ASSUME_32BITUIDS]: Remove conditional code.
36358 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36359 <kernel-features.h>.
36360 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36361 unconditional.
36362 (__setresgid): Do not declare.
36363 [__ASSUME_32BITUIDS]: Make code unconditional.
36364 [!__ASSUME_32BITUIDS]: Remove conditional code.
36365 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36366 <kernel-features.h>.
36367 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36368 unconditional.
36369 (__setresuid): Do not declare.
36370 [__ASSUME_32BITUIDS]: Make code unconditional.
36371 [!__ASSUME_32BITUIDS]: Remove conditional code.
36372 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36373 <kernel-features.h>.
36374 [__ASSUME_32BITUIDS]: Make code unconditional.
36375 [!__ASSUME_32BITUIDS]: Remove conditional code.
36376 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36377 <kernel-features.h>.
36378 [__ASSUME_32BITUIDS]: Make code unconditional.
36379 [!__ASSUME_32BITUIDS]: Remove conditional code.
36380
a386f1cc
RH
363812012-05-25 Richard Henderson <rth@twiddle.net>
36382
36383 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36384 dl_hwcap to ifunc resolver.
36385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36386 elf_ifunc_invoke.
36387 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36388 dl_hwcap to ifunc resolver.
36389 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36390
b6550497
JM
363912012-05-24 Joseph Myers <joseph@codesourcery.com>
36392
36393 [BZ #14153]
36394 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36395 for |x| <= 2**-26, not 2**-57.
36396 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36397 exception.
36398
b0bc23a1
JL
363992012-05-24 Jeff Law <law@redhat.com>
36400
36401 * stdio-common/Makefile (tests): Add bug25.
36402 * stdio-common/bug25.c: New test.
36403
347c92e9
L
364042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36405
36406 [BZ #13576]
36407 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36408 multiple of MALLOC_ALIGNMENT in size.
36409 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36410
6bcc8b3f
JM
364112012-05-24 Joseph Myers <joseph@codesourcery.com>
36412
36413 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36414 Require >= 256.
36415 (FILENAME_MAX): Use macro-int-constant.
36416 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36417 (_IOFBF): Use macro-int-constant.
36418 (_IOLBF): Likewise.
36419 (_IONBF): Likewise.
36420 (SEEK_CUR): Likewise.
36421 (SEEK_END): Likewise.
36422 (SEEK_SET): Likewise.
36423 (TMP_MAX): Likewise.
36424 (EOF): Use macro-int-constant. Require < 0.
36425 (NULL): Use macro-constant. Require == 0.
36426 (stdin): Require type to be FILE *.
36427 (stdout): Likewise.
36428 (stderr): Likewise.
36429 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36430 macro-int-constant.
36431 (EXIT_SUCCESS): Likewise.
36432 (NULL): Use macro-constant. Require == 0.
36433 (RAND_MAX): Use macro-int-constant.
36434 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36435 [C99-based standards] (strtof): Require function.
36436 [C99-based standards] (strtold): Likewise.
36437 [C99-based standards] (strtoll): Likewise.
36438 [C99-based standards] (strtoull): Likewise.
36439 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36440 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36441 [ISO || ISO99 || ISO11] (math.h): Likewise.
36442 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36443 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36445
d18ea0c5
AS
364462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36447
36448 [BZ #14132]
56d25bb8
AS
36449 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36450 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36451 * intl/dgettext.c (DCGETTEXT): Likewise.
36452 * intl/gettext.c (DCGETTEXT): Likewise.
36453 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36454 * posix/regex_internal.h (gettext): Likewise.
36455 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36456 Remove declaration.
36457 * include/argz.h (__argz_count_internal)
36458 (__argz_stringify_internal): Remove declaration.
36459 (__argz_count, __argz_stringify): Declare hidden proto.
36460 * intl/dcgettext.c: Remove use of INTDEF.
36461 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36462 * string/argz-stringify.c: Likewise.
36463 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36464 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36465 Declare hidden proto.
d18ea0c5
AS
36466 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36467 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36468 Declare hidden proto.
36469 * include/stdio.h (__asprintf_internal): Don't declare.
36470 (__asprintf): Don't define as macro. Declare hidden proto.
36471 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36472 (__fsetlocking): Declare hidden proto.
36473 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36474 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36475 hidden proto.
36476 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36477 (_IO_setlinebuf): Remove use of INTUSE.
36478 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36479 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36480 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36481 Remove declaration.
36482 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36483 (_IO_do_flush): Remove use of INTUSE.
36484 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36485 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36486 (_IO_adjust_column, _IO_least_wmarker)
36487 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36488 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36489 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36490 (_IO_default_doallocate, _IO_wdefault_doallocate)
36491 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36492 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36493 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36494 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36495 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36496 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36497 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36498 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36499 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36500 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36501 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36502 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36503 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36504 proto.
36505 (_IO_flush_all_internal, _IO_adjust_column_internal)
36506 (_IO_default_uflow_internal, _IO_default_finish_internal)
36507 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36508 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36509 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36510 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36511 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36512 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36513 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36514 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36515 (_IO_file_close_internal, _IO_file_close_it_internal)
36516 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36517 (_IO_file_init_internal, _IO_file_attach_internal)
36518 (_IO_file_fopen_internal, _IO_file_read_internal)
36519 (_IO_file_sync_internal, _IO_file_seek_internal)
36520 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36521 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36522 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36523 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36524 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36525 (_IO_list_all_internal, _IO_link_in_internal)
36526 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36527 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36528 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36529 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36530 (_IO_do_write_internal, _IO_padn_internal)
36531 (_IO_getline_info_internal, _IO_getline_internal)
36532 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36533 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36534 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36535 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36536 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36537 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36538 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36539 with libc_hidden_ver, remove use of INTUSE.
36540 * libio/genops.c: Likewise.
36541 * libio/freopen.c: Likewise.
36542 * libio/freopen64.c: Likewise.
36543 * libio/iofclose.c: Likewise.
36544 * libio/iofdopen.c: Likewise.
36545 * libio/iofflush.c: Likewise.
36546 * libio/iofflush_u.c: Likewise.
36547 * libio/iofgets.c: Likewise.
36548 * libio/iofgets_u.c: Likewise.
36549 * libio/iofopen.c: Likewise.
36550 * libio/iofopncook.c: Likewise.
36551 * libio/iofread.c: Likewise.
36552 * libio/iofread_u.c: Likewise.
36553 * libio/ioftell.c: Likewise.
36554 * libio/iofwrite.c: Likewise.
36555 * libio/iogetline.c: Likewise.
36556 * libio/iogets.c: Likewise.
36557 * libio/iogetwline.c: Likewise.
36558 * libio/iopadn.c: Likewise.
36559 * libio/iopopen.c: Likewise.
36560 * libio/ioseekoff.c: Likewise.
36561 * libio/ioseekpos.c: Likewise.
36562 * libio/iosetbuffer.c: Likewise.
36563 * libio/iosetvbuf.c: Likewise.
36564 * libio/ioungetc.c: Likewise.
36565 * libio/ioungetwc.c: Likewise.
36566 * libio/iovdprintf.c: Likewise.
36567 * libio/iovsprintf.c: Likewise.
36568 * libio/iovsscanf.c: Likewise.
36569 * libio/memstream.c: Likewise.
36570 * libio/obprintf.c: Likewise.
36571 * libio/oldfileops.c: Likewise.
36572 * libio/oldiofclose.c: Likewise.
36573 * libio/oldiofdopen.c: Likewise.
36574 * libio/oldiofopen.c: Likewise.
36575 * libio/oldiopopen.c: Likewise.
36576 * libio/oldstdfiles.c: Likewise.
36577 * libio/putc.c: Likewise.
36578 * libio/setbuf.c: Likewise.
36579 * libio/setlinebuf.c: Likewise.
36580 * libio/stdfiles.c: Likewise.
36581 * libio/strops.c: Likewise.
36582 * libio/vasprintf.c: Likewise.
36583 * libio/vscanf.c: Likewise.
36584 * libio/vsnprintf.c: Likewise.
36585 * libio/vswprintf.c: Likewise.
36586 * libio/wfiledoalloc.c: Likewise.
36587 * libio/wfileops.c: Likewise.
36588 * libio/wgenops.c: Likewise.
36589 * libio/wmemstream.c: Likewise.
36590 * libio/wstrops.c: Likewise.
36591 * libio/__fpurge.c: Likewise.
36592 * libio/__fsetlocking.c: Likewise.
36593 * assert/assert.c: Likewise.
36594 * debug/fgets_chk.c: Likewise.
36595 * debug/fgets_u_chk.c: Likewise.
36596 * debug/fread_chk.c: Likewise.
36597 * debug/fread_u_chk.c: Likewise.
36598 * debug/gets_chk.c: Likewise.
36599 * debug/obprintf_chk.c: Likewise.
36600 * debug/vasprintf_chk.c: Likewise.
36601 * debug/vdprintf_chk.c: Likewise.
36602 * debug/vsnprintf_chk.c: Likewise.
36603 * debug/vsprintf_chk.c: Likewise.
36604 * malloc/mtrace.c: Likewise.
36605 * misc/error.c: Likewise.
36606 * misc/syslog.c: Likewise.
36607 * stdio-common/asprintf.c: Likewise.
36608 * stdio-common/fxprintf.c: Likewise.
36609 * stdio-common/getw.c: Likewise.
36610 * stdio-common/isoc99_fscanf.c: Likewise.
36611 * stdio-common/isoc99_scanf.c: Likewise.
36612 * stdio-common/isoc99_vfscanf.c: Likewise.
36613 * stdio-common/isoc99_vscanf.c: Likewise.
36614 * stdio-common/isoc99_vsscanf.c: Likewise.
36615 * stdio-common/printf-prs.c: Likewise.
36616 * stdio-common/printf_fp.c: Likewise.
36617 * stdio-common/printf_fphex.c: Likewise.
36618 * stdio-common/printf_size.c: Likewise.
36619 * stdio-common/putw.c: Likewise.
36620 * stdio-common/scanf.c: Likewise.
36621 * stdio-common/sprintf.c: Likewise.
36622 * stdio-common/tmpfile.c: Likewise.
36623 * stdio-common/vfprintf.c: Likewise.
36624 * stdio-common/vfscanf.c: Likewise.
36625 * stdlib/strfmon_l.c: Likewise.
36626 * sunrpc/openchild.c: Likewise.
36627 * sunrpc/xdr_stdio.c: Likewise.
36628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36629 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36630
d6c33fda
RM
366312012-05-24 Roland McGrath <roland@hack.frob.com>
36632
c1487492
RM
36633 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36634
36635 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36636 in the third column, to generate for the shared library an IFUNC
36637 that uses _dl_vdso_vsym.
36638 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36639 * Makeconfig (object-suffixes-noshared): New variable.
36640
36641 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36642 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36643 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36644 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36645
d6c33fda
RM
36646 [BZ #14132]
36647 * include/sys/time.h (__gettimeofday): Remove macro.
36648 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36649 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36650 Remove INTDEF.
36651 (__gettimeofday): Add libc_hidden_def.
36652 (gettimeofday): Add libc_hidden_weak.
36653 * sysdeps/mach/gettimeofday.c: Likewise.
36654 * sysdeps/posix/gettimeofday.c: Likewise.
36655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36656 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36658 (__gettimeofday_internal): Remove strong_alias.
36659 (__gettimeofday): Add libc_hidden_def.
36660 (gettimeofday): Add libc_hidden_weak.
36661 * sysdeps/unix/syscalls.list (gettimeofday):
36662 Remove __gettimeofday_internal alias.
36663
b5a2bbe6
L
366642012-05-24 Daniel Jacobowitz <drow@false.org>
36665 H.J. Lu <hongjiu.lu@intel.com>
36666
36667 [BZ #12495]
36668 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36669 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36670 (largebin_index_32_big): New.
36671 (largebin_index): Use it for 16-byte alignment.
36672 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36673 correction with front_misalign.
36674
cfba4fda
L
366752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36676
7f907421
L
36677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36679 Likewise.
36680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36681 Likewise.
36682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36683 Likewise.
36684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36685 Likewise.
36686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36687 Likewise.
36688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36689 Likewise.
36690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36691 Likewise.
36692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36693 Likewise.
36694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36695 Likewise.
36696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36697 Likewise.
36698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36699 Likewise.
36700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36701 Likewise.
36702
cfba4fda
L
36703 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36704 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36705
80bad0cc
JM
367062012-05-24 Joseph Myers <joseph@codesourcery.com>
36707
7a25eb06
JM
36708 [BZ #10846]
36709 [BZ #14036]
36710 * math/libm-test.inc (exp_test): Add test from bug 14036.
36711 (pow_test): Add test from bug 10846.
36712
795405f9
JM
36713 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36714 and other flags.
36715 (special_function): Do not include flags in test name.
36716 (parse_args): Likewise.
36717 * sysdeps/i386/fpu/libm-test-ulps: Update.
36718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36722
80bad0cc
JM
36723 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36724 exceptions.
36725 * math/libm-test.inc ("Philosophy"): Update comment about
36726 exception testing.
36727 (UNDERFLOW_EXCEPTION): New macro.
36728 (UNDERFLOW_EXCEPTION_OK): Likewise.
36729 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36730 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36731 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36732 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36733 (INVALID_EXCEPTION_OK): Update value.
36734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36735 (OVERFLOW_EXCEPTION_OK): Likewise.
36736 (IGNORE_ZERO_INF_SIGN): Likewise.
36737 (test_exceptions): Handle underflow exceptions.
36738 (acos_test): Update for underflow exception expectations.
36739 (cexp_test): Likewise.
36740 (clog_test): Likewise.
36741 (clog10_test): Likewise.
36742 (csqrt_test): Likewise.
36743 (ctan_test): Likewise.
36744 (ctanh_test): Likewise.
36745 (exp_test): Likewise.
36746 (exp10_test): Likewise.
36747 (exp2_test): Likewise.
36748 (expm1_test): Likewise.
36749 (fma_test): Likewise.
36750 (j0_test): Likewise.
36751 (jn_test): Likewise.
36752 (nexttoward_test): Likewise.
36753 (pow_test): Likewise.
36754 (scalbn_test): Likewise.
36755 (scalbln_test): Likewise.
36756 (tan_test): Likewise.
36757 (y1_test): Likewise.
36758 * sysdeps/i386/fpu/libm-test-ulps: Update.
36759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36760
9e0e3d0b
DM
367612012-05-23 David S. Miller <davem@davemloft.net>
36762
36763 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36764 (__libc_sigaction): Remove unused local variables.
36765
ccd0a08f
L
367662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36769
62bdf9a6
PE
367702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36771
f8591f80
PE
36772 mktime: avoid signed integer overflow
36773 * time/mktime.c (__mktime_internal): Do not mishandle the case
36774 where diff == INT_MIN.
36775
94c7d826
PE
36776 mktime: simplify computation of average
36777 * time/mktime.c (ranged_convert): Use new time_t_avg function
36778 instead of rolling our own (probably-slower) code.
36779
ce73d683
PE
36780 mktime: do not assume signed right shift propagates sign bit
36781 * time/mktime.c (isdst_differ): New static function.
36782 (__mktime_internal): No need to normalize tm_isdst now.
36783 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36784 tm_isdst values.
36785
72a22e59
PE
36786 mktime: merge another wrapv change from gnulib
36787 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36788 from some compilers.
36789
68605433
PE
36790 mktime: remove incorrect attempt at unusual arithmetics
36791 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36792 The code didn't really work on such machines anyway.
36793 (TYPE_MINIMUM): Assume two's complement.
36794 (twos_complement_arithmetic): Verify that long_int and time_t
36795 are two's complement (or unsigned, in the latter case).
36796
03cf7fe3
PE
36797 mktime: check signed shifts on long_int and time_t, too
36798 * time/mktime.c (SHR): Check that shifts work as desired
36799 on the types long_int and time_t too, as SHR is used on
36800 such types.
36801
f04dfbc2
PE
36802 mktime: do not assume 'long' is wide enough
36803 * time/mktime.c (verify): Move decl up.
36804 (long_int): New type.
36805 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36806 to remove assumption in the code that 'long' is wide enough to
36807 store year values. This assumption is not true on x32 and on
36808 some non-glibc platforms.
36809
62bdf9a6
PE
36810 mktime: merge wrapv change from gnulib
36811 * time/mktime.c (WRAPV): New macro.
36812 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36813 (guess_time_tm, __mktime_internal): Do not assume that signed
36814 integer overflow wraps around; modern compilers generate code
36815 where this assumption is no longer valid.
36816
5e292e4f
L
368172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36818
36819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36820 Replace "jmp L(pseudo_end)" with "ret".
36821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36822 Likewise.
36823
8caf8c87
AJ
368242012-05-23 Andreas Jaeger <aj@suse.de>
36825
36826 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36827 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36828
1a09dc56
AJ
368292012-05-23 Andreas Jaeger <aj@suse.de>
36830 Maximilian Attems <max@stro.at>
36831
36832 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36833 New macros.
36834
1c87aba0
L
368352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36836
36837 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36838 code so that pseudo_end is just ret and the stack pointer is
36839 correct also for static library in error case.
36840
40e45bd5
JM
368412012-05-23 Joseph Myers <joseph@codesourcery.com>
36842
c2670533
JM
36843 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36844 move to syscalls.list.
36845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36849
40e45bd5
JM
36850 * manual/install.texi (Running make install): Do not mention Linux
36851 kernel version for which pt_chown is not needed.
36852 (Linux): Do not mention problems with nscd with 2.0 kernels.
36853 * INSTALL: Regenerated.
36854
be08eda5
AJ
368552012-05-23 Andreas Jaeger <aj@suse.de>
36856
36857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36858 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36859 macro.
36860 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36861 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36862 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36863 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36864 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36870 * sysdeps/unix/sysv/linux/bits/in.h
36871 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36872
a6a056bb
RM
368732012-05-22 Roland McGrath <roland@hack.frob.com>
36874
36875 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36876 (PREPARE_VERSION): Just use assert instead, it will be elided
36877 under [NDEBUG] anyway.
36878
c9009328
L
368792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36880
36881 * sysdeps/unix/sysv/linux/Makefile: Include
36882 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 36883 (sysdep_routines): Remove sysctl.
c9009328
L
36884 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36885 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36886 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36887 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36888 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36889
73338355
AJ
368902012-05-22 Andreas Jaeger <aj@suse.de>
36891
36892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36893 that pseudo_end is just ret and the stack pointer is correct also
36894 for static library in error case.
36895
d44638b0
PP
368962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36897
36898 [BZ #14122]
36899 * nss/nsswitch.c (defconfig_entries): New variable.
36900 (__nss_database_lookup): Don't leak defconfig entries.
36901 (nss_parse_service_list): Don't leak on error paths.
36902 (free_database_entries): New function.
36903 (free_defconfig): New function.
36904 (free_mem): Move common code to free_database_entries.
36905
31a39bd8
L
369062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36907
da0331a8
L
36908 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36909 Add arch_prctl.
36910 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36911
31a39bd8
L
36912 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36913 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36915 New macro.
36916 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36917 (INTERNAL_SYSCALL_TYPES): Likewise.
36918 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36919 (LOAD_REGS_TYPES_[1-6]): Likewise.
36920 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36921 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36922
45470df3
AZ
369232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36924
36925 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36926 copysignl for GLIBC_2_0.
36927 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36928 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36930 logbl for GLIBC_2_0.
36931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36932 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36933
98a61bcb
L
369342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36935
a4f6e481
L
36936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36937 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36938
f63d5db6
L
36939 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36940 Use "neg %eax".
36941
98a61bcb
L
36942 * time/mktime.c: Update copyright years.
36943
95770f14
PE
369442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36945
6226efbd
PE
36946 mktime: merge comment-quoting-style change from gnulib
36947 * time/mktime.c: Quote 'like this' in comments.
36948 The GNU coding standards suggest that we no longer quote `like this',
36949 as "`" and "'" are typically rendered asymmetrically nowadays.
36950 The typical gnulib style is to quote 'like this' when quoting
36951 code, and "like this" when quoting English.
36952
b99e4f78
PE
36953 * time/mktime.c (compile-command): Add "-I.".
36954
643e01e6
PE
36955 mktime: merge mktime-internal.h change from gnulib
36956 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36957
2554247d
PE
36958 mktime: merge time_r change from gnulib
36959 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36960
826dd0ab
PE
36961 mktime: merge DEBUG change from gnulib
36962 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36963 case system <time.h> has a #define.
36964
bd83aabe
PE
36965 mktime: merge <sys/types.h> change from gnulib
36966 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36967 since <time.t> is now guaranteed to define time_t.
36968
95770f14
PE
36969 mktime: merge HAVE_CONFIG_H change from gnulib
36970 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36971
5e1a27a9
L
369722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36973
0e44a77e
L
36974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36975 Use "neg %eax".
36976
5e1a27a9
L
36977 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36978 __rlim_t cast.
36979 (struct rusage): Use anonymous union to pad each field to
36980 __syscall_slong_t.
36981
46259bec
DM
369822012-05-21 David S. Miller <davem@davemloft.net>
36983
36984 * Makefules (o-iterator): Remove .s cases.
36985 (compile-command.s): Delete.
36986 (COMPILE.s): Delete.
36987 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36988
59f0c22e
JM
369892012-05-21 Joseph Myers <joseph@codesourcery.com>
36990
36991 * configure.in (libc_cv_predef_stack_protector): Only consider
36992 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36993 * configure: Regenerated.
36994
20c07380
L
369952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36996
bbb3154b
L
36997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36998 New macro. Use R*LP on int and pointer.
36999 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37000 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37001 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37002 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37003
20c07380
L
37004 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37005 [__WORDSIZE_TIME64_COMPAT32] instead of
37006 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37007 (struct utmp): Likewise.
37008 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37009 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37010 Renamed to ...
37011 (__WORDSIZE_TIME64_COMPAT32): This.
37012 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37013 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37014 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37015 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37016 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37017 (__WORDSIZE_TIME64_COMPAT32): New macro.
37018
d8d1017e
AJ
370192012-05-21 Andreas Jaeger <aj@suse.de>
37020
37021 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37022 only if [SHARED]. Add prototype for __wcschr_ia32.
37023
6c7fb145
RM
370242012-05-21 Roland McGrath <roland@hack.frob.com>
37025
37026 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37027 of %rbp unmolested in the jmp_buf while mangling the low bits.
37028 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37029 unmolested high bits of %rbp while demangling the low bits.
37030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37031
66274218
AJ
370322012-05-21 Andreas Jaeger <aj@suse.de>
37033
07c58f8f
AJ
37034 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37035 * sunrpc/svc_simple.c: Use it for registerrpc.
37036 * sunrpc/xcrypt.c: Use it for passwd2des.
37037
66274218
AJ
37038 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37039
61f65140
L
370402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37041
37042 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37043 Don't define if [__SYSCALL_WORDSIZE != 32].
37044 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37045 New macro.
37046
5fefb436
AJ
370472012-05-21 Bruno Haible <bruno@clisp.org>
37048 Andreas Jaeger <aj@suse.de>
37049
37050 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37051 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37052 inptr and inend for must_buffer_ch.
37053 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37054 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37055 * stdio-common/Makefile (tests): Remove bug15.
37056 (bug15-ENV): Remove macro.
37057 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37058 anymore.
37059
d8e272ab
AJ
370602012-05-19 Andreas Jaeger <aj@suse.de>
37061 Roland McGrath <roland@hack.frob.com>
37062
37063 * manual/contrib.texi: Completely rewritten. It contains now an
37064 alphabetical list of contributors and their contributions.
37065
4a56a162
RH
370662012-05-21 Richard Henderson <rth@twiddle.net>
37067
37068 * misc/getauxval.c (__getauxval): Use unsigned long int.
37069 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37070 (getauxval): Use unsigned long int.
37071
d024d23c
L
370722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37073
37074 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37075
cbc00a03
RM
370762012-05-21 Roland McGrath <roland@hack.frob.com>
37077
37078 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37079 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37080 __alignof__ (long double).
37081
478143fa
AZ
370822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37083
37084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37085
c7683a6d
RH
370862012-05-20 Richard Henderson <rth@twiddle.net>
37087
37088 * misc/getauxval.c: New file.
37089 * misc/sys/auxv.h: New file.
37090 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37091 (routines): Add getauxval.
37092 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37094 * elf/dl-sysdep.c (_dl_auxv): Remove.
37095 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37096 * elf/dl-support.c (_dl_auxv): New variable.
37097 (_dl_aux_init): Initialize it.
37098 * manual/startup.texi (Auxiliary Vector): New node.
37099 * sysdeps/generic/bits/hwcap.h: New file.
37100 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37101 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37102 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37103 * sysdeps/sparc/sysdep.h: ... here. Include it.
37104 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37107 Update.
c7683a6d
RH
37108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37116
a6f1845d
AZ
371172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37118
37119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37120
cbcbe830
DM
371212012-05-19 David S. Miller <davem@davemloft.net>
37122
37123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37124
e0b16cc2
JM
371252012-05-19 Joseph Myers <joseph@codesourcery.com>
37126
37127 [BZ #14123]
37128 * math/s_ccosh.c: Include <float.h>
37129 (__ccosh): Avoid internal overflow calculating sinh and cosh
37130 values before multiplying by sin and cos values.
37131 * math/s_ccoshf.c: Likewise.
37132 * math/s_ccoshl.c: Likewise.
37133 * math/s_csin.c: Likewise.
37134 * math/s_csinf.c: Likewise.
37135 * math/s_csinl.c: Likewise.
37136 * math/s_csinh.c: Likewise.
37137 * math/s_csinhf.c: Likewise.
37138 * math/s_csinhl.c: Likewise.
37139 * math/libm-test.inc (ccos_test): Add more tests.
37140 (ccosh_test): Likewise.
37141 (csin_test): Likewise.
37142 (csinh_test): Likewise.
37143 * sysdeps/i386/fpu/libm-test-ulps: Update.
37144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37145
6ad13e08
L
371462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37147
f66f0ce8
L
37148 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37149 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37150
6ad13e08
L
37151 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37152
b1d072a7
JM
371532012-05-19 Joseph Myers <joseph@codesourcery.com>
37154
37155 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37156 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37157 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37158 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37159 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37160 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37161 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37162 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37163 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37164 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37165 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37166 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37167 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37168 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37169 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37170 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37171 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37172 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37173 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37174 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37175 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37176 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37177 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37178 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37179 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37180 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37181 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37182 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37183 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37184 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37185 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37186
9eae47cb
AJ
371872012-05-18 Andreas Jaeger <aj@suse.de>
37188
37189 * csu/.gitignore: Delete.
37190
bb07f69f
L
371912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37192
37193 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37194 (timex): Use __syscall_slong_t.
37195
e6bdb741
AJ
371962012-05-18 Andreas Jaeger <aj@suse.de>
37197 Carlos O'Donell <carlos_odonell@mentor.com>
37198
37199 * manual/install.texi (Configuring and compiling): Update
37200 description about files modified in the source directory.
d6c33fda 37201 * INSTALL: Regenerated.
e6bdb741 37202
1b74487e
L
372032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37204
37205 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37206 value. Use "or" to set return value to -1.
37207 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37208 negate return value.
37209
a88b64b9
TMQMF
372102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37211
57f41c40
AS
37212 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37213 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37214 failure if the compiler has Graphite support disabled.
37215 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37216 Likewise.
57f41c40
AS
37217 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37218 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37220 Likewise.
37221
3707636e
L
372222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37223
610b8622
L
37224 * sysdeps/x86_64/x32/_itoa.h: New file.
37225
7cd195df
L
37226 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37227 getdents system call only if kernel and user dirents have the
37228 same d_ino and d_off.
37229
94b07d20
L
37230 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37231 LLONG_MAX != LONG_MAX.
37232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37233 (_fitoa_word): Likewise.
37234
18298070
L
37235 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37236 years.
37237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37238 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37240
553c7ea4
L
37241 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37242 include <bits/wordsize.h>. Check __x86_64__ instead of
37243 __WORDSIZE.
37244 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37245 if __x86_64__ is defined. Use anonymous union on fpstate.
37246
3707636e
L
37247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37248 anonymous union.
37249
b53ef01a
AS
372502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37251
37fb1dc0
AS
37252 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37253 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37255 Refer to _rtld_local_ro instead of _rtld_global_ro.
37256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37257 Likewise.
37258 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37259 Likewise.
37260 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37261 Likewise.
37262 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37263 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37264 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37265
b53ef01a
AS
37266 * sysdeps/powerpc/powerpc32/dl-machine.c
37267 (__elf_machine_runtime_setup) [PROF]: Don't reference
37268 _dl_prof_resolve.
37269
7a185db2
AJ
372702012-05-18 Andreas Jaeger <aj@suse.de>
37271
37272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37273 function only available for GCCs before 3.4 since GCC 3.4
37274 introduced a builtin.
37275 (lrint): Likewise.
37276 (llrintf): Likewise.
37277 (llrint): Likewise.
37278 (fmaxf): Likewise.
37279 (fmax): Likewise.
37280 (fminf): Likewise.
37281 (fmin): Likewise.
37282 (rint): Likewise.
37283 (rintf): Likewise.
37284 (nearbyint): Likewise.
37285 (nearbyintf): Likewise.
37286 (ceil): Likewise.
37287 (ceilf): Likewise.
37288 (floor): Likewise.
37289 (floorf): Likewise.
37290
3e5aef87
L
372912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37292
428bd707
L
37293 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37294 on both fields and cast pointer to __syscall_ulong_t.
37295
3e5aef87
L
37296 * bits/types.h (__fsword_t): New type.
37297 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37298 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37300 (__FSWORD_T_TYPE): Likewise.
37301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37302 (__FSWORD_T_TYPE): Likewise.
37303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37304 (__FSWORD_T_TYPE): Likewise.
37305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37306 (__FSWORD_T_TYPE): Likewise.
37307 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37308 __SWORD_TYPE with __fsword_t.
37309 (statfs64): Likewise.
37310
1ba7c3dc
DM
373112012-05-17 David S. Miller <davem@davemloft.net>
37312
37313 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37314
59910343
AJ
373152012-05-17 Andreas Jaeger <aj@suse.de>
37316
37317 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37318 warning.
37319
2e4c1e9e
L
373202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37321
37322 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37323
de7f5ce7
AJ
373242012-05-17 Andreas Jaeger <aj@suse.de>
37325
37326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37327 when it is used.
37328
286abc3d
CM
373292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37330
37331 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37332
477cc68e
L
373332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37334
37335 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37336 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37337
1a0994f5
CD
373382012-05-17 Andreas Jaeger <aj@suse.de>
37339 Carlos O'Donell <carlos_odonell@mentor.com>
37340
37341 [BZ #14059]
37342 * sysdeps/x86_64/multiarch/init-arch.h
37343 (bit_YMM_Usable): Rename to...
37344 (bit_AVX_Usable): ... this.
37345 (bit_FMA4_Usable): New macro.
37346 (bit_XMM_state): New macro.
37347 (bit_YMM_state): New macro.
37348 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37349 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37350 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37351 (CPUID_OSXSAVE): New macro.
37352 (CPUID_AVX): New macro.
37353 (CPUID_FMA4): New macro.
37354 (index_YMM_Usable): Rename to...
37355 (index_AVX_Usable): ... this.
37356 (HAS_AVX): Use HAS_ARCH_FEATURE.
37357 (HAS_FMA4): Likewise.
37358 (HAS_YMM_USABLE): Remove.
37359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37360 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37361 are present.
37362 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37363 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37364 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37365 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37366 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37367
0af797de
CM
373682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37369
37370 * math/libm-test.c: Support platforms without multiple rounding modes.
37371 * math/bug-nextafter.c: Support platforms without FP exceptions.
37372 * math/bug-nexttoward.c: Likewise.
37373 * math/test-fenv.c: Likewise.
37374 * math/test-misc.c: Likewise.
37375 * stdlib/bug-getcontext.c: Likewise.
37376
e39745ff
AJ
373772012-05-17 Andreas Jaeger <aj@suse.de>
37378
37379 * manual/examples/search.c (critter_cmp): Change signature to
37380 avoid warnings.
37381 * manual/string.texi (Collation Functions): Likewise.
37382
48970aba
L
373832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37384
37385 * bits/types.h: Fold copyright years.
37386 * bits/typesizes.h: Likewise.
37387 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37391 * time/time.h: Likewise.
37392
bedee953
PP
373932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37394
37395 [BZ #208]
37396 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37397 in instead of returning them. Return void.
37398 (__libc_mallinfo): Accumulate over all arenas.
37399 (__malloc_stats): Adjust for change in int_mallinfo interface.
37400
61653dfb
RM
374012012-05-16 Roland McGrath <roland@hack.frob.com>
37402
30b99d79
RM
37403 [BZ #10375]
37404 * configure.in (NM): Add AC_CHECK_TOOL for it.
37405 (libc_extra_cflags): New substituted variable.
37406 Check for -fstack-protector being used implicitly.
37407 * configure: Regenerated.
37408 * config.make.in (config-extra-cflags): New variable,
37409 gets @libc_extra_cflags@.
37410 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37411
61653dfb
RM
37412 [BZ #10375]
37413 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37414 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37415 * configure: Regenerated.
37416 * config.make.in (CPPUNDEFS): New substituted variable.
37417 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37418 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37419 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37420
661768bb
L
374212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37422
37423 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37424 (mq_attr): Use __syscall_slong_t.
37425
d4261567
L
374262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37427
37428 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37429 Check __x86_64__ instead of __WORDSIZE.
37430 (_STAT_VER_LINUX): Likewise.
37431 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37432 __syscall_ulong_t and __syscall_slong_t.
37433 (stat64): Likewise.
37434
cf3ff365
L
374352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37436
37437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37438
76cf3e4d
L
374392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37440
37441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37442
a637753a
L
374432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37444
37445 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37446 __syscall_ulong_t.
37447
d5e05119
L
37448 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37449 include <bits/wordsize.h>. Check __x86_64__ instead of
37450 __WORDSIZE.
37451 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37452 defined.
37453 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37454
f62ee380
L
37455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37456 include <bits/wordsize.h>. Check __x86_64__ instead of
37457 __WORDSIZE.
37458 (user_regs_struct): Use "__extension__ unsigned long long"
37459 instead of "unsigned long" if __x86_64__ is defined.
37460 (user): Likewise. Pad after pointer field if __ILP32__ is
37461 defined.
37462
4e124ced
JM
374632012-05-16 Joseph Myers <joseph@codesourcery.com>
37464
6a3951a0
JM
37465 * configure.in (makeinfo): Require version 4.5 or later. Allow
37466 versions 5 to 9.
37467 * configure: Regenerated.
37468 * manual/install.texi (texinfo): Increase version requirement to
37469 4.5 or later.
37470 * INSTALL: Regenerated.
37471
4e124ced
JM
37472 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37473
953ca31a
L
374742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37475
37476 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37477
617aca05
L
37478 * sysdeps/x86_64/x32/ffs.c: New file.
37479
5762f7ae
L
37480 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37481 __syscall_ulong_t.
37482 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37483 defined. Use __syscall_ulong_t.
37484 (shminfo): Use __syscall_ulong_t.
37485 (shm_info): Likewise.
37486
a26b6856
L
37487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37488 __syscall_ulong_t.
37489
cb2b9ef7
L
37490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37491 <bits/wordsize.h>.
37492 (msgqnum_t): Use __syscall_ulong_t.
37493 (msglen_t): Likewise.
37494 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37495 __syscall_ulong_t.
37496
34683bb0
L
37497 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37498 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37499
84a68786
L
37500 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37501
48baa5f1
L
37502 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37503 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37504
180be88b
L
37505 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37506 __syscall_slong_t.
37507
5e90c8ad
L
37508 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37509 include <bits/wordsize.h>. Check __x86_64__ instead of
37510 __WORDSIZE.
37511
23dfb58b
L
37512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37513 "unsigned long long int" if __x86_64__ is defined.
37514 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37515
ce5d54b0
L
37516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37518 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37519
13dc9eac
L
37520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37521 <stdint.h>.
37522 (GET_PC): Cast to uintptr_t first.
37523 (GET_FRAME): Likewise.
37524 (GET_STACK): Likewise.
37525
a7895d15
L
37526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37529 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37531 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37532 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37533 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37534 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37538 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37540 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37546 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37551 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37552 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37555
656416c9
AS
375562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37557
5bd66283
AS
37558 * Makerules (+depfiles): Also collect depfiles from .oS in
37559 $(extra-objs).
37560 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37561 .oS, $(libnldbl-routines)).
37562
656416c9
AS
37563 * Makerules (native-compile-mkdep-flags): Define.
37564 * sunrpc/Makefile (extra-objs): Add $(addprefix
37565 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37566 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37567 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37568 calling $(make-target-directory).
37569
a46f2169
L
375702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37571
37572 * bits/types.h (__snseconds_t): Removed.
37573 * time/time.h (struct timespec): Replace __snseconds_t with
37574 __syscall_slong_t.
37575 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37576 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37577 Likewise.
37578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37579 (__SNSECONDS_T_TYPE): Likewise.
37580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37581 (__SNSECONDS_T_TYPE): Likewise.
37582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37583 (__SNSECONDS_T_TYPE): Likewise.
37584
6af6528b
L
375852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37586
37587 * sysdeps/mach/hurd/bits/typesizes.h
37588 (__SYSCALL_SLONG_TYPE): New macro.
37589 (__SYSCALL_ULONG_TYPE): Likewise.
37590
de986b56
L
375912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37592
37593 * bits/types.h (__syscall_slong_t): New type.
37594 (__syscall_ulong_t): Likewise.
37595
37596 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37597 (__SYSCALL_ULONG_TYPE): Likewise.
37598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37599 (__SYSCALL_SLONG_TYPE): Likewise.
37600 (__SYSCALL_ULONG_TYPE): Likewise.
37601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37602 (__SYSCALL_SLONG_TYPE): Likewise.
37603 (__SYSCALL_ULONG_TYPE): Likewise.
37604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37605 (__SYSCALL_SLONG_TYPE): Likewise.
37606 (__SYSCALL_ULONG_TYPE): Likewise.
37607
85736dc7
L
376082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37609
37610 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37611 Add sigaltstack-offsets.sym.
37612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37613 <sigaltstack-offsets.h>.
37614 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37615 longjmp_msg pointer.
37616 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37617 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37618 signal stack.
37619 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37620
cc03b296
JM
376212012-05-15 Joseph Myers <joseph@codesourcery.com>
37622
a9538892
JM
37623 * elf/stackguard-macros.h: Remove file.
37624 * sysdeps/generic/stackguard-macros.h: New file.
37625 * sysdeps/i386/stackguard-macros.h: Likewise.
37626 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37627 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37628 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37629 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37630 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37631 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37632 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37633 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37634 <elf/stackguard-macros.h>.
37635
cc03b296
JM
37636 [BZ #14109]
37637 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37638 __aligned__ in attribute.
37639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37640 (gregset_t): Likewise.
37641
93171016
L
376422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37643
37644 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37645 * sysdeps/x86_64/64/Implies-after: Here. New file.
37646 * sysdeps/x86_64/x32/Implies-after: New file.
37647
d86813a0
L
376482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37649
37650 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37651 and access return value for _dl_profile_fixup. Use R10_LP to
37652 load frame size.
37653
2953ec75
L
376542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37655
37656 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37657
3b550e9e
L
376582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37659
37660 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37661 * sysdeps/x86_64/x32/sysdep.h: New file.
37662
eda41706
L
376632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37664
37665 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37666 * sysdeps/x86_64/setjmp.S: Likewise.
37667
9ea01d93
AZ
376682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37669
37670 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37672 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37673 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37674 remove unused global constant.
37675
02a91938
CM
376762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37677
37678 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37679 include of <not-cancel.h>.
37680
6540185f
RM
376812012-05-15 Roland McGrath <roland@hack.frob.com>
37682
37683 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37684
509072a0
AJ
376852012-05-15 Jeff Law <law@redhat.com>
37686 Andreas Jaeger <aj@suse.de>
37687
37688 [BZ #13594]
37689 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37690 out from...
37691 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37692 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37694 code changing __hst_map_handle.map.
37695
ba75122d
RM
376962012-05-15 Roland McGrath <roland@hack.frob.com>
37697
37698 * configure.in (sysnames): Look for Implies-before and Implies-after
37699 files.
37700 * configure: Regenerated.
37701
890d8bd8
L
377022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37703
37704 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37705 8-byte data alignment with LP_SIZE alignment.
37706
f6ee6623
L
377072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37708
37709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37710 into R10_LP.
37711
ea2626f6
L
377122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37713
37714 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37715
085f715e
L
377162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37717
37718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37719 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37720 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37721 Likewise.
37722 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37723
be8498fc
L
377242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37725
37726 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37727 (stackinfo_sub_sp): Likewise.
37728
70bc83b9
L
377292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37730
37731 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37732 RAX_LP.
37733
9bc0b730
L
377342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37735
37736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37737 into R*_LP.
37738
6d2850e7
L
377392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37740
37741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37742 sizes into R*_LP.
37743
3cb84561
L
377442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37745
37746 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37747
54e2ed81
L
377482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37749
37750 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37751 into R11_LP and load __x86_64_shared_cache_size_half into
37752 R8_LP.
37753
8a17f349
L
377542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37755
37756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37757 R8_LP.
37758
777b1eea
AZ
377592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37760
37761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37762 logb for POWER7.
37763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37764 logbf for POWER7.
37765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37766 logbl for POWER7.
37767 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37768 powerpc32/power7/fpu/s_logb.c via #include.
37769 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37770 powerpc32/power7/fpu/s_logbf.c via #include.
37771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37772 powerpc32/power7/fpu/s_logbl.c via #include.
37773
d20d4ac2
JM
377742012-05-15 Joseph Myers <joseph@codesourcery.com>
37775
37776 * README.libm: Remove file.
37777
6cdef1ab
L
377782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37779
37780 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37781 count for x32. Use R*_LP and omit operand-size suffix.
37782
0b254d8f
L
377832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37784
37785 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37786 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37787 * sysdeps/x86_64/x32/shlib-versions: New file.
37788
ceb809dc
RM
377892012-05-14 Roland McGrath <roland@hack.frob.com>
37790
37791 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37792 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37793 Use _dl_fatal_printf instead.
37794
37f1abd4
JM
377952012-05-14 Joseph Myers <joseph@codesourcery.com>
37796
37797 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37798 set if not set by the user. Do not allow for being unset.
37799 * sysdeps/unix/sysv/linux/configure: Regenerated.
37800
11de3a33
L
378012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37802
37803 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37804 the `q' suffix from lea and replace .quad with ASM_ADDR.
37805
e02f153a
L
378062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37807
37808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37809 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37810 instead of $17.
37811 (PTR_DEMANGLE): Likewise.
37812
520ae0fd
L
378132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37814
37815 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37816 (LP_OP): Likewise.
37817 (ASM_ADDR): Likewise.
37818 (RAX_LP): Likewise.
37819 (RBP_LP): Likewise.
37820 (RBX_LP): Likewise.
37821 (RCX_LP): Likewise.
37822 (RDI_LP): Likewise.
37823 (RSI_LP): Likewise.
37824 (RSP_LP): Likewise.
37825 (R8_LP): Likewise.
37826 (R9_LP): Likewise.
37827 (R10_LP): Likewise.
37828 (R10_LP): Likewise.
37829 (R11_LP): Likewise.
37830 (R12_LP): Likewise.
37831 (R13_LP): Likewise.
37832 (R14_LP): Likewise.
37833 (R15_LP): Likewise.
37834
b985be81
L
378352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37836
37837 * sysdeps/x86_64/x32/dl-machine.h: New file.
37838
6a4888ff
AJ
378392012-05-14 Andreas Jaeger <aj@suse.de>
37840
37841 * manual/Makefile (subdir): Remove export of subdir.
37842 (all): Remove target.
37843 (.PHONY): Remove all from list.
37844 (mkinstalldirs): Remove.
37845 (.PHONY): Remove installdirs from list.
37846 ($(inst_infodir)/libc.info): Use make-target-directory.
37847 (installdirs): Remove.
37848 (subdir_%): Remove.
37849 (glibc-targets): Remove.
37850 (lib): Remove.
37851 (stubs): Remove.
37852 ($(objpfx)stubs ../po/manual.pot): Remove.
37853 ($(objpfx)stamp%): Remove.
37854 (make-target-directory): Remove.
37855 (subdir_install): Remove.
37856 (routines): Remove.
37857 (aux): Remove.
37858 (sources): Remove.
37859 (objects): Remove.
37860 (headers): Remove.
37861
37862 [BZ #13750]
37863 * manual/.gitignore: Remove, it's not needed anymore.
37864 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37865 all files in it.
37866 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37867 directory.
37868 (texis): Renamed to $(objpfx)texis.
37869 (texis-path): New, contains path to generated files.
37870 (chapters.%): Use texis-path for complete path, add extra argument
37871 libc-texinfo.sh.
37872 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37873 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37874 (summary,texi, stamp-summary): Use complete path of
37875 files. Generate files in build dir.
37876 (dir-add.texi): Build in build dir.
37877 (libm-err.texi,stamp-libm-err): Likewise.
37878 (version.texi, stamp-version): Likewise.
37879 (.%c.texi): Likewise.
37880 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37881 (mostlyclean): Remove target.
37882 (realclean): Remove target.
37883 (generated): Add new variable with contents from mostlyclean and
37884 realclean, remove entries duplicated in common-mostlyclean, add
37885 stamp-libm-err and stamp-version.
37886 (generated-dirs): Add libc directory.
37887 ($(inst_infodir)/libc.info): Install files from build dir.
37888
37889 * manual/install.texi (Configuring and compiling): Adjust since
37890 the info files are not part of the tar ball anymore.
37891
7ac77294
AJ
378922012-05-14 Andreas Jaeger <aj@suse.de>
37893
37894 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37895 variable.
37896
ffb7875d
JM
378972012-05-14 Joseph Myers <joseph@codesourcery.com>
37898
37899 [BZ #13717]
37900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37901 to 2.2.0 where earlier.
37902 * sysdeps/unix/sysv/linux/configure: Regenerated.
37903 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37904 Remove conditional code.
37905 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37906 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37907 Remove conditional code.
37908 [!__NR_lchown]: Likewise.
37909 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37910 [__NR_lchown]: Likewise.
37911 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37912 comment referencing __ASSUME_LCHOWN_SYSCALL.
37913 * sysdeps/unix/sysv/linux/i386/sigaction.c
37914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37916 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37917 Remove conditional code.
37918 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37919 (__protocol_available): Remove #if 0 code.
37920 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37921 conditional code.
37922 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37923 * sysdeps/unix/sysv/linux/kernel-features.h
37924 (__ASSUME_GETCWD_SYSCALL): Don't define.
37925 (__ASSUME_REALTIME_SIGNALS): Likewise.
37926 (__ASSUME_PREAD_SYSCALL): Likewise.
37927 (__ASSUME_PWRITE_SYSCALL): Likewise.
37928 (__ASSUME_POLL_SYSCALL): Likewise.
37929 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37930 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37931 non-SPARC.
37932 (__ASSUME_SIOCGIFNAME): Don't define.
37933 (__ASSUME_MSG_NOSIGNAL): Likewise.
37934 (__ASSUME_SENDFILE): Define unconditionally.
37935 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37936 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37937 conditional code.
37938 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37939 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37940 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37941 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37942 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37943 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37944 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37949 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37955 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37958 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37969 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37970 Remove conditional code.
37971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37972 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37973 Remove conditional code.
37974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37975 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37976 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37977 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37978 Remove conditional code.
37979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37980 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37981 Remove conditional code.
37982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37983 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37984 Remove conditional code.
37985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37986 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37987 Remove conditional code.
37988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37989 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37990 Remove conditional code.
37991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37992 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37995 * sysdeps/unix/sysv/linux/sigaction.c
37996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37998 * sysdeps/unix/sysv/linux/sigpending.c
37999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38001 * sysdeps/unix/sysv/linux/sigprocmask.c
38002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38004 * sysdeps/unix/sysv/linux/sigsuspend.c
38005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38008 (__libc_missing_rt_sigs): Remove.
38009 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38010 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38011 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38012 Remove conditional code.
38013 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38014 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38015 return 1.
38016 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38017 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38019 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38020
1bfb7291
AJ
380212012-05-14 Andreas Jaeger <aj@suse.de>
38022
caae5a81
AJ
38023 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38024 it's not used in glibc.
38025 (__coshm1): Likewise.
38026 (__acosh1p): Likewise.
38027 (__sgn): Likewise.
38028
1bfb7291
AJ
38029 * manual/string.texi (Copying and Concatenation): Add missing
38030 variable in concat example.
38031 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38032
c044d724
L
380332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38034
144c5467 38035 [BZ #14103]
c044d724
L
38036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38037 __builtin_clzl with __builtin_clzll.
38038
2523c62b
L
380392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38040
38041 [BZ #14104]
38042 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38043 libc_freeres_ptr.
38044
d7bb4c42
LD
380452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38046
38047 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38048 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38049 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38051
9dc4e1fb
MF
380522012-05-14 Mike Frysinger <vapier@gentoo.org>
38053
38054 * NEWS: Update ia64 info.
38055
c7df0112
AS
380562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38057
38058 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38059 used as bcopy.
38060
dc70356c
TS
380612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38062
38063 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38064 * sysdeps/unix/syscalls.list (dup3): Likewise.
38065 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38066 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38067
9fb1a21f
L
380682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38069
38070 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38071 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38072
4822a2a5
L
380732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38074
38075 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38076 thread pointer.
38077 (TLS_IE): Use mov/add instead of movq/addq to load thread
38078 pointer.
38079 (TLS_GD_PREFIX): New.
38080 (TLS_GD): Use it.
38081
842b81d6
DM
380822012-05-11 David S. Miller <davem@davemloft.net>
38083
38084 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38085 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38086 (_FPU_SETCW): Likewise.
38087
1cf463cd
L
380882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38089
38090 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38091 is 32-byte aligned.
38092
60cc4a18
AS
380932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38094
38095 [BZ #11837]
38096 * iconvdata/gb18030.c: Update tables.
38097 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38098 characters specially.
38099 (BODY for TO_LOOP): Add encoding of missing ranges.
38100
febb44a4
TS
381012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38102
38103 [BZ #13673]
38104 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38105 * sysdeps/mach/hurd/dup3.c: Likewise.
38106 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38107 * sysdeps/powerpc/memmove.c:: Likewise.
38108
0a10fb9e
L
381092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38110
38111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38112 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38113
df8a552f
L
381142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38115
38116 * elf/elf.h (R_X86_64_RELATIVE64): New.
38117 (R_X86_64_NUM): Updated.
38118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38119 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38120 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38121 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38122 tst-quad1pie tst-quad2pie
38123 (modules-names): Add tst-quadmod1 tst-quadmod2.
38124 ($(objpfx)tst-quad1): New dependency.
38125 ($(objpfx)tst-quad2): Likewise.
38126 ($(objpfx)tst-quad1pie): Likewise.
38127 ($(objpfx)tst-quad2pie): Likewise.
38128 * sysdeps/x86_64/tst-quad1.c: New file.
38129 * sysdeps/x86_64/tst-quad1pie.c: New file.
38130 * sysdeps/x86_64/tst-quad2.c: Likewise.
38131 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38132 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38133 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38134 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38135 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38136
f34d6f84
ST
381372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38138
f42d41d1
ST
38139 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38140 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38141 * streams/stropts.h (t_scalar_t): Define type.
38142
3c3571fc
ST
38143 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38144 (_PATH_PRESERVE): Set to "/var/lib".
38145 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38146
61f06bd3
ST
38147 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38148 instead of int.
38149
918d4d71
ST
38150 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38151 if __dir_mkfile succeeded.
38152
f34d6f84
ST
38153 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38154 checking for _hurd_dtablesize. Unlock it right after having
38155 finished _hurd_dtable allocation.
38156
10589b4a
TS
381572012-05-10 Thomas Schwinge <thomas@schwinge.name>
38158
674cdbc7
TS
38159 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38160 * sysdeps/mach/hurd/configure: Regenerated.
38161 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38162 special-casing to...
38163 * sysdeps/gnu/configure.in: ... this new file.
38164 * sysdeps/unix/sysv/linux/configure: Regenerated.
38165 * sysdeps/gnu/configure: New generated file.
38166
8e41b99f
TS
38167 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38168 for Linux: use nsec instead of usec, as well as:
38169 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38170 members of type struct timespec.
38171 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38172 New macros.
38173 (struct stat64): Likewise.
38174 (_STATBUF_ST_NSEC): New macro.
38175 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38176
10589b4a
TS
38177 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38178 __strtoul_internal rather than strtoul.
38179
63643c85
PT
381802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38181
38182 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38183 and reject them.
38184
3faebe6a
ST
381852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38186
38187 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38188 which preserves existing values.
38189 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38190
c6474b07
PT
381912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38192
38193 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38194 TIMEOUT values. Return EINVAL for NFDS values either negative or
38195 greater than FD_SETSIZE.
38196
1043890b
ST
381972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38198
38199 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38200 allocated, call __vm_protect to finish enabling the existing space, and
38201 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38202 allocate the remainder.
38203
37ed8b9b
PT
382042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38205
38206 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38207 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38208
db653660
ST
382092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38210
37ed8b9b
PT
38211 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38212 sysdeps/mach/hurd/readlink.c.
b29d4053 38213
db653660
ST
38214 * posix/tst-sysconf.c (posix_options): Only use
38215 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38216 _POSIX_SYNCHRONIZED_IO when they are defined
38217 * sysdeps/mach/hurd/bits/posix_opt.h:
38218 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38219 (_XOPEN_REALTIME): Undefine macro.
38220 (_XOPEN_REALTIME_THREADS): Undefine macro.
38221 (_XOPEN_SHM): Undefine macro.
38222 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38223 macro to -1.
38224 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38225 macro to -1.
38226 (_POSIX_ASYNC_IO): Undefine macro.
38227 (_POSIX_PRIORITIZED_IO): Undefine macro.
38228 (_POSIX_SPIN_LOCKS): Define macro to -1.
38229
ee16e894
ST
38230 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38231 SA_NODEFER, SA_RESETHAND.
38232 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38233 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38234 F_DUPFD_CLOEXEC.
38235
6103ae3b
TS
382362012-05-10 Thomas Schwinge <thomas@schwinge.name>
38237
38238 * elf/Makefile (pldd-modules): Define unconditionally.
38239
80b4e5f3
TS
382402012-05-10 Thomas Schwinge <thomas@schwinge.name>
38241
38242 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38243
edadcbd6
ST
382442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38245
38246 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38247 Return ENOENT when name is empty.
38248 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38249
80694780
TS
382502012-05-10 Thomas Schwinge <thomas@schwinge.name>
38251
1792c087
TS
38252 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38253
80694780
TS
38254 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38255
6b645f0d
ST
382562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38257
80694780
TS
38258 Fix mlock in all cases except non-readable pages.
38259 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38260 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38261
6b645f0d
ST
38262 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38263 (__mkdir): When path is `/', just fail with EEXIST.
38264 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38265
e468f8a3
TS
382662012-05-10 Thomas Schwinge <thomas@schwinge.name>
38267
38268 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38269 <sys/uio.h> (for writev).
38270 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38271 and <sys/param.h> (for MIN).
38272
a4186cff
PT
382732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38274
38275 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38276 REQUESTED_TIME. Properly set the remaining time and return EINTR
38277 if interrupted.
38278
510bbf14
TS
382792012-05-10 Thomas Schwinge <thomas@schwinge.name>
38280
38281 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38282 Depend on against $(link-rpcuserlibs).
38283
5d5722e8
ST
382842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38285
a4186cff
PT
38286 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38287 (__libc_stack_end): Do not use attribute_relro.
38288 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38289 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38290 to libthread-provided value.
a4186cff
PT
38291 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38292 attribute_relro.
5d5722e8 38293
37233df9
TS
382942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38295
be971a2b
TS
38296 [BZ #3748]
38297 * bits/libc-lock.h (__libc_once_get): New macro.
38298 * sysdeps/mach/bits/libc-lock.h: Likewise.
38299 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38301 instead of using implementation details.
38302
37233df9
TS
38303 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38304 * libio/freopen.c: Likewise.
38305 * libio/freopen64.c: Likewise.
38306 * misc/syslog.c: Likewise.
38307 * nscd/connections.c: Likewise.
38308 * nscd/netgroupcache.c: Likewise.
38309 * sysdeps/posix/getcwd.c: Likewise.
38310
38de94a5
RM
383112012-05-10 Roland McGrath <roland@hack.frob.com>
38312
38313 * math/w_ilogbf.c: Add #include <limits.h>.
38314
67530489
ST
383152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38316
a4186cff 38317 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38318 path instead of returning without unlocking.
38319
67530489
ST
38320 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38321 immediate-write ioctls.
38322 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38323
5aa3a74a
TS
383242012-05-10 Thomas Schwinge <thomas@schwinge.name>
38325
18bad2ae
TS
38326 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38327 __builtin_frame_address instead of making assumptions about the
38328 location of the return address relative to DATA. Force early load of
38329 the return address.
38330 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38331 __builtin_frame_address.
38332
5aa3a74a
TS
38333 dup3 for GNU Hurd.
38334 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38335 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38336 implement dup3 and do some further code clean-ups.
38337 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38339
ecd0de9a
ST
383402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38341
cd9fa985
ST
38342 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38343
a4186cff
PT
38344 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38345 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38346 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38347 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38348 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38349 d->port.lock.
802ca5a5 38350
a4186cff
PT
38351 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38352 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38353 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38354
bcf55240
TS
383552012-05-10 Thomas Schwinge <thomas@schwinge.name>
38356
6960eb42
TS
38357 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38358 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38359 definitions.
38360
eb43375f
TS
38361 accept4 for GNU Hurd.
38362 * include/sys/socket.h (__libc_accept4): New prototype.
38363 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38364 to implement __libc_accept4.
38365 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38366 __libc_accept4.
38367 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38368
bcf55240
TS
38369 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38370 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38371 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38372 signal-defines.sym.
38373
6178c55b
ST
383742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38375
a4186cff 38376 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38377
6f080c2f
TS
383782012-05-10 Thomas Schwinge <thomas@schwinge.name>
38379
38380 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38381 assertion on O_CLOEXEC flag.
38382 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38383 * hurd/intern-fd.c: Likewise.
38384 * hurd/port2fd.c: Likewise.
38385
bcfe3a54
ST
383862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38387
38388 [BZ #3906]
38389 * bits/in.h (IPV6_PKTINFO): Define new macro.
38390 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38391
89c9aa49
AZ
383922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38393
38394 [BZ #13954]
38395 [BZ #13955]
38396 [BZ #13956]
38397 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38399 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38400 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38402 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38403 * math/libm-test.inc (logb_test) : Additional logb tests.
38404
021db4be
AJ
384052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38406 Andreas Jaeger <aj@suse.de>
38407
38408 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38409 * configure: Regenerated.
38410 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38411 * config.make.in (link-obsolete-rpc): New substituted variable.
38412 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38413 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38414 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38415 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38416 so that libc.a contains the symbols.
38417 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38418 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38419 * sunrpc/auth_none.c: Likewise.
38420 * sunrpc/auth_unix.c: Likewise.
38421 * sunrpc/authdes_prot.c: Likewise.
38422 * sunrpc/authuxprot.c: Likewise.
38423 * sunrpc/clnt_gen.c: Likewise.
38424 * sunrpc/clnt_perr.c: Likewise.
38425 * sunrpc/clnt_raw.c: Likewise.
38426 * sunrpc/clnt_simp.c: Likewise.
38427 * sunrpc/clnt_tcp.c: Likewise.
38428 * sunrpc/clnt_udp.c: Likewise.
38429 * sunrpc/clnt_unix.c: Likewise.
38430 * sunrpc/des_crypt.c: Likewise.
38431 * sunrpc/des_soft.c: Likewise.
38432 * sunrpc/get_myaddr.c: Likewise.
38433 * sunrpc/key_call.c: Likewise.
38434 * sunrpc/key_prot.c: Likewise.
38435 * sunrpc/netname.c: Likewise.
38436 * sunrpc/pm_getmaps.c: Likewise.
38437 * sunrpc/pm_getport.c: Likewise.
38438 * sunrpc/pmap_clnt.c: Likewise.
38439 * sunrpc/pmap_prot.c: Likewise.
38440 * sunrpc/pmap_prot2.c: Likewise.
38441 * sunrpc/pmap_rmt.c: Likewise.
38442 * sunrpc/publickey.c: Likewise.
38443 * sunrpc/rpc_cmsg.c: Likewise.
38444 * sunrpc/rpc_common.c: Likewise.
38445 * sunrpc/rpc_dtable.c: Likewise.
38446 * sunrpc/rpc_prot.c: Likewise.
38447 * sunrpc/rpc_thread.c: Likewise.
38448 * sunrpc/rtime.c: Likewise.
38449 * sunrpc/svc.c: Likewise.
38450 * sunrpc/svc_auth.c: Likewise.
38451 * sunrpc/svc_raw.c: Likewise.
38452 * sunrpc/svc_run.c: Likewise.
38453 * sunrpc/svc_tcp.c: Likewise.
38454 * sunrpc/svc_udp.c: Likewise.
38455 * sunrpc/svc_unix.c: Likewise.
38456 * sunrpc/svcauth_des.c: Likewise.
38457 * sunrpc/xcrypt.c: Likewise.
38458 * sunrpc/xdr.c: Likewise.
38459 * sunrpc/xdr_array.c: Likewise.
38460 * sunrpc/xdr_float.c: Likewise.
38461 * sunrpc/xdr_intXX_t.c: Likewise.
38462 * sunrpc/xdr_mem.c: Likewise.
38463 * sunrpc/xdr_rec.c: Likewise.
38464 * sunrpc/xdr_ref.c: Likewise.
38465 * sunrpc/xdr_sizeof.c: Likewise.
38466 * sunrpc/xdr_stdio.c: Likewise.
38467
b5c086a2
RM
384682012-05-10 Roland McGrath <roland@hack.frob.com>
38469
38470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38471 change. Update copyright years.
38472
6d74dd09
JM
384732012-05-10 Joseph Myers <joseph@codesourcery.com>
38474
38475 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38476
28e72501
MK
384772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38478 Joseph Myers <joseph@codesourcery.com>
38479 Paul Pluzhnikov <ppluzhnikov@google.com>
38480
38481 [BZ #14012]
38482 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38483 requiring rpcgen.
38484 [cross-compiling] (extra-libs): Likewise.
38485 [cross-compiling] (extra-libs-others): Likewise.
38486 [cross-compiling] (librpcsvc-routines): Likewise.
38487 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38488 [cross-compiling] (omit-deps): Likewise.
38489 (sunrpc-CPPFLAGS): New variable.
38490 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38491 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38492 (cross-rpcgen-objs): New variable.
38493 (extra-objs): Append $(cross-rpcgen-objs).
38494 ($(cross-rpcgen-objs)): New rule.
38495 ($(objpfx)cross-rpcgen): Likewise.
38496 (rpcgen-cmd): Define to use $(built-program-file). Expand
38497 comment.
38498 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38499 ($(objpfx)x%.stmp): Likewise.
38500 * sunrpc/proto.h [IS_IN_build] (_): Define.
38501 [IS_IN_build] (_libc_intl_domainname): Likewise.
38502
c8c59454
L
385032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38504
38505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38506 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38507 and R_X86_64_TPOFF64.
38508
6f27cd16
JM
385092012-05-10 Joseph Myers <joseph@codesourcery.com>
38510
38511 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38512 sysdeps/unix/sysv/syscalls.list.
38513 (stime): Likewise.
38514 (utime): Likewise.
38515 * sysdeps/unix/sysv/syscalls.list: Remove file.
38516
02467e1c
PE
385172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38518
38519 [BZ #3440]
38520 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38521 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38522 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38523 (__LC_IDENTIFICATION): Make these macros useful in #if
38524 expressions, as required by C99.
38525
da392631
AS
385262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38527
38528 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38529 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38530 after this.
38531
8115f29b
L
385322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38533
38534 * stdlib/longlong.h: Updated from GCC.
38535
bdd74070
AJ
385362012-05-09 Andreas Jaeger <aj@suse.de>
38537
edfe0dbe
AJ
38538 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38539 default is first entry.
38540 (run_mode): Set type.
38541 (main): Remove informal message about syslog.
38542 (options): Fix typo.
38543
bcfe3a54
ST
38544 [BZ #14053]
38545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38546 to asm.
bcfe3a54
ST
38547 (lrint): Likewise.
38548 (llrintf): Likewise.
38549 (llrint): Likewise.
38550 (rint): Likewise.
38551 (rintf): Likewise.
38552 (nearbyint): Likewise.
38553 (nearbyintf): Likewise.
bdd74070 38554
91d8d69e
AJ
385552012-05-09 Andreas Jaeger <aj@suse.de>
38556 Pedro Alves <palves@redhat.com>
38557
38558 * nscd/nscd.c (run_mode): Use enum.
38559 (main): Cleanup coding style issue.
38560
bb90b80b
AJ
385612012-05-09 Alexandre Oliva <aoliva@redhat.com>
38562 Andreas Jaeger <aj@suse.de>
38563
bcfe3a54
ST
38564 * nscd/nscd.c (go_background): Replaced with...
38565 (run_mode): ... this.
bb90b80b 38566 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38567 (options): Add -F --foreground.
38568 (main): Implement it.
38569 (parse_opt): Parse it.
bb90b80b 38570
1a4b75a1
AJ
385712012-05-09 Andreas Jaeger <aj@suse.de>
38572
38573 [BZ #14083]
38574 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38575 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38576 -Wconversion warning.
38577 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38578 Likewise.
38579
b1cc2472
JM
385802012-05-09 Joseph Myers <joseph@codesourcery.com>
38581
38582 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38583 == 0.
38584 (LC_ALL): Use macro-int-constant.
38585 (LC_COLLATE): Likewise.
38586 (LC_CTYPE): Likewise.
38587 (LC_MESSAGES): Likewise.
38588 (LC_MONETARY): Likewise.
38589 (LC_NUMERIC): Likewise.
38590 (LC_TIME): Likewise.
38591 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38592 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38594 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38595 Specify type.
38596 [C99-based standards] (float_t): Expect type.
38597 [C99-based standards] (double_t): Expect type.
38598 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38599 type.
38600 [C99-based standards] (HUGE_VALL): Likewise.
38601 [C99-based standards] (INFINITY): Likewise.
38602 [C99-based standards] (NAN): Likewise.
38603 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38604 [C99-based standards] (FP_NAN): Likewise.
38605 [C99-based standards] (FP_NORMAL): Likewise.
38606 [C99-based standards] (FP_SUBNORMAL): Likewise.
38607 [C99-based standards] (FP_ZERO): Likewise.
38608 [C99-based standards] (FP_FAST_FMA): Use
38609 optional-macro-int-constant. Specify type. Require == 1.
38610 [C99-based standards] (FP_FAST_FMAF): Likewise.
38611 [C99-based standards] (FP_FAST_FMAL): Likewise.
38612 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38613 [C99-based standards] (FP_ILOGBNAN): Likewise.
38614 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38615 Specify type.
38616 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38617 [C99-based standards] (math_errhandling): Specify type.
38618 [ISO99 || ISO11] (signgam): Do not allow.
38619 [non-C99-based standards] (copysignf): Do not allow.
38620 [non-C99-based standards] (exp2f): Likewise.
38621 [non-C99-based standards] (log2f): Likewise.
38622 [non-C99-based standards] (modff): Allow.
38623 [non-C99-based standards] (erff): Do not allow.
38624 [non-C99-based standards] (erfcf): Likewise.
38625 [non-C99-based standards] (gammaf): Likewise.
38626 [non-C99-based standards] (hypotf): Likewise.
38627 [non-C99-based standards] (j0f): Likewise.
38628 [non-C99-based standards] (j1f): Likewise.
38629 [non-C99-based standards] (jnf): Likewise.
38630 [non-C99-based standards] (lgammaf): Likewise.
38631 [non-C99-based standards] (tgammaf): Likewise.
38632 [non-C99-based standards] (y0f): Likewise.
38633 [non-C99-based standards] (y1f): Likewise.
38634 [non-C99-based standards] (ynf): Likewise.
38635 [non-C99-based standards] (isnanf): Likewise.
38636 [non-C99-based standards] (acoshf): Likewise.
38637 [non-C99-based standards] (asinhf): Likewise.
38638 [non-C99-based standards] (atanhf): Likewise.
38639 [non-C99-based standards] (cbrtf): Likewise.
38640 [non-C99-based standards] (expm1f): Likewise.
38641 [non-C99-based standards] (ilogbf): Likewise.
38642 [non-C99-based standards] (log1pf): Likewise.
38643 [non-C99-based standards] (logbf): Likewise.
38644 [non-C99-based standards] (nextafterf): Likewise.
38645 [non-C99-based standards] (remainderf): Likewise.
38646 [non-C99-based standards] (rintf): Likewise.
38647 [non-C99-based standards] (scalbf): Likewise.
38648 [non-C99-based standards] (copysignl): Likewise.
38649 [non-C99-based standards] (exp2l): Likewise.
38650 [non-C99-based standards] (log2l): Likewise.
38651 [non-C99-based standards] (modfl): Allow.
38652 [non-C99-based standards] (erfl): Do not allow.
38653 [non-C99-based standards] (erfcl): Likewise.
38654 [non-C99-based standards] (gammal): Likewise.
38655 [non-C99-based standards] (hypotl): Likewise.
38656 [non-C99-based standards] (j0l): Likewise.
38657 [non-C99-based standards] (j1l): Likewise.
38658 [non-C99-based standards] (jnl): Likewise.
38659 [non-C99-based standards] (lgammal): Likewise.
38660 [non-C99-based standards] (tgammal): Likewise.
38661 [non-C99-based standards] (y0l): Likewise.
38662 [non-C99-based standards] (y1l): Likewise.
38663 [non-C99-based standards] (ynl): Likewise.
38664 [non-C99-based standards] (isnanl): Likewise.
38665 [non-C99-based standards] (acoshl): Likewise.
38666 [non-C99-based standards] (asinhl): Likewise.
38667 [non-C99-based standards] (atanhl): Likewise.
38668 [non-C99-based standards] (cbrtl): Likewise.
38669 [non-C99-based standards] (expm1l): Likewise.
38670 [non-C99-based standards] (ilogbl): Likewise.
38671 [non-C99-based standards] (log1pl): Likewise.
38672 [non-C99-based standards] (logbl): Likewise.
38673 [non-C99-based standards] (nextafterl): Likewise.
38674 [non-C99-based standards] (remainderl): Likewise.
38675 [non-C99-based standards] (rintl): Likewise.
38676 [non-C99-based standards] (scalbl): Likewise.
38677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38678 [non-C99-based standards] (FP_*): Do not allow.
38679 [C99-based standards] (FP_*): Change to
38680 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38681 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38682 allow.
38683 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38684 (SIG_ERR): Likewise.
38685 [X/Open-based standards] (SIG_HOLD): Likewise.
38686 (SIG_IGN): Likewise.
38687 (SIGABRT): Use macro-int-constant. Specify type. Require
38688 positive value.
38689 (SIGFPE): Likewise.
38690 (SIGILL): Likewise.
38691 (SIGINT): Likewise.
38692 (SIGSEGV): Likewise.
38693 (SIGTER): Likewise.
38694 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38695 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38696 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38697 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38698 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38699 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38700 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38701 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38702 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38703 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38704 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38705 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38706 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38707 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38708 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38709 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38710 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38711 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38712 [X/Open-based standards] (SIGTRAP): Likewise.
38713 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38714 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38715 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38716 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38717 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38718 allow.
38719
b9f1922d
IW
387202012-05-08 Ian Wienand <ianw@vmware.com>
38721
38722 [BZ #14080]
38723 * time/tzset.c (__tzset_parse_tz): Update default rules for
38724 daylight time changes in the Energy Policy Act of 2005.
38725
1db86e88
AJ
387262012-05-09 Andreas Jaeger <aj@suse.de>
38727
38728 [BZ #13983]
38729 * elf/ldconfig.c (parse_conf): Change string to make clear that
38730 ldconfig only issued a warning if ld.so.conf does not exist.
38731
dee4a4e3
DM
387322012-05-08 David S. Miller <davem@davemloft.net>
38733
ee0db190
DM
38734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38735 movxtod instead of popping the value on the stack.
38736
dee4a4e3
DM
38737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38738
6a43ec98
CD
387392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38740
38741 * config.h.in: Add HAVE_ARM_PCS_VFP.
38742
05c2c961
RMG
387432012-05-08 Roland Mc Grath <roland@hack.frob.com>
38744
bcfe3a54
ST
38745 [BZ #13979]
38746 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38747 checking but the checks are disabled for any reason.
05c2c961 38748
4b30f61a
L
387492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38750
38751 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38752 and ELF64_R_TYPE with ELFW(R_TYPE).
38753
eee2bc67
JM
387542012-05-08 Joseph Myers <joseph@codesourcery.com>
38755
7ea5391a
JM
38756 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38757 (ulimit): Likewise.
38758
eee2bc67
JM
38759 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38760 (settimeofday): Likewise.
38761
abb66a67
MF
387622012-05-08 Mike Frysinger <vapier@gentoo.org>
38763
38764 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38765 a struct th_u2 inside the union, and move tu_block/tu_code into
38766 a new th_u3 union of tu_block/tu_code inside of that. Move
38767 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38768 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38769 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38770 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38771 (th_stuff): Change to th_u1.tu_stuff.
38772 (th_data): Define.
38773 (th_msg): Change to th_u1.th_u2.tu_data.
38774
7f18b530
DM
387752012-05-07 David S. Miller <davem@davemloft.net>
38776
05760585
DM
38777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38778
7f18b530
DM
38779 [BZ #14074]
38780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38781 (SETUP_PIC_REG): Use it.
38782 (SETUP_PIC_REG_LEAF): Use it.
38783
495fd99f
JM
387842012-05-07 Joseph Myers <joseph@codesourcery.com>
38785
38786 [BZ #13885]
38787 [BZ #13923]
38788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38789 USE_AS_EXPM1L.
38790 (EXPL_FINITE): Likewise.
38791 (FLDLOG): Likewise.
38792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38793 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38794 e_expl.S.
38795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38796 USE_AS_EXPM1L.
38797 (EXPL_FINITE): Likewise.
38798 (FLDLOG): Likewise.
38799 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38800 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38801 e_expl.S.
38802 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38803 test of -max_value argument for long double.
38804 * sysdeps/i386/fpu/libm-test-ulps: Update.
38805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38806
6693d694
DM
388072012-05-06 David S. Miller <davem@davemloft.net>
38808
38809 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38810 quad soft-float symbols whose references which are compiler
38811 generated.
38812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38813
6c23e11c
JM
388142012-05-06 Joseph Myers <joseph@codesourcery.com>
38815
d8b82cad
JM
38816 [BZ #13884]
38817 [BZ #13914]
38818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38819 USE_AS_EXP10L.
38820 (EXPL_FINITE): Likewise.
38821 (FLDLOG): Likewise.
38822 (c0): Likewise.
38823 (c1): Likewise.
38824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38825 Adjust comments for base varying.
38826 (__expl_finite): Change alias to EXPL_FINITE.
38827 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38828 e_expl.S.
38829 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38830 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38832 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38834 USE_AS_EXP10L.
38835 (EXPL_FINITE): Likewise.
38836 (FLDLOG): Likewise.
38837 (c0): Likewise.
38838 (c1): Likewise.
38839 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38840 Adjust comments for base varying.
38841 (__expl_finite): Change alias to EXPL_FINITE.
38842 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38843 tests for bugs.
38844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38845
6c23e11c
JM
38846 [BZ #14064]
38847 * math/libm-test.inc (check_float_internal): Correct ulp
38848 calculation for subnormal expected results.
38849
29ba805c
AJ
388502012-05-06 Andreas Jaeger <aj@suse.de>
38851
38852 * Makeconfig (+math-flags): New, set to -frounding-math.
38853 (+cflags): Add +math-flags so that all of glibc gets compiled with
38854 it.
38855
38856 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38857
7b17aeda
JM
388582012-05-05 Joseph Myers <joseph@codesourcery.com>
38859
5779f134
JM
38860 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38861 Disable one test.
38862
41498f4d
JM
38863 [BZ #13787]
38864 [BZ #13922]
38865 [BZ #14036]
38866 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38867 (__ieee754_expl): Allow for and saturate large arguments.
38868 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38869 (u_threshold): Likewise.
38870 (__exp): Call __ieee754_exp before checking for overflow and
38871 underflow.
38872 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38873 (u_threshold): Likewise.
38874 (__expf): Call __ieee754_expf before checking for overflow and
38875 underflow.
38876 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38877 (u_threshold): Likewise.
38878 (__expl): Call __ieee754_expl before checking for overflow and
38879 underflow.
38880 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38881 (__ieee754_expl): Allow for and saturate large arguments.
38882 * math/libm-test.inc (exp_test): Add another test. Do not allow
38883 missing overflow exception on overflow.
38884 (expm1_test): Do not allow missing overflow exception on overflow.
38885
6698b8bf
JM
38886 * sysdeps/i386/fpu/e_expl.c: Move to ...
38887 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38888 rather than using inline asm.
38889 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38890 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38891 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38892
7b17aeda
JM
38893 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38894 (nice): Likewise.
38895 (poll): Likewise.
38896 (signal): Likewise.
38897 (time): Likewise.
38898 (times): Likewise.
38899
f7c85819
JM
389002012-05-04 Joseph Myers <joseph@codesourcery.com>
38901
38902 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38903 sysdeps/unix/common/syscalls.list.
38904 (fchmod): Likewise.
38905 (fchown): Likewise.
38906 (ftruncate): Likewise.
38907 (getrusage): Likewise.
38908 (gettimeofday): Likewise.
38909 (setpgid): Likewise.
38910 (setregid): Likewise.
38911 (setreuid): Likewise.
38912 (sigaction): Likewise.
38913 (truncate): Likewise.
38914 (vhangup): Likewise.
38915 * sysdeps/unix/common/syscalls.list: Remove file.
38916 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38917 * sysdeps/unix/sysv/linux/Implies: Likewise.
38918
336270d0
L
389192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38920
38921 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38923 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38924 Moved to ...
38925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38926 Here.
38927 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38928 to ...
38929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38930 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38931 to ...
38932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38933 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38934 to ...
38935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38937 to ...
38938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38939 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38940 to ...
38941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38942 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38943 to ...
38944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38945 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38946 to ...
38947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38948 Here.
38949 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38950 to ...
38951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38952 Here.
38953 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38954 to ...
38955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38956 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38957 Moved to ...
38958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38959 Here.
38960 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38961 to ...
38962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38963
d128e450
JM
389642012-05-04 Joseph Myers <joseph@codesourcery.com>
38965
fa8ee516
JM
38966 * sysdeps/unix/common/bits/dirent.h: Remove file.
38967 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38968
d128e450
JM
38969 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38970 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38971 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38972 * sysdeps/unix/bsd/isatty.c: Likewise.
38973 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38974 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38975 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38976
ff8faaf0 389772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 38978
62881be4 38979 [BZ #13563]
31dc8730
AZ
38980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38981 long double comparison inaccuracies.
38982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38984
6fef930c
AS
389852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38986
38987 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38989
8f203e6c
JM
389902012-05-04 Joseph Myers <joseph@codesourcery.com>
38991
38992 [BZ #14049]
38993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38994 nonzero digits before rounding a hex value.
38995 * stdlib/tst-strtod.c (tests): Add another test.
38996
5197d9c2
AK
389972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38998
38999 * sysdeps/s390/fpu/libm-test-ulps: Update.
39000
f0c1dedf
AJ
390012012-05-03 Andreas Jaeger <aj@suse.de>
39002
39003 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39004 does not get optimized out.
39005 (malloc_opt_barrier): New.
39006
a65ef2ae 390072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39008 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39009
2b942cb7 39010 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39011 intermediate file deletion.
2b942cb7 39012 (generated): Add .symlist files.
a65ef2ae 39013
54b71e02
JM
390142012-05-03 Joseph Myers <joseph@codesourcery.com>
39015
39016 [BZ #13775]
39017 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39018 Redirect under this condition.
39019 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39020 [__USE_GNU] (__dprintf_chk): Not under this condition.
39021 [__USE_GNU] (__vdprintf_chk): Likewise.
39022 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39023 under this condition.
39024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39025 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39026 [__USE_XOPEN2K8] (vdprintf): Likewise.
39027 [__USE_GNU] (__dprintf_chk): Not under this condition.
39028 [__USE_GNU] (__vdprintf_chk): Likewise.
39029 [__USE_GNU] (dprintf): Likewise.
39030 [__USE_GNU] (vdprintf): Likewise.
39031
d3dfcc41
RM
390322012-05-03 Roland McGrath <roland@hack.frob.com>
39033
39034 * elf/Makefile (common-generated): Set this instead of generated for
39035 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39036 $(all-built-dso)-derived lists.
39037
7ac30cc5
AJ
390382012-05-03 Andreas Jaeger <aj@suse.de>
39039
0c51e550
AJ
39040 * sysdeps/i386/fpu/libm-test-ulps: Update.
39041
7ac30cc5
AJ
39042 * FAQ: Removed.
39043 * FAQ.in: Likewise.
39044 * scripts/gen-FAQ.pl: Likewise.
39045 * manual/install.texi (Installation): Point to online location of
39046 FAQ.
39047 * Makefile (files-for-dist): Remove FAQ.
39048 (FAQ): Remove.
39049
d4c2917f
AM
390502012-05-02 Allan McRae <allan@archlinux.org>
39051
39052 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39053 (LDFLAGS-reldepmod5.so): Likewise.
39054 (LDFLAGS-reldep6mod1.so): Likewise.
39055 (LDFLAGS-reldep6mod4.so): Likewise.
39056 (LDFLAGS-reldep8mod3.so): Likewise.
39057 (LDFLAGS-unload4mod1.so): Likewise.
39058 (LDFLAGS-unload4mod2.so): Likewise.
39059 (LDFLAGS-tst-initorder): Likewise.
39060 (LDFLAGS-tst-initordera2.so): Likewise.
39061 (LDFLAGS-tst-initordera3.so): Likewise.
39062 (LDFLAGS-tst-initordera4.so): Likewise.
39063 (LDFLAGS-tst-initorderb2.so): Likewise.
39064 (LDFLAGS-noload): Likewise.
39065 (LDFLAGS-next): Likewise.
39066 (LDFLAGS-order2mod1.so): Likewise.
39067 (LDFLAGS-order2mod2.so): Likewise.
39068 (LDFLAGS-tst-initorder2): Likewise.
39069 (LDFLAGS-tst-initorder2a.so): Likewise.
39070 (LDFLAGS-tst-initorder2b.so): Likewise.
39071 (LDFLAGS-tst-initorder2c.so): Likewise.
39072 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39073
d77f993f
DM
390742012-05-02 David S. Miller <davem@davemloft.net>
39075
39076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39077
171a70b4
PP
390782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39079
39080 [BZ #14055]
39081 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39082
0be196ad
AJ
390832012-05-02 Andreas Jaeger <aj@suse.de>
39084
39085 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39086 since we manipulate rounding mode.
39087 (CPPFLAGS-test-idouble.c): Likewise.
39088 (CPPFLAGS-test-ifloat.c): Likewise.
39089 (CFLAGS-test-ldouble.c): Likewise.
39090 (CFLAGS-test-double.c): Likewise.
39091 (CFLAGS-test-float.c): Likewise.
39092 (CFLAGS-test-misc.c): Likewise.
39093 (CFLAGS-test-test-fenv.c): Likewise.
39094
4f9d04aa
AZ
390952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39096
2b942cb7
RM
39097 [BZ #2550]
39098 [BZ #2570]
39099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39100 comparisons to determine direction to adjust input.
4f9d04aa 39101
82a79e7d
RM
391022012-05-01 Roland McGrath <roland@hack.frob.com>
39103
f5a01ca9
RM
39104 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39105 output to the target.
39106
90fe4186
RM
39107 * scripts/localplt.awk: New file.
39108 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39109 (check-localplt-CFLAGS): Variable removed.
39110 ($(all-built-dso:=.jmprel)): New static pattern rule.
39111 (generated): Add those targets.
39112 (localplt-built-dso): New variable.
39113 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39114
39115 * elf/check-localplt.c: File removed.
39116
82397ed6
RM
39117 * scripts/check-execstack.awk: New file.
39118 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39119 (check-execstack-CFLAGS): Variable removed.
39120 ($(objpfx)check-execstack.h): Target removed.
39121 ($(objpfx)execstack-default): New target.
39122 (generated): Add that instead of check-execstack.h.
39123 ($(all-built-dso:=.phdr)): New static pattern rule.
39124 (generated): Add those targets.
39125 * elf/check-execstack.c: File removed.
39126
82a79e7d
RM
39127 * scripts/check-textrel.awk: New file.
39128 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39129 (check-textrel-CFLAGS): Variable removed.
39130 (all-built-dso): Use := to define.o
39131 ($(all-built-dso:=.dyn)): New static pattern rule.
39132 (generated): Add those targets.
39133 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39134 * config.make.in (READELF): New substituted variable.
39135 * elf/check-textrel.c: File removed.
39136
62fde54f 391372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39138
615605c9
JM
39139 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39140 allow.
39141 * conform/data/ctype.h-data [C99-based standards] (isblank):
39142 Expect function.
39143 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39144 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39146 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39147 Specify type. Require positive value.
39148 (EILSEQ): Likewise.
39149 (ERANGE): Likewise.
39150 [ISO || POSIX] (EILSEQ): Do not expect.
39151 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39152 Specify type. Require positive value.
39153 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39154 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39155 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39156 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39157 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39158 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39159 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39160 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39161 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39162 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39163 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39164 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39165 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39166 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39167 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39168 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39169 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39170 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39171 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39172 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39173 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39174 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39175 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39176 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39177 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39178 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39179 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39180 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39181 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39182 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39183 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39184 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39185 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39186 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39187 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39188 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39189 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39190 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39191 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39192 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39193 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39194 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39195 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39196 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39197 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39198 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39199 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39200 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39201 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39202 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39203 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39204 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39205 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39206 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39207 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39208 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39209 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39210 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39211 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39212 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39213 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39214 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39215 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39216 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39217 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39218 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39219 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39220 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39221 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39222 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39223 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39224 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39225 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39226 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39227 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39228 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39229 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39230 Require >= 2.
39231 (FLT_ROUNDS): Expect as macro, not constant.
39232 (FLT_MANT_DIG): Use macro-int-constant.
39233 (DBL_MANT_DIG): Likewise.
39234 (LDBL_MANT_DIG): Likewise.
39235 (FLT_DIG): Likewise.
39236 (DBL_DIG): Likewise.
39237 (LDBL_DIG): Likewise.
39238 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39239 (DBL_MIN_EXP): Likewise.
39240 (LDBL_MIN_EXP): Likewise.
39241 (FLT_MAX_EXP): Use macro-int-constant.
39242 (DBL_MAX_EXP): Likewise.
39243 (LDBL_MAX_EXP): Likewise.
39244 (FLT_MAX_10_EXP): Likewise.
39245 (DBL_MAX_10_EXP): Likewise.
39246 (LDBL_MAX_10_EXP): Likewise.
39247 (FLT_MAX): Use macro-constant.
39248 (DBL_MAX): Likewise.
39249 (LDBL_MAX): Likewise.
39250 (FLT_EPSILON): Use macro-constant. Give upper bound.
39251 (DBL_EPSILON): Likewise.
39252 (LDBL_EPSILON): Likewise.
39253 (FLT_MIN): Likewise.
39254 (DBL_MIN): Likewise.
39255 (LDBL_MIN): Likewise.
39256 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39257 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39258 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39259 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39260 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39261 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39262 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39263 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39264 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39265 [ISO11] (FLT_TRUE_MIN): Likewise.
39266 [ISO11] (LDBL_TRUE_MIN): Likewise.
39267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39268 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39269 (SCHAR_MIN): Use macro-int-constant. Specify type.
39270 (SCHAR_MAX): Likewise.
39271 (UCHAR_MAX): Likewise.
39272 (CHAR_MIN): Likewise.
39273 (CHAR_MAX): Likewise.
39274 (MB_LEN_MAX): Use macro-int-constant.
39275 (SHRT_MIN): Use macro-int-constant. Specify type.
39276 (SHRT_MAX): Likewise.
39277 (USHRT_MAX): Likewise.
39278 (INT_MAX): Likewise.
39279 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39280 bound negative.
39281 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39282 bound with "U".
39283 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39284 bound with "L".
39285 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39286 bound negative. Suffix upper bound with "L".
39287 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39288 bound with "UL".
39289 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39290 Specify type.
39291 [C99-based standards] (LLONG_MAX): Likewise.
39292 [C99-based standards] (ULLONG_MAX): Likewise.
39293 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39294 == 0.
39295 [ISO11] (max_align_t): Require type.
39296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39297
c9140a62
JM
39298 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39299 from $CFLAGS, without defining away __attribute__ calls.
39300 (checknamespace): Use $CFLAGS_namespace.
39301
9af0bf29
JM
39302 * conform/conformtest.pl (@keywords): Only include C99 keywords
39303 for standards based on C99 or C11.
39304
343222a2
JM
39305 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39306 Disable tests.
39307 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39308 UNIX98]: Likewise.
39309
661f8cf0
JM
39310 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39311 usability of symbols in #if.
39312
ee74b9cb
JM
39313 * conform/conformtest.pl: If macro or constant types start
39314 "promoted:", expect the symbol to be of the following type
39315 promoted by the integer promotions.
62fde54f 39316
aafc49b3
JM
39317 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39318 in one place. Also handle "macro-constant".
39319
fefdf574
JM
39320 * conform/conformtest.pl: Only accept expected macro values with
39321 "==". Parse all "macro" lines in one place.
39322 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39323
f2d922fe
JM
39324 * conform/conformtest.pl: Handle braced types on "constant" lines
39325 instead of handling "typed-constant".
39326 * conform/data/signal.h-data: Use "constant" instead of
39327 "typed-constant".
39328
d22956c9
JM
39329 * conform/conformtest.pl: Handle "optional-" at start of lines in
39330 one place rather than duplicating several cases. Handle each
39331 format of "macro" line with initial "optional-".
39332
028e2e38
JM
39333 * conform/conformtest.pl: Only accept expected constant or
39334 optional-constant values with "==". Parse all "constant" lines in
39335 one place. Parse all "optional-constant" lines in one place.
39336 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39337 * conform/data/fmtmsg.h-data: Likewise.
39338 * conform/data/netinet/in.h-data: Likewise.
39339 * conform/data/tar.h-data: Likewise.
39340 * conform/data/limits.h-data: Use "==" form on "constant" and
39341 "optional-constant" lines.
39342
1b8f2850
JM
39343 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39344 Use -std=c99 for XOPEN2K.
39345 (@knownproblems): Remove.
39346 (newtoken): Don't check %isknown.
39347
a05a144b
JM
39348 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39349 Do not expect macro.
39350 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39362 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39363 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39380 [XPG3] (acosh): Likewise.
39381 [XPG3] (asinh): Likewise.
39382 [XPG3] (atanh): Likewise.
39383 [XPG3] (cbrt): Likewise.
39384 [XPG3] (expm1): Likewise.
39385 [XPG3] (ilogb): Likewise.
39386 [XPG3] (log1p): Likewise.
39387 [XPG3] (logb): Likewise.
39388 [XPG3] (nextafter): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39391 [XPG3] (remainder): Likewise.
39392 [XPG3] (rint): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39400 [UNIX98 || XOPEN2K] (scalb): Expect.
39401 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39402 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39410 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39427 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39428 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39429 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39430 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39431 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39434 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39435 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39447 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39448 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39449 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39469 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39470 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39471 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39472 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39473 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39474 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39475 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39476 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39477 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39478 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39479 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39480 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39481 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39482 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39483 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39484 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39485 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39486 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39487 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39488 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39489 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39490 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39491 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39492 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39493 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39494 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39495 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39496 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39497 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39498 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39499 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39500 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39501 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39502 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39503 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39504 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39505 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39506 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39507 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39508 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39509 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39510 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39511 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39512 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39513 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39514 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39515 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39516 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39517 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39518 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39519 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39520 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39521 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39522 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39523 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39524 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39525 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39526 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39527 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39528 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39529 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39530 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39531 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39532 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39533 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39534 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39535 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39536 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39537 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39538
73c5ebe3
JM
39539 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39540 _XOPEN_SOURCE_EXTENDED for XPG4.
39541
39c33b6c
JM
39542 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39543
62fde54f
JM
39544 * Makeconfig (localtime): Remove variable.
39545 (inst_localtime-file): Likewise.
39546
0741d64c
AS
395472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39548
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39550 Update.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39552 Update.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39554 Update.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39556 Update.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39558 Update.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39560 Update.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39562 Update.
39563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39564 Update.
39565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39566 Update.
39567
7cb029ee
JM
395682012-05-01 Joseph Myers <joseph@codesourcery.com>
39569
39570 [BZ #2550]
39571 [BZ #2570]
39572 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39573 comparisons to determine direction to adjust input.
39574 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39575 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39577 Likewise.
39578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39579 Likewise.
39580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39581 Likewise.
39582 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39583 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39584 Likewise.
39585 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39586 Likewise.
39587 * math/libm-test.inc (nexttoward_test): Add more tests.
39588
412bd966
AS
395892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39590
39591 [BZ #14040]
39592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39593 in version GLIBC_2.1, not GLIBC_2.0.
39594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39595 Likewise.
39596
9568c0c2
JM
395972012-04-30 Joseph Myers <joseph@codesourcery.com>
39598
adfbc8ac
JM
39599 [BZ #13942]
39600 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39601 (1 - x) * (1 + x).
39602 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39603 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39604 * math/libm-test.inc (acos_test): Add more tests.
39605 (asin_test): Likewise.
39606 * sysdeps/i386/fpu/libm-test-ulps: Update.
39607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39608
5ba3cc69
JM
39609 [BZ #14034]
39610 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39611 of square root.
39612 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39613 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39614 * math/libm-test.inc (acos_test_tonearest): New function.
39615 (acos_test_towardzero): Likewise.
39616 (acos_test_downward): Likewise.
39617 (acos_test_upward): Likewise.
39618 (asin_test_tonearest): Likewise.
39619 (asin_test_towardzero): Likewise.
39620 (asin_test_downward): Likewise.
39621 (asin_test_upward): Likewise.
39622 (main): Call the new functions.
39623 * sysdeps/i386/fpu/libm-test-ulps: Update.
39624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39625
9568c0c2
JM
39626 [BZ #13884]
39627 [BZ #13924]
39628 * math/e_exp10.c: Include <float.h>.
39629 (__ieee754_exp10): Handle underflow here rather than multiplying
39630 large negative argument by M_LN10.
39631 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39632 of __ieee754_expf.
39633 * math/e_exp10l.c: Include <float.h>.
39634 (__ieee754_exp10l): Handle underflow here rather than multiplying
39635 large negative argument by M_LN10l.
39636 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39637 spurious overflow exception on underflow.
39638
5ac3ea17
MP
396392012-04-29 Marek Polacek <polacek@redhat.com>
39640
39641 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39642 (__fortify_function): New macro.
39643 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39644 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39645 __extern_always_inline.
39646 * libio/bits/stdio2.h: Likewise.
39647 * libio/bits/stdio.h: Likewise.
39648 * string/string.h: Likewise.
39649 * string/bits/string3.h: Likewise.
39650 * include/stdio.h: Likewise.
39651 * stdlib/bits/stdlib.h: Likewise.
39652 * stdlib/stdlib.h: Likewise.
39653 * rt/bits/mqueue2.h: Likewise.
39654 * rt/mqueue.h: Likewise.
39655 * posix/bits/unistd.h: Likewise.
39656 * posix/unistd.h: Likewise.
39657 * io/bits/poll2.h: Likewise.
39658 * io/bits/fcntl2.h: Likewise.
39659 * io/fcntl.h: Likewise.
39660 * io/sys/poll.h: Likewise.
39661 * misc/bits/syslog.h: Likewise.
39662 * misc/bits/syslog-ldbl.h: Likewise.
39663 * misc/sys/syslog.h: Likewise.
39664 * socket/bits/socket2.h: Likewise.
39665 * socket/sys/socket.h: Likewise.
39666 * debug/tst-chk1.c: Likewise.
39667 * wcsmbs/bits/wchar2.h: Likewise.
39668 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39669 * wcsmbs/wchar.h: Likewise.
39670
ecf0ebfb
AJ
396712012-04-29 Andreas Jaeger <aj@suse.de>
39672
39673 * Makerules (tests): Remove enable-check-abi protection.
39674 (check-abi-warn): Remove.
39675 (check-abi-%): Remove check-abi-warn usage.
39676
39677 * configure.in: Remove check-abi configure option.
39678 * configure: Regenerated.
39679 * config.make.in (enable-check-abi): Remove.
39680
6d5c57fa
AS
396812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39682
24c5d07e 39683 [BZ #14033]
ded5180a
AS
39684 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39685 double functions to double *_finite functions.
39686
7e0d315d
AS
39687 [BZ #13941]
39688 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39689 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39690 LDBL_MIN_EXP.
39691 * stdio-common/Makefile (tests): Add tst-sprintf3.
39692 * stdio-common/tst-sprintf3.c: New file.
39693
6d5c57fa
AS
39694 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39695 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39696
0749ff8b
JM
396972012-04-28 Joseph Myers <joseph@codesourcery.com>
39698
39699 * conform/conformtest.pl: Remove duplicate typed-constant
39700 handling.
39701
8dbd5d7b
DM
397022012-04-28 David S. Miller <davem@davemloft.net>
39703
39704 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39705 (check-abi-%): Remove AWK script prerequisite and explicit
39706 abilist directory.
39707 (check-abi): Rewrite to just diff the symlist with the abilist.
39708 (config-tls, config-abi-config): Delete, no longer used.
39709 (update-abi-%): Remove AWK script and explicit abilist directory.
39710 (update-abi): Rewrite to simply compare and conditionally copy the
39711 symlist and the sysdep abilist file. Remove update-abi-config
39712 checks.
39713 * abilist/ld.abilist: Remove.
39714 * abilist/libBrokenLocale.abilist: Remove.
39715 * abilist/libanl.abilist: Remove.
39716 * abilist/libcrypt.abilist: Remove.
39717 * abilist/libdl.abilist: Remove.
39718 * abilist/librt.abilist: Remove.
39719 * abilist/libthread_db.abilist: Remove.
39720 * abilist/libutil.abilist: Remove.
39721 * scripts/extract-abilist.awk: Remove.
39722 * scripts/merge-abilist.awk: Remove.
39723 * sysdeps/generic/libcidn.abilist: New file.
39724 * sysdeps/generic/libnss_compat.abilist: New file.
39725 * sysdeps/generic/libnss_db.abilist: New file.
39726 * sysdeps/generic/libnss_dns.abilist: New file.
39727 * sysdeps/generic/libnss_files.abilist: New file.
39728 * sysdeps/generic/libnss_hesiod.abilist: New file.
39729 * sysdeps/generic/libnss_nis.abilist: New file.
39730 * sysdeps/generic/libnss_nisplus.abilist: New file.
39731 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39732 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39733 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39734 file.
39735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39736 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39737 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39738 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39739 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39740 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39741 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39742 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39743 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39744 file.
39745 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39746 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39747 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39748 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39749 file.
39750 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39751 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39752 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39753 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39755 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39756 file.
39757 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39758 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39759 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39760 file.
39761 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39763 New file.
39764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39765 New file.
39766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39767 New file.
39768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39769 New file.
39770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39771 New file.
39772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39773 New file.
39774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39775 New file.
39776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39777 New file.
39778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39779 New file.
39780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39781 New file.
39782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39783 New file.
39784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39785 New file.
39786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39787 New file.
39788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39789 file.
39790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39791 New file.
39792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39793 New file.
39794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39795 file.
39796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39797 New file.
39798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39799 New file.
39800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39801 file.
39802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39803 New file.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39805 New file.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39807 New file.
39808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39809 New file.
39810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39811 New file.
39812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39813 New file.
39814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39816 file.
39817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39818 New file.
39819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39820 file.
39821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39822 file.
39823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39824 file.
39825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39826 file.
39827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39828 file.
39829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39830 New file.
39831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39832 file.
39833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39834 file.
39835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39836 New file.
39837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39838 file.
39839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39841 file.
39842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39843 New file.
39844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39845 file.
39846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39847 file.
39848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39849 file.
39850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39851 file.
39852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39853 file.
39854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39855 New file.
39856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39857 file.
39858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39859 file.
39860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39861 New file.
39862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39863 file.
39864 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39865 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39866 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39867 file.
39868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39869 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39870 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39871 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39872 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39874 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39875 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39876 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39877 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39880 file.
39881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39882 New file.
39883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39884 file.
39885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39886 file.
39887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39888 file.
39889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39890 file.
39891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39892 file.
39893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39894 New file.
39895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39896 New file.
39897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39898 file.
39899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39900 New file.
39901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39902 file.
39903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39905 file.
39906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39907 New file.
39908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39909 file.
39910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39911 file.
39912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39913 file.
39914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39915 file.
39916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39917 file.
39918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39919 New file.
39920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39921 New file.
39922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39923 file.
39924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39925 New file.
39926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39927 file.
39928
41d73a1b
JM
399292012-04-28 Joseph Myers <joseph@codesourcery.com>
39930
39931 * conform/conformtest.pl: Fix typo in handling typed-constant from
39932 allow-header.
39933
28aeeda4
JM
399342012-04-27 Joseph Myers <joseph@codesourcery.com>
39935
adae8f5e
JM
39936 * README: Cut down references to pre-2.6 Linux kernels and
39937 Linuxthreads. Update lists of configurations in libc and ports
39938 and sort alphabetically. Say "or newer" with Linux kernel version
39939 requirements.
39940
28aeeda4
JM
39941 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39942
a462cb63
RA
399432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39944
39945 [BZ #887]
39946 * math/libm-test.inc (logb_test_downward): New test to expose
39947 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39948 rounding mode.
39949
6ad3493e
JM
399502012-04-27 Joseph Myers <joseph@codesourcery.com>
39951
39952 [BZ #14027]
39953 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39954 to be done.
39955 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39956 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39957
2ce4f015
JM
399582012-04-26 Joseph Myers <joseph@codesourcery.com>
39959
5aeb141a
JM
39960 * sysdeps/unix/i386/brk.S: Remove file.
39961 * sysdeps/unix/i386/dl-brk.S: Likewise.
39962 * sysdeps/unix/i386/pipe.S: Likewise.
39963 * sysdeps/unix/i386/sigreturn.S: Likewise.
39964 * sysdeps/unix/i386/syscall.S: Likewise.
39965 * sysdeps/unix/i386/vfork.S: Likewise.
39966 * sysdeps/unix/i386/wait.S: Likewise.
39967
7143acae
JM
39968 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39969 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39970
2ce4f015
JM
39971 * configure.in (arm*-none*): Do not allow without
39972 --enable-hacker-mode.
39973 (netbsd*): Remove case setting base_os.
39974 (386bsd*): Likewise.
39975 (freebsd*): Likewise.
39976 (bsdi*): Likewise.
39977 (osf*): Likewise.
39978 (sunos*): Likewise.
39979 (ultrix*): Likewise.
39980 (newsos*): Likewise.
39981 (dynix*): Likewise.
39982 (*bsd*): Likewise.
39983 (sysv*): Likewise.
39984 (isc*): Likewise.
39985 (esix*): Likewise.
39986 (sco*): Likewise.
39987 (minix*): Likewise.
39988 (irix4*): Likewise.
39989 (irix6*): Likewise.
39990 (solaris[2-9]*): Likewise.
39991 (none): Likewise.
39992 * configure: Regenerated.
39993
0ac229c8
AZ
399942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39995
39996 [BZ #11521]
39997 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39998 overflow or cancellation in calculating denominator.
39999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40001 down expression to avoid unexpected rounding in newer GCCs.
40002 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40003
33f244f4
DM
400042012-04-26 David S. Miller <davem@davemloft.net>
40005
40006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40007 long-double compat symbols.
40008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40021
cfa1f3e8
DM
400222012-04-25 David S. Miller <davem@davemloft.net>
40023
40024 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40025 HWCAP_* values only after the memory barriers have been defined.
40026 (atomic_full_barrier): Define.
40027 (atomic_read_barrier): Define.
40028 (atomic_write_barrier): Define.
40029
6e236b92
SP
400302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40031
40032 * shlib-versions: Add libgcc_s version information.
40033 * sysdeps/generic/libgcc_s.h: Remove.
40034 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40035 libgcc_s.h.
40036 * sysdeps/gnu/unwind-resume.c: Likewise.
40037 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40038
aab39a09
DM
400392012-04-25 David S. Miller <davem@davemloft.net>
40040
40041 * sysdeps/unix/sparc/brk.S: Delete.
40042 * sysdeps/unix/sparc/dl-brk.S: Delete.
40043 * sysdeps/unix/sparc/pipe.S: Delete.
40044 * sysdeps/unix/sparc/sysdep.S: Delete.
40045 * sysdeps/unix/sparc/sysdep.h: Delete.
40046 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40048 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40050 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40051 (JUMPTARGET): Remove.
40052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40053 sysdeps/unix/sparc/sysdep.h
40054 (ENTRY, END): Remove.
40055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40056
a3cc4f48
JM
400572012-04-25 Joseph Myers <joseph@codesourcery.com>
40058
2ed8cda2
JM
40059 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40060 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40061 -DIS_IN_build.
40062
35d76d59
JM
40063 * timezone/README: Update upstream location and email address for
40064 tzcode and tzdata.
40065 * timezone/zdump.c: Update from tzcode 2012b.
40066 * timezone/zic.c: Likewise.
40067
a3cc4f48
JM
40068 * configure.in (libc_cv_as_needed): Remove test.
40069 * configure: Regenerated.
40070 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40071 conditional definition.
40072 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40073 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40074 * config.make.in (have-as-needed): Remove variable.
40075
ceab42c3
SP
400762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40077 Paul Pluzhnikov <ppluzhnikov@google.com>
40078
40079 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40080 strings correctly.
40081
3ce2865f
CLT
400822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40083
40084 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40085 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40086 * sysdeps/sh/strlen.S: Likewise.
40087
f37e0d68
JM
400882012-04-24 Joseph Myers <joseph@codesourcery.com>
40089
ae186e9a
JM
40090 * sysdeps/unix/fork.S: Remove file.
40091 * sysdeps/unix/i386/fork.S: Likewise.
40092 * sysdeps/unix/sparc/fork.S: Likewise.
40093
b96914af
JM
40094 * sysdeps/unix/system.c: Remove file.
40095 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40096
f37e0d68
JM
40097 * sysdeps/unix/getegid.S: Remove file.
40098 * sysdeps/unix/geteuid.S: Likewise.
40099
87ef29ca
RM
401002012-04-24 Roland McGrath <roland@hack.frob.com>
40101
83bcd236
RM
40102 * scripts/check-localplt.awk: New file.
40103 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40104 of diff.
40105 * scripts/data/localplt-generic.data: Add a comment.
40106
87ef29ca
RM
40107 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40108 NODE when __dir_mkfile failed.
40109 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40110 Reported by Ludovic Courtès <ludo@gnu.org>.
40111
e5a6e567
AJ
401122012-04-24 Andreas Jaeger <aj@suse.de>
40113
40114 * Makerules (common-clean): Also remove gen-as-const-headers
40115 files.
40116
c1820385
JM
401172012-04-24 Joseph Myers <joseph@codesourcery.com>
40118
40119 * Makerules (native-compile): Do not change working directory for
40120 build. Use $(OUTPUT_OPTION) in command.
40121 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40122
94e02fc4
AZ
401232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40124
40125 [BZ #13886]
40126 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40127 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40128 * math/libm-test.inc (floor_test): Add more tests.
40129 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40130
3a533ca3
JM
401312012-04-24 Joseph Myers <joseph@codesourcery.com>
40132
940ab4b3
JM
40133 * sysdeps/unix/getdents.c: Remove file.
40134 * sysdeps/unix/sysv/getdents.c: Likewise.
40135 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40136
90e037bd
JM
40137 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40138 sysdeps/unix/mman/syscalls.list.
40139 (mmap): Likewise.
40140 (mprotect): Likewise.
40141 (msync): Likewise.
40142 (munmap): Likewise.
40143 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40144 * sysdeps/unix/mman/syscalls.list: Remove.
40145 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40146
3a533ca3
JM
40147 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40148 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40149 * configure: Regenerated.
40150 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40151 $(libgcc_s_suffix).
40152 * config.make.in (libgcc_s_suffix): Remove variable.
40153
1ad743de
JM
401542012-04-23 Joseph Myers <joseph@codesourcery.com>
40155
4ad451e2
JM
40156 * sysdeps/unix/sysv/gethostname.c: Move to ...
40157 * sysdeps/posix/gethostname.c: ... here.
40158
5e37ce39
JM
40159 * sysdeps/unix/execve.S: Remove file.
40160
1ad743de
JM
40161 * sysdeps/unix/_exit.S: Remove file.
40162
4e681b5b
AJ
401632012-04-23 Andreas Jaeger <aj@suse.de>
40164
40165 [BZ #13739]
40166 * manual/Makefile: Remove make dist support, there's no
40167 need for a stand-alone documentation tar ball.
40168 (TEXI2DVI): Define always, it's not in Makeconfig.
40169 (dist): Removed.
40170 (tar-it): Removed.
40171 (edition): Removed.
40172 (glibc-doc-$(edition).tar): Removed
40173 (%.Z): Removed.
40174 (%.gz): Removed.
40175 (%.uu): Removed.
40176 (ETAGS): Remove, it's in Makeconfig.
40177 (move-if-change): Remove, it's in Makeconfig.
40178
38686a03 401792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40180
40181 [BZ #13970]
40182 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40183 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40184 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40185 (strtod_l, strtof_l, strtold_l): Remove __wur.
40186 It is not necessarily an error to ignore strtol's return value.
40187 One can reliably look at the stored endptr to decide whether
40188 the number had valid syntax.
40189
7c0616fa
AJ
401902012-04-21 Andreas Jaeger <aj@suse.de>
40191
803cb6b7 40192 [BZ #13739]
7c0616fa
AJ
40193 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40194
b0fe253f
JM
401952012-04-21 Joseph Myers <joseph@codesourcery.com>
40196
40197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40198 * sysdeps/unix/sysv/Versions: Remove file.
40199
8280f22d
MT
402002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40201
40202 [BZ #13927]
40203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40204
75ce411f 402052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40206
40207 [BZ #7064]
40208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40209 version from __vm86.
40210
097d59fa
JM
402112012-04-20 Joseph Myers <joseph@codesourcery.com>
40212
a90f3bcb
JM
40213 * sysdeps/unix/common/lxstat.c: Remove file.
40214 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40215
edc7ea78
JM
40216 * sysdeps/unix/sysv/Makefile: Remove file.
40217
cb78c221
JM
40218 * sysdeps/unix/sysv/direct.h: Remove file.
40219
efa6a45f
JM
40220 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40221 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40222 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40223 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40224 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40225 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40226 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40227
9c9f2d0c
JM
40228 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40229
4541c83b
JM
40230 * sysdeps/unix/xmknod.c: Remove file.
40231 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40232
f5d153a0
JM
40233 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40234
aa746595
JM
40235 * sysdeps/unix/sysv/i386/time.S: Remove file.
40236
cce5905e
JM
40237 * sysdeps/unix/fxstat.c: Remove file.
40238 * sysdeps/unix/xstat.c: Likewise.
40239 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40240
37fa3841
JM
40241 * sysdeps/unix/sysv/sigaction.c: Remove file.
40242
ff1962a3
JM
40243 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40244 (sysdep_headers): Remove variable.
40245 [termio.h not in sysdep_headers] (generated): Likewise.
40246 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40247 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40248 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40249 * sysdeps/unix/sysv/tcflow.c: Likewise.
40250 * sysdeps/unix/sysv/tcflush.c: Likewise.
40251 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40252 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40253 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40254 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40255 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40256
e7740d31
JM
40257 * sysdeps/unix/siglist.c: Remove file.
40258
ee06f18b
JM
40259 * sysdeps/unix/getppid.S: Remove file.
40260
097d59fa
JM
40261 * sysdeps/unix/mkdir.c: Remove file.
40262 * sysdeps/unix/rmdir.c: Likewise.
40263
ff3d51ec
AS
402642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40265
40266 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40267 ERR_MAX value.
40268 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40269 errlist-compat value.
40270
50f81fd7
DM
402712012-04-18 David S. Miller <davem@davemloft.net>
40272
40273 * sysdeps/generic/memcopy.h (reg_char): Delete.
40274 * debug/strcat_chk.c: Use char, not reg_char.
40275 * debug/strcpy_chk.c: Likewise.
40276 * debug/strncat_chk.c: Likewise.
40277 * debug/strncpy_chk.c: Likewise.
40278 * string/memchr.c: Likewise.
40279 * string/memrchr.c: Likewise.
40280 * string/rawmemchr.c: Likewise.
40281 * string/strcat.c: Likewise.
40282 * string/strchr.c: Likewise.
40283 * string/strchrnul.c: Likewise.
40284 * string/strcmp.c: Likewise.
40285 * string/strcpy.c: Likewise.
40286 * string/strncat.c: Likewise.
40287 * string/strncmp.c: Likewise.
40288 * string/strncpy.c: Likewise.
40289
8ff41c46
WS
402902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40291
40292 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40293 __builtin_memcopy is called when src and dest ranges are known to not
40294 overlap.
40295
6b652f46
WS
402962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40297
40298 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40299 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40300 fwd_align_merge macro call.
40301 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40302 bwd_align_merge macro call.
40303 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40304
b282631e
WS
403052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40306
40307 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40308 bwd_align_merge macros.
40309 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40310 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40312
95aa737c
DM
403132012-04-18 David S. Miller <davem@davemloft.net>
40314
40315 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40316
7a99a614
AJ
403172012-04-18 Andreas Jaeger <aj@suse.de>
40318
40319 [BZ# 6794]
40320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40321 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40322 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40323
40324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40325 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40327
40328 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40329 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40330 Adjust for changed ldbl-128 files.
40331
40332 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40333 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40335
e5270c23
DM
403362012-04-17 David S. Miller <davem@davemloft.net>
40337
40338 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40339
fb5e92c9
AS
403402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40341
40342 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40343 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40344 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40345 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40346 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40347 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40348
76da7265
AZ
403492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40350
40351 [BZ #6794]
40352 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40353 * math/libm-test.inc: Add ilogb errno and exception tests.
40354 * math/w_ilogb.c: New file: ilogb wrapper.
40355 * math/w_ilogbf.c: New file: ilogbf wrapper.
40356 * math/w_ilogbl.c: New file: ilogbl wrapper.
40357 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40358 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40359 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40360 exception being thrown with 0.0 as argument.
40361 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40362 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40363 exception being thrown with 0.0 as argument.
40364 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40365 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40366 exception being thrown with 0.0 as argument.
40367 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40368 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40369 exception being thrown with 0.0 as argument.
40370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40371 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40373 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40374 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40375 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40376 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40377 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40378 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40379
0396e69d
PB
403802012-04-17 Petr Baudis <pasky@ucw.cz>
40381
40382 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40383 with altivec.
40384
750b5926
MP
403852012-04-16 Marek Polacek <polacek@redhat.com>
40386
40387 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40388
751728a1
MP
403892012-04-16 Marek Polacek <polacek@redhat.com>
40390
40391 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40392 operands of fdivp instruction.
40393
34a27407
L
403942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40397 * elf/tst-auditmod3b.c: Likewise.
40398 * elf/tst-auditmod4b.c: Likewise.
40399 * elf/tst-auditmod5b.c: Likewise.
40400 * elf/tst-auditmod6b.c: Likewise.
40401 * elf/tst-auditmod6c.c: Likewise.
40402 * elf/tst-auditmod7b.c: Likewise.
40403 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40404 * sysdeps/x86_64/preconfigure.in: Likewise.
40405 * sysdeps/x86_64/preconfigure: Regenerated.
40406
7e73e17d
L
404072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40408
40409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40410 __ILP32__.
40411
c7a6ab72
AB
404122012-04-13 Antoine Balestrat <merkil33@gmail.com>
40413
40414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40415 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40416
a9e8e0e0
CL
404172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40418
40419 [BZ #13973]
40420 * locale/iso-639.def: Fix gl language name. Spotted by
40421 Yaron Shahrabani.
40422
ec98af7d
RM
404232012-04-12 Roland McGrath <roland@hack.frob.com>
40424
40425 [BZ #2074]
40426 * libio/libio.h (__io_write_fn): Update comment.
40427
247c3ede
PB
404282012-04-12 Petr Baudis <pasky@ucw.cz>
40429
40430 [BZ #2074]
40431 * stdio.texi (Hook Functions): The user provided writer function
40432 is not allowed to return -1.
40433
55939d6d
DM
404342012-04-11 David S. Miller <davem@davemloft.net>
40435
40436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40437
90020f5a
MF
404382012-04-11 Mike Frysinger <vapier@gentoo.org>
40439
40440 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40441 Add a leading slash to rtkaio.
40442
288f9098
JM
404432012-04-11 Jim Meyering <meyering@redhat.com>
40444
90020f5a
MF
40445 [BZ #11959]
40446 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40447 It is not necessarily an error to ignore fwrite's return
40448 value. One can reliably use ferror to test for errors after
40449 the fact.
288f9098 40450
4be2b570
L
404512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40452
40453 * bits/types.h (__snseconds_t): New type.
40454 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40455
40456 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40458 (__SNSECONDS_T_TYPE): Likewise.
40459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40460 (__SNSECONDS_T_TYPE): Likewise.
40461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40462 (__SNSECONDS_T_TYPE): Likewise.
40463
288f9098 404642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40465
40466 [BZ #2636]
40467 * manual/time.texi (Processor Time): Return type of times is
40468 elapsed real time since an arbitrary point in the past.
40469 (CPU Time): Move CLK_TCK from here...
40470 (Processor Time): ...to here. Correct description.
40471 * manual/conf.texi (Constants for Sysconf): Correct description of
40472 _SC_CLK_TCK.
40473
d7dd4413
DM
404742012-04-10 David S. Miller <davem@davemloft.net>
40475
40476 [BZ #13967]
40477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40478 where the is a gap between DT_REL(A) and DT_JMPREL.
40479
b46068fc
L
404802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40481
40482 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40483 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40484 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40485
73d65cc3
SP
404862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40487
40488 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40489 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40490 (dl_main): Handle --inhibit-cache.
40491 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40492 _dl_inhibit_cache.
40493 * elf/dl-load.c (_dl_map_object): Use it.
40494 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40495
bcc8d661
JM
404962012-04-09 Joseph Myers <joseph@codesourcery.com>
40497
8f9a2fae
JM
40498 [BZ #13872]
40499 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40500 (__ieee754_powl): Saturate large exponents rather than testing for
40501 overflow of y*log2(x).
40502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40503 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40504 exceptions.
40505
bcc8d661
JM
40506 [BZ #11521]
40507 * math/s_ctan.c: Include <float.h>.
40508 (__ctan): Avoid internal overflow or cancellation in calculating
40509 denominator.
40510 * math/s_ctanf.c: Likewise.
40511 * math/s_ctanl.c: Likewise.
40512 * math/s_ctanh.c: Likewise.
40513 * math/s_ctanhf.c: Likewise.
40514 * math/s_ctanhl.c: Likewise.
40515 * math/libm-test.inc (ctan_test): Add more tests.
40516 (ctanh_test): Likewise.
40517 * sysdeps/i386/fpu/libm-test-ulps: Update.
40518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40519
823fbbb4
AJ
405202012-04-09 Andreas Jaeger <aj@suse.de>
40521
03879793
AJ
40522 [BZ #6894]
40523 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40524 is an optional BSD extension.
40525
823fbbb4
AJ
40526 [BZ #10254]
40527 * manual/stdio.texi (Opening Streams): Document additional fopen
40528 parameters.
40529
8de131cb
RM
405302012-04-09 Roland McGrath <roland@hack.frob.com>
40531
40532 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40533 %eax without telling the compiler.
40534
c0ed9d7d
CD
405352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40536
40537 [BZ # 13963]
40538 * manual/install.texi: Use sourceware.org.
40539
c483f6b4
JM
405402012-04-09 Joseph Myers <joseph@codesourcery.com>
40541
d7dd9453
JM
40542 [BZ #13873]
40543 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40544 (__ieee754_pow): Generate overflow and underflow using huge*huge
40545 and tiny*tiny rather than just returning constant infinity or zero
40546 for large exponents.
40547 * math/libm-test.inc (pow_test): Require overflow exceptions for
40548 applicable cases of large exponents.
40549
c483f6b4
JM
40550 [BZ #706]
40551 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40552 (__ieee754_pow): Use iterative multiplication algorithm only for
40553 integer exponents with absolute value below 1024. Check for odd
40554 integer exponents when using algorithm for real exponents.
40555 * math/libm-test.inc (pow_test): Add more tests.
40556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40557
d2de7579
JM
405582012-04-08 Joseph Myers <joseph@codesourcery.com>
40559
40560 [BZ #13705]
40561 * math/libm-test.inc (exp_test): Do not allow overflow exception
40562 on underflow test.
40563
f77f1232
AJ
405642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40565
40566 [BZ #13705]
40567 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40568 instead of __kernel_standard_f.
40569
3884932b
MF
405702012-04-08 Mike Frysinger <vapier@gentoo.org>
40571
40572 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40573 * sysdeps/x86_64/memset_chk.S: Likewise.
40574
54472e9c
AJ
405752012-04-08 Andreas Jaeger <aj@suse.de>
40576
6ab0fbfc
AJ
40577 [BZ #10153]
40578 * manual/startup.texi (Environment Access): Describe return value
40579 for putenv and setenv.
40580
61efba8c
AJ
40581 [BZ #6895]
40582 * manual/filesys.texi (Directory Entries): Add description for
40583 DT_LNK.
40584
95c3f29a
AJ
40585 [BZ #6890]
40586 * manual/filesys.texi (Directory Entries): Clarify that it's file
40587 system not operating system in the description of DT_UNKNOWN.
40588
54472e9c
AJ
40589 [BZ #6578]
40590 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40591
624254b1
SC
405922012-04-08 Stephen Compall <s11@member.fsf.org>
40593
40594 [BZ #6649]
40595 * manual/llio.texi (Opening and Closing Files): Add cross
40596 reference to explain mode argument.
40597
1e4920e0
MF
405982012-04-07 Mike Frysinger <vapier@gentoo.org>
40599
40600 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40601 * sysdeps/x86_64/memset_chk.S: Likewise.
40602
5ed848f3
DM
406032012-04-07 David S. Miller <davem@davemloft.net>
40604
40605 * elf/elf.h (R_SPARC_WDISP10): Define.
40606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40607 R_SPARC_SIZE32.
40608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40609 R_SPARC_SIZE64 and R_SPARC_H34.
40610
96154cd8
CD
406112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40612
40613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40614 conditions and remove no longer applicable assertion.
40615
9904dc47
L
406162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40617
40618 * bits/byteswap.h: Include <features.h>.
40619 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40620 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40621
f8887d0a
L
406222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40623
40624 * bits/byteswap.h (__bswap_16): Removed.
40625 Include <bits/byteswap-16.h> to get __bswap_16.
40626 * sysdeps/i386/bits/byteswap.h: Likewise.
40627 * sysdeps/s390/bits/byteswap.h: Likewise.
40628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40629 * bits/byteswap-16.h: New file.
40630 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40631 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40632 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40633 * string/Makefile (headers): Add bits/byteswap-16.h.
40634
62470f60
PP
406352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40636
40637 [BZ #13895]
40638 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40639 extra indirection.
40640 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40641 * nss/tst-nss-static.c: New.
40642
4dad7bab
RM
406432012-04-06 Robert Millan <rmh@gnu.org>
40644
40645 [BZ #6486]
40646 * manual/llio.texi (File Position Primitive): lseek
40647 refers to WHENCE when it really means OFFSET.
40648
e9142a17
AJ
406492012-04-06 Andreas Jaeger <aj@suse.de>
40650
2c040eff
AJ
40651 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40652 strncmp declarations.
40653
e9142a17
AJ
40654 * abilist/libc.abilist: Add __poll and __ppoll.
40655
ff9f1c5f
DM
406562012-04-05 David S. Miller <davem@davemloft.net>
40657
dcd2ae90
DM
40658 * scripts/check-local-headers.sh: Accept a host triplet in the
40659 path matched by the exclude regexp.
40660
993eb054
DM
40661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40662 definition.
40663 * sysdeps/powerpc/powerpc32/dl-machine.h
40664 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40665 * sysdeps/s390/s390-32/dl-machine.h
40666 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40667 * sysdeps/sparc/sparc32/dl-machine.h
40668 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40669 * sysdeps/sparc/sparc64/dl-machine.h
40670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40671
ff9f1c5f
DM
40672 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40673 lazy binding.
48e2e132 40674 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40675 undefined symbol errors.
40676
48e2e132 40677 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40678 DT_NEEDED entries.
40679
e80d6f94
MM
406802012-04-05 Michael Matz <matz@suse.de>
40681
40682 [BZ #13592]
40683 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40684
349fa79f
AJ
406852012-04-05 Andreas Jaeger <aj@suse.de>
40686
40687 [BZ #13908]
40688 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40689 comment.
40690
f402708f
KK
406912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40692
40693 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40694 which ROUND is no valid rounding mode.
40695
2ecccfc9
KK
406962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40697
40698 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40699 read again.
40700 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40701
8a53f50f
KK
407022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40703
40704 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40705 an exception using FPU order intentionally.
40706
407072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40708
40709 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40710 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40711 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40712 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40713
d653abb7
SJ
407142012-04-05 Simon Josefsson <simon@josefsson.org>
40715
40716 [BZ #12340]
40717 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40718 EINVAL when BUFLEN is too smal.
40719
c3b1bf7d
TS
407202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40721
40722 [BZ #13553]
40723 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40724 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40725
b1aa60f3
AJ
407262012-04-03 Andreas Jaeger <aj@suse.de>
40727
c3b1bf7d 40728 [BZ #13938]
67f60a26
AJ
40729 * manual/setjmp.texi (System V contexts): Fix sentence.
40730
b1aa60f3
AJ
40731 [BZ #13926]
40732 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40733 New macro for this case.
40734 [!__GNUC__] (__bswap_64): New inline function for this case.
40735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40736 * bits/byteswap.h: Likewise.
40737 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40738 ull, guard with __GLIBC_HAVE_LONG_LONG.
40739
40740 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40741 __GLIBC_HAVE_LONG_LONG.
40742
40743 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40744 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40745
39c59c35
TMQMF
407462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40747
40748 [BZ #13691]
40749 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40750 inptr and inend, rather than using last_ch.
40751
135ffda8
DM
407522012-04-02 David S. Miller <davem@davemloft.net>
40753
40754 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40755 * stdio-common/printf-parse.h (read_int): Change return type to
40756 'int', return -1 on INT_MAX overflow.
40757 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40758 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40759 overflows INT_MAX. Check for overflow of in-format-string precision
40760 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40761 SIZE_MAX not INT_MAX for integer overflow test.
40762 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40763 skip the construct in the format string but do not record anything.
40764 * stdio-common/bug22.c: Adjust to test both width/prevision
40765 INT_MAX overflow as well as total length INT_MAX overflow. Check
40766 explicitly for proper errno values.
40767
228c019e
TS
407682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40769
302cadd3
TS
40770 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40771 CHAR_MAX.
40772 * string/test-strcmp.c [! WIDE]: Likewise.
40773 * time/tst-mktime2.c: Likewise for INT_MAX.
40774 * string/test-string.h: #include <sys/param.h> for MIN.
40775
228c019e
TS
40776 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40777 * sysdeps/i386/init-first.c (init): Likewise.
40778 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40779 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40780 * sysdeps/sh/init-first.c (init): Likewise.
40781
cfa633f5
UD
407822012-04-01 Ulrich Drepper <drepper@gmail.com>
40783
40784 * po/ru.po: Update from translation team.
d1635ef8 40785 * po/vi.po: Likewise.
cfa633f5 40786
6cd0a5ea
SP
407872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40788
40789 * resolv/nss_dns/dns-host.c: Merge copyright years.
40790
4b43400f
LD
407912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40792
40793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40794 Optimize memcpy with prefetch if
40795 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40796 src, dst pointers have unequal 16 byte alignments.
40797
48c41d04
SP
407982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40799
40800 [BZ #13928]
40801 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40802 from a CNAME entry and return the minimum ttl for the query.
40803 (gaih_getanswer_slice): Likewise.
40804
b8dc394d
JL
408052012-03-30 Jeff Law <law@redhat.com>
40806
40807 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40808 due to long keys.
40809 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40810 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40811
2f5a5ed0
JL
40812 * resolv/nss_dns/dns-host.c: Update copyright year.
40813
1d39e359
UD
408142012-03-30 Ulrich Drepper <drepper@gmail.com>
40815
c030f70c 40816 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 40817 requests to save a system call. Fix check that all bytes are sent.
c030f70c 40818
1d39e359
UD
40819 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40820 comments for sendmmsg.
40821
408222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
40823
40824 [BZ #13691]
40825 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40826 with only 1 character between 0x0041 and 0x01b0.
40827 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40828 * wcsmbs/tst-mbsnrtowcs.c: New file.
40829
20fde227
DM
408302012-03-29 David S. Miller <davem@davemloft.net>
40831
40832 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40833 small copies by hand.
40834
984a4237
JL
408352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40836
40837 [BZ #13761]
57f41c40
AS
40838 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40839 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40840 group memberships.
984a4237 40841
18c9d62b
DM
408422012-03-28 David S. Miller <davem@davemloft.net>
40843
88d85d4f
DM
40844 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40845 that branches into memcpy.
40846 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40849 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40851 bits.
40852 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40853 implementation too.
40854 * sysdeps/sparc/mempcpy.S: New file.
40855
e5aa83e1
DM
40856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40857 the IFUNC routine in the libc case.
40858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40859
88570753
DM
40860 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40861 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40862 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40863 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40864 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40865 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40866 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40867 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40868
249d7567
DM
40869 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40870 loop to 256 bytes instead of 64 bytes and fix test signedness.
40871
18c9d62b
DM
40872 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40873 * sysdeps/sparc/sparc32/Makefile: rather than here...
40874 * sysdeps/sparc/sparc64/Makefile: and here.
40875
05f3d1f6
UD
408762012-03-28 Ulrich Drepper <drepper@gmail.com>
40877
40878 * malloc/mallocbug.c: Avoid warnings about unused variables.
40879
86ae07a8
JL
408802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40881
40882 [BZ #13760]
40883 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40884 in the right place. Discard and retry query if response is
40885 larger than input buffer size.
40886
41bf21a1
JM
408872012-03-28 Joseph Myers <joseph@codesourcery.com>
40888
d6270972
JM
40889 [BZ #369]
40890 [BZ #2678]
40891 [BZ #3866]
40892 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40893 x for large integer exponent.
40894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40896 sign of result as needed afterwards.
40897 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40898 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40899 result for underflowing pow the same as for overflow.
40900 (__kernel_standard_l): Handle powl overflow and underflow here
40901 rather than calling __kernel_standard.
40902 * math/libm-test.inc (pow_test): Add more tests.
40903
414fca03 40904 [BZ #3868]
41bf21a1
JM
40905 [BZ #13879]
40906 [BZ #13910]
40907 [BZ #13911]
40908 [BZ #13912]
40909 [BZ #13913]
40910 [BZ #13915]
40911 [BZ #13916]
40912 [BZ #13917]
40913 [BZ #13918]
40914 [BZ #13919]
40915 [BZ #13920]
40916 [BZ #13921]
40917 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40918 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40919 (__kernel_standard_l): New function.
40920 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40921 __kernel_standard.
40922 * math/w_acosl.c (__acosl): Likewise.
40923 * math/w_asinl.c (__asinl): Likewise.
40924 * math/w_atan2l.c (__atan2l): Likewise.
40925 * math/w_atanhl.c (__atanhl): Likewise.
40926 * math/w_coshl.c (__coshl): Likewise.
40927 * math/w_exp10l.c (__exp10l): Likewise.
40928 * math/w_exp2l.c (__exp2l): Likewise.
40929 * math/w_fmodl.c (__fmodl): Likewise.
40930 * math/w_hypotl.c (__hypotl): Likewise.
40931 * math/w_j0l.c (__j0l, __y0l): Likewise.
40932 * math/w_j1l.c (__j1l, __y1l): Likewise.
40933 * math/w_jnl.c (__jnl, __ynl): Likewise.
40934 * math/w_lgammal.c (__lgammal): Likewise.
40935 * math/w_log10l.c (__log10l): Likewise.
40936 * math/w_log2l.c (__log2l): Likewise.
40937 * math/w_logl.c (__logl): Likewise.
40938 * math/w_powl.c (__powl): Likewise.
40939 * math/w_remainderl.c (__remainderl): Likewise.
40940 * math/w_scalbl.c (sysv_scalbl): Likewise.
40941 * math/w_sinhl.c (__sinhl): Likewise.
40942 * math/w_sqrtl.c (__sqrtl): Likewise.
40943 * math/w_tgammal.c (__tgammal): Likewise.
40944 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40945 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40946 * math/libm-test.inc (acos_test): Add more tests.
40947 (acosh_test): Likewise.
40948 (asin_test): Likewise.
40949 (atanh_test): Likewise.
40950 (exp_test): Likewise.
40951 (exp10_test): Likewise.
40952 (exp2_test): Likewise.
40953 (expm1_test): Likewise.
40954 (lgamma_test): Likewise.
40955 (log_test): Likewise.
40956 (log10_test): Likewise.
40957 (log1p_test): Likewise.
40958 (log2_test): Likewise.
40959 (pow_test): Do not allow some spurious overflow exceptions.
40960 (sqrt_test): Add more tests.
40961 (tgamma_test): Likewise.
40962 (y0_test): Likewise.
40963 (y1_test): Likewise.
40964 (yn_test): Likewise.
40965
dd62fda6
AB
409662012-03-27 Anton Blanchard <anton@samba.org>
40967
40968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40969 MAP_HUGETLB.
40970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40973
1e3cdfda
AJ
409742012-03-27 David S. Miller <davem@davemloft.net>
40975
b855ab85
DM
40976 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40977
1e3cdfda
AJ
40978 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40979 have-as-vis3 check.
40980
409812012-03-27 Andreas Jaeger <aj@suse.de>
40982
40983 * sysdeps/x86_64/elf/configure.in: Moved to ...
40984 * sysdeps/x86_64/configure.in: ... here.
40985 * sysdeps/x86_64/elf/start.S: Moved to ...
40986 * sysdeps/x86_64/start.S: ... here.
40987 * sysdeps/x86_64/elf/configure: Delete.
40988
40989 * sysdeps/x86_64/configure.in: Merge contents from
40990 sysdeps/i386/configure.in (without i686 check).
40991
40992 * sysdeps/i386/elf/Versions: Merge into ...
40993 * sysdeps/i386/Versions: ... this.
40994 * sysdeps/i386/elf/Versions: Delete file.
40995 * sysdeps/i386/elf/start.S: Moved to ...
40996 * sysdeps/i386/start.S: ...here.
40997 * sysdeps/i386/elf/configure.in: Merge into...
40998 * sysdeps/i386/configure.in: ...here.
40999 * sysdeps/i386/elf/configure.in: Delete file.
41000 * sysdeps/i386/elf/configure: Delete file.
41001
41002 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41003 * debug/backtracesyms.c: ... here.
41004 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41005 * debug/backtracesymsfd.c: ... here.
41006 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41007 * sysdeps/generic/ifunc-sel.h: ... here.
41008
41009 * sysdeps/unix/i386/start.c: Delete file.
41010 * sysdeps/unix/sparc/start.c: Delete file.
41011 * sysdeps/unix/start.c: Delete file.
41012
41013 * sysdeps/sh/elf/configure.in: Moved to ...
41014 * sysdeps/sh/configure.in: ... here.
41015 * sysdeps/sh/elf/start.S: Moved to ...
41016 * sysdeps/sh/start.S: ... here.
41017 * sysdeps/sh/elf/configure: Delete file.
41018
41019 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41020 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41021 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41022 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41023 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41024 * sysdeps/powerpc/powerpc64/start.S: here.
41025 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41026 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41027 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41028 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41029 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41030
41031 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41032 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41033 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41034 * sysdeps/powerpc/powerpc32/start.S: ... here.
41035 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41036 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41037 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41038
41039 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41040 * sysdeps/powerpc/ifunc-sel.h: ... here.
41041 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41042 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41043
41044 * sysdeps/sparc/elf/configure.in: Moved to ...
41045 * sysdeps/sparc/configure.in: ... here.
41046 * sysdeps/sparc/elf/configure: Delete file.
41047 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41048 * sysdeps/sparc/sparc32/start.S: ... here.
41049 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41050 * sysdeps/sparc/sparc64/start.S: ... here.
41051 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41052 * sysdeps/sparc/sparc32/Makefile: ... this.
41053 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41054 * sysdeps/sparc/sparc64/Makefile: ... this.
41055
41056 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41057 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41058 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41059 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41060 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41061 * sysdeps/s390/s390-32/setjmp.S: ... here.
41062 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41063 * sysdeps/s390/s390-32/configure.in: ... here.
41064 * sysdeps/s390/s390-32/elf/configure: Delete file.
41065 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41066 * sysdeps/s390/s390-32/start.S: ... here.
41067
41068 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41069 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41070 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41071 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41072 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41073 * sysdeps/s390/s390-64/setjmp.S: ... here.
41074 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41075 * sysdeps/s390/s390-64/configure.in: ... here
41076 * sysdeps/s390/s390-64/elf/configure: Delete file.
41077 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41078 * sysdeps/s390/s390-64/start.S: ... here.
41079 * sysdeps/s390/s390-64/elf/configure: Delete.
41080
41081 * configure.in: Remove support for elf directories in sysdeps.
41082
41083 * configure: Regenerated.
41084 * sysdeps/i386/configure: Regenerated.
41085 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41086 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41087 * sysdeps/s390/s390-32/configure: Regenerated.
41088 * sysdeps/s390/s390-64/configure: Regenerated.
41089 * sysdeps/sh/configure: Regenerated.
41090 * sysdeps/sparc/configure: Regenerated.
41091 * sysdeps/x86_64/configure: Regenerated.
41092
a3f61311
AS
410932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41094
c876e002
AS
41095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41096
a3f61311
AS
41097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41098 denormal result into account.
41099
ac4c54f0
RM
411002012-03-25 Roland McGrath <roland@hack.frob.com>
41101
41102 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41103 Reported by Allan McRae <allan@archlinux.org>.
41104
6a9b9c02
JL
411052012-03-23 Jeff Law <law@redhat.com>
41106
41107 * nss/getnssent.c (__nss_getent): Fix typo.
41108
4c42a0c1
DM
411092012-03-23 David S. Miller <davem@davemloft.net>
41110
41111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41112
1532c7ac
L
411132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41114
41115 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41116 to pad to uint64_t for each field.
41117 (dl_tls_index): Replace unsigned long with uint64_t.
41118
3ff42526
PP
411192012-03-23 Daniel Jacobowitz <dmj@google.com>
41120 Paul Pluzhnikov <ppluzhnikov@google.com>
41121
41122 [BZ #6528]
41123 * grp/Makefile (otherlibs): Don't set it.
41124 * inet/Makefile (otherlibs): Likewise.
41125 * login/Makefile (otherlibs): Likewise.
41126 * nscd/Makefile (otherlibs): Likewise.
41127 * posix/Makefile (otherlibs): Likewise.
41128 * pwd/Makefile (otherlibs): Likewise.
41129 * rt/Makefile (otherlibs): Likewise.
41130 * sunrpc/Makefile (otherlibs): Likewise.
41131 * nss/Makefile (otherlibs): Likewise.
41132 Add libnss_files to routines and static-only-routines.
41133 ($(objpfx)getent): Remove rule.
41134 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41135 static-only-routines.
41136
7c69cd14
JM
411372012-03-22 Joseph Myers <joseph@codesourcery.com>
41138
41139 [BZ #13892]
41140 * math/s_cexp.c: Include <float.h>.
41141 (__cexp): Handle exp result overflowing not necessarily
41142 overflowing both real and imaginary parts of result.
41143 * math/s_cexpf.c: Likewise.
41144 * math/s_cexpl.c: Likewise.
41145 * math/libm-test.inc (cexp_test): Add more tests.
41146 * sysdeps/i386/fpu/libm-test-ulps: Update.
41147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41148
81b035fe
L
411492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41150
41151 * include/link.h (ELFW): New macro.
41152 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41153 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41154
1da7940c
L
411552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41156
41157 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41158 with uint64_t.
41159
b749dbb9
L
411602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41161
41162 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41163 declaration.
41164 (struct La_x32_retval): Likewise.
41165
2ff87f3f
L
411662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41167
41168 * sysdeps/x86_64/preconfigure.in: New file.
41169 * sysdeps/x86_64/preconfigure: New generated file.
41170
c0df8e69
JM
411712012-03-22 Joseph Myers <joseph@codesourcery.com>
41172
48e44791
JM
41173 [BZ #13824]
41174 * math/e_exp2l.c: Include <float.h>.
41175 (__ieee754_exp2l): Handle overflow and underflow cases
41176 separately. Only pass fractional part of argument to
41177 __ieee754_expl.
41178 * math/libm-test.inc (exp2_test): Add more tests.
41179
c0df8e69
JM
41180 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41181 negating x to take absolute value.
41182 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41183 Likewise.
41184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41186 Likewise.
41187 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41188 computing low part if x was negated.
41189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41190
c8e43ba7
L
411912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41192
41193 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41194 la_x32_gnu_pltexit.
41195 (pltexit): Cast int_retval to ptrdiff_t.
41196 * elf/tst-auditmod3b.c: Likewise.
41197 * elf/tst-auditmod4b.c: Likewise.
41198 * elf/tst-auditmod5b.c: Likewise.
41199 * elf/tst-auditmod6b.c: Likewise.
41200 * elf/tst-auditmod6c.c: Likewise.
41201 * elf/tst-auditmod7b.c: Likewise.
41202
41203 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41204 and x32_gnu_pltexit.
41205
41206 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41207 __ELF_NATIVE_CLASS.
41208 (La_x32_regs): New macro.
41209 (La_x32_retval): Likewise.
41210 (la_x32_gnu_pltenter): New function prototype.
41211 (la_x32_gnu_pltexit): Likewise.
41212
7998fa78
AS
412132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41214
dcb33988
AS
41215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41216 exponent.
41217
233fc563
AS
41218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41219
7998fa78
AS
41220 * configure.in (libc_cv_cc_nofma): Check for option to disable
41221 generation of FMA instructions.
41222 * configure: Regenerate.
41223 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41224 * sysdeps/ieee754/dbl-64/Makefile: New file.
41225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41226 Remove brandred-fma4.
41227 (CFLAGS-brandred-fma4.c): Remove.
41228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41230 define.
41231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41232 define.
41233
8e95c99a
L
412342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41235
41236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41237 LLONG_MAX != LONG_MAX.
41238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41239 (_fitoa_word): Likewise.
41240 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41241 LLONG_MAX != LONG_MAX.
41242 * stdio-common/_itowa.h: Include <_itoa.h>.
41243 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41244 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41245 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41246 only if not defined.
41247 (_ITOA_WORD_TYPE): Likewise.
41248 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41249 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41250
6f4db457
DM
412512012-03-21 David S. Miller <davem@davemloft.net>
41252
41253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41254
7785fe5a
L
412552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41256
41257 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41258 of x86_64 when setting libc_cv_slibdir, libdir and
41259 libc_cv_localedir.
41260 * sysdeps/unix/sysv/linux/configure: Regenerated.
41261
4535cd55
JM
412622012-03-21 Joseph Myers <joseph@codesourcery.com>
41263
41264 * manual/lang.texi (Old Varargs): Remove section.
41265 (How Variadic): Update menu.
41266 (va_start): Do not mention varargs.h.
41267
17228132
TS
412682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41269 Joseph Myers <joseph@codesourcery.com>
41270
41271 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41272 link test.
41273 * configure: Regenerated.
41274
8149f976
TS
412752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41276
05f3d1f6
UD
41277 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41278 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41279 conformtest.pl
8149f976 41280
1a4ac776
JM
412812012-03-21 Joseph Myers <joseph@codesourcery.com>
41282
be22ce65
JM
41283 * NOTES: Remove.
41284 * Makefile (files-for-dist): Remove NOTES.
41285 (NOTES): Remove rule.
41286 * README: Don't refer to NOTES.
41287 * manual/creature.texi: Don't include macros.texi.
41288 * manual/intro.texi (creature.texi): Remove comment referring to
41289 NOTES.
41290
40b601fb
JM
41291 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41292 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41293 * configure: Regenerated.
41294 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41295 LIBC_TRY_CC_OPTION.
41296 (libc_cv_as_i686): Likewise.
41297 (libc_cv_cc_avx): Likewise.
41298 (libc_cv_cc_sse2avx): Likewise.
41299 (libc_cv_cc_fma4): Likewise.
41300 (libc_cv_cc_novzeroupper): Likewise.
41301 * sysdeps/i386/configure: Regenerated.
41302
1a4ac776
JM
41303 [BZ #13883]
41304 * sysdeps/i386/fpu/s_cexp.S: Remove.
41305 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41306 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41307 * math/libm-test.inc (cexp_test): Add more tests.
41308 * sysdeps/i386/fpu/libm-test-ulps: Update.
41309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41310
a458e7fe
AM
413112012-03-21 Allan McRae <allan@archlinux.org>
41312
41313 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41314
0cb7efc5
JM
413152012-03-21 Joseph Myers <joseph@codesourcery.com>
41316
41317 [BZ #13871]
41318 * math/w_exp2.c: Do not include <float.h>.
41319 (o_threshold, u_threshold): Remove.
41320 (__exp2): Calculate result before checking finiteness and calling
41321 __kernel_standard.
41322 * math/w_exp2f.c: Likewise.
41323 * math/w_exp2l.c: Likewise.
41324 * math/libm-test.inc (exp2_test): Require overflow exception for
41325 1e6 input.
2460d3aa
JM
41326
41327 [BZ #3866]
41328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41329 range of signed 64-bit integers before using fistpll. Remove
41330 checks for whether integers fit in mantissa bits.
41331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41332 the range of signed 32-bit integers before using fistpl. Remove
41333 checks for whether integers fit in mantissa bits.
41334 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41335 (__ieee754_powl): Test for y outside the range of signed 64-bit
41336 integers before using fistpll. Reduce 64-bit values to 63-bit
41337 ones as needed.
41338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41339 divide-by-zero is raised for zero to large negative powers.
41340 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41341 (__ieee754_powl): Test for y outside the range of signed 64-bit
41342 integers before using fistpll. Reduce 64-bit values to 63-bit
41343 ones as needed.
41344 * math/libm-test.inc (pow_test): Add more tests.
41345
eb96ffb0
L
413462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41347
41348 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41349 <stdio-common/_itoa.h>.
41350 * debug/segfault.c: Likewise.
41351 * elf/dl-cache.c: Likewise.
41352 * elf/dl-minimal.c: Likewise.
41353 * elf/dl-misc.c: Likewise.
41354 * elf/dl-sysdep.c: Likewise.
41355 * elf/dl-version.c: Likewise.
41356 * elf/rtld.c: Likewise.
41357 * hurd/hurdsock.c: Likewise.
41358 * hurd/lookup-retry.c: Likewise.
41359 * malloc/malloc.c: Likewise.
41360 * malloc/mtrace.c: Likewise.
41361 * nscd/nscd_getgr_r.c: Likewise.
41362 * nscd/nscd_getpw_r.c: Likewise.
41363 * nscd/nscd_getserv_r.c: Likewise.
41364 * posix/getopt_init.c: Likewise.
41365 * posix/wordexp.c: Likewise.
41366 * stdio-common/_itoa.c: Likewise.
41367 * stdio-common/printf_fphex.c: Likewise.
41368 * stdio-common/vfprintf.c: Likewise.
41369 * string/_strerror.c: Likewise.
41370 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41371 * sysdeps/i386/i686/hp-timing.h: Likewise.
41372 * sysdeps/mach/_strerror.c: Likewise.
41373 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41374 * sysdeps/mach/hurd/sethostid.c: Likewise.
41375 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41376 * sysdeps/mach/xpg-strerror.c: Likewise.
41377 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41378 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41379 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41380 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41381 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41382 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41383 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41384 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41385 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41386 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41387 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41388 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41389 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41390 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41391 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41392 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41393 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41394 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41395 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41396 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41397 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41398
41399 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41400
41401 * stdio-common/_itoa.h: Moved to ...
41402 * sysdeps/generic/_itoa.h: Here.
41403
41404 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41405
41406 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41407 instead of "_itoa.h" and "_itowa.h".
41408 * stdio-common/vfprintf.: Likewise.
41409
d1af992d
L
414102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41411
41412 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41413 <bits/wordsize.h>.
41414 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41415 (__signbit): Likwise.
41416 (llrintf): Likwise.
41417 (llrint): Likwise.
41418
114883e0
L
414192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41420
41421 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41422 __WORDSIZE != 64.
41423
c135cc1b
JM
414242012-03-20 Joseph Myers <joseph@codesourcery.com>
41425
41426 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41427 OVERFLOW_EXCEPTION_OK.
41428 * math/libm-test.inc ("Philosophy"): Update comment about
41429 exception testing.
41430 (OVERFLOW_EXCEPTION): Define.
41431 (OVERFLOW_EXCEPTION_OK): Likewise.
41432 (INVALID_EXCEPTION_OK): Renumber.
41433 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41434 (IGNORE_ZERO_INF_SIGN): Likewise.
41435 (test_exceptions): Handle FE_OVERFLOW.
41436 (exp10_test): Expect overflow exceptions.
41437 (exp2_test): Likewise.
41438 (expm1_test): Likewise.
41439 (nextafter_test): Likewise.
41440 (pow_test): Likewise.
41441 (scalbn_test): Likewise.
41442 (scalbln_test): Likewise.
41443
95443d88
L
414442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41445
41446 * sysdeps/x86_64/bits/atomic.h
41447 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41448 64bit integer.
41449 (atomic_exchange_acq): Likewise.
41450 (__arch_exchange_and_add_body): Likewise.
41451 (__arch_add_body): Likewise.
41452 (atomic_add_negative): Likewise.
41453 (atomic_add_zero): Likewise.
41454
490df6c4
L
414552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41456
c2722551 41457 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41458 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41459
5e52b189
L
414602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41461
41462 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41463 Check __x86_64__ instead of __WORDSIZE.
41464
a9879d4c
L
414652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41466
41467 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41468
5df98260
DM
414692012-03-19 David S. Miller <davem@davemloft.net>
41470
e1497744
DM
41471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41472
5df98260
DM
41473 * sysdeps/sparc/fpu/fenv_private.h: New file.
41474 * sysdeps/sparc/fpu/math_private.h: Use it.
41475 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41476 Remove.
57f41c40 41477 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41478 (libc_feholdexcept_setroundl): Remove.
41479 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41480 Remove.
41481 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41482 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41483
b4c35121
L
414842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41485
41486 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41487 int64_t instead of long int.
41488 (INSERT_WORDS64): Likwise.
41489
56965fd7
L
414902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41491
41492 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41493 _Unwind_GetCFA return to _Unwind_Ptr first.
41494
83d1aec8
JM
414952012-03-19 Joseph Myers <joseph@codesourcery.com>
41496
1897ad44
JM
41497 [BZ #13629]
41498 * math/s_clog.c: Include <float.h>.
41499 (__clog): Scale large or subnormal inputs.
41500 * math/s_clogf.c: Likewise.
41501 * math/s_clogl.c: Likewise.
41502 * math/s_clog10.c: Include <float.h>.
41503 (M_LOG10_2): Define.
41504 (__clog10): Scale large or subnormal inputs.
41505 * math/s_clog10f.c: Likewise.
41506 * math/s_clog10l.c: Likewise.
41507 * math/libm-test.inc (clog_test): Add more tests.
41508 (clog10_test): Likewise.
41509 * sysdeps/i386/fpu/libm-test-ulps: Update.
41510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41511
7726d6a9
JM
41512 [BZ #11451]
41513 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41514 x and y.
41515 * math/libm-test.inc (atan2_test): Add another test.
41516
83d1aec8
JM
41517 * Makerules (common-objdir-compile): Remove.
41518 * sysdeps/unix/Makefile (config-generated): Do not add
41519 $(unix-generated) to variable.
41520 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41521 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41522 Remove rule.
41523 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41524 Likewise.
41525 [generic bits/local_lim.h] (before-compile): Do not append to
41526 variable.
41527 [generic bits/local_lim.h] (common-generated): Likewise.
41528 [generic sys/param.h] (before-compile): Do not append to variable.
41529 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41530 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41531 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41532 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41533 include.
41534 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41535 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41536 [generic sys/param.h] ($(addprefix
41537 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41538 [generic sys/param.h] (common-generated): Do not append to
41539 variable.
41540 [generic sys/param.h] (sysdep_headers): Likewise.
41541 [generic bits/errno.h] (before-compile): Do not append to
41542 variable.
41543 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41544 rule.
41545 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41546 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41547 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41548 [generic bits/errno.h] (common-generated): Do not append to
41549 variable.
41550 [generic bits/ioctls.h] (before-compile): Do not append to
41551 variable.
41552 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41553 rule.
41554 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41555 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41556 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41557 rule.
41558 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41559 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41560 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41561 [generic bits/ioctls.h] (common-generated): Do not append to
41562 variable.
41563 [generic sys/syscall.h] (syscall.h): Remove variable.
41564 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41565 rule.
41566 [generic sys/syscall.h] (before-compile): Do not append to
41567 variable.
41568 [generic sys/syscall.h] (common-generated): Likewise.
41569 * sysdeps/unix/errnos-tmpl.c: Remove file.
41570 * sysdeps/unix/errnos.awk: Likewise.
41571 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41572 * sysdeps/unix/ioctls.awk: Likewise.
41573 * sysdeps/unix/mk-local_lim.c: Likewise.
41574 * sysdeps/unix/snarf-ioctls: Likewise.
41575
4851a949
RH
415762012-03-19 Richard Henderson <rth@twiddle.net>
41577
bd37f2ee
RH
41578 * sysdeps/i386/fpu/fenv_private.h: New file.
41579 * sysdeps/i386/fpu/math_private.h: Use it.
41580 (math_opt_barrier, math_force_eval): Remove.
41581 (libc_feholdexcept_setround_53bit): Remove.
41582 (libc_feupdateenv_53bit): Remove.
41583 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41584 (math_opt_barrier, math_force_eval): Remove.
41585 (libc_feholdexcept): Remove.
41586 (libc_feholdexcept_setround): Remove.
41587 (libc_fetestexcept, libc_fesetenv): Remove.
41588 (libc_feupdateenv_test): Remove.
41589 (libc_feupdateenv, libc_feholdsetround): Remove.
41590 (libc_feresetround): Remove.
41591
d0adc922
RH
41592 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41593 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41594
0fe0f1f8
RH
41595 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41596 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41597 (libc_feupdateenv_testl): New.
41598 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41599 (libc_feupdateenv_testf): New.
41600 (libc_feupdateenv): Use libc_feupdateenv_test.
41601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41603
eb92c487
RH
41604 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41605 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41606 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41607 (libc_feresetround_noex): New.
41608 (libc_feresetround_noexf): New.
41609 (libc_feresetround_noexl): New.
41610 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41611 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41612 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41613 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41614 SET_RESTORE_ROUND.
41615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41617 (__cos): Likewise.
41618 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41620 SET_RESTORE_ROUND_NOEX.
41621 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41622 SET_RESTORE_ROUND_NOEXF.
41623 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41624 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41625 (libc_feholdsetroundf): New.
41626 (libc_feresetround, libc_feresetroundf): New.
41627
7d2e8012
RH
41628 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41629 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41630 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41631
b4dabbb4
RH
41632 * sysdeps/generic/math_private.h: Include <fenv.h>.
41633 (default_libc_feholdexcept): New.
41634 (default_libc_feholdexcept_setround): New.
41635 (default_libc_fesetenv, default_libc_feupdateenv): New.
41636 (libc_feholdexcept): Only define if undefined.
41637 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41638 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41639 (libc_feholdexcept_setroundl): Likewise.
41640 (libc_feholdexcept_setround_53bit): Likewise.
41641 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41642 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41643 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41644 (libc_feupdateenv_53bit): Likewise.
41645 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41646 (libc_feholdexcept): Convert from macro to inline function.
41647 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41648 (libc_fesetenv, libc_feupdateenv): Likewise.
41649
4851a949
RH
41650 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41651 not previously defined.
41652 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41653 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41654 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41655 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41656 * sysdeps/ieee754/flt-32/math_private.h: New file.
41657 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41658 math_private.h below SET_FLOAT_WORD.
41659 (__isnan, __isinf_ns, __finite): Remove.
41660 (__isnanf, __isinf_nsf, __finitef): Remove.
41661
e79d442e
AS
416622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41663
41664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41665
90b80344
DM
416662012-03-17 David S. Miller <davem@davemloft.net>
41667
41668 [BZ #6471]
41669 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41670 for 2.16.
41671
edc21804
DM
416722012-03-16 David S. Miller <davem@davemloft.net>
41673
77e927af
DM
41674 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41675 warnings.
41676
374976dd
DM
41677 [BZ #6471]
41678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41679 properly.
41680 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41681 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41682 sysdep_routines when subdir is sysvipc.
41683 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41684 __getshmlba helper.
41685
edc21804
DM
41686 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41687
473c3ef3
L
416882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41689
41690 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41691 [__LP64__].
41692
eb0f39b6
L
416932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41694
41695 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41696 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41697 (__lround): Renamed to ...
41698 (__llround): This. Replace long int with long long int.
41699 Define lround functions as aliases of llround functions.
41700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41701
6b6cd74b
L
417022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41703
41704 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41705 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41706 adresses to uintptr_t. Replace "long int" and "unsigned long
41707 int" with "greg_t" on va_arg.
41708
f1a77b01
L
417092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41710
41711 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41712 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41713
41714 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41715 Move e_machine check before EI_CLASS check. Handle x32
41716 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41717 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41718 SKIP_EM_IA_64 and include
41719 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41720
41721 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41722 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41723 (add_system_dir): New macro.
41724
41725 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41726 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41727
11b90b9f
JM
417282012-03-16 Joseph Myers <joseph@codesourcery.com>
41729
c36e1d23
JM
41730 [BZ #2551]
41731 [BZ #2552]
41732 [BZ #2553]
41733 [BZ #2554]
41734 [BZ #2562]
41735 [BZ #2563]
41736 [BZ #2565]
41737 [BZ #2566]
41738 [BZ #2576]
41739 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41740 (y0): Likewise.
41741 * math/w_j0f.c (j0f): Likewise.
41742 (y0f): Likewise.
41743 * math/w_j0l.c (__j0l): Likewise.
41744 (__y0l): Likewise.
41745 * math/w_j1.c (j1): Likewise.
41746 (y1): Likewise.
41747 * math/w_j1f.c (j1f): Likewise.
41748 (y1f): Likewise.
41749 * math/w_j1l.c (__j1l): Likewise.
41750 (__y1l): Likewise.
41751 * math/w_jn.c (jn): Likewise.
41752 (yn): Likewise.
41753 * math/w_jnf.c (jnf): Likewise.
41754 (ynf): Likewise.
41755 * math/w_jnl.c (__jnl): Likewise.
41756 (__ynl): Likewise.
41757 * math/libm-test.inc (j0_test): Add more tests.
41758 (j1_test): Likewise.
41759 (jn_test): Likewise. Add trailing semicolon to existing test.
41760 (y0_test): Likewise.
41761 (y1_test): Likewise.
41762 * sysdeps/i386/fpu/libm-test-ulps: Update.
41763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41764
11b90b9f
JM
41765 [BZ #13851]
41766 [BZ #13854]
41767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41768 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41769 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41771 (__tanl): Set errno for infinite argument.
41772 * sysdeps/i386/fpu/mptan.c: Remove.
41773 * sysdeps/i386/fpu/s_tan.S: Likewise.
41774 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41775 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41776 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41777 * math/libm-test.inc (tan_test): Add more tests and enable more
41778 tests for double and long double.
41779 * sysdeps/i386/fpu/libm-test-ulps: Update.
41780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41781
6a1bd2a1
JK
417822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41783
41784 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41785 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41786
10a803e0
RM
417872012-03-16 Roland McGrath <roland@hack.frob.com>
41788
41789 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41790 * configure.in: Use it for both main tree and add-ons.
41791 * configure: Regenerated.
41792
f196c7f7
L
417932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41794
41795 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41796
8848d99d
JM
417972012-03-16 Joseph Myers <joseph@codesourcery.com>
41798
96cbe7f4
JM
41799 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41800 in comment.
41801
8848d99d
JM
41802 [BZ #13851]
41803 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41804 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41805 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41806 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41807 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41808 infinite argument.
41809 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41811 != 0 for prec == 2.
41812 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41813 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41814 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41815 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41816 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41817 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41818 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41819 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41820 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41821 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41822 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41823 * math/libm-test.inc (cos_test): Add more tests and enable more
41824 tests for long double.
41825 (sin_test): Likewise.
41826 (sincos_test): Likewise.
41827 * sysdeps/i386/fpu/libm-test-ulps: Update.
41828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41829
dd7f4703
DM
418302012-03-16 David S. Miller <davem@davemloft.net>
41831
41832 * sysdeps/sparc/fpu/math_private.h: New file.
41833
006f1daa
DM
418342012-03-15 David S. Miller <davem@davemloft.net>
41835
c0c83bc8
DM
41836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41837 file.
e6a62e18 41838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
41839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41840 file.
e6a62e18
DM
41841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41847 sysdep routines.
41848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41849
88cb87d9
DM
41850 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41851 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41852
006f1daa 41853 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
41854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41855 sparc-ifunc.h
006f1daa 41856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
41857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41858 Likewise.
41859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41860 Likewise.
006f1daa
DM
41861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
41864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41865 Likewise.
006f1daa
DM
41866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
41870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41871 Likewise.
41872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41873 Likewise.
006f1daa
DM
41874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41898
11e0098e
AS
418992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41900
41901 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41902 scaling.
41903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41904
e85b09d0
AJ
419052012-03-15 Andreas Jaeger <aj@suse.de>
41906
41907 [BZ #13852]
41908 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41909 ieee754/flt-32 implementation for sin, cos and sincos.
41910 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41911 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41912 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41913 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41914 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41915 ieee754/flt-32 implementation for tan.
41916
41917 * math/libm-test.inc (cos_test): Enable some large input tests for
41918 float as well
41919 (sin_test): Likewise.
41920 (sincos_test): Likewise.
41921 (tan_test): Add tests for large input.
41922
41923 * sysdeps/i386/fpu/libm-test-ulps: Update.
41924
81c64153
AJ
419252012-03-15 Andreas Jaeger <aj@suse.de>
41926
41927 [BZ #13658]
41928 * math/libm-test.inc (cos_test): Add more test cases.
41929 (sin_test): Likewise.
41930 (sincos_test): Likewise.
41931
7bbfa5c6
AJ
419322012-03-15 Andreas Jaeger <aj@suse.de>
41933
41934 [BZ #13837]
41935 * math/libm-test.inc (cos_test): Add a test case for large input
41936 value.
41937 (sin_test): Likewise.
41938 (sincos_test): Likewise.
41939
57f41c40
AS
419402012-03-15 Andreas Jaeger <aj@suse.de>
41941 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
41942
41943 [BZ #13658]
0671f479 41944 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
41945 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41946 * sysdeps/i386/fpu/branred.c: Likewise.
41947 * sysdeps/i386/fpu/dosincos.c: Likewise.
41948 * sysdeps/i386/fpu/mpa.c: Likewise.
41949 * sysdeps/i386/fpu/s_cos.S: Likewise.
41950 * sysdeps/i386/fpu/s_sin.S: Likewise.
41951 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41952 * sysdeps/i386/fpu/sincos32.c: Likewise.
41953
41954 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41955 Define.
41956 (libc_feupdateenv_53bit): Define.
41957 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41958 Define.
41959 (libc_feupdateenv_53bit): Define.
41960
41961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41962 53 bit (without extend i386 double precision).
41963
41964 * math/libm-test.inc (sincos_test): Add tests for large input.
41965 (sin): Likewise.
41966 (cos): Likewise.
41967
41968 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41969
9cad04ea
AS
419702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41971
41972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41973
f7062b9a
DM
419742012-03-15 David S. Miller <davem@davemloft.net>
41975
41976 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41977 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41978 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41979 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41992 file.
f7062b9a 41993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
41994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41995 file.
f7062b9a 41996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
41997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41998 file.
f7062b9a 41999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42001 file.
f7062b9a
DM
42002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42004 fmin/fmax sysdep routines.
42005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42006
7bd951ff
DM
420072012-03-14 David S. Miller <davem@davemloft.net>
42008
559398ab
DM
42009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42038 routines.
42039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42040 file.
559398ab 42041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42043 file.
559398ab 42044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42046 file.
559398ab 42047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42049 file.
559398ab 42050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42052 file.
559398ab 42053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42055 file.
42056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42057 file.
42058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42059 file.
42060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42061 file.
42062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42063 New file.
42064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42065 file.
42066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42067 file.
559398ab 42068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42070 file.
559398ab 42071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42073 file.
559398ab 42074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42076 file.
559398ab 42077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42079 VIS3 routines.
559398ab
DM
42080
42081 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42082 New file.
42083
5a1c1e32
DM
42084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42085
eae47a36
DM
42086 * sysdeps/sparc/configure.in: New file.
42087 * sysdeps/sparc/configure: Generate.
42088 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42089 * configure: Regenerate.
42090 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42091 * config.make.in (have-as-vis3): New.
42092 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42093 available use -Av9d instead of -Av9a.
42094 * sysdeps/sparc/sparc64/Makefile: Likewise.
42095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42097 New file.
42098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42099 file.
42100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42101 New file.
42102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42103 file.
eae47a36
DM
42104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42108 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42109
c0c83bc8
DM
42110 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42111 fzeros/fnegs to load 0x80000000 into a float register instead of
42112 using the stack.
7bd951ff
DM
42113 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42114
bd951ccb
JM
421152012-03-14 Joseph Myers <joseph@codesourcery.com>
42116
42117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42118 bits/syscall.h.
42119 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42120 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42121 ($(inst_includedir)/bits/syscall.h): Remove rule.
42122 ($(objpfx)bits/syscall.d): Include instead of
42123 $(objpfx)syscall-list.d.
42124 (generated): Change syscall-list.h and syscall-list.d to
42125 bits/syscall.h and bits/syscall.d.
42126
bb4e6db2
RM
421272012-03-14 Roland McGrath <roland@hack.frob.com>
42128
42129 [BZ #13846]
42130 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42131
aa4a2ae1
JM
421322012-03-14 Joseph Myers <joseph@codesourcery.com>
42133
e456826d
JM
42134 [BZ #13841]
42135 * math/s_csqrt.c: Include <float.h>.
42136 (__csqrt): Scale large or subnormal inputs.
42137 * math/s_csqrtf.c: Likewise.
42138 * math/s_csqrtl.c: Likewise.
42139 * math/libm-test.inc (csqrt_test): Add more tests.
42140 * sysdeps/i386/fpu/libm-test-ulps: Update.
42141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42142
aa4a2ae1
JM
42143 [BZ #13840]
42144 * math/libm-test.inc (hypot_test): Add more tests.
42145
7c10fd35
DM
421462012-03-13 David S. Miller <davem@davemloft.net>
42147
42148 [BZ #13840]
42149 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42150 double-precision for the calculation instead of scaling.
42151
f453b98b
JM
421522012-03-13 Joseph Myers <joseph@codesourcery.com>
42153
42154 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42155 manipulate bits before adding and subtracting TWO52[sx].
42156 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42158 Likewise.
42159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42160
09a3453f
DM
421612012-03-13 David S. Miller <davem@davemloft.net>
42162
8e59da90
DM
42163 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42164 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42166 rtld-global-offsets.h
42167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42168
2a8ab7f2
DM
42169 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42170 large parameters.
42171
10f62770
DM
42172 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42173
5f0bdb18
DM
42174 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42175 'err' in the ifdef scope in which it is actually used.
42176
09a3453f
DM
42177 * nss/nss_db/db-init.c: Include string.h
42178
b4b2eb5e
DM
421792012-03-12 David S. Miller <davem@davemloft.net>
42180
98bb2f1c
DM
42181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42182 masking out of the most significant byte of random value used.
42183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42184 Fix coding style in previous change.
42185
b4b2eb5e
DM
42186 * sysdeps/unix/sysv/linux/kernel-features.h
42187 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42188 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42189 expression.
42190 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42191 later.
42192
6e226b09
DM
421932012-03-11 David S. Miller <davem@davemloft.net>
42194
a1bcbd40
DM
42195 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42196 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42198 for 'resultvar' otherwise things get truncated on 64-bit.
42199
cb9d6174
DM
42200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42201 Fix masking out of the most significant byte of random value used.
42202
6e226b09
DM
42203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42204
058c132d
AS
422052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42206
42207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42208
2d2cd515
DM
422092012-03-09 David S. Miller <davem@davemloft.net>
42210
42211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42212 variables with appropriate CPP guards.
57f41c40
AS
42213 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42214 from the frame pointer, not the stack pointer. Correct layout
42215 comments. Fix test on resulting framesize and the management of
42216 the outregs buffer for pltexit. Preserve floating point return
42217 values across _dl_call_pltexit call.
2d2cd515
DM
42218 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42219 framesize and the management of the outregs buffer for pltexit.
42220 Preserve floating point return values across _dl_call_pltexit
42221 call.
57f41c40
AS
42222 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42223 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42224 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42225 (print_exit): Fix format string for return register value.
42226
9a07f9d0
JM
422272012-03-10 Joseph Myers <joseph@codesourcery.com>
42228
42229 * sunrpc/Makefile (others): Add rpcgen.
42230 ($(objpfx)rpcgen): Remove special build rule and dependency on
42231 libc.
42232 * sunrpc/rpcgen.c: New file.
42233
547b5e30
PE
422342012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42235
c524201a
PE
42236 [BZ #13673]
42237 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42238 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42239 * sysdeps/i386/crti.S: Likewise.
42240 * sysdeps/i386/crtn.S: Likewise.
42241 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42242 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42243 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42244 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42245 * sysdeps/sh/crti.S: Likewise.
42246 * sysdeps/sh/crtn.S: Likewise.
42247 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42248
7b6235f2
PE
42249 [BZ #13673]
42250 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42251 with URL.
42252 * locale/programs/locfile-kw.gperf: Likewise.
42253 * locale/programs/charmap-kw.h: Regenerated.
42254 * locale/programs/locfile-kw.h: Likewise.
42255
547b5e30
PE
42256 [BZ #13673]
42257 * intl/plural.y: Replace FSF snail mail address with URL.
42258 * intl/plural.c: Regenerated.
42259
5f0a5dae
RH
422602012-03-09 Richard Henderson <rth@twiddle.net>
42261
42262 * include/math_private.h: Remove file.
42263 * math/math_private.h: Move file ...
42264 * sysdeps/generic/math_private.h: ... here.
42265
b8c03620
RH
42266 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42267 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42268 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42269
4e234f5d 42270 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42271 and <math_private.h>.
42272 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42273 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42274 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42275 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42276 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42302 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42303 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42304 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42305 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42306 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42307 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42309 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42312 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42313 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42314 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42315 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42316 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42317 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42318 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42319 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42320 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42321 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42322 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42323 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42324 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42325 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42326 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42327 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42328 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42330 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42331 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42332 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42333 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42334 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42335 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42336 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42337 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42338 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42339 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42340 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42341 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42342 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42344 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42346 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42351 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42352 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42354 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42355 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42356 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42357 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42359 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42360 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42361 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42362 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42363 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42365 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42366 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42367 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42368 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42369 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42370 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42371 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42372 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42373 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42374 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42375 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42376 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42377 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42378 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42379 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42380 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42381 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42382 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42383 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42384 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42385 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42386 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42387 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42388 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42389 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42391 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42392 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42393 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42394 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42395 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42396 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42397 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42398 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42399 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42400 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42401 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42402 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42403 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42404 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42405 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42406 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42407 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42408 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42410 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42411 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42413 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42414 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42415 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42416 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42417 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42418 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42419 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42420 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42421 * sysdeps/ieee754/k_standard.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42474 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42489 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42495 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42496 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42502 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42505 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42513 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42515 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42520 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42521 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42526 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42527 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42528 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42529 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42530 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42531 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42532 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42535 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42536 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42537 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42538 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42539 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42542 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42546 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42547 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42548 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42549 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42550 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42551 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42555 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42556 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42557 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42558 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42559 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42560 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42561 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42562 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42563 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42564 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42565 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42566 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42567 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42568 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42569 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42570 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42571 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42572 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42573 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42574 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42576 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42577 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42578 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42579 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42581 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42582 * sysdeps/ieee754/s_lib_version.c: Likewise.
42583 * sysdeps/ieee754/s_matherr.c: Likewise.
42584 * sysdeps/ieee754/s_signgam.c: Likewise.
42585 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42586 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42587 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42588 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42589 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42590 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42591 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42592 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42593 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42594 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42595 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42596 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42597 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42598 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42599 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42600 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42601 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42602 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42603 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42606
1991fa03
JM
426072012-03-09 Joseph Myers <joseph@codesourcery.com>
42608
42609 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42610 * sunrpc/rpc_main.c: Likewise.
42611 * sunrpc/rpc_svcout.c: Likewise.
42612
60d6f5a6
DM
426132012-03-09 David S. Miller <davem@davemloft.net>
42614
42615 * include/math_private.h: New file.
42616
4962050e
JM
426172012-03-09 Joseph Myers <joseph@codesourcery.com>
42618
02a6f887
JM
42619 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42620 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42621 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42622 from <bits/socket_type.h>.
42623 (enum __socket_type): Don't define here.
42624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42626 bits/socket_type.h.
42627
c6e013c1
JM
42628 [BZ #13566]
42629 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42630 checking __USE_GNU.
42631
4962050e
JM
42632 * Makerules ($(inst_includedir)/%.h): New rule.
42633 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42634 (install-others): Remove variable setting.
42635 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42636
38842f45
RH
426372012-03-08 Richard Henderson <rth@twiddle.net>
42638
67bb6da6
RH
42639 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42640 from macro to inline function; merge with the
42641 !__LIBC_INTERNAL_MATH_INLINES version.
42642 (__ieee754_sqrtf): Likewise.
42643
15194b4b
RH
42644 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42645 to inline function.
42646 (__rintf, __floor, __floorf): Likewise.
42647
64e21ede
RH
42648 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42649 macro to inline function.
42650 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42651
38842f45
RH
42652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42653 not <math/math_private.h>.
42654
c64bf5fe
DM
426552012-03-08 David S. Miller <davem@davemloft.net>
42656
42657 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42658 copyright year.
42659 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42660
82d86f28
TS
426612012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42662
42663 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42664 normalization.
42665 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42666 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42667
aea5d727
UD
426682012-03-08 Ulrich Drepper <drepper@gmail.com>
42669
42670 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42671 be defined individually, they must be defined as a block. Define
42672 S for printing a string instead of hidint the different by using a
42673 macro for adding the 'l'.
42674 * stdio-common/tst-fphex-wide.c: Adjust.
42675
70bca0a3
MP
426762012-03-07 Marek Polacek <polacek@redhat.com>
42677
42678 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42679
65b81130
MP
426802012-03-08 Marek Polacek <polacek@redhat.com>
42681
42682 [BZ #13806]
42683 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42684 * stdio-common/tst-fphex.c: Define a few macros to make the
42685 test reusable. Use them.
42686 * stdio-common/tst-fphex-wide.c: New file.
42687
07037eeb
JM
426882012-03-08 Joseph Myers <joseph@codesourcery.com>
42689
a7a93d50
JM
42690 [BZ #6911]
42691 * manual/macros.texi (gnusystems): New macro.
42692 (nongnusystems): Likewise.
42693 (gnulinuxhurdsystems): Likewise.
42694 (gnuhurdsystems): Likewise..
42695 (gnulinuxsystems): Likewise.
42696 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42697 variants of the GNU system, not "GNU system".
42698 * manual/conf.texi: Likewise.
42699 * manual/errno.texi: Likewise. Update example of errno macro
42700 expansion.
42701 * manual/filesys.texi: Likewise.
42702 (getumask): Document as specific to GNU/Hurd.
42703 * manual/install.texi: Likewise. Reword some references to
42704 GNU/Linux.
42705 * manual/intro.texi: Likewise.
42706 * manual/io.texi: Likewise.
42707 (File Name Portability): Detail which constraints are inapplicable
42708 to all GNU systems and which are only inapplicable to GNU/Hurd.
42709 * manual/job.texi: Likewise.
42710 * manual/llio.texi: Likewise.
42711 (O_NOCTTY): Document as present on GNU/Linux.
42712 * manual/maint.texi: Likewise.
42713 * manual/memory.texi: Likewise.
42714 * manual/pattern.texi: Likewise.
42715 * manual/pipe.texi: Likewise.
42716 * manual/process.texi: Likewise.
42717 * manual/resource.texi: Likewise.
42718 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42719 child on GNU/Hurd.
42720 * manual/setjmp.texi: Likewise.
42721 * manual/signal.texi: Likewise.
42722 * manual/startup.texi: Likewise.
42723 * manual/stdio.texi: Likewise.
42724 * manual/terminal.texi: Likewise.
42725 (ONLCR): Document as POSIX.
42726 (OXTABS): Document availability on GNU/Linux as XTABS.
42727 (ONOEOT): Document availability separately from other bits.
42728 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42729 * manual/time.texi: Likewise.
42730 * manual/users.texi: Likewise.
42731 * INSTALL: Regenerated.
42732 * sysdeps/gnu/errlist.c: Regenerated.
42733
07037eeb
JM
42734 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42735 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42736 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42737 puts.
42738 * configure: Regenerated.
42739
d1d3431a
JM
427402012-03-07 Joseph Myers <joseph@codesourcery.com>
42741
af6a1e37
JM
42742 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42743 default includes instead of AC_HEADER_CHECK.
42744 * sysdeps/i386/configure: Regenerated.
42745
d1d3431a
JM
42746 [BZ #10716]
42747 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42748 * math/s_cacoshf.c (__cacoshf): Likewise.
42749 * math/s_cacoshl.c (__cacoshl): Likewise.
42750 * math/s_casinh.c (__casinh): Set signs of result from argument.
42751 * math/s_casinhf.c (__casinhf): Likewise.
42752 * math/s_casinhl.c (__casinhl): Likewise.
42753 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42754 (casinh_test): Add more tests.
42755 * sysdeps/i386/fpu/libm-test-ulps: Update.
42756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42757
482ff4da
UD
427582012-03-07 Ulrich Drepper <drepper@gmail.com>
42759
872fda05
UD
42760 * po/zh_TW.po: Update from translation team.
42761
a4300c7a
UD
42762 * login/Makefile (distribute): Remove variable.
42763 * catgets/Makefile: Likewise.
42764 * mach/Makefile: Likewise.
42765 * malloc/Makefile: Likewise.
42766 * misc/Makefile: Likewise.
42767 * iconv/Makefile: Likewise.
42768 * nscd/Makefile: Likewise.
42769 * hurd/Makefile: Likewise.
42770 * manual/Makefile: Likewise.
42771 * locale/Makefile: Likewise.
42772 * intl/Makefile: Likewise.
42773 * conform/Makefile: Likewise.
42774 * nss/Makefile: Likewise.
42775 * time/Makefile: Likewise.
42776 * soft-fp/Makefile: Likewise.
42777 * dirent/Makefile: Likewise.
42778 * gmon/Makefile: Likewise.
42779 * po/Makefile: Likewise.
42780 * rt/Makefile: Likewise.
42781 * socket/Makefile: Likewise.
42782 * math/Makefile: Likewise.
42783 * signal/Makefile: Likewise.
42784 * debug/Makefile: Likewise.
42785 * elf/Makefile: Likewise.
42786 * timezone/Makefile: Likewise.
42787 * stdlib/Makefile: Likewise.
42788 * iconvdata/Makefile: Likewise.
42789 * sunrpc/Makefile: Likewise.
42790 * io/Makefile: Likewise.
42791 * argp/Makefile: Likewise.
42792 * inet/Makefile: Likewise.
42793 * hesiod/Makefile: Likewise.
42794 * grp/Makefile: Likewise.
42795 * csu/Makefile: Likewise.
42796 * wctype/Makefile: Likewise.
42797 * crypt/Makefile: Likewise.
42798 * libio/Makefile: Likewise.
42799 * string/Makefile: Likewise.
42800 * nis/Makefile: Likewise.
42801 * resolv/Makefile: Likewise.
42802 * stdio-common/Makefile: Likewise.
42803 * wcsmbs/Makefile: Likewise.
42804 * dlfcn/Makefile: Likewise.
42805 * posix/Makefile: Likewise.
42806
3b7c4e74 42807 [BZ #6959]
482ff4da
UD
42808 * timezone/Makefile: Don't install timezone files, just the programs
42809 and scripts.
42810
f72ed77d
UD
428112012-03-06 Ulrich Drepper <drepper@gmail.com>
42812
a000466f
UD
42813 * nss/databases.def: Add missing gshadow entry.
42814
f72ed77d
UD
42815 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42816
a53b7a4e
MP
428172012-03-06 Marek Polacek <polacek@redhat.com>
42818
42819 [BZ #13726]
42820 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42821 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42822 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42823 * stdio-common/tst-long-dbl-fphex.c: New file.
42824
e9258400
DM
428252012-03-06 David S. Miller <davem@davemloft.net>
42826
42827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42828 (set_obp_int): New function.
42829 (get_obp_int): New function.
42830 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
42831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42832 Avoid unused variable warnings on 'val' and use builtin_expect.
42833 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42834 __builtin_expect.
e9258400
DM
42835 (INLINE_CLONE_SYSCALL): Likewise.
42836
3bd2c723
DM
428372012-03-05 David S. Miller <davem@davemloft.net>
42838
42839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42840
bbb78d03
AS
428412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42842
884c5db4
AS
42843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42844
bbb78d03
AS
42845 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42846 only for |x| >= 40.
42847 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42848
1c9f702a 428492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
42850
42851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42852 Replace gettimeofday with __vdso_gettimeofday.
42853
7be16f82
RM
42854 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42855 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42856 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
42857
42858 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42859 time with __vdso_time.
42860
ed58a00f
JM
428612012-03-05 Joseph Myers <joseph@codesourcery.com>
42862
42863 * manual/lang.texi (size_t): Note types to which size_t may be
42864 equivalent with the GNU C Library, but do not describe when
42865 differences between them are significant.
42866
30ee4ced
AJ
428672012-03-05 Andreas Jaeger <aj@suse.de>
42868
42869 * sysdeps/i386/fpu/libm-test-ulps: Update.
42870
b7cd39e8
JM
428712012-03-05 Joseph Myers <joseph@codesourcery.com>
42872
42873 [BZ #3976]
42874 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42875 (__ieee754_pow): Save and restore rounding mode and use
42876 round-to-nearest for main computations.
42877 * math/libm-test.inc (pow_test_tonearest): New function.
42878 (pow_test_towardzero): Likewise.
42879 (pow_test_downward): Likewise.
42880 (pow_test_upward): Likewise.
42881 (main): Call the new functions.
42882 * sysdeps/i386/fpu/libm-test-ulps: Update.
42883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
42884
42885 [BZ #3976]
42886 * math/libm-test.inc (cosh_test_tonearest): New function.
42887 (cosh_test_towardzero): Likewise.
42888 (cosh_test_downward): Likewise.
42889 (cosh_test_upward): Likewise.
42890 (sinh_test_tonearest): Likewise.
42891 (sinh_test_towardzero): Likewise.
42892 (sinh_test_downward): Likewise.
42893 (sinh_test_upward): Likewise.
42894 (main): Call the new functions.
42895 * sysdeps/i386/fpu/libm-test-ulps: Update.
42896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42897
6c6a98c9
TV
428982012-03-05 Tom de Vries <tom@codesourcery.com>
42899
42900 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42901 default stack guard is set in last bytes.
42902 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42903
21bb2d2e 429042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 42905
21bb2d2e 42906 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 42907
21bb2d2e
AJ
42908 [BZ #13656]
42909 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42910 possibly allocate from heap instead of stack.
42911 * stdio-common/bug-vfprintf-nargs.c: New file.
42912 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 42913
c6922934
AS
429142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42915
42916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42917
bc957d53
MP
429182012-03-03 Marek Polacek <polacek@redhat.com>
42919
42920 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42921 * math/math_private.h: Likewise.
42922 * stdlib/tst-strtod.c: Likewise.
42923 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42924 * sysdeps/x86_64/bits/atomic.h: Likewise.
42925
6358490d
DM
429262012-03-02 David S. Miller <davem@davemloft.net>
42927
42928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42932 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42933 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42934 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42935 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42936
01ae168d
RM
429372012-03-02 Roland McGrath <roland@hack.frob.com>
42938
d9a17c07
RM
42939 [BZ #13792]
42940 * manual/examples/README: New file, says the example source files
42941 can be used under GPL>=2.
42942 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42943 line containing just "*/".
42944 * manual/examples/add.c: Add copyright header (GPL>=2).
42945 * manual/examples/argp-ex1.c: Likewise.
42946 * manual/examples/argp-ex2.c: Likewise.
42947 * manual/examples/argp-ex3.c: Likewise.
42948 * manual/examples/argp-ex4.c: Likewise.
42949 * manual/examples/atexit.c: Likewise.
42950 * manual/examples/db.c: Likewise.
42951 * manual/examples/dir.c: Likewise.
42952 * manual/examples/dir2.c: Likewise.
42953 * manual/examples/execinfo.c: Likewise.
42954 * manual/examples/filecli.c: Likewise.
42955 * manual/examples/filesrv.c: Likewise.
42956 * manual/examples/fmtmsgexpl.c: Likewise.
42957 * manual/examples/genpass.c: Likewise.
42958 * manual/examples/inetcli.c: Likewise.
42959 * manual/examples/inetsrv.c: Likewise.
42960 * manual/examples/isockad.c: Likewise.
42961 * manual/examples/longopt.c: Likewise.
42962 * manual/examples/memopen.c: Likewise.
42963 * manual/examples/memstrm.c: Likewise.
42964 * manual/examples/mkfsock.c: Likewise.
42965 * manual/examples/mkisock.c: Likewise.
42966 * manual/examples/mygetpass.c: Likewise.
42967 * manual/examples/pipe.c: Likewise.
42968 * manual/examples/popen.c: Likewise.
42969 * manual/examples/rprintf.c: Likewise.
42970 * manual/examples/search.c: Likewise.
42971 * manual/examples/select.c: Likewise.
42972 * manual/examples/setjmp.c: Likewise.
42973 * manual/examples/sigh1.c: Likewise.
42974 * manual/examples/sigusr.c: Likewise.
42975 * manual/examples/stpcpy.c: Likewise.
42976 * manual/examples/strdupa.c: Likewise.
42977 * manual/examples/strftim.c: Likewise.
42978 * manual/examples/strncat.c: Likewise.
42979 * manual/examples/subopt.c: Likewise.
42980 * manual/examples/swapcontext.c: Likewise.
42981 * manual/examples/termios.c: Likewise.
42982 * manual/examples/testopt.c: Likewise.
42983 * manual/examples/testpass.c: Likewise.
42984 * manual/examples/timeval_subtract.c: Likewise.
42985
01ae168d
RM
42986 [BZ #13792]
42987 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42988 function to ...
42989 * manual/timeval_subtract.c.texi: ... here, new file.
42990
49efa33d
DM
429912012-03-02 David S. Miller <davem@davemloft.net>
42992
42993 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42994
28afd92d
JM
429952012-03-02 Joseph Myers <joseph@codesourcery.com>
42996
804360ed
JM
42997 [BZ #3976]
42998 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42999 (__sin): Save and restore rounding mode and use round-to-nearest
43000 for all computations.
43001 (__cos): Save and restore rounding mode and use round-to-nearest
43002 for all computations.
43003 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43004 <fenv.h>.
43005 (tan): Save and restore rounding mode and use round-to-nearest for
43006 all computations.
43007 * math/libm-test.inc (cos_test_tonearest): New function.
43008 (cos_test_towardzero): Likewise.
43009 (cos_test_downward): Likewise.
43010 (cos_test_upward): Likewise.
43011 (sin_test_tonearest): Likewise.
43012 (sin_test_towardzero): Likewise.
43013 (sin_test_downward): Likewise.
43014 (sin_test_upward): Likewise.
43015 (tan_test_tonearest): Likewise.
43016 (tan_test_towardzero): Likewise.
43017 (tan_test_downward): Likewise.
43018 (tan_test_upward): Likewise.
43019 (main): Call the new functions.
43020 * sysdeps/i386/fpu/libm-test-ulps: Update.
43021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43022
a6d06d7b
JM
43023 [BZ #10135]
43024 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43025 small n, then large n, before computing and testing k+n.
43026 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43028 Likewise.
43029 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43030 Likewise.
43031 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43032 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43034 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43035 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43036 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43039 * math/libm-test.inc (scalbn_test): Add more tests.
43040 (scalbln_test): Likewise.
43041
07e12bb3
JM
43042 * manual/filesys.texi (mode_t): Describe constraints on size and
43043 signedness, not exact equivalence to a particular type.
43044 (ino_t): Likewise.
43045 (ino64_t): Likewise.
43046 (dev_t): Likewise.
43047 (nlink_t): Likewise.
43048 (blkcnt_t): Likewise.
43049 (blkcnt64_t): Likewise.
43050 * manual/llio.texi (off_t): Likewise.
43051
28afd92d
JM
43052 [BZ #3976]
43053 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43054 (__ieee754_exp): Save and restore rounding mode and use
43055 round-to-nearest for all computations.
43056 * math/libm-test.inc (exp_test_tonearest): New function.
43057 (exp_test_towardzero): Likewise.
43058 (exp_test_downward): Likewise.
43059 (exp_test_upward): Likewise.
43060 (main): Call the new functions.
43061 * sysdeps/i386/fpu/libm-test-ulps: Update.
43062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43063
b1eeb65d
CD
430642012-03-01 Chris Demetriou <cgd@google.com>
43065
43066 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43067 have predictable order.
43068
53362a4b
DM
430692012-03-01 David S. Miller <davem@davemloft.net>
43070
3c969083
DM
43071 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43072
759707de
DM
43073 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43074 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43075 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43076 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43077
dfdb8ff2
DM
43078 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43079 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43080 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43082 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43083 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43084 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43085 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43086 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43087
ead89f96
DM
43088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43089
7f66bd07
DM
43090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43091 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43092 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43093
53362a4b
DM
43094 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43095 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43096 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43097 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43098 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43099 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43100 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43101 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43102 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43103 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43104 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43110 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43111 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43112 * sysdeps/sparc/elf/configure: Regenerated.
43113
7b1902cb
JM
431142012-03-01 Joseph Myers <joseph@codesourcery.com>
43115
bec039bc
JM
43116 * configure.in (AS, LD): Require binutils 2.20 or later.
43117 * configure: Regenerated.
43118 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43119 as required minimum version.
43120 * INSTALL: Regenerated.
43121
7b1902cb
JM
43122 [BZ #2541]
43123 [BZ #4108]
43124 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43125 before squaring exponent.
43126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43127 bottom long double and 27 bits of top long double before squaring
43128 exponent.
43129 * math/libm-test.inc (erfc_test): Add more tests.
43130 * sysdeps/i386/fpu/libm-test-ulps: Update.
43131 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43133
f775c276
KT
431342012-03-01 Kai Tietz <ktietz@redhat.com>
43135
43136 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43137 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43138 containing bit-fields.
43139 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43140 * soft-fp/single.h (_FP_UNION_S): Likewise.
43141 * soft-fp/double.h (_FP_UNION_D): Likewise.
43142
5b8a4d4a
JM
431432012-02-29 Joseph Myers <joseph@codesourcery.com>
43144
0bab47b6
JM
43145 [BZ #13786]
43146 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43147 not include ../strcmp.S.
43148 [USE_AS_STRNCASECMP_L]: Likewise.
43149 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43150 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43151 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43152 (__strncasecmp_l_ia32): Define as alias to
43153 __strncasecmp_l_nonascii.
43154
0fcad3e2
JM
43155 [BZ #5794]
43156 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43157 * sysdeps/i386/fpu/libm-test-ulps: Update.
43158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43159
5b8a4d4a
JM
43160 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43162
8fdceb2e
JL
431632012-02-29 Jeff Law <law@redhat.com>
43164
43165 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43166 out of bounds read.
43167
1f393a11
MP
431682012-02-29 Marek Polacek <polacek@redhat.com>
43169
43170 [BZ #13706]
43171 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43172 * elf/Makefile: Add rules to run tst-unused-dep.out.
43173
8847f037
DM
431742012-02-28 David S. Miller <davem@davemloft.net>
43175
43176 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43177 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43180 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43181 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43182
169d7f11
JM
431832012-02-29 Joseph Myers <joseph@codesourcery.com>
43184
43185 * math/libm-test.inc (llround_test): Move one test from
43186 lround_test. Use TEST_f_L in moved test.
43187 (lround_test): Move misplaced test to llround_test. Add testcase
43188 from bug 2561.
43189
39adf059
UD
431902012-02-28 Ulrich Drepper <drepper@gmail.com>
43191
43192 * sysdeps/x86_64/fpu/e_expf.S: New file.
43193 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43194
71b5d1c5
SB
431952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43196
43197 [BZ #13637]
43198 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43199 of remain_len that may cause incomplete multi-byte character and
43200 false match.
43201 * posix/bug-regex33.c: New file.
43202 * posix/Makefile (tests): Add bug-regex33.
43203
1f77f049
JM
432042012-02-28 Joseph Myers <joseph@codesourcery.com>
43205
43206 * manual/macros.texi: New file.
43207 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43208 * manual/libc.texinfo: Include macros.texi.
43209 * manual/creatute.texi: Likewise.
43210 * manual/install.texi: Likewise.
43211 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43212 @glibcadj{} in references to the GNU C Library.
43213 * manual/charset.texi: Likewise.
43214 * manual/conf.texi: Likewise.
43215 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43216 when not using those macros.
43217 * manual/creature.texi: Likewise.
43218 * manual/crypt.texi: Likewise.
43219 * manual/errno.texi: Likewise.
43220 * manual/filesys.texi: Likewise.
43221 * manual/header.texi: Likewise.
43222 * manual/install.texi: Likewise.
43223 * manual/intro.texi: Likewise.
43224 * manual/io.texi: Likewise.
43225 * manual/job.texi: Likewise.
43226 * manual/lang.texi: Likewise.
43227 * manual/libc.texiinfo: Likewise.
43228 * manual/llio.texi: Likewise.
43229 * manual/locale.texi: Likewise.
43230 * manual/maint.texi: Likewise.
43231 * manual/math.texi: Likewise.
43232 * manual/memory.texi: Likewise.
43233 * manual/message.texi: Likewise.
43234 * manual/nss.texi: Likewise.
43235 * manual/pattern.texi: Likewise.
43236 * manual/process.texi: Likewise.
43237 * manual/resource.texi: Likewise.
43238 * manual/search.texi: Likewise.
43239 * manual/setjmp.texi: Likewise.
43240 * manual/signal.texi: Likewise.
43241 * manual/socket.texi: Likewise.
43242 * manual/startup.texi: Likewise.
43243 * manual/stdio.texi: Likewise.
43244 * manual/string.texi: Likewise.
43245 * manual/sysinfo.texi: Likewise.
43246 * manual/syslog.texi: Likewise.
43247 * manual/terminal.texi: Likewise.
43248 * manual/time.texi: Likewise.
43249 * manual/users.texi: Likewise.
43250 * INSTALL: Regenerated.
43251 * NOTES: Regenerated.
d40c5d54 43252 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43253
450bf206
AS
432542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43255
43256 * include/dirent.h: Include <dirstream.h> before
43257 <dirent/dirent.h>.
43258
741a235b
DM
432592012-02-28 David S. Miller <davem@davemloft.net>
43260
43261 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43262 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43263 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43264 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43265
d6b5aa58
DM
432662012-02-27 David S. Miller <davem@davemloft.net>
43267
1aff59a3
DM
43268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43270 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43271 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43272
d6b5aa58
DM
43273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43274 frame pointer instead of stack pointer relative arg slot.
43275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43276 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43277 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43278
433f48bf
CD
432792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43280
43281 [BZ #3992]
43282 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43283
d674b76d
DM
432842012-02-27 David S. Miller <davem@davemloft.net>
43285
43286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43290 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43291 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43292 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43293 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43294
0e7727f7
JM
432952012-02-27 Joseph Myers <joseph@codesourcery.com>
43296
43297 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43298 later. Allow versions 5-9.
43be4ca2 43299 * configure: Regenerated.
0e7727f7
JM
43300 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43301 required minimum version and 4.6 as recommended version. Do not
43302 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43303 * INSTALL: Regenerated.
0e7727f7 43304
a78bc654
DM
433052012-02-27 David S. Miller <davem@davemloft.net>
43306
428d5830
DM
43307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43311 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43312 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43313 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43314 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43315
a78bc654
DM
43316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43317 manipulate bits before adding and subtracting TWO112[sx].
43318 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43319
4579f81c
RM
433202012-02-27 Roland McGrath <roland@hack.frob.com>
43321
36c8acb4
RM
43322 [BZ #13775]
43323 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43324 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43325 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43326 being in POSIX, because they are in 1003.1-2008.
43327
84ad622b
RM
43328 * rt/tst-aio.c: Include <fcntl.h>.
43329 * rt/tst-aio7.c: Likewise.
43330 * rt/tst-aio64.c: Likewise.
43331
4579f81c
RM
43332 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43333
abd923db
JM
433342012-02-27 Joseph Myers <joseph@codesourcery.com>
43335
43336 * manual/install.texi (--with-headers): Describe headers as
43337 interface headers, not private headers.
43338 (Specific advice for GNU/Linux systems): Describe use of headers
43339 from "make headers_install", not private headers from older
43340 kernels.
43be4ca2 43341 * INSTALL: Regenerated.
abd923db
JM
43342 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43343 Change to 2.6.19.
43344 * sysdeps/unix/sysv/linux/configure: Regenerated.
43345
6664049b
JM
43346 * manual/llio.texi (fclean): Remove documentation.
43347
bb8b6697
JM
43348 * manual/Makefile (libc-texi-generated): New variable. Include
43349 version.texi.
43350 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43351 $(libc-texi-generated), not duplicated list of files.
43352 (version.texi, stamp-version): New rules.
43353 (realclean): Remove $(libc-texi-generated), not individual files
43354 from that list. Do not remove dir-add.texinfo.
43355 * manual/libc.texinfo: Comment out uses of edition numbers and
43356 references to printed manual. Remove last-updated dates.
43357 (EDITION): Comment out.
43358 (ISBN): Likewise.
43359 (VERSION, UPDATED): Remove.
43360 (version.texi): Include.
43361
12e5c3b9
AS
433622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43363
43364 * sysdeps/posix/spawni.c: Include <signal.h>.
43365 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43366 * sysdeps/pthread/aio_fsync.c: Likewise.
43367
4efeffc1 433682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43369
ba63ba08
UD
43370 * conform/Makefile (tests): Run only when not cross-compiling and
43371 when fast-check is not defined.
43372
d94a4670
UD
43373 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43374 * conform/data/limits.h-data: Fixes for POSIX2008.
43375 * conform/run-conformtest.sh: Run all tests.
43376 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43377 headers.
43378 * include/bits/dlfcn.h: Likewise.
43379 * include/langinfo.h: Likewise.
43380 * include/monetary.h: Likewise.
43381 * include/sys/poll.h: Likewise.
43382
43383 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43384 for __USE_GNU.
43385 * posix/spawn.h: Define __need_sigset_t.
43386 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43387 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43388 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43389 to get sigevent_t only.
43390 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43391 only for __USE_GNU.
43392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43393 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43394 process_vm_writev only for __USE_GNU.
43395 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43396
43397 * conform/Makefile: For now ignore errors from run-conformtest.
43398 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43399 POSIX to avoid namespace pollution. Don't prepend headers.
43400 * conform/data/aio.h-data: Fixes for POSIX testing.
43401 * conform/data/fcntl.h-data: Likewise.
43402 * conform/data/glob.h-data: Likewise.
43403 * conform/data/grp.h-data: Likewise.
43404 * conform/data/pthread.h-data: Likewise.
43405 * conform/data/pwd.h-data: Likewise.
43406 * conform/data/signal.h-data: Likewise.
43407 * conform/data/spawn.h-data: Likewise.
43408 * conform/data/stdio.h-data: Likewise.
43409 * conform/data/stdlib.h-data: Likewise.
43410 * conform/data/stropts.h-data: Likewise.
43411 * conform/data/sys/mman.h-data: Likewise.
43412 * conform/data/sys/stat.h-data: Likewise.
43413 * conform/data/sys/types.h-data: Likewise.
43414 * conform/data/sys/wait.h-data: Likewise.
43415 * conform/data/time.h-data: Likewise.
43416 * conform/data/unistd.h-data: Likewise.
43417 * conform/data/utime.h-data: Likewise.
43418
43419 * io/sys/stat.h: fchmod was always in POSIX.
43420 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43421 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43422 * rt/aio.h: Define __need_timespec before including <time.h>.
43423 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43424 struct. Add forward declaration of pthread_attr_t and use it in
43425 sigevent.
43426 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43428 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43429 always remove CLK_TCK definition.
43430
c20105c3
AS
434312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43432
43433 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43434
7a270350
UD
434352012-02-25 Ulrich Drepper <drepper@gmail.com>
43436
31341567
UD
43437 * conform/run-conformtest.sh: New file.
43438 * conform/Makefile: Run run-conformtest for tests.
43439 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43440 support.
43441
43442 * conform/data/uchar.h-data: New file.
43443 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43444 * conform/data/arpa/inet.h-data: Likewise.
43445 * conform/data/assert.h-data: Likewise.
43446 * conform/data/complex.h-data: Likewise.
43447 * conform/data/cpio.h-data: Likewise.
43448 * conform/data/ctype.h-data: Likewise.
43449 * conform/data/dirent.h-data: Likewise.
43450 * conform/data/dlfcn.h-data: Likewise.
43451 * conform/data/errno.h-data: Likewise.
43452 * conform/data/fcntl.h-data: Likewise.
43453 * conform/data/float.h-data: Likewise.
43454 * conform/data/fmtmsg.h-data: Likewise.
43455 * conform/data/fnmatch.h-data: Likewise.
43456 * conform/data/ftw.h-data: Likewise.
43457 * conform/data/glob.h-data: Likewise.
43458 * conform/data/grp.h-data: Likewise.
43459 * conform/data/iconv.h-data: Likewise.
43460 * conform/data/inttypes.h-data: Likewise.
43461 * conform/data/langinfo.h-data: Likewise.
43462 * conform/data/libgen.h-data: Likewise.
43463 * conform/data/limits.h-data: Likewise.
43464 * conform/data/locale.h-data: Likewise.
43465 * conform/data/math.h-data: Likewise.
43466 * conform/data/monetary.h-data: Likewise.
43467 * conform/data/mqueue.h-data: Likewise.
43468 * conform/data/ndbm.h-data: Likewise.
43469 * conform/data/net/if.h-data: Likewise.
43470 * conform/data/netdb.h-data: Likewise.
43471 * conform/data/netinet/in.h-data: Likewise.
43472 * conform/data/nl_types.h-data: Likewise.
43473 * conform/data/poll.h-data: Likewise.
43474 * conform/data/pthread.h-data: Likewise.
43475 * conform/data/pwd.h-data: Likewise.
43476 * conform/data/regex.h-data: Likewise.
43477 * conform/data/sched.h-data: Likewise.
43478 * conform/data/search.h-data: Likewise.
43479 * conform/data/semaphore.h-data: Likewise.
43480 * conform/data/setjmp.h-data: Likewise.
43481 * conform/data/signal.h-data: Likewise.
43482 * conform/data/spawn.h-data: Likewise.
43483 * conform/data/stdarg.h-data: Likewise.
43484 * conform/data/stdio.h-data: Likewise.
43485 * conform/data/stdlib.h-data: Likewise.
43486 * conform/data/string.h-data: Likewise.
43487 * conform/data/strings.h-data: Likewise.
43488 * conform/data/stropts.h-data: Likewise.
43489 * conform/data/sys/ipc.h-data: Likewise.
43490 * conform/data/sys/mman.h-data: Likewise.
43491 * conform/data/sys/msg.h-data: Likewise.
43492 * conform/data/sys/resource.h-data: Likewise.
43493 * conform/data/sys/select.h-data: Likewise.
43494 * conform/data/sys/sem.h-data: Likewise.
43495 * conform/data/sys/shm.h-data: Likewise.
43496 * conform/data/sys/socket.h-data: Likewise.
43497 * conform/data/sys/stat.h-data: Likewise.
43498 * conform/data/sys/statvfs.h-data: Likewise.
43499 * conform/data/sys/time.h-data: Likewise.
43500 * conform/data/sys/timeb.h-data: Likewise.
43501 * conform/data/sys/times.h-data: Likewise.
43502 * conform/data/sys/types.h-data: Likewise.
43503 * conform/data/sys/uio.h-data: Likewise.
43504 * conform/data/sys/un.h-data: Likewise.
43505 * conform/data/sys/utsname.h-data: Likewise.
43506 * conform/data/sys/wait.h-data: Likewise.
43507 * conform/data/syslog.h-data: Likewise.
43508 * conform/data/tar.h-data: Likewise.
43509 * conform/data/termios.h-data: Likewise.
43510 * conform/data/utime.h-data: Likewise.
43511 * conform/data/utmpx.h-data: Likewise.
43512 * conform/data/varargs.h-data: Likewise.
43513 * conform/data/wchar.h-data: Likewise.
43514 * conform/data/wctype.h-data: Likewise.
43515 * conform/data/wordexp.h-data: Likewise.
43516
43517 * include/stropts.h: New file.
43518 * include/uchar.h: New file.
43519 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43520 * include/assert.h: Likewise.
43521 * include/ctype.h: Likewise.
43522 * include/dirent.h: Likewise.
43523 * include/dlfcn.h: Likewise.
43524 * include/fcntl.h: Likewise.
43525 * include/fnmatch.h: Likewise.
43526 * include/glob.h: Likewise.
43527 * include/grp.h: Likewise.
43528 * include/libio.h: Likewise.
43529 * include/locale.h: Likewise.
43530 * include/math.h: Likewise.
43531 * include/net/if.h: Likewise.
43532 * include/netdb.h: Likewise.
43533 * include/netinet/in.h: Likewise.
43534 * include/pthread.h: Likewise.
43535 * include/pwd.h: Likewise.
43536 * include/regex.h: Likewise.
43537 * include/sched.h: Likewise.
43538 * include/search.h: Likewise.
43539 * include/setjmp.h: Likewise.
43540 * include/signal.h: Likewise.
43541 * include/stdio.h: Likewise.
43542 * include/stdlib.h: Likewise.
43543 * include/string.h: Likewise.
43544 * include/sys/cdefs.h: Likewise.
43545 * include/sys/mman.h: Likewise.
43546 * include/sys/msg.h: Likewise.
43547 * include/sys/resource.h: Likewise.
43548 * include/sys/select.h: Likewise.
43549 * include/sys/socket.h: Likewise.
43550 * include/sys/stat.h: Likewise.
43551 * include/sys/statvfs.h: Likewise.
43552 * include/sys/time.h: Likewise.
43553 * include/sys/times.h: Likewise.
43554 * include/sys/uio.h: Likewise.
43555 * include/sys/utsname.h: Likewise.
43556 * include/sys/wait.h: Likewise.
43557 * include/termios.h: Likewise.
43558 * include/time.h: Likewise.
43559 * include/ulimit.h: Likewise.
43560 * include/unistd.h: Likewise.
43561 * include/utime.h: Likewise.
43562 * include/wchar.h: Likewise.
43563 * include/wctype.h: Likewise.
43564 * include/wordexp.h: Likewise.
43565
43566 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43567
7a270350
UD
43568 * time/time.h: TIME_UTC must be a macro.
43569 Make timespec_get available for ISO C11 only as well.
43570
7724defc
UD
435712012-02-24 Ulrich Drepper <drepper@gmail.com>
43572
43573 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43574 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43575
6b1d1d46
JM
435762012-02-24 Joseph Myers <joseph@codesourcery.com>
43577
43578 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43579
0f8bbd69
JM
435802012-02-24 Joseph Myers <joseph@codesourcery.com>
43581
43582 * manual/texinfo.tex: Update to version 2012-01-19.16.
43583
66ab80bc
JM
435842012-02-24 Joseph Myers <joseph@codesourcery.com>
43585
43586 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43587
74981cc5
RM
435882012-02-24 Roland McGrath <roland@hack.frob.com>
43589
ee968201
RM
43590 [BZ #13738]
43591 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43592 * manual/fdl-1.3.texi: New file.
43593 * manual/fdl-1.1.texi: File removed.
43594
74981cc5
RM
43595 [BZ #13738]
43596 * manual/libc.texinfo (FDL_VERSION): New @set.
43597 Use it for mention of FDL in cover text.
43598 (Documentation License): Use it in @include file name.
43599
7bb764bc
JM
436002012-02-22 Joseph Myers <joseph@codesourcery.com>
43601 Roland McGrath <roland@hack.frob.com>
43602
43603 [BZ #5461]
57f41c40
AS
43604 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43605 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43606 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43607 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43608 name.
43609 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43610
6cbeae47
JM
436112012-02-22 Joseph Myers <joseph@codesourcery.com>
43612
43613 [BZ #2547]
43614 [BZ #11365]
43615 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43616 manipulate bits before adding and subtracting TWO23[sx].
43617 * math/libm-test.inc (nearbyint_test): Add more tests.
43618
fe45ce09
JM
436192012-02-22 Joseph Myers <joseph@codesourcery.com>
43620
43621 [BZ #2548]
43622 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43623 bits before adding and subtracting TWO23[sx].
43624 * math/libm-test.inc (rint_test): Add more tests.
43625 (rint_test_tonearest): Likewise.
43626 (rint_test_towardzero): Likewise.
43627 (rint_test_downward): Likewise.
43628 (rint_test_upward: Likewise.
43629
ff3b3d82
JM
436302012-02-22 Joseph Myers <joseph@codesourcery.com>
43631
43632 [BZ #10110]
43633 * include/stdc-predef.h: New file. Extracted from features.h.
43634 * include/features.h: Include stdc-predef.h.
43635 * Makefile (headers): Add stdc-predef.h.
43636 * CONFORMANCE (Compiler limitations): Update.
43637
ef0aab35
JM
436382012-02-22 Joseph Myers <joseph@codesourcery.com>
43639
43640 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43641
58639409
DM
436422012-02-21 David S. Miller <davem@davemloft.net>
43643
43644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43645 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43646
c0e70b25
DM
436472012-02-20 David S. Miller <davem@davemloft.net>
43648
43649 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43650 using a normal save/restore sequence, rather than allocating a
43651 dummy stack frame just to store a frame pointer and restore.
43652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43653
fb06851d
JM
436542012-02-21 Joseph Myers <joseph@codesourcery.com>
43655
43656 * manual/install.texi: Fix stray word in line-wrapped comment.
43657
7a8b71c3
DM
436582012-02-20 David S. Miller <davem@davemloft.net>
43659
d510c123
DM
43660 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43661 both binutils and gcc support GOTDATA.
43662
0722d7c2
DM
43663 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43664 "rd %pc" in the PIC register setup sequences.
43665
3d2b3019
DM
43666 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43667 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43668 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43669 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43670 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43673 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43675 (SYSCALL_ERROR_HANDLER): Likewise.
43676 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43677 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43679 (SYSCALL_ERROR_HANDLER): Likewise.
43680
c80098a9
DM
43681 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43682 (HAVE_GCC_GOTDATA): New.
43683 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43684 relocation support in both binutils and gcc.
43685 * sysdeps/sparc/elf/configure: Regenerate.
43686
3a2545a0
DM
43687 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43688 * sysdeps/sparc/sparc32/elf/configure: Delete.
43689 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43690 * sysdeps/sparc/sparc64/elf/configure: Delete.
43691 * sysdeps/sparc/elf/configure.in: New file.
43692 * sysdeps/sparc/elf/configure: Generate.
43693
7a8b71c3
DM
43694 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43695 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43696 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43697 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43698 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43699
f1e86fca
JM
437002012-02-21 Joseph Myers <joseph@codesourcery.com>
43701
43702 * manual/install.texi: Do not mention specific glibc version
43703 numbers.
43704 * manual/libc.texinfo (VERSION, UPDATED): Update.
43705 (@copying): Use @copyright{} and range of years.
43706
0e7dfaef
JM
437072012-02-21 Joseph Myers <joseph@codesourcery.com>
43708
43709 [BZ #13695]
43710 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43711 [crti.S not in sysdirs] (generated): Do not append.
43712 [crti.S not in sysdirs] (omit-deps): Likewise.
43713 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43714 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43715 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43716 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43717 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43718 Likewise.
43719 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43720 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43721 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43722 * csu/defs.awk: Remove file.
43723 * sysdeps/generic/initfini.c: Likewise.
43724 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43725 variable.
43726 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43727 Likewise.
43728
599af3ca
JM
437292012-02-20 Joseph Myers <joseph@codesourcery.com>
43730
43731 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43732 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43733 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43735 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43736 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43737 <bits/epoll.h>.
43738 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43739 (__EPOLL_PACKED): Define to empty if not defined by
43740 <bits/epoll.h>.
43741 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43743 bits/epoll.h.
43744
0e499750
JM
437452012-02-20 Joseph Myers <joseph@codesourcery.com>
43746
43747 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43748 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43749 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43750 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43751 <bits/timerfd.h>.
43752 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43754 bits/timerfd.h.
43755
5ad91f6e
JM
437562012-02-20 Joseph Myers <joseph@codesourcery.com>
43757
43758 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43759 in C locale.
43760 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43761 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43764
06b99b02
AJ
437652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43766
43767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43768 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43769
7638c0fd
AS
437702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43771
43772 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43773 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43774 defined.
43775 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43776 Likewise.
43777 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43778 entry for 2.16.
43779
92221550
AJ
437802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43781
43782 * math/w_acos.c: Use non-signaling floating-point comparisons.
43783 * math/w_acosf.c: Likewise.
43784 * math/w_acosh.c: Likewise.
43785 * math/w_acoshf.c: Likewise.
43786 * math/w_acoshl.c: Likewise.
43787 * math/w_acosl.c: Likewise.
43788 * math/w_asin.c: Likewise.
43789 * math/w_asinf.c: Likewise.
43790 * math/w_asinl.c: Likewise.
43791 * math/w_atanh.c: Likewise.
43792 * math/w_atanhf.c: Likewise.
43793 * math/w_atanhl.c: Likewise.
43794 * math/w_exp2.c: Likewise.
43795 * math/w_exp2f.c: Likewise.
43796 * math/w_exp2l.c: Likewise.
43797 * math/w_j0.c: Likewise.
43798 * math/w_j0f.c: Likewise.
43799 * math/w_j0l.c: Likewise.
43800 * math/w_j1.c: Likewise.
43801 * math/w_j1f.c: Likewise.
43802 * math/w_j1l.c: Likewise.
43803 * math/w_jn.c: Likewise.
43804 * math/w_jnf.c: Likewise.
43805 * math/w_log.c: Likewise.
43806 * math/w_log10.c: Likewise.
43807 * math/w_log10f.c: Likewise.
43808 * math/w_log10l.c: Likewise.
43809 * math/w_log2.c: Likewise.
43810 * math/w_log2f.c: Likewise.
43811 * math/w_log2l.c: Likewise.
43812 * math/w_logf.c: Likewise.
43813 * math/w_logl.c: Likewise.
43814 * math/w_sqrt.c: Likewise.
43815 * math/w_sqrtf.c: Likewise.
43816 * math/w_sqrtl.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43820 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43821 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43822
ebaf36eb
JM
438232012-02-19 Joseph Myers <joseph@codesourcery.com>
43824
43825 [BZ #9739]
43826 * manual/string.texi (strnlen): Use correct parameter name in
43827 equivalent expression.
43828
71c254a6
JM
438292012-02-19 Joseph Myers <joseph@codesourcery.com>
43830
43831 [BZ #11174]
43832 * manual/users.texi (seteuid): Consistently use neweuid for
43833 argument name.
43834
16d2c631
JM
438352012-02-19 Joseph Myers <joseph@codesourcery.com>
43836
43837 [BZ #13704]
43838 * manual/nss.texi (Services in the NSS configuration): Correct
43839 list of services in example configuration file.
43840
cd837b09
NB
438412012-02-19 Nick Bowler <nbowler@draconx.ca>
43842
43843 [BZ #11322]
43844 * manual/arith.texi: Remove statements about negative zero
43845 behaving identically to zero.
43846
02c4bbad
JM
438472012-02-18 Joseph Myers <joseph@codesourcery.com>
43848
43849 [BZ #5993]
43850 * manual/install.texi: Do not document upgrading from libc5.
43851
366842e7
JM
438522012-02-18 Joseph Myers <joseph@codesourcery.com>
43853
43854 [BZ #4596]
43855 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43856
dd54084d
DM
438572012-02-18 David S. Miller <davem@davemloft.net>
43858
43859 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43860 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43861 %o7 across the call.
43862 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43863 instead.
43864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43865 SETUP_PIC_REG_LEAF.
43866 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43867 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43868 * sysdeps/sparc/crtn.S: Likewise.
43869
2bcc53a3
UD
438702012-02-17 Ulrich Drepper <drepper@gmail.com>
43871
43872 * aout/Makefile: Remove.
43873
09c093b5
RK
438742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43875
43876 [BZ #13058]
43877 * manual/examples/argp-ex1.c (main): Format definition in GNU
43878 style.
43879 * manual/examples/argp-ex2.c (main): Likewise.
43880 * manual/examples/argp-ex3.c (main): Likewise.
43881 * manual/examples/argp-ex4.c (main): Likewise.
43882 * manual/examples/longopt.c (main): Use new-style prototype
43883 definition.
43884 * manual/examples/strncat.c (main): Specify return type and use
43885 (void) for arguments.
43886 * manual/examples/subopt.c (main): Use char **argv argument.
43887
2ee633a2
JM
438882012-02-17 Joseph Myers <joseph@codesourcery.com>
43889
43890 [BZ #5077]
43891 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43892 rounding modes.
43893
0520adde
FB
438942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43895
43896 [BZ #6907]
43897 * manual/string.texi (strchr): Change when strchrnul is
43898 recommended.
43899
3f4081cd
DGM
439002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43901
43902 [BZ #174]
43903 * manual/locale.texi (setlocale): Document LOCPATH.
43904
d1b10e78
JM
439052012-02-17 Joseph Myers <joseph@codesourcery.com>
43906
43907 [BZ #10210]
43908 * manual/process.texi (execle): Move @dots{} before last argument.
43909
79c6869c
PB
439102012-02-17 Paul Bolle <pebolle@tiscali.nl>
43911
43912 [BZ #12047]
43913 * manual/charset.texi (Generic Charset Conversion): Fix typo
43914 (LC_TYPE -> LC_CTYPE).
43915
cc6e48bc
NB
439162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43917
43918 [BZ #5805]
43919 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43920 (scalbnf): Likewise.
43921 (scalbnl): Likewise.
43922 (scalbln): Likewise.
43923 (scalblnf): Likewise.
43924 (scalblnl): Likewise.
43925 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43926 (vwarnx): Likewise.
43927 (verr): Likewise.
43928 (verrx): Likewise.
43929 * manual/filesys.texi (telldir): Use braces around return type.
43930 * manual/llio.texi (mmap): Add space after comma.
43931 (mmap64): Likewise.
43932 * manual/math.texi (jn): Use @var{} on parameter names.
43933 (jnf): Likewise.
43934 (jnl): Likewise.
43935 (yn): Likewise.
43936 (ynf): Likewise.
43937 (ynl): Likewise.
43938 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43939 line.
43940 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43941 "...".
43942 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43943 (sched_get_priority_max): Likewise.
43944 * manual/signal.texi (sigvec): Add space after comma.
43945 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43946 names.
43947 (if_indextoname): Likewise.
43948 (if_freenameindex): Likewise.
43949 (sendto): Use ',' instead of '.' in prototype.
43950 * manual/startup.texi (syscall): Use @dots{} instead of literal
43951 "...".
43952 * manual/stdio.texi (__fpending): Separate initial words of
43953 paragraph from @deftypefun line.
43954 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43955 "...".
43956 (vsyslog): Use @var{} on parameter names.
43957 * manual/terminal.texi (stty): Use @var{} on parameter names.
43958 * manual/users.texi (getutmp): Use @var{} on parameter names.
43959 (getutmpx): Likewise.
43960
5b23062f
JM
439612012-02-17 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #6884]
43964 * manual/stdio.texi (fopen): Fix typos in description of
43965 ",ccs=STRING".
43966
8dee4833
AJ
439672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43968
43969 [BZ #4026]
43970 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43971 get clock_id definition.
43972
9078ce93
TS
439732012-02-17 Thomas Schwinge <thomas@schwinge.name>
43974
43975 [BZ #4822]
43976 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43977 (madvise): Cast every argument to void on its own.
43978
3835c55f
JM
439792012-02-17 Joseph Myers <joseph@codesourcery.com>
43980
43981 [BZ #9902]
43982 * manual/startup.texi (Exit Status): Fix typo.
43983
35c47e37
JM
439842012-02-17 Joseph Myers <joseph@codesourcery.com>
43985
43986 [BZ #10140]
43987 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43988 * manual/examples/argp-ex2.c: Likewise.
43989 * manual/examples/argp-ex3.c: Likewise.
43990
e3b69ca7
RH
439912012-02-16 Richard Henderson <rth@redhat.com>
43992
43993 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43994 * sysdeps/s390/s390-32/initfini.c: Remove.
43995 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43996 * sysdeps/s390/s390-64/initfini.c: Remove.
43997
df83af67
KK
439982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43999
44000 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44001 compiler output for sysdeps/generic/initfini.c.
44002 * sysdeps/sh/elf/initfini.c: Remove file.
44003
f63f3380
DM
440042012-02-16 David S. Miller <davem@davemloft.net>
44005
fb59b3a4
DM
44006 [BZ #11494]
44007 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44008
f63f3380
DM
44009 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44010 * sysdeps/sparc/crti.S: New file.
44011 * sysdeps/sparc/crtn.S: New file.
44012 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44013 * sysdeps/sparc/sparc64/Makefile: Likewise.
44014
df6a4a4a
MF
440152012-02-15 Mike Frysinger <vapier@gentoo.org>
44016
6dd8f3dc 44017 [BZ #3335]
df6a4a4a
MF
44018 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44019
1cac7236
RM
440202012-02-15 Roland McGrath <roland@hack.frob.com>
44021
d2c736f8
RM
44022 [BZ #4822]
44023 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44024
1cac7236
RM
44025 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44026 (write, read, close): Likewise.
44027 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44028
8e475601
JM
440292012-02-15 Joseph Myers <joseph@codesourcery.com>
44030
44031 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44032 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44033 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44034 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44035 <bits/signalfd.h>.
44036 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44038 bits/signalfd.h.
44039
ed656b40
MP
440402012-02-14 Marek Polacek <polacek@redhat.com>
44041
44042 * sysdeps/x86_64/crti.S: New file.
44043 * sysdeps/x86_64/crtn.S: New file.
44044 * sysdeps/x86_64/elf/initfini.c: Remove file.
44045
2a979d3a
JM
440462012-02-13 Joseph Myers <joseph@codesourcery.com>
44047
44048 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44049 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44050 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44051 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44052 <bits/inotify.h>.
44053 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44054 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44055 bits/inotify.h.
44056
2a418ac3
JM
440572012-02-13 Joseph Myers <joseph@codesourcery.com>
44058
44059 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44060 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44061 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44062 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44063 <bits/eventfd.h>.
44064 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44066 bits/eventfd.h.
44067
fb779be7
TS
440682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44069
e19e83c5
RM
44070 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44071 __feraiseexcept instead of feraiseexcept.
7c35ffed 44072
fb779be7
TS
44073 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44074 nanosleep invocations.
44075 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44076 strings, and add error checking for a nanosleep invocations.
44077
59ba27a6
PE
440782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44079
44080 Replace FSF snail mail address with URLs, as per GNU coding standards.
44081 Most of the snail mail addresses were wrong anyway, and omitting
44082 them makes the source code easier to maintain. Almost all of the
44083 changes are to license notices and to locale LC_IDENTIFICATION
44084 addresses, except for this one:
44085 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44086 not its snail mail address.
44087
57b957eb
RH
440882012-02-09 Richard Henderson <rth@twiddle.net>
44089
af850b1c
RH
44090 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44091 of kernel-features.h.
44092
57b957eb
RH
44093 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44094
6b73181a
MP
440952012-02-08 Marek Polacek <polacek@redhat.com>
44096
44097 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44098 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44099 * sysdeps/gnu/_G_config.h: Likewise.
44100 * sysdeps/generic/_G_config.h: Likewise.
44101
26ecc33a
AS
441022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44103
6c6dbc63
AS
44104 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44105 tests.
44106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44107
e216c012
AS
44108 * sysdeps/powerpc/powerpc32/crti.S: New file.
44109 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44110 * sysdeps/powerpc/powerpc64/crti.S: New file.
44111 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44112
26ecc33a
AS
44113 * Makeconfig (have-initfini): Don't set.
44114 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44115 * configure.in (nopic_initfini): Don't substitute.
44116 * config.h.in (HAVE_INITFINI): Don't #undef.
44117 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44118 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44119
3add8e13
JM
441202012-02-08 Joseph Myers <joseph@codesourcery.com>
44121
44122 Support crti.S and crtn.S provided directly by architectures.
44123 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44124 [crti.S in sysdirs] (omit-deps): Likewise.
44125 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44126 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44127 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44128 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44129 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44130 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44131 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44132 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44133 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44134 compiler output for sysdeps/generic/initfini.c.
44135 * sysdeps/i386/elf/Makefile: Remove file.
44136 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44137
a22f12b4
MP
441382012-02-07 Marek Polacek <polacek@redhat.com>
44139
44140 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44141 * sysdeps/gnu/_G_config.h: Likewise.
44142 * sysdeps/mach/hurd/_G_config.h: Likewise.
44143
148cf100
MP
441442012-02-07 Marek Polacek <polacek@redhat.com>
44145
44146 * math/Makefile (tests): Add tst-CMPLX2.
44147 * math/tst-CMPLX2.c: New file.
44148
cfdc0dd7
AS
441492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44150
84ba42c4
AS
44151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44152
cfdc0dd7
AS
44153 * math/libm-test.inc (jn_test): Add missing L suffix.
44154
622c86f4
MP
441552012-02-06 Marek Polacek <polacek@redhat.com>
44156
44157 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44158 * sysdeps/i386/fpu/e_powf.S: Likewise.
44159 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44160 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44161 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44162 * sysdeps/i386/fpu/e_pow.S: Likewise.
44163 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44164 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44165 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44166 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44167 * sysdeps/i386/fpu/e_log2.S: Likewise.
44168 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44169 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44170 * sysdeps/i386/fpu/e_powl.S: Likewise.
44171 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44173 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44174 * sysdeps/i386/fpu/e_logl.S: Likewise.
44175 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44176 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44177 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44178 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44179 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44180 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44181 * sysdeps/i386/fpu/e_log.S: Likewise.
44182 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44183 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44184 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44185 * sysdeps/i386/fpu/e_logf.S: Likewise.
44186 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44187 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44188 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44189 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44190 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44191 * sysdeps/i386/fpu/e_log10.S: Likewise.
44192 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44193 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44194 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44195 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44196 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44197 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44198 * sysdeps/i386/asm-syntax.h: Likewise.
44199 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44202 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44203 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44204 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44205 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44206 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44207 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44208 * sysdeps/powerpc/sysdep.h: Likewise.
44209 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44210 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44211
d4a54ac6
JM
442122012-02-06 Joseph Myers <joseph@codesourcery.com>
44213
44214 [BZ #411]
44215 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44216
314054ea
JM
442172012-02-06 Joseph Myers <joseph@codesourcery.com>
44218
44219 * sysdeps/i386/sysdep.h: Include <features.h>.
44220 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44221 version.
44222
d8e0ca50
JM
442232012-02-05 Joseph Myers <joseph@codesourcery.com>
44224
44225 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44226 Define.
44227 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44228 LOAD_PIC_REG_STR.
44229
b1da7dd9
JM
442302012-02-03 Joseph Myers <joseph@codesourcery.com>
44231
44232 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44233 (SETUP_PIC_REG): Use GET_PC_THUNK.
44234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44235 macro.
44236
9a1d9254
JM
442372012-02-03 Joseph Myers <joseph@codesourcery.com>
44238
44239 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44240 for non-PIC compilation.
44241 (SETUP_PIC_REG): Add .p2align directive.
44242 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44243 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44244 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44245 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44246 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44247 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44248 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44249 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44250 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44251 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44252 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44253 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44254 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44255 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44256 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44257 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44258 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44259 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44260 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44261 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44262 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44263 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44264 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44265 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44266 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44268 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44269 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44270 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44271 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44272 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44273 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44274 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44275 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44276 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44277 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44278 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44279 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44280 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44281 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44282 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44283
65dc3b75
JM
442842012-02-03 Joseph Myers <joseph@codesourcery.com>
44285
44286 * math/tst-CMPLX.c: Include <stdio.h>.
44287
d55bf177
JM
442882012-01-31 Joseph Myers <joseph@codesourcery.com>
44289
44290 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44291 float.
44292 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44293 * sysdeps/sparc/bits/mathdef.h: Likewise.
44294
69db4f8f
MP
442952012-01-31 Marek Polacek <polacek@redhat.com>
44296
44297 * libio/libio.h: Don't define _PARAMS.
44298 * locale/programs/config.h: Don't define PARAMS.
44299 * stdlib/strtol_l.c: Likewise.
44300 (__strtol_l): Remove PARAMS from the prototype.
44301
41b81892
UD
443022012-01-31 Ulrich Drepper <drepper@gmail.com>
44303
3b49edc0
UD
44304 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44305 names. Just use the correct names. Remove unnecessary wrapper
44306 functions.
44307 * malloc/arena.c: Likewise.
44308 * malloc/hooks.c: Likewise.
44309
41b81892
UD
44310 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44311 ARENA_TEST says not to. Simplify test for creation of a new arena.
44312 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44313
27a25b6e
UD
443142012-01-30 Ulrich Drepper <drepper@gmail.com>
44315
44316 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44317 into tail calls.
44318 (update_get_addr): New function.
44319 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44320 GET_ADDR_MODULE parameter.
44321
c8a89e7d
JM
443222012-01-30 Joseph Myers <joseph@codesourcery.com>
44323
44324 * crypt/cert.c: Remove __STDC__ conditionals.
44325 * crypt/crypt-entry.c: Likewise.
44326 * crypt/crypt_util.c: Likewise.
44327 * libio/filedoalloc.c: Likewise.
44328 * libio/fileops.c: Likewise.
44329 * libio/genops.c: Likewise.
44330 * libio/iofclose.c: Likewise.
44331 * libio/iofdopen.c: Likewise.
44332 * libio/iofopen.c: Likewise.
44333 * libio/iofopen64.c: Likewise.
44334 * libio/iogetdelim.c: Likewise.
44335 * libio/iopopen.c: Likewise.
44336 * libio/obprintf.c: Likewise.
44337 * libio/oldfileops.c: Likewise.
44338 * libio/oldiofclose.c: Likewise.
44339 * libio/oldiofdopen.c: Likewise.
44340 * libio/oldiofopen.c: Likewise.
44341 * libio/oldiopopen.c: Likewise.
44342 * libio/wfiledoalloc.c: Likewise.
44343 * libio/wgenops.c: Likewise.
44344 * locale/programs/xmalloc.c: Likewise.
44345 * misc/syslog.c: Likewise.
44346 * stdio-common/xbug.c: Likewise.
44347 * string/memchr.c: Likewise.
44348 * string/memcmp.c: Likewise.
44349 * string/memrchr.c: Likewise.
44350 * string/rawmemchr.c: Likewise.
44351 * sysdeps/posix/getcwd.c: Likewise.
44352 * time/strftime_l.c: Likewise.
44353
3b100462
JM
443542012-01-30 Joseph Myers <joseph@codesourcery.com>
44355
44356 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44357 * config.make.in (config-cflags-sse2avx): Define.
44358 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44359 Fix typo.
44360
607998af
CM
443612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44362
44363 * scripts/config.guess: Update from upstream config git repository.
44364 * scripts/config.sub: Likewise.
44365
3601428f
CM
443662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44367
3ac8b282
CM
44368 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44369 (EM_NUM): Update.
44370 (R_TILEPRO_*, R_TILEGX_*): New macros.
44371
e034841e
CM
44372 * scripts/firstversions.awk: Fix bug in version range handling.
44373
540d7568
CM
44374 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44375
3601428f
CM
44376 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44377
463de862
CM
44378 * include/sys/epoll.h: New file.
44379 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44380 libc_hidden_def.
44381
73139a76
UD
443822012-01-28 Ulrich Drepper <drepper@gmail.com>
44383
96bc5b45
UD
44384 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44385 Avoid unnecessary __WORDSIZE == 64 test.
44386 (fmaxf): Use VEX format if possible.
44387 (fmax): Likewise.
44388 (fminf): Likewise.
44389 (fmin): Likewise.
44390
56f6f6a2
UD
44391 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44392 * math/math_private.h: Remove libc_fegetround* and
44393 libc_fesetround*.
44394 * sysdeps/i386/configure.in: Check for -msse2avx.
44395 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44396 also if SSE2AVX is defined.
44397 Remove libc_fegetround* and libc_fesetround*.
44398 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44399 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44400 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44401 of HAS_YMM_USABLE.
44402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44407
73139a76
UD
44408 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44409
d73f93a4
AZ
444102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44411
44412 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44413 size is not set.
44414 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44415
6ee65ed6
UD
444162012-01-27 Ulrich Drepper <drepper@gmail.com>
44417
44418 [BZ #13618]
44419 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44420 relocation.
44421 * Makeconfig (libm): Define.
44422 * elf/Makefile: Add rules to build and run tst-relsort1.
44423 * elf/tst-relsort1.c: New file.
44424 * elf/tst-relsort1mod1.c: New file.
44425 * elf/tst-relsort1mod2.c: New file.
44426
8db21882
JM
444272012-01-27 Joseph Myers <joseph@codesourcery.com>
44428
44429 * math/s_ldexp.c: Remove __STDC__ conditionals.
44430 * math/s_ldexpf.c: Likewise.
44431 * math/s_ldexpl.c: Likewise.
44432 * math/s_nextafter.c: Likewise.
44433 * math/s_nexttowardf.c: Likewise.
44434 * math/s_significand.c: Likewise.
44435 * math/s_significandf.c: Likewise.
44436 * math/s_significandl.c: Likewise.
44437 * math/w_jnl.c: Likewise.
44438 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44439 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44440 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44441 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44442 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44457 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44458 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44459 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44465 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44466 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44467 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44468 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44470 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44472 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44474 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44475 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44478 * sysdeps/ieee754/k_standard.c: Likewise.
44479 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44480 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44540 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44545 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44548 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44554 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44558 * sysdeps/ieee754/s_matherr.c: Likewise.
44559 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44560 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44563
965a54a4
JM
445642012-01-26 Joseph Myers <joseph@codesourcery.com>
44565
44566 * crypt/md5.h: Remove __STDC__ conditionals.
44567 * libio/libioP.h: Likewise.
44568 * locale/programs/config.h: Likewise.
44569 * sysdeps/generic/sysdep.h: Likewise.
44570 * sysdeps/i386/asm-syntax.h: Likewise.
44571 * sysdeps/s390/asm-syntax.h: Likewise.
44572 * sysdeps/unix/sysdep.h: Likewise.
44573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44575
7071ad79
JM
445762012-01-26 Joseph Myers <joseph@codesourcery.com>
44577
44578 * libio/libio.h: Remove __STDC__ conditionals.
44579 * malloc/obstack.h: Likewise.
44580 * math/complex.h: Likewise.
44581 * math/math.h: Likewise.
44582 * sysdeps/generic/_G_config.h: Likewise.
44583 * sysdeps/gnu/_G_config.h: Likewise.
44584 * sysdeps/mach/hurd/_G_config.h: Likewise.
44585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44586 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44587 * sysdeps/sparc/bits/mathdef.h: Likewise.
44588
afc5ed09
UD
445892012-01-26 Ulrich Drepper <drepper@gmail.com>
44590
44591 [BZ #13583]
44592 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44593 Clean up HAS_* macros.
afc5ed09 44594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44595 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44596 possible.
44597 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44598 HAS_AVX.
44599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44600 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44601 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44603 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44604
bdb6de1d
JM
446052012-01-25 Joseph Myers <joseph@codesourcery.com>
44606
44607 * elf/tst-unique3.cc (gets): Remove declaration.
44608 * elf/tst-unique3lib.cc (gets): Likewise.
44609 * elf/tst-unique3lib2.cc (gets): Likewise.
44610 * elf/tst-unique4.cc (gets): Likewise.
44611
b15549e6
UD
446122012-01-24 Ulrich Drepper <drepper@gmail.com>
44613
44614 * include/stdio.h: Add C++ protection. Add gets declarations and
44615 definitions.
44616 * debug/tst-chk1.c: Don't declare gets here.
44617 * stdio-common/tst-gets.c: Likewise.
44618
a037381f
JM
446192012-01-24 Joseph Myers <joseph@codesourcery.com>
44620
44621 * posix/glob: Remove directory.
44622
f1d4aa75
JM
446232012-01-24 Joseph Myers <joseph@codesourcery.com>
44624
44625 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44626
81c0c964
PT
446272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44628
44629 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44630 of the non-standard EPFNOSUPPORT.
44631
0ea698ae
ST
446322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44633
44634 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44635 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44636 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44637
d220b117
UD
446382012-01-21 Ulrich Drepper <drepper@gmail.com>
44639
44640 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44641
3e1aa84e
UD
446422012-01-20 Ulrich Drepper <drepper@gmail.com>
44643
44644 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44645 transient errors.
44646 * nscd/grpcache.c (cache_addgr): Likewise.
44647 * nscd/hstcache.c (cache_addhst): Likewise.
44648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44649 * nscd/pwdcache.c (cache_addpw): Likewise.
44650 * nscd/servicescache.c (cache_addserv): Likewise.
44651
400aa020
UD
446522012-01-16 Ulrich Drepper <drepper@gmail.com>
44653
d77e7869
UD
44654 * malloc/malloc.c: Various cleanups.
44655 * malloc/hooks.c: Likewise.
44656
400aa020
UD
44657 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44658 * stdlib/bug-fmtmsg1.c: New file.
44659
44660 * stdlib/fmtmsg.c (init): Add missing unlock.
44661 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44662
e0a309cf
MP
446632012-01-12 Marek Polacek <polacek@redhat.com>
44664
44665 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44666 and _GNU_SOURCE.
44667
929d11c7
WS
446682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44669
44670 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44671 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44672 macro to ensure uniqueness of label name.
44673 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44674 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44675
41d0e869
UD
446762012-01-11 Ulrich Drepper <drepper@gmail.com>
44677
0cc5ed3b
UD
44678 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44679
41d0e869
UD
44680 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44681 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44682 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44683 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44684
a47a831a
UD
446852012-01-10 Ulrich Drepper <drepper@gmail.com>
44686
daa891c0
UD
44687 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44688
44689 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44690 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44691 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44692
e58ef0f2
UD
44693 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44694
a47a831a 44695 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44696 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44698 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44699
44700 * math/bits/math-finite.h: Add ldexp support.
44701
a0bfc9c7
MP
447022012-01-10 Marek Polacek <polacek@redhat.com>
44703
44704 * locale/programs/localedef.h (show_archive_content): Add noreturn
44705 attribute.
44706
d6e97a1d
UD
447072012-01-09 Ulrich Drepper <drepper@gmail.com>
44708
44709 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44710
d5835c26
UD
447112012-01-08 Ulrich Drepper <drepper@gmail.com>
44712
e5f484c6
UD
44713 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44714
d5835c26
UD
44715 * io/Makefile (headers): Add bits/poll2.h.
44716
d1f741e9
WS
447172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44718
44719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44720 typo #include statement.
44721
ec09c1c4
UD
447222012-01-08 Ulrich Drepper <drepper@gmail.com>
44723
44724 * include/sys/cdefs.h: Define __attribute_alloc_size.
44725 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44726 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44727 * elf/pldd.c: Likewise.
44728 * iconv/iconv_charmap.c: Likewise.
44729 * iconv/iconvconfig.c: Likewise.
44730 * iconv/strtab.c: Likewise.
44731 * locale/programs/locale.c: Likewise.
44732 * locale/programs/localedef.h: Likewise.
44733 * locale/programs/simple-hash.c: Likewise.
44734 * nscd/nscd.h: Likewise.
44735 * nss/makedb.c: Likewise.
44736 * sysdeps/generic/ldconfig.h: Likewise.
44737 * locale/programs/localedef.c: Remove xmalloc prototype.
44738 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44739
20b38e03
PP
447402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44741
44742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44743 appropriate.
44744
a0da5fe1
UD
447452012-01-08 Ulrich Drepper <drepper@gmail.com>
44746
1d5a644a 44747 * math/Makefile (tests): Add tst-CMPLX.
669704fd 44748 * math/tst-CMPLX.c: New file.
1d5a644a 44749
8784a6db
UD
44750 * math/complex.h (CMPLXL): Fix typo.
44751
d9a216c0
UD
44752 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44753 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44754 GLIBC_2.16.
44755 * debug/tst-chk1.c: Add poll and ppoll tests.
44756 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44757 * include/sys/poll.h: Add hidden proto for ppoll.
44758 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44759 * sysdeps/mach/hurd/ppoll.c: Likewise.
44760 * io/ppoll.c: Likewise.
44761 * debug/poll_chk.c: New file.
44762 * debug/ppoll_chk.c: New file.
44763 * include/bits/poll2.h: New file.
44764 * io/bits/poll2.h: New file.
44765
ac097f5c
UD
44766 [BZ #1350]
44767 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44768
2119dcfa
UD
44769 * configure.in: static is always set to yes. Remove.
44770 * config.make.in: Don't set build-static.
44771 * Makeconfig: Remove use of build-static.
44772 * dlfcn/Makefile: Likewise.
44773 * elf/Makefile: Likewise.
44774 * math/Makefile: Likewise.
44775 * misc/Makefile: Likewise.
44776 * nptl/Makefile: Likewise.
44777 * sysdeps/mach/hurd/Makefile: Likewise.
44778
121766a9
UD
44779 * configure.in: PWD_P is not used anymore.
44780 * config.make.in: Remove PWD_P entry.
44781
51a1d39c 44782 * configure.in: Remove last remnants of RANLIB.
8720d066 44783 No need to check for signed size_t anymore.
215f4bdc
UD
44784 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44785 and IA-64.
3857022a 44786 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
44787 * aclocal.m4: Likewise.
44788
d3ed7225
UD
44789 * wcsmbs/mbrtoc16.c: Implement using towc function.
44790 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44791 * wcsmbs/wcsmbsload.c: Likewise.
44792 * iconv/gconv_simple.c: Likewise.
44793 * iconv/gconv_int.h: Likewise.
44794 * iconv/gconv_builtin.h: Likewise.
44795 * iconv/iconv_prog.c: Remove CHAR16 handling.
44796
44797 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44798
44799 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44800
a0da5fe1
UD
44801 * configure.in: Remove --with-elf and --enable-bounded options.
44802 Dont set base_machine for ia64. More non-ELF conditions removed.
44803 Remove testing and setting of leading underscore information.
44804 * config.make.in (build-bounded): Set to no.
44805 * config.h.in: Remove NO_UNDERSCORES entry.
44806 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44807 them.
44808 * csu/start.c: Remove !NO_UNDERSCORE code.
44809 * locale/localeinfo.h: Likewise.
44810 * sysdeps/generic/machine-gmon.h: Likewise.
44811 * sysdeps/generic/sysdep.h: Likewise.
44812 * sysdeps/i386/sysdep.h: Likewise.
44813 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44814 * sysdeps/mach/sysdep.h: Likewise.
44815 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44817 * sysdeps/sh/sysdep.h: Likewise.
44818 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44819 * sysdeps/unix/i386/sysdep.S: Likewise.
44820 * sysdeps/unix/sparc/start.c: Likewise.
44821 * sysdeps/unix/sparc/sysdep.S: Likewise.
44822 * sysdeps/unix/sparc/sysdep.h: Likewise.
44823 * sysdeps/unix/start.c: Likewise.
44824 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44825 * sysdeps/x86_64/sysdep.h: Likewise.
44826
df78418a
UD
448272012-01-07 Ulrich Drepper <drepper@gmail.com>
44828
a784e502
UD
44829 [BZ #13553]
44830 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44831 for non-gcc.
44832 * argp/argp-fmtstream.h: Use const instead __const.
44833 * argp/argp.h: Likewise.
44834 * assert/assert.h: Likewise.
44835 * bits/fenv.h: Likewise.
44836 * bits/sched.h: Likewise.
44837 * bits/sigset.h: Likewise.
44838 * bits/sigthread.h: Likewise.
44839 * catgets/nl_types.h: Likewise.
44840 * conform/data/pthread.h-data: Likewise.
44841 * crypt/crypt-private.h: Likewise.
44842 * crypt/crypt.h: Likewise.
44843 * crypt/crypt_util.c: Likewise.
44844 * ctype/ctype.h: Likewise.
44845 * debug/execinfo.h: Likewise.
44846 * debug/mbsnrtowcs_chk.c: Likewise.
44847 * debug/mbsrtowcs_chk.c: Likewise.
44848 * debug/wcsnrtombs_chk.c: Likewise.
44849 * debug/wcsrtombs_chk.c: Likewise.
44850 * debug/wcstombs_chk.c: Likewise.
44851 * dirent/dirent.h: Likewise.
44852 * dlfcn/dlfcn.h: Likewise.
44853 * elf/neededtest4.c: Likewise.
44854 * grp/grp.h: Likewise.
44855 * gshadow/gshadow.h: Likewise.
44856 * iconv/gconv.h: Likewise.
44857 * iconv/gconv_int.h: Likewise.
44858 * iconv/gconv_simple.c: Likewise.
44859 * iconv/iconv.h: Likewise.
44860 * iconv/loop.c: Likewise.
44861 * iconv/skeleton.c: Likewise.
44862 * include/aio.h: Likewise.
44863 * include/aliases.h: Likewise.
44864 * include/argz.h: Likewise.
44865 * include/arpa/inet.h: Likewise.
44866 * include/assert.h: Likewise.
44867 * include/dirent.h: Likewise.
44868 * include/dlfcn.h: Likewise.
44869 * include/execinfo.h: Likewise.
44870 * include/fcntl.h: Likewise.
44871 * include/fenv.h: Likewise.
44872 * include/glob.h: Likewise.
44873 * include/grp.h: Likewise.
44874 * include/libintl.h: Likewise.
44875 * include/mntent.h: Likewise.
44876 * include/netdb.h: Likewise.
44877 * include/pwd.h: Likewise.
44878 * include/rpc/netdb.h: Likewise.
44879 * include/sched.h: Likewise.
44880 * include/search.h: Likewise.
44881 * include/shadow.h: Likewise.
44882 * include/signal.h: Likewise.
44883 * include/stdio.h: Likewise.
44884 * include/stdlib.h: Likewise.
44885 * include/string.h: Likewise.
44886 * include/sys/socket.h: Likewise.
44887 * include/sys/stat.h: Likewise.
44888 * include/sys/statfs.h: Likewise.
44889 * include/sys/statvfs.h: Likewise.
44890 * include/sys/syslog.h: Likewise.
44891 * include/sys/time.h: Likewise.
44892 * include/sys/uio.h: Likewise.
44893 * include/time.h: Likewise.
44894 * include/unistd.h: Likewise.
44895 * include/utmp.h: Likewise.
44896 * include/wchar.h: Likewise.
44897 * include/wctype.h: Likewise.
44898 * inet/aliases.h: Likewise.
44899 * inet/arpa/inet.h: Likewise.
44900 * inet/netinet/ether.h: Likewise.
44901 * inet/netinet/in.h: Likewise.
44902 * intl/libintl.h: Likewise.
44903 * io/bits/fcntl2.h: Likewise.
44904 * io/fcntl.h: Likewise.
44905 * io/ftw.h: Likewise.
44906 * io/sys/poll.h: Likewise.
44907 * io/sys/stat.h: Likewise.
44908 * io/sys/statfs.h: Likewise.
44909 * io/sys/statvfs.h: Likewise.
44910 * io/utime.h: Likewise.
44911 * libio/bits/stdio.h: Likewise.
44912 * libio/bits/stdio2.h: Likewise.
44913 * libio/libio.h: Likewise.
44914 * libio/libioP.h: Likewise.
44915 * libio/stdio.h: Likewise.
44916 * locale/lc-ctype.c: Likewise.
44917 * locale/locale.h: Likewise.
44918 * login/utmp.h: Likewise.
44919 * malloc/arena.c: Likewise.
44920 * malloc/malloc.c: Likewise.
44921 * malloc/malloc.h: Likewise.
44922 * malloc/mcheck.c: Likewise.
44923 * malloc/mtrace.c: Likewise.
44924 * math/bits/mathcalls.h: Likewise.
44925 * math/fenv.h: Likewise.
44926 * math/math_private.h: Likewise.
44927 * misc/bits/error.h: Likewise.
44928 * misc/bits/syslog.h: Likewise.
44929 * misc/err.h: Likewise.
44930 * misc/error.h: Likewise.
44931 * misc/fstab.h: Likewise.
44932 * misc/mntent.h: Likewise.
44933 * misc/regexp.h: Likewise.
44934 * misc/search.h: Likewise.
44935 * misc/sgtty.h: Likewise.
44936 * misc/sys/mman.h: Likewise.
44937 * misc/sys/syslog.h: Likewise.
44938 * misc/sys/uio.h: Likewise.
44939 * misc/sys/xattr.h: Likewise.
44940 * misc/ttyent.h: Likewise.
44941 * nis/rpcsvc/ypclnt.h: Likewise.
44942 * nss/nss.h: Likewise.
44943 * posix/bits/unistd.h: Likewise.
44944 * posix/fnmatch.h: Likewise.
44945 * posix/glob.h: Likewise.
44946 * posix/sched.h: Likewise.
44947 * posix/spawn.h: Likewise.
44948 * posix/sys/wait.h: Likewise.
44949 * posix/unistd.h: Likewise.
44950 * posix/wordexp.h: Likewise.
44951 * pwd/pwd.h: Likewise.
44952 * resolv/netdb.h: Likewise.
44953 * resource/sys/resource.h: Likewise.
44954 * rt/aio.h: Likewise.
44955 * rt/bits/mqueue2.h: Likewise.
44956 * rt/mqueue.h: Likewise.
44957 * shadow/shadow.h: Likewise.
44958 * signal/signal.h: Likewise.
44959 * socket/send.c: Likewise.
44960 * socket/sendto.c: Likewise.
44961 * socket/sys/socket.h: Likewise.
44962 * stdio-common/printf.h: Likewise.
44963 * stdlib/bits/stdlib.h: Likewise.
44964 * stdlib/fmtmsg.h: Likewise.
44965 * stdlib/monetary.h: Likewise.
44966 * stdlib/stdlib.h: Likewise.
44967 * stdlib/ucontext.h: Likewise.
44968 * streams/stropts.h: Likewise.
44969 * string/argz.h: Likewise.
44970 * string/bits/string2.h: Likewise.
44971 * string/string.h: Likewise.
44972 * string/strings.h: Likewise.
44973 * sunrpc/rpc/auth.h: Likewise.
44974 * sunrpc/rpc/auth_des.h: Likewise.
44975 * sunrpc/rpc/clnt.h: Likewise.
44976 * sunrpc/rpc/netdb.h: Likewise.
44977 * sunrpc/rpc/pmap_clnt.h: Likewise.
44978 * sunrpc/rpc/xdr.h: Likewise.
44979 * sysdeps/generic/inttypes.h: Likewise.
44980 * sysdeps/generic/net/if.h: Likewise.
44981 * sysdeps/generic/sys/swap.h: Likewise.
44982 * sysdeps/gnu/net/if.h: Likewise.
44983 * sysdeps/gnu/utmpx.h: Likewise.
44984 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44985 * sysdeps/i386/i486/bits/string.h: Likewise.
44986 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44987 * sysdeps/s390/bits/string.h: Likewise.
44988 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44989 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44990 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44991 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44992 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44993 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44994 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44995 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44996 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44997 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44998 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44999 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45000 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45001 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45002 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45003 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45004 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45009 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45010 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45011 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45012 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45013 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45014 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45015 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45016 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45017 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45018 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45019 * sysvipc/sys/ipc.h: Likewise.
45020 * sysvipc/sys/msg.h: Likewise.
45021 * sysvipc/sys/sem.h: Likewise.
45022 * sysvipc/sys/shm.h: Likewise.
45023 * termios/termios.h: Likewise.
45024 * time/sys/time.h: Likewise.
45025 * time/time.h: Likewise.
45026 * wcsmbs/bits/wchar2.h: Likewise.
45027 * wcsmbs/uchar.h: Likewise.
45028 * wcsmbs/wchar.h: Likewise.
45029 * wctype/wctype.h: Likewise.
45030
0269750c
UD
45031 [BZ #13551]
45032 * Makeconfig: Remove all but ELF support including AIX support.
45033 * Makerules: Likewise.
45034 * config.h.in: Likewise.
45035 * config.make.in: Likewise.
45036 * configure: Likewise.
45037 * configure.in: Likewise.
45038 * csu/Makefile: Likewise.
45039 * csu/version.c: Likewise.
45040 * debug/Makefile: Likewise.
45041 * dlfcn/Makefile: Likewise.
45042 * elf/Makefile: Likewise.
45043 * extra-lib.mk: Likewise.
45044 * iconv/Makefile: Likewise.
45045 * include/libc-symbols.h: Likewise.
45046 * include/shlib-compat.h: Likewise.
45047 * resolv/Makefile: Likewise.
45048 * resolv/res_libc.c: Likewise.
45049 * rt/Makefile: Likewise.
45050 * sysdeps/i386/asm-syntax.h: Likewise.
45051 * sysdeps/i386/sysdep.h: Likewise.
45052 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45053 * sysdeps/mach/sysdep.h: Likewise.
45054 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45055 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45056 * sysdeps/s390/asm-syntax.h: Likewise.
45057 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45058 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45059 * sysdeps/sh/sysdep.h: Likewise.
45060 * sysdeps/unix/sparc/sysdep.h: Likewise.
45061 * sysdeps/wordsize-32/divdi3.c: Likewise.
45062 * sysdeps/x86_64/sysdep.h: Likewise.
45063
00bbd29b
UD
45064 * argp/Versions: Remove _argp_unlock_xxx.
45065
45066 [BZ #13559]
45067 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45068 * abilist/libBrokenLocale.abilist: Likewise.
45069 * abilist/libanl.abilist: Likewise.
45070 * abilist/libc.abilist: Likewise.
45071 * abilist/libcrypt.abilist: Likewise.
45072 * abilist/libdl.abilist: Likewise.
45073 * abilist/libm.abilist: Likewise.
45074 * abilist/libnsl.abilist: Likewise.
45075 * abilist/libpthread.abilist: Likewise.
45076 * abilist/libresolv.abilist: Likewise.
45077 * abilist/librt.abilist: Likewise.
45078 * abilist/libthread_db.abilist: Likewise.
45079 * abilist/libutil.abilist: Likewise.
45080 * abilist/libnss_db.abilist: New file.
45081
45082 * scripts/abilist.awk: Add support for indirect functions.
45083
a2693a0e
UD
45084 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45085
3f05895f
UD
45086 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45087
ecb6fb48
UD
45088 * shlib-versions: Remove entries for ports architectures.
45089
664f8cb9
UD
45090 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45091 files in ports.
45092 * elf/stackguard-macros.h: Remove support for IA-64.
45093 * elf/tst-auditmod1.c: Likewise.
45094 * sysdeps/generic/ldsodefs.h: Likewise.
45095
7ae81d88
UD
45096 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45097 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45098 configure files.
45099
bdeba135
UD
45100 [BZ #13552]
45101 * configure.in: Remove --enable-omitfp support.
45102 * FAQ.in: Adjust.
45103 * config.make.in: Likewise.
45104 * Makeconfig: Likewise.
45105 * manual/install.texi: Likewise.
45106
d75a0a62
UD
45107 In case anyone cares, the IA-64 architecture could move to ports.
45108 * sysdeps/ia64/*: Removed.
45109 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45110 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45111
dcc9756b
UD
45112 [BZ #13555]
45113 * configure.in: Remove entries for unsupported architectures.
45114
d3761ebc 45115 [BZ #13533]
9954432e
UD
45116 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45117 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45118 routines.
45119 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45120 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45121 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45122 fall back to using wcrtomb.
45123 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45124 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45125 renaming.
45126 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45127 * wcsmbs/tst-c16c32-1.c: New file.
45128
45129 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45130 local variable.
45131
c3a87236
UD
45132 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45133
28926a1b
UD
45134 * elf/tst-unique3.cc: Add explicit declaration of gets.
45135 * elf/tst-unique3lib.cc: Likewise.
45136 * elf/tst-unique3lib2.cc: Likewise.
45137 * elf/tst-unique4.cc: Likewise.
45138
df78418a
UD
45139 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45140
8ecd6b2a
JM
451412012-01-06 Joseph Myers <joseph@codesourcery.com>
45142
45143 [BZ #13566]
45144 * assert/assert.h (static_assert): Don't define for C++.
45145 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45146 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45147
9f115170
UD
451482012-01-03 Ulrich Drepper <drepper@gmail.com>
45149
5e0d0300
UD
45150 * iconv/loop.c (single loop): Fix assertion in storing of
45151 remaining bytes.
45152
9f115170
UD
45153 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45154
81fb02b0
UD
451552012-01-01 Ulrich Drepper <drepper@gmail.com>
45156
45157 * posix/getconf.c: Update copyright year.
45158 * nss/getent.c: Likewise.
a316c1f6 45159 * nss/makedb.c: Likewise.
81fb02b0
UD
45160 * iconv/iconvconfig.c: Likewise.
45161 * iconv/iconv_prog.c: Likewise.
45162 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45163 * elf/pldd.c: Likewise.
45164 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45165 * catgets/gencat.c: Likewise.
45166 * csu/version.c: Likewise.
45167 * elf/ldd.bash.in: Likewise.
45168 * elf/sprof.c (print_version): Likewise.
45169 * locale/programs/locale.c: Likewise.
45170 * locale/programs/localedef.c: Likewise.
a316c1f6 45171 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45172 * nscd/nscd.c (print_version): Likewise.
45173 * debug/xtrace.sh: Likewise.
45174 * malloc/memusage.sh: Likewise.
45175 * malloc/mtrace.pl: Likewise.
45176 * debug/catchsegv.sh: Likewise.
45177
2ba92745
JJ
451782011-12-30 Jakub Jelinek <jakub@redhat.com>
45179
45180 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45181 pure attribute.
45182
dadebdae
UD
451832011-12-24 Ulrich Drepper <drepper@gmail.com>
45184
d3761ebc 45185 [BZ #13533]
db6af3eb
UD
45186 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45187 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45188 transformations.
45189 * iconv/gconv_int.h: Likewise.
45190 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45191 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45192 from libc for GLIBC_2.16.
45193 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45194 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45195 * wcsmbs/uchar.h: Really define mbstate_t.
45196 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45197 * wcsmbs/c16rtomb.c: New file.
45198 * wcsmbs/mbrtoc16.c: New file.
45199 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45200 for C/POSIX locale.
45201 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45202 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45203
dadebdae
UD
45204 * wcsmbs/wchar.h: Add missing __restrict.
45205
67371b56
UD
452062011-12-23 Ulrich Drepper <drepper@gmail.com>
45207
74033a25
UD
45208 [BZ #13532]
45209 * time/Makefile (routines): Add timespec_get.
45210 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45211 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45212 timespec for ISO C11.
45213 * time/timespec_get.c: New file.
45214 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45215 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45216
380d7e87
UD
45217 [BZ #13531]
45218 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45219 * stdlib/stdlib.h: Declare aligned_alloc.
45220 * Versions.def: Add GLIBC_2.16 for libc.
45221 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45222
4e9e7a35
UD
45223 [BZ 13527]
45224 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45225 ISO C11.
45226
380d7e87 45227 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45228 code.
45229
03a71829
UD
45230 [BZ #13528]
45231 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45232
839e283e
UD
45233 [BZ #13529]
45234 * assert/assert.h (static_assert): Define.
45235
ce5294e2 45236 * version.h: Update for 2.16 development version.
90fa7312 45237
8d44e150 45238 [BZ #13526]
d7809905
UD
45239 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45240 _ISOC11_SOURCE.
45241
c0da14cd
UD
45242 * version.h (RELEASE): Bump for 2.15 release.
45243 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45244
530a3249
MP
45245 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45246 Patch by Marek Polacek <mpolacek@redhat.com>.
45247
67371b56
UD
45248 * bits/byteswap.h: Protect long long constants with __extension__.
45249 * sysdeps/i386/bits/byteswap.h: Likewise.
45250 * sysdeps/ia64/bits/byteswap.h: Likewise.
45251 * sysdeps/s390/bits/byteswap.h: Likewise.
45252 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45253
15db4de1
LD
452542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45255
45256 [BZ #13540]
bbe315ea
LD
45257 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45258 destination buffer.
15db4de1
LD
45259 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45260
2b2596b1
MP
452612011-12-23 Marek Polacek <polacek@redhat.com>
45262
45263 * elf/dl-addr.c (determine_info): Add inline keyword.
45264 * elf/tst-auditmod4b.c (check_avx): Likewise.
45265 * elf/tst-auditmod6b.c (check_avx): Likewise.
45266 * elf/tst-auditmod6c.c (check_avx): Likewise.
45267 * elf/tst-auditmod7b.c (check_avx): Likewise.
45268
70c6c246
UD
452692011-12-23 Ulrich Drepper <drepper@gmail.com>
45270
45271 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45272 !__SSE_MATH__.
45273
c044cf14
LD
452742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45275
15db4de1 45276 [BZ #13540]
c044cf14
LD
45277 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45278 processing for last bytes.
45279
6b13d9d9
BH
452802011-08-06 Bruno Haible <bruno@clisp.org>
45281
d455f537
BH
45282 [BZ #13061]
45283 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45284 U+0385, not to U+1FEE.
45285
6b13d9d9
BH
45286 [BZ #13062]
45287 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45288 entry for U+00A5 U+0301.
45289
db910efd
UD
452902011-12-22 Ulrich Drepper <drepper@gmail.com>
45291
27deeafc
UD
45292 [BZ #13166]
45293 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45294 buffer for the output is too small.
45295
aed9d171
UD
45296 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45297 optimization.
45298
db910efd
UD
45299 [BZ #13185]
45300 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45301 SSE flags if possible.
45302
2bd779ae
LD
453032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45304
e7f9dac3 45305 [BZ #13540]
2bd779ae
LD
45306 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45307 processing for last bytes.
45308
154bfc16
JM
453092011-12-22 Joseph Myers <joseph@codesourcery.com>
45310
45311 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45312 (syscall-list-default-options, syscall-list-default-condition)
45313 (syscall-list-includes): Define.
45314 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45315 list of ABIs and options and #if conditions for each ABI. Do not
45316 handle common syscalls between ABIs specially.
45317 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45318 Remove.
45319 (syscall-list-variants, syscall-list-32bit-options)
45320 (syscall-list-32bit-condition, syscall-list-64bit-options)
45321 (syscall-list-64bit-condition): Define.
45322 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45323 (syscall-list-variants, syscall-list-32bit-options)
45324 (syscall-list-32bit-condition, syscall-list-64bit-options)
45325 (syscall-list-64bit-condition): Define.
45326 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45327 Remove.
45328 (syscall-list-variants, syscall-list-32bit-options)
45329 (syscall-list-32bit-condition, syscall-list-64bit-options)
45330 (syscall-list-64bit-condition): Define.
45331 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45332 Remove.
45333 (syscall-list-variants, syscall-list-32bit-options)
45334 (syscall-list-32bit-condition, syscall-list-64bit-options)
45335 (syscall-list-64bit-condition): Define.
45336
21eaf3a5
UD
453372011-12-22 Ulrich Drepper <drepper@gmail.com>
45338
16c6f992
UD
45339 * locale/iso-639.def: Add brx entry.
45340
41043168
UD
45341 [BZ #13328]
45342 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45343 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45344
21eaf3a5
UD
45345 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45346 __feraiseexcept_renamed.
45347
e3a851a2
UD
453482011-12-21 Ulrich Drepper <drepper@gmail.com>
45349
4920765e
UD
45350 [BZ #13538]
45351 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45352 EPOLLET with unsigned values.
45353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45354 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45355
e3a851a2
UD
45356 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45357 to large cancellation.
45358 * math/s_cacoshf.c: Likewise.
45359 * math/s_cacoshl.c: Likewise.
45360
b27e24b8
RK
453612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45362
45363 [BZ #13305]
aebefeee 45364 [BZ #12786]
b27e24b8
RK
45365 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45366 * math/s_cacoshf.c: Likewise.
45367 * math/s_cacoshl.c: Likewise.
45368
ee190f67
UD
453692011-12-21 Ulrich Drepper <drepper@gmail.com>
45370
45371 [BZ #13439]
45372 * iconv/gconv.h: Define __GCONV_SWAP.
45373 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45374 * iconvdata/utf-16.c: Likewise.
45375 * iconvdata/utf-32.c: Likewise.
45376
707f25df
AS
453772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45378
45379 [BZ #13524]
45380 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45381 numerator after shifting it by one limb.
45382
d2daaa1e
RÁE
453832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45384
45385 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45386 under [__USE_EXTERN_INLINES].
45387
a4647e72
UD
453882011-12-17 Ulrich Drepper <drepper@gmail.com>
45389
45390 [BZ #13446]
45391 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45392
f0b264f1
AZ
453932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45394
45395 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45396 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45397 optimized code.
45398 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45399 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45400 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45401 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45402 for strncasecmp/strncasecmp_l compilation.
45403 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45404 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45405
8ef4f244
MP
454062011-12-08 Marek Polacek <mpolacek@redhat.com>
45407
45408 [BZ #13484]
45409 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45410 of __asm__.
45411
97ac2654
UD
454122011-12-17 Ulrich Drepper <drepper@gmail.com>
45413
45414 [BZ #13506]
45415 * time/tzfile.c (__tzfile_read): Check values from file header.
45416
91d2a845
WS
454172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45418
45419 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45420 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45421 * powerpc/powerpc32/dl-start.S: Likewise.
45422 * powerpc/powerpc32/elf/start.S: Likewise.
45423 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45424 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45425 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45426 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45427 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45428 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45429 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45430 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45431 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45432 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45433 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45434 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45435 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45436 * powerpc/powerpc32/memset.S: Likewise.
45437 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45438 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45439 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45440 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45441 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45442 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45443 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45444 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45445 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45446 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45447 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45448 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45449 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45450
a1267ba1
AZ
454512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45452
45453 * math/libm-test.inc: Added more nearbyint tests.
45454 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45455 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45457 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45458
ad8ac1bd
RL
454592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45460
45461 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45462 FD_CLOEXEC.
45463
1d3e4b61
UD
454642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45465
45466 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45467 Add wcscpy-ssse3 wcscpy-c.
45468 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45469 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45470 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45471 * sysdeps/x86_64/wcschr.S: New file.
45472 * sysdeps/x86_64/wcsrchr.S: New file.
45473 * string/test-strcmp.c: Remove checking of wcscmp function for
45474 wrong alignments.
45475 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45476 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45477 wcsrchr-sse2 wcsrchr-c.
45478 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45479 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45480 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45481 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45482 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45483 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45484 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45485 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45486 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45487 * wcsmbc/wcschr.c (WCSCHR): New macro.
45488
5b330a2d
UD
454892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45490
45491 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45492 * wcsmbs/test-wcsrchr.c: New file.
45493 * string/test-strrchr.c: Add wcsrchr support.
45494 (WIDE): New macro.
45495 * wcsmbs/test-wcscpy.c: New file.
45496 * string/test-strcpy.c: Add wcscpy support.
45497 (WIDE): New macro.
26428b7c 45498
f039c043
UD
454992011-12-10 Ulrich Drepper <drepper@gmail.com>
45500
45501 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45502 the inner loop.
45503
850fb039
AS
455042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45505
45506 [BZ #13472]
45507 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45508
4efbd5cb
UD
455092011-12-04 Ulrich Drepper <drepper@gmail.com>
45510
52ff5dd0 45511 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45512 Minor optimizations.
52ff5dd0 45513
4efbd5cb
UD
45514 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45515 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45516 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45517
8a426e12
UD
455182011-12-03 Ulrich Drepper <drepper@gmail.com>
45519
aff2453d
UD
45520 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45521 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45522 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45523 for gcc to avoid warnings.
45524 * inet/Makefile (tests): Add tst-checks.
45525 * inet/tst-checks.c: New file.
45526
45527 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45528 warning.
45529
45530 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45531 __wmemcmp_sse2.
45532
45533 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45534 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45535
8a426e12
UD
45536 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45537
9bea3473
UD
455382011-12-02 Ulrich Drepper <drepper@gmail.com>
45539
3a965496
UD
45540 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45541 problem.
45542
9bea3473
UD
45543 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45544
f101631b
UD
455452011-11-29 Joseph Myers <joseph@codesourcery.com>
45546
45547 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45548 conditional on GCC version.
45549 (__arch_compare_and_exchange_val_8_acq)
45550 (__arch_compare_and_exchange_val_16_acq)
45551 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45552 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45553 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45554
a98275aa
UD
455552011-12-02 Joseph Myers <joseph@codesourcery.com>
45556
45557 * sysdeps/sh/backtrace.c: New file.
45558
d4cc29a2
AS
455592011-12-02 Andreas Schwab <schwab@redhat.com>
45560
45561 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45562 parenthesis.
45563
6257af2d
AS
455642011-12-01 Andreas Schwab <schwab@redhat.com>
45565
45566 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45567 falling back to utime.
45568
b5f44c1a
AS
455692011-11-30 Andreas Schwab <schwab@redhat.com>
45570
45571 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45572 expectations for float.
45573
f3a6cc0a
AS
455742011-11-29 Andreas Schwab <schwab@redhat.com>
45575
45576 * locale/weight.h (findidx): Add parameter len.
45577 * locale/weightwc.h (findidx): Likewise.
45578 * posix/fnmatch_loop.c (FCT): Adjust caller.
45579 * posix/regcomp.c (build_equiv_class): Likewise.
45580 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45581 * posix/regexec.c (check_node_accept_bytes): Likewise.
45582 * string/strcoll_l.c (STRCOLL): Likewise.
45583 * string/strxfrm_l.c (STRXFRM): Likewise.
45584
9d65ea3a
UD
455852011-11-17 Ulrich Drepper <drepper@gmail.com>
45586
45587 * Makefile.in: Remove CVSOPT handling.
45588 * configure.in: Remove use of AC_REVISION.
45589 * iconvdata/Makefile (distribute): No need to filter out CVS.
45590 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45591 handling.
45592
5583a086
AS
455932011-11-16 Andreas Schwab <schwab@redhat.com>
45594
45595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45596 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45597 [USE_AS_STRNCASECMP_L]: Likewise.
45598 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45599 NO_TLS_DIRECT_SEG_REFS.
45600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45601 Fix argument offsets for non-PIC.
45602 [USE_AS_STRNCASECMP_L]: Likewise.
45603 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45604 NO_TLS_DIRECT_SEG_REFS.
45605
d62a8200
UD
456062011-11-15 Ulrich Drepper <drepper@gmail.com>
45607
9d65ea3a 45608 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45609 O_CLOEXEC.
45610 * locale/loadlocale.c (_nl_load_locale): Likewise.
45611
09f93bd3
AS
456122011-11-15 Andreas Schwab <schwab@redhat.com>
45613
446514f9
AS
45614 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45615 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45616 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45617 (SYSCALL_GETTIME): Set errno on error.
45618
09f93bd3
AS
45619 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45620 count references to noai6ai_cached.
45621
312be3f9
UD
456222011-11-15 Ulrich Drepper <drepper@gmail.com>
45623
45624 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45625
45626 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45627 FD_CLOEXEC for /proc/self/maps.
45628
45629 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45630 FD_CLOEXEC for /proc/meminfo.
45631
45632 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45633 gai.conf.
45634
45635 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45636 FD_CLOEXEC for given file.
45637
45638 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45639
45640 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45641 FD_CLOEXEC for /etc/hosts.
45642 (_gethtent): Likewise.
45643
45644 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45645
45646 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45647 cancellation and set FD_CLOEXEC for /etc/netgroup.
45648
45649 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45650 reading /etc/publickey.
45651
45652 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45653 allow cancellation when reading /etc/group.
45654
45655 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45656 cancellation.
45657 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45658
45659 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45660 when using data file.
45661
45662 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45663
45664 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45665 (write_nis_obj): Use "c" and "e" in fopen.
45666
45667 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45668
45669 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45670
45671 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45672
45673 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45674
45675 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45676 locale.alias.
45677
45678 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45679
45680 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45681
45682 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45683
45684 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45685 file parsing and set FD_CLOEXEC.
45686
82af0fa8
UD
456872011-11-14 Ulrich Drepper <drepper@gmail.com>
45688
45689 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45690
a5fb313c
AS
456912011-11-14 Andreas Schwab <schwab@redhat.com>
45692
45693 * malloc/arena.c (arena_get2): Don't call reused_arena when
45694 _int_new_arena failed.
45695
6abf3465
UD
456962011-11-14 Ulrich Drepper <drepper@gmail.com>
45697
45698 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45699 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45701 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45702 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45703 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45704 to compile strcasecmp and strncasecmp.
45705 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45706 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45707
45708 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45709
76e3966e
UD
457102011-11-13 Ulrich Drepper <drepper@gmail.com>
45711
45712 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45713 locale-defines.sym to gen-as-const-headers.
45714 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45715 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45717 to compile strcasecmp and strncasecmp.
45718 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45719 strcasecmp_l and strncasecmp_l.
45720 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45721 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45722 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45723 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45724 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45725 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45726 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45727 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45728 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45729 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45730 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45731
ab26144e
UD
457322011-11-12 Ulrich Drepper <drepper@gmail.com>
45733
7edb22ef
UD
45734 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45735 result of SYSDEP_GETTIME_CPU to retval.
45736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45737 parameter list to macro. Remove trailing semicolon. Adjust users.
45738
9694fc44
UD
45739 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45740 variable.
45741
8ad89ef8
UD
45742 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45743 mantissa words.
45744 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45745
0c822ef9
UD
45746 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45747 from unused variable.
45748
874e0564
UD
45749 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45750 DWARF definitions.
45751 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45752 for assembling.
45753
3a2edc79
UD
45754 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45755 over namespaces.
45756
f3c2577f
UD
45757 * sunrpc/rpc_prot.c (rejected): Fix case value.
45758
294ce126
UD
45759 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45760 unsigned long long int to avoid warnings in shift.
45761
5e2b63c6
UD
45762 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45763 of use of trans.
45764 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45765 variable tmp.
45766
e7f4b08e
UD
45767 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45768 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45769 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45770
ab26144e
UD
45771 * nis/nis_table.c (nis_list): Use variable of correct type for
45772 result of __follow_path call.
45773
8a6d5255
AZ
457742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45775
45776 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45777 of math functions ceil, trunc, floor, round, and sqrt, when
45778 avaliable on the platform.
45779 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45780 name clash.
45781 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45782 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45783 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45784
aaddc98c
MP
457852011-10-30 Marek Polacek <mpolacek@redhat.com>
45786
45787 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45788 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45789
95b7042b
RM
457902011-11-11 Roland McGrath <roland@hack.frob.com>
45791
45792 * include/unistd.h: Fix __readlink return type.
45793 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45794
57769839
UD
457952011-11-11 Ulrich Drepper <drepper@gmail.com>
45796
45797 * stdlib/ucontext.h: Undo last change for makecontext.
45798
edc5984d
AS
457992011-11-11 Andreas Schwab <schwab@redhat.com>
45800
98591e58
AS
45801 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45802
edc5984d
AS
45803 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45804 * setjmp/setjmp.h: Mark functions as non-leaf.
45805 * setjmp/bits/setjmp2.h: Likewise.
45806 * stdlib/ucontext.h: Likewise.
45807
77cdc054
AS
458082011-11-10 Andreas Schwab <schwab@redhat.com>
45809
45810 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45811 (reused_arena): Don't check arena limit.
45812 (arena_get2): Atomically check arena limit.
45813
fe72eebd
UD
458142011-11-08 Ulrich Drepper <drepper@gmail.com>
45815
5f078c32
UD
45816 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45817 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45818
fe72eebd
UD
45819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45820 instructions.
45821
ae1bc2fa
AS
458222011-11-07 Andreas Schwab <schwab@redhat.com>
45823
7583a88d
AS
45824 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45825 handler when locking.
45826
ae1bc2fa
AS
45827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45828 Fix size of allocated buffer.
45829
10fb0bfa
AS
458302011-11-04 Andreas Schwab <schwab@redhat.com>
45831
998832a4
AS
45832 [BZ #10103]
45833 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45834 declarations for long double functions.
45835 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45836
10fb0bfa
AS
45837 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45838
3d7ba52b
AS
458392011-11-03 Andreas Schwab <schwab@redhat.com>
45840
a9ae54a1
AS
45841 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45842 installed.
45843
3d7ba52b
AS
45844 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45845 is disabled.
45846
bc8db248
ST
458472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45848
45849 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45850
45b96dd6
AS
458512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45852
647776f6
AS
45853 * include/alloca.h (stackinfo_alloca_round): Define.
45854 (extend_alloca): Use it.
45855 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45856 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45857 here.
45858
d91a8b93
AS
45859 * scripts/check-local-headers.sh: Ignore libaudit.h.
45860
45b96dd6
AS
45861 * nscd/Makefile (extra-objs): Make recursively expanded.
45862
432d41ce
UD
458632011-11-01 Ulrich Drepper <drepper@gmail.com>
45864
34372fc6
UD
45865 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45866 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45867
fadb59f8
UD
45868 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45869 * posix/tst-rfc3484-2.c: Likewise.
45870 * posix/tst-rfc3484-3.c: Likewise.
45871
78239589
UD
45872 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45873 process_vm_writev.
45874 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45875 process_vm_writev.
45876 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45877 process_vm_writev from libc using GLIBC_2.15 version.
45878
432d41ce
UD
45879 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45880
02f9c6cf
PP
458812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45882
45883 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45884 stack usage.
45885
3a2c0242
UD
458862011-10-31 Ulrich Drepper <drepper@gmail.com>
45887
f4ec4833
UD
45888 [BZ #13367]
45889 * nss/getent.c (initgroups_keys): Show error message in case no group
45890 names are given.
45891
3a2c0242
UD
45892 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45893 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45894 __bump_nl_timestamp.
45895 * nscd/connections (nscd_init): When host database is served open
45896 netlink socket and request notification about configuration changes.
45897 (main_loop_poll): Track netlink file descriptor and bump timestamp
45898 in case data becomes available.
45899 (main_loop_epoll): Likewise.
45900 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45901 (database_pers_head): Add extra_data fileds.
45902 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45903 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45904 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45905 Adjust caller.
45906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45907 in6ai data, call __free_in6ai.
45908 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45909 Add -DHAVE_NETLINK.
45910 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45911 interface information. Reuse previous data if netlink timestamp
45912 is not changed.
45913 (__bump_nl_timestamp): New function.
45914 (__free_in6ai): New function.
45915
636064eb
UD
459162011-10-30 Ulrich Drepper <drepper@gmail.com>
45917
45918 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45919 close_not_cancel_no_status here.
45920 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45921
9beb2334
UD
459222011-10-29 Ulrich Drepper <drepper@gmail.com>
45923
6ef76f3b
UD
45924 [BZ #13276]
45925 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45926 return value.
45927
0ffc4f3e 45928 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
45929 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45930 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45931
cb95113e
UD
459322011-07-03 Andreas Jaeger <aj@suse.de>
45933
45934 [BZ #10709]
45935 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45936 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45937 * math/libm-test.inc (sin_test): Add test case.
45938
a1b560ff
UD
459392011-10-29 Ulrich Drepper <drepper@gmail.com>
45940
c9aaface
UD
45941 [BZ #13337]
45942 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45943 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45944
d272e7f1
UD
45945 * elf/chroot_canon.c (chroot_canon): Cleanups.
45946
1bc33071
UD
45947 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45948
1760874d
TJ
45949 [BZ #13335]
45950 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45951 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45952
51d91b18
UD
45953 * string/test-strchr.c: Make usable for strchrnul testing.
45954 * string/test-strchrnul.c: New file.
45955 * string/Makefile (strop-tests): Add strchrnul.
45956
a1b560ff 45957 * po/it.po: Update from translation team.
b611fb81 45958 * po/es.po: Likewise.
a1b560ff 45959
a5b81e1f
UD
459602011-10-28 Ulrich Drepper <drepper@gmail.com>
45961
fd52bc6d
UD
45962 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45963 the three constants needed as parameters. Drop the others.
45964 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45965 __m128i_strloadu_tolower.
52e4b9eb
UD
45966 Create and initialize variable zero and use it in all the places
45967 where _mm_setzero_si128 was used.
fd52bc6d 45968
a5b81e1f
UD
45969 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45970 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45971 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45973 anymore.
45974 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45975 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45976 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45977 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45978 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45979 __mpranred, __mptan.
45980 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45981 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45982 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45983 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45984 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45985 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45987 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45988 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45989
b4343346
AS
459902011-10-28 Andreas Schwab <schwab@redhat.com>
45991
0c92d8a8
AS
45992 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45993 redefine if SHARED.
45994 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45995
b4343346
AS
45996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45997 wide char related routines to wcsmbs subdir.
45998
3871f58f
AS
459992011-10-27 Andreas Schwab <schwab@redhat.com>
46000
46001 [BZ #13344]
46002 * misc/sys/cdefs.h (__THROWNL): Define.
46003 * posix/unistd.h: Use __THREADNL instead of __THREAD
46004 for memory synchronization functions.
46005
94d44d9f
RM
460062011-10-26 Roland McGrath <roland@hack.frob.com>
46007
21b64b15 46008 [BZ #13349]
94d44d9f
RM
46009 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46010 doesn't exist.
46011 * manual/stdio.texi (Obstack Streams): Node removed.
46012
f6ce9294
AS
460132011-10-26 Andreas Schwab <schwab@redhat.com>
46014
80479147
AS
46015 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46018
f6ce9294
AS
46019 * math/math_private.h (math_force_eval): Allow non-addressable
46020 arguments.
46021 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46022
618280a1
UD
460232011-10-25 Ulrich Drepper <drepper@gmail.com>
46024
e0016b11
UD
46025 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46026 file is not needed.
46027
46028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46035 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46036 Add AVX variants.
46037 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46038 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46039 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46040 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46041 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46042 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46043 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46044 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46045 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46046 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46047 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46048 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46049 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46050 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46051 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46052 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46053 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46054 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46055 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46056
46057 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46058 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46059
618280a1
UD
46060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46061 place. Use VEX encoding when compiling for AVX.
46062
37822576
AS
460632011-10-25 Andreas Schwab <schwab@redhat.com>
46064
1f1e1947
AS
46065 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46066 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46067
37822576
AS
46068 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46069
31ea014d
UD
460702011-10-25 Ulrich Drepper <drepper@gmail.com>
46071
d7826aa1 46072 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46073 useless if() expression.
d7826aa1
UD
46074 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46075 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46077 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46078 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46079 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46082 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46084 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46086 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46087 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46088 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46089 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46090 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46092 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46093
31ea014d
UD
46094 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46095
16437fec
AS
460962011-10-25 Andreas Schwab <schwab@redhat.com>
46097
46098 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46099 condition.
46100 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46101
31d3cc00
UD
461022011-10-25 Ulrich Drepper <drepper@gmail.com>
46103
46104 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46105 .text section. Avoid duplicate constants.
46106 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46108 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46110 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46114 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46115 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46116 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46117 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46118 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46119 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46120 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46121 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46123 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46129 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46130 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46131 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46132 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46133 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46134 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46135 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46136 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46137 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46138 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46139 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46140 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46141 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46142 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46144 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46145 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46146 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46147 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46148 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46149 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46150 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46151
58985aa9
UD
461522011-10-24 Ulrich Drepper <drepper@gmail.com>
46153
202c9deb
UD
46154 * sysdeps/x86_64/dla.h: Move to ...
46155 * sysdeps/x86_64/fpu/dla.h: ...here.
46156 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46157 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46158
af968f62
UD
46159 * config.make.in: Add have-mfma4 entry.
46160 * configure.in: Substitute libc_cv_cc_fma4.
46161 * math/Makefile (dbl-only-routines): Add sincostab.
46162 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46163 Use __sincostab not sincos.
46164 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46165 name is a macro.
46166 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46170 using __copysign.
46171 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46172 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46173 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46174 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46175 and __inv.
46176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46177 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46178 __copysign.
46179 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46180 define aliases when function name is a macro.
46181 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46182 sysdeps/ieee754/dbl-64/sincos.tbl.
46183 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46184 fma4-enabled routines.
46185 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46186 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46187 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46188 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46189 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46190 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46192 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46193 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46195 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46196 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46197 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46198 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46199 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46200 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46201 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46202 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46203 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46205 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46206 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46207 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46211 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46212 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46213 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46214 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46215
58985aa9
UD
46216 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46217 rename.
46218 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46226
a201fbcf
AS
462272011-10-24 Andreas Schwab <schwab@redhat.com>
46228
46229 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46230
fc2ee42a
LD
462312011-10-23 Ulrich Drepper <drepper@gmail.com>
46232
bb3129bd
UD
46233 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46234
0275fff8
UD
46235 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46236 prediction.
46237 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46238
2fa2ae85
UD
46239 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46240 Remove unused variable magic_bits.
46241 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46242
fc2ee42a
LD
46243 * string/strnlen.c: Define and use STRNLEN macro.
46244 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46245 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46247 * wcsmbs/wcslen.c: Define and use WCSLEN.
46248 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46249 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46250 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46251 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46252 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46253 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46254 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46255
ce7dd29f
LD
462562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46257
46258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46259 strnlen-sse2-no-bsf.
46260 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46261 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46262 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46263 Add strnlen support.
46264 (USE_AS_STRNLEN): New macro.
46265 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46266 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46267 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46268 * sysdeps/x86_64/wcslen.S: New file.
46269
979c70a3
MZ
462702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46271
46272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46273 XMM-moves are used for copying on small sizes.
46274
2d09f82f
LD
462752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46276
46277 * wcsmbs/Makefile (strop-tests): Add wcschr.
46278 * wcsmbs/test-wcschr.c: New file.
46279 * string/test-strchr.c: Update.
46280 Add wcschr support.
46281 (WIDE): New macro.
46282
619fccca
LD
462832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46284
2d09f82f 46285 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46286 * wcsmbs/test-wcslen.c: New file.
46287 * string/test-strlen.c: Update.
46288 Add wcslen support.
46289 (WIDE): New macro.
46290
09f699ea
UD
462912011-10-23 Ulrich Drepper <drepper@gmail.com>
46292
46293 * po/it.po: Update from translation team.
46294
95584d3b
LD
462952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46296
46297 * sysdeps/x86_64/wcscmp.S: Update.
46298 Fix wrong comparison semantics.
46299 wcscmp shall use signed comparison not unsigned.
46300 Don't use substraction to avoid overflow bug.
46301 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46302 * wcsmbc/wcscmp.c: Likewise.
46303 * string/test-strcmp.c: Likewise.
46304 Add new tests to check cases with negative values.
46305
c8b3296b
UD
463062011-10-23 Ulrich Drepper <drepper@gmail.com>
46307
46308 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46309 * sysdeps/x86_64/dla.h: ...here. New file.
46310 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46315 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46319
246ad57a
AS
463202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46321
46322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46323 __ynl_finite aliases.
46324
a1a87169
UD
463252011-10-22 Ulrich Drepper <drepper@gmail.com>
46326
0d355eb7
UD
46327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46328
a1a87169
UD
46329 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46330 define DLA_FMA.
46331 [DLA_FMA] (EMULV): Use DLA_FMA.
46332 [DLA_FMA] (MUL12): Use EMULV.
46333 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46334 that are not needed.
46335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46342
ee2aafe0
AS
463432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46344
46345 * math/s_nan.c: Undef __nan.
46346 * math/s_nanf.c: Undef __nanf.
46347 * math/s_nanl.c: Undef __nanl.
46348 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46349 "math_private.h".
46350
bc62c2fb
UD
463512011-10-22 Ulrich Drepper <drepper@gmail.com>
46352
77425c63
UD
46353 * math/s_catan.c: Add branch predictions.
46354 * math/s_catanf.c: Likewise.
46355 * math/s_catanh.c: Likewise.
46356 * math/s_catanhf.c: Likewise.
46357 * math/s_catanhl.c: Likewise.
46358 * math/s_catanl.c: Likewise.
46359 * math/s_cexp.c: Likewise.
46360 * math/s_cexpf.c: Likewise.
46361 * math/s_cexpl.c: Likewise.
46362 * math/s_clog.c: Likewise.
46363 * math/s_clog10.c: Likewise.
46364 * math/s_clog10f.c: Likewise.
46365 * math/s_clog10l.c: Likewise.
46366 * math/s_clogf.c: Likewise.
46367 * math/s_clogl.c: Likewise.
46368 * math/s_csqrt.c: Likewise.
46369 * math/s_csqrtf.c: Likewise.
46370 * math/s_csqrtl.c: Likewise.
46371 * math/s_ctanf.c: Likewise.
46372 * math/s_ctanh.c: Likewise.
46373 * math/s_ctanhf.c: Likewise.
46374 * math/s_ctanhl.c: Likewise.
46375 * math/s_ctanl.c: Likewise.
46376
bc62c2fb
UD
46377 * math/math_private.h: Define __nan, __nanf, __nanl.
46378 * math/s_cacosh.c: Include <math_private.h>.
46379 * math/s_cacoshl.c: Likewise.
46380 * math/s_casinh.c: Likewise.
46381 * math/s_casinhf.c: Likewise.
46382 * math/s_casinhl.c: Likewise.
46383 * math/s_ccos.c: Rely entire on ccosh.
46384 * math/s_ccosf.c: Rely entire on ccoshf.
46385 * math/s_ccosl.c: Rely entirely on ccoshl.
46386 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46387 Remove tests for FE_INVALID.
46388 * math/s_ccoshf.c: Likewise.
46389 * math/s_ccoshl.c: Likewise.
46390 * math/s_csin.c: Likewise.
46391 * math/s_csinf.c: Likewise.
46392 * math/s_csinh.c Likewise.
46393 * math/s_csinhf.c: Likewise.
46394 * math/s_csinhl.c: Likewise.
46395 * math/s_csinl.c: Likewise.
46396 * math/s_ctan.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46398 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46399 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46400
8ec250a4
UD
464012011-10-21 Ulrich Drepper <drepper@gmail.com>
46402
c196fed8
UD
46403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46404 compilation problems.
46405
8ec250a4
UD
46406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46407 __builtin_expect.
46408
8d4f46c6
UD
464092011-10-20 Ulrich Drepper <drepper@gmail.com>
46410
ed72b654
UD
46411 * sysdeps/i386/configure.in: Test for -mfma4 option.
46412 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46413 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46414 COMMON_CPUID_INDEX_80000001.
46415 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46416 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46417 use it if FMA3 is not supported.
46418 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46419
8d4f46c6
UD
46420 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46421 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46422
d45c60c2
AS
464232011-10-20 Andreas Schwab <schwab@redhat.com>
46424
46425 [BZ #12892]
46426 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46427 it would create a cycle with a link time dependency.
46428
d9a4d2ab
UD
464292011-10-19 Ulrich Drepper <drepper@gmail.com>
46430
855d1560
UD
46431 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46432 instruction.
46433 * string/Makefile (strop-tests): Add rawmemchr.
46434 * string/test-rawmemchr.c: New file.
46435
d9a4d2ab
UD
46436 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46437 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46438 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46439 when compiling str{,n}casecmp and when AVX is available. Hook up
46440 new optimized code in initializers.
46441
8f3b1ffe
AS
464422011-10-19 Andreas Schwab <schwab@redhat.com>
46443
46444 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46445 __feraiseexcept instead of feraiseexcept.
46446
d38f1dba
UD
464472011-10-18 Ulrich Drepper <drepper@gmail.com>
46448
d9a8d0ab
UD
46449 * math/math_private.h: Define defaults for libc_fetestexcept and
46450 libc_feupdateenv.
46451 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46452 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46453 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46454 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46455 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46456 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46457 libc_fetestexcept and libc_feupdateenv.
46458
4855e3dd
UD
46459 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46460 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46461 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46462 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46463 libc_feholdexcept_setround.
46464
581d30e3
UD
46465 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46466 Add s_nearbyint-c and s_nearbyintf-c.
46467 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46468 nearbyintf inlines.
46469 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46470 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46471 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46472 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46473
d38f1dba
UD
46474 * math/math_private.h: Define defaults for libc_fegetround,
46475 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46476 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46477 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46478 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46479 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46480 standard functions.
46481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46482 Remove comments and hacks for old compiler versions.
46483 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46484 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46485 libc_feholdexceptl.
46486
caa6c9d8
AS
464872011-10-18 Andreas Schwab <schwab@redhat.com>
46488
46489 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46490 (__feraiseexcept_renamed): Add __NTH.
46491 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46492 namespace violations.
46493
97c066e6
UD
464942011-10-17 Ulrich Drepper <drepper@gmail.com>
46495
99ce7b04
UD
46496 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46497
1004d182
UD
46498 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46499
228a984d
UD
46500 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46501 recently added interfaces.
46502 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46503
c8553a6a
UD
46504 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46505 about macro parameter expansion.
46506
ed22dcf6
UD
46507 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46508 __NO_MATH_INLINES is defined. Cleanups.
46509
46510 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46511 and __floorf is target has SSE4.1.
46512 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46513 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46514 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46515 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46516
b171c137
UD
46517 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46518 name.
46519 (floorf): Likewise.
46520
97c066e6
UD
46521 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46522
629f62ef
AS
465232011-10-17 Andreas Schwab <schwab@redhat.com>
46524
49a43d80
AS
46525 * misc/sys/cdefs.h: Fix last change.
46526
629f62ef
AS
46527 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46528 database lookup.
46529
e453f6cd
UD
465302011-10-16 Ulrich Drepper <drepper@gmail.com>
46531
aa78043a
UD
46532 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46533
ad0f5cad
UD
46534 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46540 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46541 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46542 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46543 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46544 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46545 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46546 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46547 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46548 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46549 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46550 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46551 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46552 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46553 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46554 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46556
46557 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46558 ceil, ceilf, floor, floorf.
46559
46560 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46561 Perform IRELATIVE relocations last.
46562
e453f6cd
UD
46563 * elf/do-rel.h: Add another parameter nrelative, replacing the
46564 local variable with the same name. Change name of the function
46565 to end in Rel or Rela (uppercase).
46566 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46567 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46568 elf_dynamic_do_##reloc function.
46569
fd5bdc09
UD
465702011-10-15 Ulrich Drepper <drepper@gmail.com>
46571
79b195b5
UD
46572 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46573 is sufficient, at least on modern CPUs.
46574
d4a28569
UD
46575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46576
b61099b5
UD
46577 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46578 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46579
bcf01e6d
UD
46580 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46581 __expl_finite.
46582 * math/bits/math-finite.h: Add entries for exp.
46583 * math/e_expl.c: Add __*_finite alias.
46584 * sysdeps/i386/fpu/e_exp.S: Likewise.
46585 * sysdeps/i386/fpu/e_expf.S: Likewise.
46586 * sysdeps/i386/fpu/e_expl.c: Likewise.
46587 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46588 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46591 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46592 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46593 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46594
ba1a0d59
UD
46595 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46596 is sufficient, at least on modern CPUs.
46597
fd5bdc09
UD
46598 * ctype/ctype-info.c (__ctype_init): Define.
46599 * include/ctype.h (__ctype_init): Declare.
46600 (__ctype_b_loc): The variable is always initialized.
46601 (__ctype_toupper_loc): Likewise.
46602 (__ctype_tolower_loc): Likewise.
46603 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46604 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46605
7872cfb0
AS
466062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46607
b468825a
AS
46608 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46609
7872cfb0
AS
46610 * configure.in: Also look in $cxxmachine/include for C++ system
46611 headers.
46612
be13f7bf
LD
466132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46614
46615 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46616 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46617 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46618 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46619 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46620 (USE_AS_WMEMCMP): New macro.
46621 Fixing indents.
46622 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46623 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46624 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46625 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46627 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46628 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46629 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46630 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46631 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46632 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46633 (USE_AS_WMEMCMP): New macro.
46634 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46635 * sysdeps/string/test-memcmp.c: Update.
46636 Fix simple_wmemcmp.
46637 Add new tests.
46638 * wcsmbs/wmemcmp.c: Update.
46639 (WMEMCMP): New macro.
46640 Fix overflow bug.
46641
556a2007
AJ
466422011-10-12 Andreas Jaeger <aj@suse.de>
46643
46644 [BZ #13268]
46645 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46646
538faaa7
UD
466472011-10-15 Ulrich Drepper <drepper@gmail.com>
46648
ab6737ff
UD
46649 * libio/iofwide.c (do_length): Avoid warning.
46650
538faaa7
UD
46651 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46652
396a21b1
UD
466532011-10-14 Ulrich Drepper <drepper@gmail.com>
46654
cdf2901f
UD
46655 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46656
38ad40ce
UD
46657 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46658 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46659 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46660 * sysdeps/i386/i686/fpu/e_log.S: New file.
46661 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46662 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46663
396a21b1
UD
46664 * ctype/ctype.h: Add support for inlined isXXX functions when
46665 compiling C++ code.
46666
6b1f68c9
AS
466672011-10-14 Andreas Schwab <schwab@redhat.com>
46668
349290c0
AS
46669 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46670
6b1f68c9
AS
46671 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46672
f2282d42
RM
466732011-10-13 Roland McGrath <roland@hack.frob.com>
46674
46675 [BZ #13291]
46676 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46677
5298ffa8
AS
466782011-10-13 Andreas Schwab <schwab@redhat.com>
46679
714fad23
AS
46680 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46681 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46682 feraiseexcept.
46683
81dcc7fb
AS
46684 * sysdeps/x86_64/memrchr.S: Check for zero size.
46685
5298ffa8
AS
46686 * string/stratcliff.c: Add memrchr tests.
46687
951fbcec
LD
466882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46689
46690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46691 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46692 rawmemchr-sse2 rawmemchr-sse2-bsf.
46693 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46694 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46695 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46696 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46697 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46698 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46699 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46700 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46701 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46702 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46703 * string/memrchr.c (MEMRCHR): New macro.
46704
0ac5ae23
UD
467052011-10-12 Ulrich Drepper <drepper@gmail.com>
46706
46707 Add integration with gcc's -ffinite-math-only and optimize wrapper
46708 functions in libm.
46709 * Versions.def: Define GLIBC_2.15 version for libm.
46710 * math/Makefile (headers): Add bits/math-finite.h.
46711 * math/bits/math-finite.h: New file.
46712 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46713 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46714 * math/e_acoshl.c: Add __*_finite alias.
46715 * math/e_acosl.c: Likewise.
46716 * math/e_asinl.c: Likewise.
46717 * math/e_atan2l.c: Likewise.
46718 * math/e_atanhl.c: Likewise.
46719 * math/e_coshl.c: Likewise.
46720 * math/e_exp10.c: Likewise.
46721 * math/e_exp10f.c: Likewise.
46722 * math/e_exp10l.c: Likewise.
46723 * math/e_exp2l.c: Likewise.
46724 * math/e_fmodl.c: Likewise.
46725 * math/e_gammal_r.c: Likewise.
46726 * math/e_hypotl.c: Likewise.
46727 * math/e_j0l.c: Likewise.
46728 * math/e_j1l.c: Likewise.
46729 * math/e_jnl.c: Likewise.
46730 * math/e_lgammal_r.c: Likewise.
46731 * math/e_log10l.c: Likewise.
46732 * math/e_log2l.c: Likewise.
46733 * math/e_logl.c: Likewise.
46734 * math/e_powl.c: Likewise.
46735 * math/e_sinhl.c: Likewise.
46736 * math/e_sqrtl.c: Likewise.
46737 * math/e_scalb.c: Completely rewritten and optimized.
46738 * math/e_scalbf.c: Likewise.
46739 * math/e_scalbl.c: Likewise.
46740 * math/w_acos.c: Likewise.
46741 * math/w_acosf.c: Likewise.
46742 * math/w_acosl.c: Likewise.
46743 * math/w_acosh.c: Likewise.
46744 * math/w_acoshf.c: Likewise.
46745 * math/w_acoshl.c: Likewise.
46746 * math/w_asin.c: Likewise.
46747 * math/w_asinf.c: Likewise.
46748 * math/w_asinl.c: Likewise.
46749 * math/w_atan2.c: Likewise.
46750 * math/w_atan2f.c: Likewise.
46751 * math/w_atan2l.c: Likewise.
46752 * math/w_atanh.c: Likewise.
46753 * math/w_atanhf.c: Likewise.
46754 * math/w_atanhl.c: Likewise.
46755 * math/w_exp10.c: Likewise.
46756 * math/w_exp10f.c: Likewise.
46757 * math/w_exp10l.c: Likewise.
46758 * math/w_fmod.c: Likewise.
46759 * math/w_fmodf.c: Likewise.
46760 * math/w_fmodl.c: Likewise.
46761 * math/w_j0.c: Likewise.
46762 * math/w_j0f.c: Likewise.
46763 * math/w_j0l.c: Likewise.
46764 * math/w_j1.c: Likewise.
46765 * math/w_j1f.c: Likewise.
46766 * math/w_j1l.c: Likewise.
46767 * math/w_jn.c: Likewise.
46768 * math/w_jnf.c: Likewise.
46769 * math/w_log.c: Likewise.
46770 * math/w_logf.c: Likewise.
46771 * math/w_logl.c: Likewise.
46772 * math/w_log10.c: Likewise.
46773 * math/w_log10f.c: Likewise.
46774 * math/w_log10l.c: Likewise.
46775 * math/w_log2.c: Likewise.
46776 * math/w_log2f.c: Likewise.
46777 * math/w_log2l.c: Likewise.
46778 * math/w_pow.c: Likewise.
46779 * math/w_powf.c: Likewise.
46780 * math/w_powl.c: Likewise.
46781 * math/w_remainder.c: Likewise.
46782 * math/w_remainderf.c: Likewise.
46783 * math/w_remainderl.c: Likewise.
46784 * math/w_scalb.c: Likewise.
46785 * math/w_scalbf.c: Likewise.
46786 * math/w_scalbl.c: Likewise.
46787 * math/w_sqrt.c: Likewise.
46788 * math/w_sqrtf.c: Likewise.
46789 * math/w_sqrtl.c: Likewise.
46790 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46791 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46792 used.
46793 * math/math_private.h: Declare __kernel_standard_f.
46794 * math/w_cosh.c: Remove cruft and optimize a bit.
46795 * math/w_coshf.c: Likewise.
46796 * math/w_coshl.c: Likewise.
46797 * math/w_exp2.c: Likewise.
46798 * math/w_exp2f.c: Likewise.
46799 * math/w_exp2l.c: Likewise.
46800 * math/w_hypot.c: Likewise.
46801 * math/w_hypotf.c: Likewise.
46802 * math/w_hypotl.c: Likewise.
46803 * math/w_lgamma.c: Likewise.
46804 * math/w_lgamma_r.c: Likewise.
46805 * math/w_lgammaf.c: Likewise.
46806 * math/w_lgammaf_r.c: Likewise.
46807 * math/w_lgammal.c: Likewise.
46808 * math/w_lgammal_r.c: Likewise.
46809 * math/w_sinh.c: Likewise.
46810 * math/w_sinhf.c: Likewise.
46811 * math/w_sinhl.c: Likewise.
46812 * math/w_tgamma.c: Likewise.
46813 * math/w_tgammaf.c: Likewise.
46814 * math/w_tgammal.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46817 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46818 Minor optimizations. Pretty printing. Remove cruft.
46819 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46820 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46821 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46822 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46823 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46824 * sysdeps/i386/fpu/e_asin.S: Likewise.
46825 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46826 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46827 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46828 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46829 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46830 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46831 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46832 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46833 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46834 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46835 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46836 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46837 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46838 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46839 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46840 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46841 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46842 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46843 * sysdeps/i386/fpu/e_log.S: Likewise.
46844 * sysdeps/i386/fpu/e_log10.S: Likewise.
46845 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46847 * sysdeps/i386/fpu/e_log2.S: Likewise.
46848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46849 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46850 * sysdeps/i386/fpu/e_logf.S: Likewise.
46851 * sysdeps/i386/fpu/e_logl.S: Likewise.
46852 * sysdeps/i386/fpu/e_pow.S: Likewise.
46853 * sysdeps/i386/fpu/e_powf.S: Likewise.
46854 * sysdeps/i386/fpu/e_powl.S: Likewise.
46855 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46856 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46857 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46858 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46859 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46860 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46861 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46862 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46863 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46864 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46865 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46867 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46868 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46869 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46870 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46871 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46874 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46875 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46877 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46878 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46881 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46884 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46885 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46886 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46887 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46888 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46889 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46890 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46891 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46892 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46893 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46895 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46896 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46897 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46898 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46899 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46900 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46901 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46902 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46903 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46904 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46905 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46906 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46907 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46908 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46909 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46910 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46911 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46912 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46913 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46914 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46915 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46916 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46919 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46920 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46921 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46922 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46923 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46924 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46925 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46930 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46933 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46934 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46935 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46936 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46937 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46938 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46939 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46940 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46941 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46942 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46943 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46944 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46945 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46946 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46947 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46948 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46949 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46950 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46951 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46953 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46955 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46956 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46957 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46958 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46959 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46960 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46961 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46962 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46963 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46964 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46965 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46966 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46967 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46969 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46970 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46971 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46972 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46973 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46974 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46975 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46976 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46977 (__isnanf): Likewise.
46978 (__isinf_ns): Likewise.
46979 (__isinf_nsf): Likewise.
46980 (__finite): Likewise.
46981 (__finitef): Likewise.
46982 (__ieee754_sqrt): Define as macro.
46983 (__ieee754_sqrtf): Define as macro.
46984 (__ieee754_sqrtl): Define as macro.
46985 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46986 inlined copy.
46987 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46988 __FINITE_MATH_ONLY__ consistent.
46989 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46990
12cc2fcd
AS
469912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46992
a843a204
AS
46993 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46994 of rawmemchr.
46995
12cc2fcd
AS
46996 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46997
c853acd5
UD
469982011-10-09 Ulrich Drepper <drepper@gmail.com>
46999
47000 * po/ja.po: Update from translation team.
47001
c658d255
RM
470022011-10-08 Roland McGrath <roland@hack.frob.com>
47003
110946e4
RM
47004 * locale/programs/locarchive.c (prepare_address_space): New function.
47005 (create_archive, enlarge_archive, open_archive): Use it.
47006
50604220
RM
47007 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47008 inside [SHARED], where it is used.
47009
c658d255
RM
47010 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47011
47012 * nss/getent.c (netgroup_keys): Remove unused variable.
47013 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47014
6a621eb7
UD
470152011-10-08 Ulrich Drepper <drepper@gmail.com>
47016
7edb55ce
UD
47017 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47018 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47019 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47020 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47021 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47022 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47023 * math/Makefile (libm-calls): Add s_isinf_ns.
47024 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47025 * math/multc3.c: Likewise.
47026 * math/s_casin.c: Likewise.
47027 * math/s_casinf.c: Likewise.
47028 * math/s_casinl.c: Likewise.
47029 * math/s_ccos.c: Likewise.
47030 * math/s_ccosf.c: Likewise.
47031 * math/s_ccosl.c: Likewise.
47032 * math/s_ctan.c: Likewise.
47033 * math/s_ctanf.c: Likewise.
47034 * math/s_ctanh.c: Likewise.
47035 * math/s_ctanhf.c: Likewise.
47036 * math/s_ctanhl.c: Likewise.
47037 * math/s_ctanl.c: Likewise.
47038 * math/w_fmod.c: Likewise.
47039 * math/w_fmodf.c: Likewise.
47040 * math/w_fmodl.c: Likewise.
47041 * math/w_remainder.c: Likewise.
47042 * math/w_remainderf.c: Likewise.
47043 * math/w_remainderl.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47045 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47046 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47048 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47049 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47050 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47051 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47052
187da0ae
UD
47053 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47054 of the number.
47055 * stdio-common/printf_fphex.c: Likewise.
47056 * stdio-common/printf_size.c: Likewise.
47057
9277c064
UD
47058 * math/e_exp10.c: Include math_private.h using <...> not "...".
47059 * math/e_exp10f.c: Likewise.
47060 * math/e_exp10l.c: Likewise.
47061 * math/e_exp2l.c: Likewise.
47062 * math/e_j0l.c: Likewise.
47063 * math/e_j1l.c: Likewise.
47064 * math/e_jnl.c: Likewise.
47065 * math/e_lgammal_r.c: Likewise.
47066 * math/e_rem_pio2l.c: Likewise.
47067 * math/e_scalb.c: Likewise.
47068 * math/e_scalbf.c: Likewise.
47069 * math/e_scalbl.c: Likewise.
47070 * math/k_cosl.c: Likewise.
47071 * math/k_sinl.c: Likewise.
47072 * math/k_tanl.c: Likewise.
47073 * math/s_cacoshf.c: Likewise.
47074 * math/s_catan.c: Likewise.
47075 * math/s_catanf.c: Likewise.
47076 * math/s_catanh.c: Likewise.
47077 * math/s_catanhf.c: Likewise.
47078 * math/s_catanhl.c: Likewise.
47079 * math/s_catanl.c: Likewise.
47080 * math/s_ccosh.c: Likewise.
47081 * math/s_ccoshf.c: Likewise.
47082 * math/s_ccoshl.c: Likewise.
47083 * math/s_cexp.c: Likewise.
47084 * math/s_cexpf.c: Likewise.
47085 * math/s_cexpl.c: Likewise.
47086 * math/s_clog.c: Likewise.
47087 * math/s_clog10.c: Likewise.
47088 * math/s_clog10f.c: Likewise.
47089 * math/s_clog10l.c: Likewise.
47090 * math/s_clogf.c: Likewise.
47091 * math/s_clogl.c: Likewise.
47092 * math/s_csin.c: Likewise.
47093 * math/s_csinf.c: Likewise.
47094 * math/s_csinh.c: Likewise.
47095 * math/s_csinhf.c: Likewise.
47096 * math/s_csinhl.c: Likewise.
47097 * math/s_csinl.c: Likewise.
47098 * math/s_csqrt.c: Likewise.
47099 * math/s_csqrtf.c: Likewise.
47100 * math/s_csqrtl.c: Likewise.
47101 * math/s_ctan.c: Likewise.
47102 * math/s_ctanf.c: Likewise.
47103 * math/s_ctanh.c: Likewise.
47104 * math/s_ctanhf.c: Likewise.
47105 * math/s_ctanhl.c: Likewise.
47106 * math/s_ctanl.c: Likewise.
47107 * math/s_ldexp.c: Likewise.
47108 * math/s_ldexpf.c: Likewise.
47109 * math/s_ldexpl.c: Likewise.
47110 * math/s_significand.c: Likewise.
47111 * math/s_significandf.c: Likewise.
47112 * math/s_significandl.c: Likewise.
47113 * math/w_acos.c: Likewise.
47114 * math/w_acosf.c: Likewise.
47115 * math/w_acosh.c: Likewise.
47116 * math/w_acoshf.c: Likewise.
47117 * math/w_acoshl.c: Likewise.
47118 * math/w_acosl.c: Likewise.
47119 * math/w_asin.c: Likewise.
47120 * math/w_asinf.c: Likewise.
47121 * math/w_asinl.c: Likewise.
47122 * math/w_atan2.c: Likewise.
47123 * math/w_atan2f.c: Likewise.
47124 * math/w_atan2l.c: Likewise.
47125 * math/w_atanh.c: Likewise.
47126 * math/w_atanhf.c: Likewise.
47127 * math/w_atanhl.c: Likewise.
47128 * math/w_cosh.c: Likewise.
47129 * math/w_coshf.c: Likewise.
47130 * math/w_coshl.c: Likewise.
47131 * math/w_dremf.c: Likewise.
47132 * math/w_exp10.c: Likewise.
47133 * math/w_exp10f.c: Likewise.
47134 * math/w_exp10l.c: Likewise.
47135 * math/w_exp2.c: Likewise.
47136 * math/w_exp2f.c: Likewise.
47137 * math/w_fmod.c: Likewise.
47138 * math/w_fmodf.c: Likewise.
47139 * math/w_fmodl.c: Likewise.
47140 * math/w_hypot.c: Likewise.
47141 * math/w_hypotf.c: Likewise.
47142 * math/w_hypotl.c: Likewise.
47143 * math/w_j0.c: Likewise.
47144 * math/w_j0f.c: Likewise.
47145 * math/w_j0l.c: Likewise.
47146 * math/w_j1.c: Likewise.
47147 * math/w_j1f.c: Likewise.
47148 * math/w_j1l.c: Likewise.
47149 * math/w_jn.c: Likewise.
47150 * math/w_jnf.c: Likewise.
47151 * math/w_jnl.c: Likewise.
47152 * math/w_lgamma.c: Likewise.
47153 * math/w_lgamma_r.c: Likewise.
47154 * math/w_lgammaf.c: Likewise.
47155 * math/w_lgammaf_r.c: Likewise.
47156 * math/w_lgammal.c: Likewise.
47157 * math/w_lgammal_r.c: Likewise.
47158 * math/w_log.c: Likewise.
47159 * math/w_log10.c: Likewise.
47160 * math/w_log10f.c: Likewise.
47161 * math/w_log10l.c: Likewise.
47162 * math/w_log2.c: Likewise.
47163 * math/w_log2f.c: Likewise.
47164 * math/w_log2l.c: Likewise.
47165 * math/w_logf.c: Likewise.
47166 * math/w_logl.c: Likewise.
47167 * math/w_pow.c: Likewise.
47168 * math/w_powf.c: Likewise.
47169 * math/w_powl.c: Likewise.
47170 * math/w_remainder.c: Likewise.
47171 * math/w_remainderf.c: Likewise.
47172 * math/w_remainderl.c: Likewise.
47173 * math/w_scalb.c: Likewise.
47174 * math/w_scalbf.c: Likewise.
47175 * math/w_scalbl.c: Likewise.
47176 * math/w_sinh.c: Likewise.
47177 * math/w_sinhf.c: Likewise.
47178 * math/w_sinhl.c: Likewise.
47179 * math/w_sqrt.c: Likewise.
47180 * math/w_sqrtf.c: Likewise.
47181 * math/w_sqrtl.c: Likewise.
47182 * math/w_tgamma.c: Likewise.
47183 * math/w_tgammaf.c: Likewise.
47184 * math/w_tgammal.c: Likewise.
47185
6a621eb7
UD
47186 * po/ja.po: Update from translation team.
47187
bf582445
AJ
471882011-09-29 Andreas Jaeger <aj@suse.de>
47189
f9efbf3a
AJ
47190 [BZ #13179]
47191 * sunrpc/netname.c (netname2host): Fix logic.
47192
bf582445
AJ
47193 [BZ #6779]
47194 [BZ #6783]
47195 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47196 correctly.
47197 * math/w_remainder.c (__remainder): Likewise.
47198 * math/w_remainderf.c (__remainderf): Likewise.
47199 * math/libm-test.inc (remainder_test): Add test cases.
47200
48693bea
AK
472012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47202
47203 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47204 sdiv_qrnnd.
47205
42622229
LD
472062011-10-07 Ulrich Drepper <drepper@gmail.com>
47207
47208 * string/test-memcmp.c: Avoid unncessary #defines.
47209 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47210
093ecf92
LD
472112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47212
47213 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47214 Use new sse2 version for core i3 - i7 as it's faster
47215 than sse42 version.
47216 (bit_Prefer_PMINUB_for_stringop): New.
47217 * sysdeps/x86_64/rawmemchr.S: Update.
47218 Replace with faster SSE2 version.
47219 * sysdeps/x86_64/memrchr.S: New file.
47220 * sysdeps/x86_64/memchr.S: Update.
47221 Replace with faster SSE2 version.
47222
fde56e5c
MP
472232011-09-12 Marek Polacek <mpolacek@redhat.com>
47224
47225 * elf/dl-load.c (lose): Add cast to avoid warning.
47226
21fd49a9
UD
472272011-10-07 Ulrich Drepper <drepper@gmail.com>
47228
5a06e643
UD
47229 * po/ca.po: Update from translation team.
47230
684ae515
UD
47231 * inet/getnetgrent_r.c: Hook up nscd.
47232 * nscd/Makefile (routines): Add nscd_netgroup.
47233 (nscd-modules): Add netgroupcache.
47234 (CFLAGS-netgroupcache.c): Define.
47235 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47236 (cache_search): Add const to second parameter.
47237 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47238 INNETGR.
47239 (dbs): Add netgrdb entry.
47240 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47241 (verify_persistent_db): Handle netgrdb.
47242 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47243 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47244 GETFDNETGR.
47245 (netgroup_response_header): Define.
47246 (innetgroup_response_header): Define.
47247 (datahead): Add netgroup_response_header and innetgroup_response_header
47248 elements.
47249 * nscd/nscd.conf: Add entries for netgroup cache.
47250 * nscd/nscd.h (dbtype): Add netgrdb.
47251 (_PATH_NSCD_NETGROUP_DB): Define.
47252 (netgroup_iov_disabled): Declare.
47253 (xmalloc, xcalloc, xrealloc): Move declarations here.
47254 (cache_search): Adjust prototype.
47255 Add netgroup-related prototypes.
47256 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47257 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47258 (__nscd_innetgr): Declare.
47259 * nscd/selinux.c (perms): Use access_vector_t as element type and
47260 add netgroup-related initializers.
47261 * nscd/netgroupcache.c: New file.
47262 * nscd/nscd_netgroup.c: New file.
47263 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47264 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47265 For four parameters use innetgr.
47266 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47267 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47268 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47269 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47270
21fd49a9
UD
47271 * nscd/connections.c (register_traced_file): Don't register file
47272 for disabled databases.
47273
054c0457
UD
472742011-10-06 Ulrich Drepper <drepper@gmail.com>
47275
32b63198
UD
47276 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47277
054c0457
UD
47278 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47279 from tree and freeing node.
47280
64031225
JO
472812011-09-25 Jiri Olsa <jolsa@redhat.com>
47282
47283 * nss/nsswitch.c (__nss_database_lookup): Handle
47284 nss_parse_service_list out of memory case.
47285
0490345c
JO
472862011-09-15 Jiri Olsa <jolsa@redhat.com>
47287
47288 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47289 out of memory case.
47290
3a62d00d
AS
472912011-10-04 Andreas Schwab <schwab@redhat.com>
47292
47293 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47294 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47295 pass it down.
47296 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47297 elf_machine_rela, elf_machine_lazy_rel.
47298 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47299 (ELF_DYNAMIC_DO_REL): Likewise.
47300 (ELF_DYNAMIC_DO_RELA): Likewise.
47301 (ELF_DYNAMIC_RELOCATE): Likewise.
47302 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47303 to ELF_DYNAMIC_DO_REL.
47304 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47305 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47306 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47307 elf_machine_rela.
47308 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47309 skip_ifunc, don't call ifunc function if non-zero.
47310 (elf_machine_rela): Likewise.
47311 (elf_machine_lazy_rel): Likewise.
47312 (elf_machine_lazy_rela): Likewise.
47313 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47314 (elf_machine_lazy_rel): Likewise.
47315 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47316 Likewise.
47317 (elf_machine_lazy_rel): Likewise.
47318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47319 Likewise.
47320 (elf_machine_lazy_rel): Likewise.
47321 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47322 (elf_machine_lazy_rel): Likewise.
47323 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47324 (elf_machine_lazy_rel): Likewise.
47325 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47326 (elf_machine_lazy_rel): Likewise.
47327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47328 (elf_machine_lazy_rel): Likewise.
47329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47330 (elf_machine_lazy_rel): Likewise.
47331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47332 (elf_machine_lazy_rel): Likewise.
47333
68577918
UD
473342011-09-28 Ulrich Drepper <drepper@gmail.com>
47335
47336 * nss/nss_files/files-init.c (_nss_files_init): Use static
47337 initialization for all the *_traced_file variables.
47338
68822d74
AS
473392011-09-28 Andreas Schwab <schwab@redhat.com>
47340
47341 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47342
2056100b
RM
473432011-09-27 Roland McGrath <roland@hack.frob.com>
47344
47345 [BZ #13226]
47346 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47347
32c76b63
AS
473482011-09-27 Andreas Schwab <schwab@redhat.com>
47349
47350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47351 Reread the line before reparsing it.
47352
bf972c9d
AS
473532011-09-26 Andreas Schwab <schwab@redhat.com>
47354
47355 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47356
e057a1b5
JM
473572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47358 Maxim Kuvyrkov <maxim@codesourcery.com>
47359 Joseph Myers <joseph@codesourcery.com>
47360
47361 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47362 if needed for __stack_chk_guard.
47363
bc7e1c36
RM
473642011-09-19 Roland McGrath <roland@hack.frob.com>
47365
ecb1482f
RM
47366 * sysdeps/posix/spawni.c (script_execute): Always define it.
47367 It will be optimized away if unused.
47368 (maybe_script_execute): New function.
47369 (__spawni): Call it.
47370
bc7e1c36
RM
47371 * Makerules: Don't include tls.make.
47372 (config-tls): Always set to thread.
47373 * tls.make.c: File removed.
47374
1c3b002b
MF
473752011-09-19 Mike Frysinger <vapier@gentoo.org>
47376
47377 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47378 * config.make.in (CPPFLAGS-config): New substituted variable.
47379
2840865d
UD
473802011-09-15 Ulrich Drepper <drepper@gmail.com>
47381
88738eb6
UD
47382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47383
cbf645a6 47384 [BZ #13192]
2840865d
UD
47385 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47386 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47387
b402e91a
RM
473882011-09-15 Roland McGrath <roland@hack.frob.com>
47389
47390 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47391 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47393 (CALL_FAIL): Likewise.
47394 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47395 (CALL_FAIL): Macro removed.
47396 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47397
4c1a1f71
UD
473982011-09-15 Ulrich Drepper <drepper@gmail.com>
47399
47400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47401 for __FINITE_MATH_ONLY__ == 1.
47402
edc121be
AS
474032011-09-15 Andreas Schwab <schwab@redhat.com>
47404
47405 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47406 __ieee754_sqrt instead of sqrt.
47407 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47408 __ieee754_sqrtf instead of sqrtf.
47409 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47410 __floorf instead of floorf.
47411 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47412 __floorf, __truncf instead of floorf, truncf.
47413
cd205654
UD
474142011-09-14 Ulrich Drepper <drepper@gmail.com>
47415
ee4d0315
UD
47416 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47417
cd205654
UD
47418 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47419 __extern_always_inline.
47420 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47421 32-bit.
47422
48b67d71
AS
474232011-09-14 Andreas Schwab <schwab@redhat.com>
47424
47425 * elf/rtld.c (dl_main): Also relocate in dependency order when
47426 doing symbol dependency testing.
47427
1ae12c75
AS
474282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47429
47430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47431 Always define `refsym'.
47432
995a80df
AS
474332011-09-13 Andreas Schwab <schwab@redhat.com>
47434
e529793b
AS
47435 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47436 (__FD_ELT): Renamed from __FDELT.
47437 * misc/bits/select2.h (__FD_ELT): Likewise.
47438 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47439 __FD_MASK instead of __FDELT, __FDMASK.
47440 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47441 Likewise.
47442 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47443 Likewise.
47444
52d4fef8
AS
47445 * elf/Makefile (gen-ldd): Fix pattern.
47446
995a80df
AS
47447 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47448 (init_tls): Likewise.
47449
8682f8b0
UD
474502011-09-12 Ulrich Drepper <drepper@gmail.com>
47451
47452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47453
de82006d
AS
474542011-09-12 Andreas Schwab <schwab@redhat.com>
47455
a7c8e6a1
AS
47456 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47457 `struct cmsghdr *' instead of `void *'.
47458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47459 Likewise.
47460
0f31fe77
AS
474612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47462
47463 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47464 if non-absolute.
47465 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47466 ldd_rewrite_script.
0f31fe77 47467
32b4c839
UD
474682011-09-11 Ulrich Drepper <drepper@gmail.com>
47469
83cd1420
UD
47470 * configure.in: Remove --with-tls option.
47471 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47472 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47473 out in case it is missing.
47474 * sysdeps/ia64/elf/configure.in: Likewise.
47475 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47476 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47477 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47478 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47479 * sysdeps/sh/elf/configure.in: Likewise.
47480 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47481 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47482 * sysdeps/x86_64/elf/configure.in: Likewise.
47483 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47484 * sysdeps/mach/hurd/tls.h: Likewise.
47485
633f745d
UD
47486 [BZ #13067]
47487 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47488
f318beb8
UD
47489 [BZ #13090]
47490 * configure.in: Fix use of AC_INIT.
47491
32b4c839
UD
47492 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47493
3ce1f295
UD
474942011-09-10 Ulrich Drepper <drepper@gmail.com>
47495
bb016596
UD
47496 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47497 __set_errno.
8e58439c
UD
47498 * malloc/hooks.c: Likewise.
47499
aebae053 47500 [BZ #11929]
02d46fc4
UD
47501 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47502 variables statically.
47503 (narenas): Initialize.
47504 (list_lock): Initialize.
bb016596
UD
47505 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47506 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47507 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47508 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47509 Add initializers to main_arena and mp_.
47510 (malloc_state): Remove pagesize member. Change all users to use
47511 GLRO(dl_pagesize).
47512
47513 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47514 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47515 is always initialized.
47516
22a89187
UD
47517 * malloc/malloc.c: Removed unused configurations and dead code.
47518 * malloc/arena.c: Likewise.
47519 * malloc/hooks.c: Likewise.
02d46fc4 47520 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47521
d063d164
UD
47522 * include/tls.h: Removed. USE___THREAD must always be defined.
47523 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47524 * elf/dl-libc.c: Likewise.
47525 * elf/dl-tsd.c: Likewise.
47526 * include/errno.h: Likewise.
47527 * include/netdb.h: Likewise.
47528 * include/resolv.h: Likewise.
47529 * inet/herrno-loc.c: Likewise.
47530 * inet/herrno.c: Likewise.
47531 * malloc/arena.c: Likewise.
47532 * malloc/hooks.c: Likewise.
47533 * malloc/malloc.c: Likewise.
47534 * resolv/res-state.c: Likewise.
47535 * resolv/res_libc.c: Likewise.
47536 * sysdeps/i386/dl-machine.h: Likewise.
47537 * sysdeps/ia64/dl-machine.h: Likewise.
47538 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47539 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47540 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47541 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47542 * sysdeps/sh/dl-machine.h: Likewise.
47543 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47544 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47545 * sysdeps/unix/i386/sysdep.S: Likewise.
47546 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47547 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47548 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47551 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47552 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47556 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47557 * sysdeps/x86_64/dl-machine.h: Likewise.
47558 * tls.make.c: Likewise.
47559
3ce1f295
UD
47560 * configure.in: Remove --with-__thread option. Make tests for
47561 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47562 tls_model attribute fail if no support is available. Remove
47563 USE_IN_LIBIO.
47564 * Makeconfig: Adjust for dropped configure option. All features are
47565 now mandatory.
47566 * Makerules: Likewise.
47567 * Versions.def: Likewise.
47568 * argp/argp-fmtstream.c: Likewise.
47569 * argp/argp-fmtstream.h: Likewise.
47570 * argp/argp-help.c: Likewise.
47571 * assert/assert.c: Likewise.
47572 * config.h.in: Likewise.
47573 * config.make.in: Likewise.
47574 * configure: Likewise.
47575 * configure.in: Likewise.
47576 * csu/Versions: Likewise.
47577 * csu/init.c: Likewise.
47578 * elf/tst-audit2.c: Likewise.
47579 * elf/tst-tls10.c: Likewise.
47580 * elf/tst-tls10.h: Likewise.
47581 * elf/tst-tls11.c: Likewise.
47582 * elf/tst-tls12.c: Likewise.
47583 * elf/tst-tls14.c: Likewise.
47584 * elf/tst-tlsmod11.c: Likewise.
47585 * elf/tst-tlsmod12.c: Likewise.
47586 * elf/tst-tlsmod13.c: Likewise.
47587 * elf/tst-tlsmod13a.c: Likewise.
47588 * elf/tst-tlsmod14a.c: Likewise.
47589 * elf/tst-tlsmod15b.c: Likewise.
47590 * elf/tst-tlsmod16a.c: Likewise.
47591 * elf/tst-tlsmod16b.c: Likewise.
47592 * elf/tst-tlsmod7.c: Likewise.
47593 * elf/tst-tlsmod8.c: Likewise.
47594 * elf/tst-tlsmod9.c: Likewise.
47595 * gmon/gmon.c: Likewise.
47596 * grp/fgetgrent_r.c: Likewise.
47597 * grp/putgrent.c: Likewise.
47598 * hurd/fopenport.c: Likewise.
47599 * include/libc-symbols.h: Likewise.
47600 * include/tls.h: Likewise.
47601 * intl/gettextP.h: Likewise.
47602 * intl/loadinfo.h: Likewise.
47603 * locale/global-locale.c: Likewise.
47604 * locale/localeinfo.h: Likewise.
47605 * mach/devstream.c: Likewise.
47606 * malloc/arena.c: Likewise.
47607 * malloc/set-freeres.c: Likewise.
47608 * misc/err.c: Likewise.
47609 * misc/getttyent.c: Likewise.
47610 * misc/mntent_r.c: Likewise.
47611 * posix/getopt.c: Likewise.
47612 * posix/wordexp.c: Likewise.
47613 * pwd/fgetpwent_r.c: Likewise.
47614 * resolv/Versions: Likewise.
47615 * resolv/res_hconf.c: Likewise.
47616 * shadow/fgetspent_r.c: Likewise.
47617 * shadow/putspent.c: Likewise.
47618 * stdio-common/printf_fphex.c: Likewise.
47619 * stdio-common/tmpfile.c: Likewise.
47620 * stdlib/abort.c: Likewise.
47621 * stdlib/fmtmsg.c: Likewise.
47622 * sunrpc/auth_unix.c: Likewise.
47623 * sunrpc/clnt_perr.c: Likewise.
47624 * sunrpc/clnt_tcp.c: Likewise.
47625 * sunrpc/clnt_udp.c: Likewise.
47626 * sunrpc/clnt_unix.c: Likewise.
47627 * sunrpc/openchild.c: Likewise.
47628 * sunrpc/svc_simple.c: Likewise.
47629 * sunrpc/svc_tcp.c: Likewise.
47630 * sunrpc/svc_udp.c: Likewise.
47631 * sunrpc/svc_unix.c: Likewise.
47632 * sunrpc/xdr.c: Likewise.
47633 * sunrpc/xdr_array.c: Likewise.
47634 * sunrpc/xdr_rec.c: Likewise.
47635 * sunrpc/xdr_ref.c: Likewise.
47636 * sunrpc/xdr_stdio.c: Likewise.
47637
1248c1c4
PB
476382011-09-09 Ulrich Drepper <drepper@gmail.com>
47639
47640 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47641
476422011-07-03 Andreas Jaeger <aj@suse.de>
47643
47644 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47645 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47646 regenerate with gen-libm-tests.pl.
47647
476482010-05-12 Petr Baudis <pasky@suse.cz>
47649
47650 [BZ #11589]
47651 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47652 around j0() zero points by switching to j1().
47653 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47657
f22e1074
UD
476582011-09-09 Ulrich Drepper <drepper@gmail.com>
47659
f19009c1
UD
47660 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47661 instead of 0.
47662 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47663 instead of 0.
f19009c1
UD
47664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47665 Patch in part by Pavel Roskin <proski@gnu.org>.
47666
3f8cc204
UD
47667 [BZ #13138]
47668 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47669 realloc.
47670 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47671 Free memory block if necessary.
47672
f22e1074
UD
47673 [BZ #12847]
47674 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47675 be NULL. Don't lock in this case.
47676
0a2349f9
RM
476772011-09-09 Roland McGrath <roland@hack.frob.com>
47678
47679 * elf/elf.h (ELFOSABI_GNU): New macro.
47680 (ELFOSABI_LINUX): Define to that.
47681
f3cdd467
DZ
476822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47683
47684 * string/strncat.c (strncat): Undef the symbol in case it has been
47685 defined in bits/string.h.
47686
74718d13
UD
476872011-09-09 Ulrich Drepper <drepper@gmail.com>
47688
633e9e0f
UD
47689 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47690
0a2349f9 47691 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47692 link map.
47693
f9924780
AJ
476942011-08-17 Andreas Jaeger <aj@suse.de>
47695
47696 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47697
7f5517aa
PP
476982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47699 Ian Lance Taylor <iant@google.com>
47700
47701 * math/libm-test.inc (lround_test): New testcase.
47702 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47703
762011fe
UD
477042011-09-08 Ulrich Drepper <drepper@gmail.com>
47705
92963737
UD
47706 * Makefile: Remove support for automatic cvs check-ins.
47707 * Makerules: Likewise.
47708 * config.make.in: Likewise.
47709 * configure.in: Likewise.
47710 * intl/Makefile: Likewise.
47711 * locale/Makefile: Likewise.
47712 * po/Makefile: Likewise.
47713 * posix/Makefile: Likewise.
47714 * sysdeps/gnu/Makefile: Likewise.
47715 * sysdeps/mach/hurd/Makefile: Likewise.
47716 * sysdeps/sparc/sparc32/Makefile: Likewise.
47717
b0727fd8
JS
47718 [BZ #13118]
47719 * posix/Makefile (bug-regex32-ENV): Define.
47720 Patch by John Stanley <jpsinthemix@verizon.net>.
47721
a0f33f99
UD
47722 * misc/Makefile (headers): Add bits/select2.h.
47723 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47724 * misc/bits/select2.h: New file.
47725 * include/bits/select2.h: New file.
47726 * debug/Makefile (routines): Add fdelt_chk.
47727 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47728 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47729 FD_ISSET.
47730 * debug/fdelt_chk.c: New file.
47731
762011fe
UD
47732 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47733 * wcsmbs/test-wmemcmp.c: Likewise.
47734 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47735 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47736
477372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47738
47739 * string/Makefile (strop-tests): Add memcmp.
47740 * string/test-wmemcmp.c: New file.
47741 * string/test-memcmp.c: Add wmemcmp support.
47742
7f513ec8
RM
477432011-09-08 Roland McGrath <roland@hack.frob.com>
47744
0442afb4
RM
47745 [BZ #13153]
47746 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47747 2011-07-19 change.
47748
7f513ec8
RM
47749 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47750 garbage value in a __mach_port_mod_refs call in the cases of the
47751 task-self and thread-self ports.
47752
a12b2239
ST
477532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47754
47755 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47756
610f9ab4
AS
477572011-09-08 Andreas Schwab <schwab@redhat.com>
47758
7f513ec8 47759 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 47760
48882a1a
LD
477612011-09-07 Ulrich Drepper <drepper@gmail.com>
47762
b49865be
UD
47763 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47764
fdc86bc9
UD
47765 * elf/dl-libc.c (dlerror_run): Pass back error code from
47766 dl_catch_error.
47767
c966526a
UD
47768 [BZ #13123]
47769 * elf/dl-load.c (lose): Free l_origin if it is valid.
47770
48882a1a
LD
47771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47772 names.
47773 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47774 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47775 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47776 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47777 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47778 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47779
77a2a8b4
AZ
477802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47781
47782 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47783 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47784 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47785 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47786 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47787 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47788 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47789 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47790 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47791 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47792
24f579d8
AM
477932011-08-15 Alan Modra <amodra@gmail.com>
47794
47795 [BZ #13092]
47796 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47797 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47798 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47799 ppc_mcount to static-only-routines.
47800 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47801 __mcount_internal.
47802 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47803 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47804
3d4837df
UD
478052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47806
47807 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47808 for finite and infinity parameters.
47809
22700377
WS
478102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47811
47812 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47813 and add nop instructions for throughput optimization.
47814 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47815
5025581e
WS
478162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47817
47818 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47819 aligned copy for power7 with vector-scalar instructions.
47820 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47821
08a300c9
L
478222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47823
47824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47825 AVX check.
47826
59178ef9
AS
478272011-09-07 Andreas Schwab <schwab@redhat.com>
47828
47829 [BZ #13144]
47830 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47831 last change.
47832
e38ba7ab
UD
478332011-09-07 Ulrich Drepper <drepper@gmail.com>
47834
47835 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47836 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47837 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47838 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47839 clock_gettime.
47840
d53a73ac
UD
478412011-09-06 Ulrich Drepper <drepper@gmail.com>
47842
fc8bffcc
UD
47843 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47844 Forgot to demangle the pointer.
47845
ceaa0c5d
UD
47846 * sysdeps/i386/sysdep.h: Define atom_text_section.
47847 * sysdeps/x86_64/sysdep.h: Likewise.
47848 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47849 section with atom_text_section.
47850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47851 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47852 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47853 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47854 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47855
a77d3c17
UD
47856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47857 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47858 already be defined. Change to take two parameters and don't assign
47859 result to variable. Adjust all users.
47860 Define INTERNAL_GETTIME if not already defined.
47861 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47862 call.
47863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47864 HAVE_CLOCK_GETTIME_VSYSCALL.
47865 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47866
d53a73ac
UD
47867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47868 gettimeofday vsyscall, just use time.
47869
a8f84144
AS
478702011-09-06 Andreas Schwab <schwab@redhat.com>
47871
47872 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47873 <errno.h>.
47874
ef606249
UD
478752011-09-06 Ulrich Drepper <drepper@gmail.com>
47876
47877 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47878 syscall on x86-64.
47879 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47880 syscall.
47881 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47883 syscall if possible.
47884
6585cb60
UD
478852011-09-05 Ulrich Drepper <drepper@gmail.com>
47886
47887 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47888 e_ident. Don't pass to find_mapsXX.
47889 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47890
a5f524e4
LD
478912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47892
47893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47894 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47895 * sysdeps/x86_64/multiarch/strchr.S: Update.
47896 Check bit_slow_BSF bit.
47897 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47898 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47899 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47900
554881ef
UD
479012011-09-05 Ulrich Drepper <drepper@gmail.com>
47902
d96de963
UD
47903 [BZ #13134]
47904 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47905 before glibc 2.15.
47906 (tryshell): Define.
47907 (__spawni): Change last parameter to be flag. Test
47908 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47909 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47910 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47911 * posix/spawni.c: Likewise.
47912 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47913 * posix/spawnp.c: Likewise. Change normal version to use
47914 SPAWN_XFLAGS_USE_PATH.
47915 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47916 SPAWN_XFLAGS_TRY_SHELL.
47917
d48e5868
UD
47918 [BZ #13150]
47919 * posix/glob.h: Remove gcc 1.x support.
47920
554881ef
UD
47921 [BZ #13068]
47922 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47923
693fb948
LD
479242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47925
47926 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47927 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47928 strrchr-sse2-bsf
47929 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47930 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47931 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47932 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47933 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47934 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47935
1b48c537
UD
479362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47937
49d42c37
UD
47938 * sysdeps/x86_64/wcscmp.S: New file.
47939
1b48c537
UD
47940 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47941 wcscmp-c wcscmp-sse2
47942 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47943 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47944 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47945 * wcsmbs/wcscmp.c: Allow renaming.
47946
15c95c5d
DM
479472011-09-05 David S. Miller <davem@davemloft.net>
47948
47949 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47950 stack slot, rather than the struct return pointer slot.
47951 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47952 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47954 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47955
2f0ad8f3
UD
479562011-09-05 Ulrich Drepper <drepper@gmail.com>
47957
d88ae418
UD
47958 * po/ja.po: Update from translation team.
47959
2f0ad8f3
UD
47960 [BZ #13144]
47961 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47962 kernel in 64-bit binaries.
47963
5f4318d1
DM
479642011-09-01 David S. Miller <davem@davemloft.net>
47965
47966 * elf/elf.h (HWCAP_SPARC_*): Move to..
47967 * sysdeps/sparc/sysdep.h: this new file and add new values.
47968 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47969 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47970 _DL_HWCAP_COUNT to 24.
47971 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47972 entries.
47973 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47974 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47975 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47977 instead of magic constants.
47978 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47979
3ba57516
DM
479802011-08-31 David S. Miller <davem@davemloft.net>
47981
47982 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47984 Reimplement to do errno handling inline.
47985 (SYSCALL_ERROR_HANDLER): New macro.
47986 (__SYSCALL_STRING): Do not do errno handling in asm.
47987 (__CLONE_SYSCALL_STRING): Delete.
47988 (__INTERNAL_SYSCALL_STRING): Delete.
47989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47990 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47991 (PSEUDO): Reimplement to do errno handling inline.
47992 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47993 (SYSCALL_ERROR_HANDLER): New macro.
47994 (__SYSCALL_STRING): Do not do errno handling in asm.
47995 (__CLONE_SYSCALL_STRING): Delete.
47996 (__INTERNAL_SYSCALL_STRING): Delete.
47997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47998 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47999 i386.
48000 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48001 (inline_syscall*): Add 'err' argument.
48002 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48003 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48004 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48005 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48006
48007 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48008 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48009
2bc17433
AS
480102011-08-30 Andreas Schwab <schwab@redhat.com>
48011
48012 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48013
fbeb5f4d
JO
480142011-08-29 Jiri Olsa <jolsa@redhat.com>
48015
48016 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48017 directive.
48018
ad69cc26
DM
480192011-08-24 David S. Miller <davem@davemloft.net>
48020
48021 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48022
39dd69df
AS
480232011-08-24 Andreas Schwab <schwab@redhat.com>
48024
48025 * elf/Makefile: Add rules to build and run unload8 test.
48026 * elf/unload8.c: New file.
48027 * elf/unload8mod1.c: New file.
48028 * elf/unload8mod1x.c: New file.
48029 * elf/unload8mod2.c: New file.
48030 * elf/unload8mod3.c: New file.
48031
48032 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48033 it wasn't used.
48034
2c0b250a
DM
480352011-08-23 David S. Miller <davem@davemloft.net>
48036
48037 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48038 subtract stack bias.
48039 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48040 %sp not %fp in calculations.
48041 (_JMPBUF_UNWINDS_ADJ): Likewise.
48042
22044b48
DM
48043 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48044 (aio_suspend): Call it to force an exception region around the
48045 AIO_MISC_WAIT() invocation.
48046
2cae4995
AS
480472011-08-23 Andreas Schwab <schwab@redhat.com>
48048
48049 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48050 backslash.
48051
873a772e
AJ
480522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48053
48054 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48055 protection macro.
48056 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48057 and <dl-machine.h>.
48058 (Elf64_FuncDesc): Remove.
48059
25ad0df1
DM
480602011-08-22 David S. Miller <davem@davemloft.net>
48061
48062 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48063 sigaltstack check, add missing cfi directives.
48064 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48065 missing cfi directives, and sigaltstack handling.
48066
e888bcbe
AS
480672011-08-16 Andreas Schwab <schwab@redhat.com>
48068
48069 [BZ #11724]
48070 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48071 object is seen twice.
48072 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48073
48074 * elf/Makefile (distribute): Add tst-initorder2.c.
48075 (tests): Add tst-initorder2.
48076 (modules-names): Add tst-initorder2a tst-initorder2b
48077 tst-initorder2c tst-initorder2d. Add rules to build them.
48078 ($(objpfx)tst-initorder2.out): New rule.
48079 * elf/tst-initorder2.c: New file.
48080 * elf/tst-initorder2.exp: New file.
48081
87162f46
AS
480822011-08-22 Andreas Schwab <schwab@redhat.com>
48083
70538b7f
AS
48084 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48085
f55ffe58
AS
48086 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48087 dependencies back to end of function.
48088
87162f46
AS
48089 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48090 $(elfobjdir)/ld.so.
48091
91b392a4
UD
480922011-08-21 Ulrich Drepper <drepper@gmail.com>
48093
48094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48095 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48097 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48098 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48099 of __vdso_gettimeofday.
48100 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48101 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48102 attribute_hidden.
48103 (_libc_vdso_platform_setup): Remove initialization of
48104 __vdso_gettimeofday and __vdso_time.
48105
5c43483f
UD
481062011-08-20 Ulrich Drepper <drepper@gmail.com>
48107
775a77e7
UD
48108 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48109 and fgetc_unlocked.
48110 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48111 getc_unlocked.
89f447ed 48112
49c74ba9
UD
48113 * elf/dl-open.c (add_to_global): Report additions to the global scope
48114 for LD_DEBUG=scopes.
48115 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48116 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48117
5c43483f
UD
48118 [BZ #13114]
48119 * stdio-common/Makefile (tests): Add bug24.
48120 * stdio-common/bug24.c: New file.
48121
a101b025
AJ
481222011-08-19 Andreas Jaeger <aj@suse.de>
48123
48124 [BZ #13114]
48125 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48126 non-existant file when using close-on-exec mode.
48127
c88f1766
UD
481282011-08-20 Ulrich Drepper <drepper@gmail.com>
48129
0276a718
UD
48130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48131 the very first instruction.
48132
c88f1766
UD
48133 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48134 the CFI state in the end.
48135 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48136 inclusion of dl-trampoline.h.
48137 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48138
51ccffa0
AS
481392011-08-19 Andreas Schwab <schwab@redhat.com>
48140
94d7165f
AS
48141 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48142 expectations for long double.
48143
51ccffa0
AS
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48145 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48146
fd708658 481472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48148
48149 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48150 artificual limit depends upon the system page size.
48151
44f0a71e
UD
481522011-08-17 Ulrich Drepper <drepper@gmail.com>
48153
48154 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48155 * resolv/Makefile: Define CFLAGS-libresolv.
48156
8de79a24
AS
481572011-08-17 Andreas Schwab <schwab@redhat.com>
48158
48159 * nss/makedb.c (compute_tables): Make variables used in nested
48160 function static.
48161
27724598
UD
481622011-08-17 Ulrich Drepper <drepper@gmail.com>
48163
c5305d88
UD
48164 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48165 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48166 if buffer was too small.
48167
27724598
UD
48168 * elf/pldd.c (main): Attach to all threads in the process.
48169 Rewrite /proc handling to use *at functions.
48170
076fe015
UD
481712011-08-16 Ulrich Drepper <drepper@gmail.com>
48172
174baab3
UD
48173 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48174 specifies first scope to show.
48175 (dl_open_worker): Update callers. Move printing scope of new
48176 object to before the relocation.
44f0a71e 48177 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48178 * sysdeps/generic/ldsodefs.h: Update declaration.
48179
076fe015
UD
48180 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48181 string for the scope number.
48182
a60df2c3
UD
481832011-08-14 Ulrich Drepper <drepper@gmail.com>
48184
48185 * nscd/servicescache.c (cache_addserv): Make sure written is always
48186 initialized.
48187
5e4287d1
RM
481882011-08-14 Roland McGrath <roland@hack.frob.com>
48189
85ae0589
RM
48190 * sysdeps/i386/i486/bits/atomic.h
48191 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48192 statement expression, so as to suppress "set but not used" warning.
48193 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48194
69f63097
RM
48195 * string/strncat.c (STRNCAT): Use prototype definition.
48196
675456ef
RM
48197 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48198 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48199 -Iprograms here.
48200 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48201 (localedef-modules): Add localedef.
48202 (locale-modules): Add locale.
48203
5e4287d1
RM
48204 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48205 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48206 to avoid a warning.
48207
9c96ff23
DM
482082011-08-14 David S. Miller <davem@davemloft.net>
48209
48210 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48211 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48212
f9ddf089
UD
482132011-08-13 Ulrich Drepper <drepper@gmail.com>
48214
44f0a71e 48215 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48216 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48217 * elf/rtld.c (dl_main): Set l_name of vDSO.
48218 Call _dl_show_scope when DL_DEBUG_SCOPES.
48219 (process_dl_debug): Recognize scopes flag and also set it for all.
48220 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48221 Declare _dl_show_scope.
48222
1dc27704
UD
48223 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48224 (do_dlopen): Pass caller_dlopen to dl_open.
48225 (__libc_dlopen_mode): Initialize caller_dlopen.
48226
f9ddf089
UD
48227 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48228 of libc. Make tolower call locale-independent. Optimize a bit by
48229 using isdigit instead of isalnum.
48230 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48231
9ac533d3
UD
482322011-08-12 Ulrich Drepper <drepper@gmail.com>
48233
48234 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48235 was a dependency or dynamically loaded.
48236
89edf2e9
UD
482372011-08-11 Ulrich Drepper <drepper@gmail.com>
48238
8e999d29
UD
48239 * intl/l10nflist.c: Allow architecture-specific pop function.
48240 * sysdeps/x86_64/l10nflist.c: New file.
48241
89edf2e9
UD
48242 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48243 classification.
48244
14d96785
AS
482452011-08-10 Andreas Schwab <schwab@redhat.com>
48246
48247 * include/dirent.h: Add libc_hidden_proto for scandirat and
48248 scandirat64. Don't declare __scandirat64.
48249 * dirent/scandirat.c: Add libc_hidden_def.
48250 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48251 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48252
6761ac04
DM
482532011-08-10 David S. Miller <davem@davemloft.net>
48254
48255 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48256 enum.
48257 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48259 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48260
c55fbd1e
UD
482612011-08-09 Ulrich Drepper <drepper@gmail.com>
48262
48263 * Versions.def [libc]: Add GLIBC_2.15.
48264 * dirent/Makefile (routines): Add scandirat and scandirat64.
48265 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48266 GLIBC_2.15.
48267 * dirent/dirent.h: Declare scandirat and scandirat64.
48268 * dirent/scandirat.c: New file.
48269 * dirent/scandirat64.c: New file.
48270 * sysdeps/wordsize-64/scandirat.c: New file.
48271 * sysdeps/wordsize-64/scandirat64.c: New file.
48272 * dirent/opendir.c: Define opendirat.
48273 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48274 using scandirat.
48275 * dirent/scandir64.c: Adjust for scandir.c change.
48276 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48277 __scandirat64, and __scandir_cancel_handler.
48278 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48279 additional parameter and use openat instead of open (outside of ld.so).
48280 Add new __opendir as wrapper around __opendirat.
48281 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48282 here without requiring old scandirat implementation.
48283
879165f2
UD
482842011-08-08 Ulrich Drepper <drepper@gmail.com>
48285
48286 * dirent/scandir.c (cancel_handler): Renamed to
48287 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48288 defined. Adjust users.
48289 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48290 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48291
cb7e923b
UD
482922011-08-04 Ulrich Drepper <drepper@gmail.com>
48293
16292edd
UD
48294 * string/test-string.h (IMPL): Use __STRING to expand name and then
48295 stringify it.
48296
cb7e923b
UD
48297 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48298 of cleanups.
48299
cff82933
LD
483002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48301
48302 * string/Makefile: Update.
48303 (strop-tests): Append strncat.
48304 * string/test-wcscmp.c: New file.
48305 New comprehensive test for wcscmp.
48306 * string/test-strcmp.c: Update.
48307 (WIDE): New define.
48308
9be9bfcc
AS
483092011-07-22 Andreas Schwab <schwab@redhat.com>
48310
48311 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48312 line.
48313
2e96f1c7
AS
483142011-07-26 Andreas Schwab <schwab@redhat.com>
48315
48316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48317 encoding to ACE if AI_IDN.
48318
85188888
JJ
483192011-08-01 Jakub Jelinek <jakub@redhat.com>
48320
48321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48322 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48323
5fa16e9b
LD
483242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48325
48326 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48327 Fix overflow bug in strncat.
48328 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48329
48330 * string/test-strncat.c: Update.
48331 Add new tests for checking overflow bugs.
48332
483332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48334
48335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48336 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48337 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48338 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48339 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48340 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48341 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48342 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48343 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48344
48345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48346 (USE_AS_STRCAT): Define.
48347 Add strcat and strncat support.
48348 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48349
8c1a459f
AS
483502011-07-25 Andreas Schwab <schwab@redhat.com>
48351
48352 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48353 __n bigger than INT_MAX+1.
48354 (__strncmp_g): Likewise.
48355
bba33c28
UD
483562011-07-23 Ulrich Drepper <drepper@gmail.com>
48357
798be72d
UD
48358 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48359 * libio/stido.h: Likewise.
48360
8accd4dc
UD
48361 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48362 (AF_NFC): Define.
48363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48364 (AF_NFC): Define.
48365
cbff0d96
UD
48366 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48367 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48368 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48369 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48371
9191c04a
UD
48372 [BZ #13021]
48373 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48374 installed.
48375
bba33c28
UD
48376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48377 typo.
48378 (_dl_x86_64_save_sse): Likewise.
48379
90f139dd
UD
483802011-07-22 Ulrich Drepper <drepper@gmail.com>
48381
1aae088a
UD
48382 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48383 OSXSAVE.
48384 (_dl_x86_64_save_sse): Likewise.
48385
8e2045f5
UD
48386 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48387
90f139dd
UD
48388 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48389
1d002f25
AS
483902011-07-21 Andreas Schwab <schwab@redhat.com>
48391
48392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48393 change.
48394 (_dl_x86_64_save_sse): Use correct AVX check.
48395
21137f89
UD
483962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48397
48398 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48399 bug in strncpy/strncat.
48400 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48401
a65c0b7a
UD
484022011-07-21 Ulrich Drepper <drepper@gmail.com>
48403
48404 * string/tester.c (test_strcat): Add tests for different alignments
48405 of source and destination.
48406 (test_strncat): Likewise.
48407
6986b98a
UD
484082011-07-20 Ulrich Drepper <drepper@gmail.com>
48409
90bb2039
UD
48410 [BZ #12852]
48411 * posix/glob.c (glob): Check passed in values before using them in
48412 expressions to avoid some overflows.
48413 (glob_in_dir): Likewise.
48414
5644ef54
UD
48415 [BZ #13007]
48416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48417 check for AVX enablement so that we don't crash with old kernels and
48418 new hardware.
48419 * elf/tst-audit4.c: Add same checks here.
48420 * elf/tst-audit6.c: Likewise.
48421
48422 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48423
bfc9dc9b
AS
484242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48425
48426 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48427
702e64bb
UD
484282011-07-20 Ulrich Drepper <drepper@gmail.com>
48429
48430 * po/cs.po: Update from translation team.
48431 * po/bg.po: Likewise.
48432
295e904f
MP
484332011-07-12 Marek Polacek <mpolacek@redhat.com>
48434
48435 * misc/sys/cdefs.h: Add support for const attribute.
48436 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48437 to gnu_dev_{major,minor,makedev} functions.
48438
3ff94596
MP
484392011-07-20 Marek Polacek <mpolacek@redhat.com>
48440
48441 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48442
28b59fca
AS
484432011-07-20 Andreas Schwab <schwab@redhat.com>
48444
48445 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48446 strlen results.
48447
19df733e
AK
484482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48449
48450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48451 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48452 register in order to avoid conflicts with the soft frame pointer
48453 being held in r11 when necessary.
48454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48455 (INTERNAL_VSYSCALL_NCS): Likewise.
48456
c8835729
MP
484572011-07-14 Marek Polacek <mpolacek@redhat.com>
48458
48459 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48460 * elf/dl-fini.c (_dl_fini): Adjust caller.
48461 * elf/dl-close.c (_dl_close_worker): Likewise.
48462 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48463
b902330c
MP
484642011-07-15 Marek Polacek <mpolacek@redhat.com>
48465
8991e135
MP
48466 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48467 "aux_cache->nlibs < 0".
48468
b902330c
MP
48469 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48470 in the reload-count case.
48471
99710781
LD
484722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48473
48474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48475 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48476 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48477 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48478 * sysdeps/x86_64/multiarch/strcat.S: New file.
48479 * sysdeps/x86_64/multiarch/strncat.S: New file.
48480 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48481 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48482 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48483 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48484 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48485 (USE_AS_STRCAT): Define.
48486 Add strcat and strncat support.
48487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48488 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48489 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48490 * string/strncat.c: Update.
48491 (USE_AS_STRNCAT): Define.
48492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48493 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48494 and i7.
48495 * sysdeps/x86_64/multiarch/init-arch.h
48496 (bit_Prefer_PMINUB_for_stringop): New.
48497 (index_Prefer_PMINUB_for_stringop): Likewise.
48498 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48499 bit_Prefer_PMINUB_for_stringop.
48500
7dc6bd90
UD
485012011-07-19 Ulrich Drepper <drepper@gmail.com>
48502
48503 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48504 buffer64.
48505 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48506 of casting of buffer.
48507 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48508 buffer32 and buffer64.
48509 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48510 writes instead of casting of buffer.
48511 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48512 buffer32.
48513 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48514 casting of buffer.
48515
e0e72284
AS
485162011-07-19 Andreas Schwab <schwab@redhat.com>
48517
48518 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48519
feb1eb0b
UD
485202011-07-19 Ulrich Drepper <drepper@gmail.com>
48521
48522 * nscd/nscd.c (termination_handler): Don't do anything for a database
48523 if it has not yet been initialized.
48524
298711ff
UD
485252011-07-18 Ulrich Drepper <drepper@gmail.com>
48526
48527 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48528
485292011-07-15 Marek Polacek <mpolacek@redhat.com>
48530
48531 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48532
f9d68389
UD
485332011-07-18 Ulrich Drepper <drepper@gmail.com>
48534
48535 * po/nl.po: Update from translation team.
48536 * po/sv.po: Likewise.
48537
db290cf5
RM
485382011-07-16 Roland McGrath <roland@hack.frob.com>
48539
48540 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48541 now disallowed by GCC.
5c550700 48542
fd5e21c7
RM
48543 * configure.in (use-default-link): Default to yes if a test -shared
48544 link meets our qualifications.
48545 * configure: Regenerated.
48546
5c550700
RM
48547 * config.make.in (output-format): New variable.
48548 * configure.in: Check for ld --print-output-format support.
48549 * configure: Regenerated.
48550 * Makerules ($(common-objpfx)format.lds)
48551 [$(output-format) != unknown]: Just use $(output-format),
48552 instead of the linker-script munging.
48553
9fa2c032
RM
485542011-07-14 Roland McGrath <roland@hack.frob.com>
48555
a6928d51
RM
48556 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48557 of $(common-objpfx)shlib.lds.
48558 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48559
661607b3
RM
48560 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48561 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48562
9fa2c032
RM
48563 * configure.in (-z relro check): Adjust test code to add a large
48564 writable data section after it.
48565 * configure: Regenerated.
48566
defe9061
RM
485672011-07-11 Roland McGrath <roland@hack.frob.com>
48568
48569 * configure.in (-z relro check): Fix test code to make the variable
48570 truly const.
48571 * configure: Regenerated.
48572
319b9ad4
UD
485732011-07-11 Ulrich Drepper <drepper@gmail.com>
48574
48575 * nscd/nscd.h (struct traced_file): Define.
48576 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48577 elements. Add traced_files.
48578 (inotify_fd): Declare.
48579 (register_traced_file): Declare.
48580 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48581 (inotify_fd): Export.
48582 (resolv_conf_descr): Remove.
48583 (nscd_init): Move inotify descriptor creation to main.
48584 Don't register files for notification here.
48585 (register_traced_file): New function.
48586 (invalidate_cache): Don't use reset_res to determine whether to call
48587 res_init, go through the list of registered files.
48588 (main_loop_poll): The inotify descriptors are now stored in the
48589 structures for the traced files.
48590 (main_loop_epoll): Likewise
48591 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48592 to __nss_disable_nscd.
48593 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48594 for a database anymore. Check the records for all the registered
48595 files instead.
48596 * nss/Makefile (libnss_files-routines): Add files-init.
48597 (libnss_db-routines): Add db-init.
48598 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48599 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48600 * nss/nss_db/db-init.c: New file.
48601 * nss/nss_files/files-init.c: New file.
48602 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48603 __nss_lookup_function.
48604 (__nss_lookup_function): Call nss_load_library.
48605 (nss_load_all_libraries): New function.
48606 (__nss_disable_nscd): Take parameter with callback function for files
48607 to register. Set is_nscd. Load all the DSOs for the NSS modules
48608 used for the cached services.
48609 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48610 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48611 options for features to all the files in nscd.
48612
48613 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48614
23bee3e8
RM
486152011-07-10 Roland McGrath <roland@hack.frob.com>
48616
48617 * csu/elf-init.c (__libc_csu_init): Comment typo.
48618
46a5b7f0
UD
486192011-07-09 Ulrich Drepper <drepper@gmail.com>
48620
48621 * po/pl.po: Update from translation team.
48622 * po/ja.po: Likewise.
48623 * po/ru.po: Likewise.
48624 * po/ko.po: Likewise.
48625 * po/fr.po: Likewise.
48626
d30cf5bb
RM
486272011-07-09 Roland McGrath <roland@hack.frob.com>
48628
113ddea4
RM
48629 * configure.in (.ctors/.dtors header and trailer check):
48630 Use an empirical test on a built program.
48631 * configure: Regenerated.
48632
574920b4
RM
48633 * configure.in (-z relro check): Use an empirical test on a built DSO.
48634 Detect, but do not require, on ia64.
48635 * configure: Regenerated.
48636
d30cf5bb
RM
48637 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48638 Update tests that use readelf to use $READELF instead.
48639 * configure: Regenerated.
48640
8538fdb3
UD
486412011-07-08 Ulrich Drepper <drepper@gmail.com>
48642
48643 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48644 if the result is not used.
48645
04d08991
AJ
486462011-07-05 Andreas Jaeger <aj@suse.de>
48647
48648 [BZ#9696]
48649 * stdlib/tst-strtod.c: Add testcase.
48650
de283087
AD
486512011-07-07 Ulrich Drepper <drepper@gmail.com>
48652
4e5f31c8 48653 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48654 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48655 The latter has a higher limit. Take additional parameter to pass to
48656 the new function.
48657 (__pathconf): Pass file to __statfs_link_max.
48658 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48659 __statfs_link_max.
48660 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48661 __statfs_link_max.
48662
de283087
AD
48663 [BZ #12868]
48664 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48666 Handle Lustre.
48667 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48668 (__statfs_filesize_max): Likewise.
48669 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48670
c75fa153
AJ
486712011-07-05 Andreas Jaeger <aj@suse.de>
48672
48673 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48674
1a544854
UD
486752011-07-06 Marek Polacek <mpolacek@redhat.com>
48676
48677 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48678 `status' variable.
48679 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48680 Likewise.
48681
6f0eec67
UD
486822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48683
48684 * Makefile (strop-tests): Add strncat.
48685 * string/test-strncat.c: New file.
48686
aae30307
UD
486872011-06-30 Marek Polacek <mpolacek@redhat.com>
48688
48689 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48690
c0cfb5eb
UD
486912011-06-21 Andreas Jaeger <aj@suse.de>
48692
48693 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48694 Copy rule from iconvdata/Makefile.
48695
01636b21
UD
486962011-07-06 Ulrich Drepper <drepper@gmail.com>
48697
48698 [BZ #12922]
48699 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48700 but no long options are defined, just return 'W'.
48701
9895c8bc
UD
487022011-06-22 Marek Polacek <mpolacek@redhat.com>
48703
48704 [BZ #9696]
48705 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48706
5d4cf042
UD
487072011-07-06 Ulrich Drepper <drepper@gmail.com>
48708
48709 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48710 netgroups to read.
960e5535 48711 (innetgr): Likewise.
5d4cf042 48712
751eb97e
RM
487132011-07-05 Roland McGrath <roland@hack.frob.com>
48714
48715 * config.make.in (install_root): Default to $(DESTDIR).
48716
f15f1e45
UD
487172011-07-05 Ulrich Drepper <drepper@gmail.com>
48718
48719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48720
4e34ac6a
RM
487212011-07-02 Roland McGrath <roland@hack.frob.com>
48722
5e9b6af4
RM
48723 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48724
84f9ea0f
RM
48725 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48726 containing directory rather than embedding absolute directory names.
48727
ea5ee9f7
RM
48728 * scripts/check-local-headers.sh: Rewritten using awk.
48729 Match by word, not by line. Print error messages for matches.
48730 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48731
1b74661a
RM
48732 * Makerules [shlib-lds-flags empty]:
48733 ($(common-objpfx)libc_pic.opts): New target.
48734 ($(common-objpfx)libc_pic.os.clean): New target.
48735 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48736
48737 * config.make.in (OBJCOPY): New variable.
48738 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48739 * configure: Regenerated.
48740
f781ef40
RM
48741 * config.make.in (use-default-link): New variable.
48742 * configure.in (use_default_link): Grok --with-default-link to set it.
48743 * configure: Regenerated.
48744 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48745 (shlib-lds, shlib-lds-flags): Define to empty.
48746
2d4fa81e
RM
48747 * Makerules (shlib-lds): New variable.
48748 (shlib-lds-flags): New variable.
48749 (build-shlib, build-moduile, build-module-asneeded): Use it.
48750 ($(common-objpfx)libc.so): Use $(shlib-lds).
48751 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48752 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48753
31fffa6b
RM
48754 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48755 DT_FLAGS/DT_FLAGS_1 with zero flags.
48756
4e34ac6a
RM
48757 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48758 linker script munging.
48759
fcfc776b
UD
487602011-07-02 Ulrich Drepper <drepper@gmail.com>
48761
48762 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48763 as 128-bit value.
48764 * crypt/sha512.c (sha512_process_block): Perform total addition using
48765 128-bit if possible.
48766 (__sha512_finish_ctx): Likewise.
48767 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48768 as 64-bit value.
48769 * crypt/sha256.c (SWAP64): Define.
48770 (sha256_process_block): Perform total addition using 64-bit if
48771 possible.
48772 (__sha256_finish_ctx): Likewise.
48773
99231d9a
UD
487742011-07-01 Ulrich Drepper <drepper@gmail.com>
48775
48776 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48778 * nscd/hstcache.c (cache_addhst): Likewise.
48779 * nscd/grpcache.c (cache_addgr): Likewise.
48780 * nscd/aicache.c (addhstaiX): Likewise
48781 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48782
445b4a53
TK
487832011-07-01 Thorsten Kukuk <kukuk@suse.de>
48784
48785 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48787 * nscd/hstcache.c (cache_addhst): Likewise.
48788 * nscd/grpcache.c (cache_addgr): Likewise.
48789 * nscd/aicache.c (addhstaiX): Likewise
48790
6d4d8e8e
AS
487912011-07-01 Andreas Schwab <schwab@redhat.com>
48792
48793 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48794 domain only when needed.
48795
89f654c5
AS
487962011-06-30 Andreas Schwab <schwab@redhat.com>
48797
48798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48799 is always restored.
48800
cf3b23ff
UD
488012011-06-29 Ulrich Drepper <drepper@gmail.com>
48802
48803 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48804 are re-adding the entry.
48805 * nscd/servicescache.c (cache_addserv): Likewise.
48806
751626f9
AJ
488072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48808
48809 * sysdeps/generic/dl-irel.h: fix protection against multiple
48810 inclusions.
48811 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48812
9113ea1f
UD
488132011-06-28 Ulrich Drepper <drepper@gmail.com>
48814
5c0b8d90
UD
48815 [BZ #12935]
48816 * malloc/memusage.sh: Fix quoting in message.
48817 * debug/xtrace.sh: Likewise.
48818
9113ea1f
UD
48819 * configure.in: Remove support for --experimental-malloc option, make
48820 it the default.
48821 * config.make.in: Likewise.
48822 * malloc/Makefile: Likewise.
48823
a4172181
AS
488242011-06-27 Andreas Schwab <schwab@redhat.com>
48825
48826 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48827 two-byte characters.
48828
78a7eee7
RM
488292011-06-27 Roland McGrath <roland@hack.frob.com>
48830
62bede13
RM
48831 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48832 AC_CACHE_CHECK invocation.
48833 * configure: Regenerated.
48834
78a7eee7
RM
48835 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48836
5ce33a62
UD
488372011-06-27 Ulrich Drepper <drepper@gmail.com>
48838
034807a9
UD
48839 [BZ #12350]
48840 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48841 bit from old_res_options.
48842
4902da17
UD
48843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48844
5ce33a62
UD
48845 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48846 value type for setfct.
48847
c2344f56
L
488482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48849
48850 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48851 __gettimeofday instead of gettimeofday.
48852
68468076
UD
488532011-06-26 Ulrich Drepper <drepper@gmail.com>
48854
48855 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48856
acb0d739
L
488572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48858
48859 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48860
48861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48862 info.
48863
8912479f
L
488642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48865
48866 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48867 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48868 strcpy-sse2-unaligned strncpy-sse2-unaligned
48869 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48870 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48871 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48872 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48873 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48874 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48876 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48877 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48878 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48879 (STRCPY): Support SSE2 and SSSE3 versions.
48880
d5495a11
UD
488812011-06-24 Ulrich Drepper <drepper@gmail.com>
48882
48883 [BZ #12874]
48884 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48885 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48886 kernels which artificially limit size of requests.
48887
0b1cbaae
L
488882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48889
48890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48891 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48892 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48893 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48894 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48895 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48896 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48897 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48899 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48900 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48901 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48902 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48903 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48904 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48906 Enable unaligned load optimization for Intel Core i3, i5 and i7
48907 processors.
48908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48909 Define.
48910 (index_Fast_Unaligned_Load): Define.
48911 (HAS_FAST_UNALIGNED_LOAD): Define.
48912
07f494a0
MP
489132011-06-23 Marek Polacek <mpolacek@redhat.com>
48914
48915 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48916
fa3fc0fe
UD
489172011-06-22 Ulrich Drepper <drepper@gmail.com>
48918
48919 [BZ #12907]
48920 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48921 until it is clear that the information is realy needed.
48922 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48923
e12df166
AS
489242011-06-22 Andreas Schwab <schwab@redhat.com>
48925
48926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48927
852eb34d
UD
489282011-06-22 Ulrich Drepper <drepper@gmail.com>
48929
84e2a551
UD
48930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48931 /sys/devices/system/cpu/online if it is usable.
48932
852eb34d
UD
48933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48934 reading the information from the /proc filesystem to once a second.
48935
6e502e19
UD
489362011-06-21 Andreas Jaeger <aj@suse.de>
48937
48938 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48939 NULL after inclusion of kernel headers.
48940
75d39ff2
UD
489412011-06-21 Ulrich Drepper <drepper@gmail.com>
48942
51f9aa6a
UD
48943 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48944 calls to internal_setent.
48945
c0244a9d
UD
48946 [BZ #12885]
48947 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48948 addresses using gethostbyname4_r ignore IPv4 addresses.
48949
c5e3c2ae
UD
48950 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48951 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48952
75d39ff2
UD
48953 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48954
42675c6f
DM
489552011-06-20 David S. Miller <davem@davemloft.net>
48956
48957 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48958 inclusions.
48959 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48960
48961 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48962 (elf_irel): Use it.
48963 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48964 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48965 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48966 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48967 * sysdeps/x86_64/dl-irel.h: Likewise.
48968
48969 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48970 * elf/dl-sym.c: Likewise.
48971
57912a71
UD
489722011-06-15 Ulrich Drepper <drepper@gmail.com>
48973
48974 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48975 need to dereference resplen2.
48976
ee22793d
AS
489772011-06-14 Andreas Schwab <schwab@redhat.com>
48978
48979 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48980
a9e836b0
UD
489812011-06-15 Ulrich Drepper <drepper@gmail.com>
48982
77fb9117
UD
48983 * Makeconfig: Define vardbdir and inst_vardbdir.
48984 * nss/Makefile: Add rules to install db-Makefile.
48985
40c1b22c
UD
48986 * nss/nss_db/db-XXX.c: Cleanup.
48987
9f2da732
UD
48988 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48989 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48990 GLIBC_PRIVATE.
48991 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48992 * nss/makedb.c: Implement -g option to specify that value strings
48993 are generated and should not be added to table iterated over for
48994 get*ent calls.
48995 * nss/nss_db/db-initgroups.c: New file.
48996
82e9a1f7
UD
48997 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48998 interface.
48999
c41af17e
UD
49000 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49001 (internal_getgrouplist): Adjust to name change.
49002 Update use_initgroups_entry if this is not the first call.
49003 * nss/databases.def: Add initgroups entry.
49004
a9e836b0
UD
49005 * nss/makedb.c (compute_tables): Check result of multiple hash table
49006 sizes to minimize maximum chain length.
49007
2666d441
UD
490082011-06-14 Ulrich Drepper <drepper@gmail.com>
49009
49010 * Versions.def: Add entry for libnss_db.
49011 * shlib-versions: Likewise.
49012 * nss/Makefile: Add rules to build libnss_db.
49013 * nss/Versions: Add libnss_db information. Organize libnss_files
49014 entries better.
49015 * nss/db-Makefile: Add gshadow support. Change rules for the new
49016 makedb progra. Some minor improvements to generate smaller files.
49017 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49018 here from...
49019 * nss/makedb.c: ...here.
49020 Improve database format to be smaller and require less memory at
49021 runtime.
49022 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49023 db anymore.
49024 * nss/nss_db/db-netgrp.c: Likewise.
49025 * nss/nss_db/db-open.c: Likewise.
49026 * nss/nss_files/flies-XXX.x: Adjust comments.
49027 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49028 * nss/nss_files/files-grp.c: Likewise.
49029 * nss/nss_files/files-hosts.c: Likewise.
49030 * nss/nss_files/files-network.c: Likewise.
49031 * nss/nss_files/files-proto.c: Likewise.
49032 * nss/nss_files/files-pwd.c: Likewise.
49033 * nss/nss_files/files-rpc.c: Likewise.
49034 * nss/nss_files/files-service.c: Likewise.
49035 * nss/nss_files/files-sgrp.c: Likewise.
49036 * nss/nss_files/files-spwd.c: Likewise.
49037 * nss/nss_db/db-alias.c: Removed.
49038 * nss/nss_db/dummy-db.h: Removed.
49039
9ee76b5a
UD
490402011-06-02 Ulrich Drepper <drepper@gmail.com>
49041
49042 * nss/makedb.c: Rewritten to not use database library.
49043 * nss/Makefile: Update to build new makedb program.
49044
c71ca1f8
AJ
490452011-06-14 Andreas Jaeger <aj@suse.de>
49046
49047 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49048 memset declaration.
49049
3154bfb8
UD
490502011-06-10 Andreas Schwab <schwab@redhat.com>
49051
49052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49053 tmpbuf.
49054
b350afab
RM
490552011-06-10 Roland McGrath <roland@hack.frob.com>
49056
decd4e50
RM
49057 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49058 * elf/Makefile ($(objpfx)ld.so): Likewise.
49059
5615eaf2
RM
49060 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49061 Don't list ld.so twice in dependencies.
49062
49063 * posix/bug-regex31.c: Include <stdlib.h>.
49064
49065 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49066
49067 * nis/nss_compat/compat-spwd.c
49068 (getspent_next_nss_netgr): Remove unused variable.
49069 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49070
49071 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49072 nonmembers" output to use the right array.
49073
49074 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49075
49076 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49077
49078 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49079 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49080 * catgets/gencat.c (read_input_file): Likewise.
49081 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49082
49083 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49084 variable definition inside #if's controlling its use.
49085
49086 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49087
49088 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49089
49090 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49091
49092 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49093 unreachable code.
49094
49095 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49096
b68e08db
RM
49097 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49098 * configure: Regenerated.
49099
b350afab
RM
49100 * Makerules: Revert last change.
49101 * elf/Makefile: Likewise.
49102
28368601
RM
491032011-06-09 Roland McGrath <roland@hack.frob.com>
49104
49105 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49106 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49107 (reloc-link): Likewise.
49108
11988f8f
UD
491092011-06-09 Ulrich Drepper <drepper@gmail.com>
49110
49111 * elf/Makefile: Add rules to build pldd.
49112 * elf/pldd.c: New file.
49113 * elf/pldd-xx.c: New file.
49114
e80fab37
UD
491152011-06-07 Ulrich Drepper <drepper@gmail.com>
49116
49117 * version.h: Update for 2.15 development version.
49118
9b849836
DM
491192011-06-07 David S. Miller <davem@davemloft.net>
49120
49121 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49122 ifuncs.
49123 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49124 elf_machine_lazy_rel): Likewise.
49125 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49127 elf_machine_lazy_rel): Likewise.
49128 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49129 dl_hwcap via passed in argument.
49130 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49131 Likewise.
49132
5a31b283
AK
491332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49134
49135 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49136
069e52f8
RM
491372011-06-06 Roland McGrath <roland@hack.frob.com>
49138
49139 [BZ #12849]
49140 * manual/fdl-1.1.texi: New file, verbatim from:
49141 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49142 * manual/lgpl-2.1.texi: New file, verbatim from:
49143 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49144 * manual/Makefile (licenses): New variable, list those new file names.
49145 (texis): Use it.
49146 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49147
49148 * manual/fdl.texi: File removed.
49149 * manual/lesser.texi: File removed.
49150 * manual/libc.texinfo (Copying, Documentation License):
49151 Use new @include file names, put @appendix directive before @include.
49152
f16846a5
JJ
491532011-06-04 Jakub Jelinek <jakub@redhat.com>
49154
49155 [BZ #12841]
49156 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49157 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49158 (mq_open): Add __NTH.
49159
3d29045b
L
491602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49161
49162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49163 Assume Intel Core i3/i5/i7 processor if AVX is available.
49164
8c297311
UD
491652011-05-31 Ulrich Drepper <drepper@gmail.com>
49166
49167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49168 typo.
49169
c8fc0c91
UD
491702011-05-31 Andreas Schwab <schwab@redhat.com>
49171
49172 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49173 memory. Use alloca_account. Fix memory leak when retrying.
49174
5b27a807
UD
491752011-05-31 Ulrich Drepper <drepper@gmail.com>
49176
356f8bc6
UD
49177 * version.h (RELEASE): Bump for 2.14 release.
49178 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49179
5b27a807
UD
49180 * config.make.in (RANLIB): Remove entry.
49181
01f16ab0
UD
491822011-05-30 Ulrich Drepper <drepper@gmail.com>
49183
41fce8bd
UD
49184 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49185 (libc.pot): Work around missing support for .ksh extension in xgettext.
49186
4769ae77
UD
49187 [BZ #12684]
49188 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49189 if both request failed.
49190 (send_dg): In case of server errors clear resplen or *resplen2.
49191
6b1e7d19
UD
49192 [BZ #12454]
49193 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49194 when there are multiple maps.
49195 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49196 (_dl_fini): Remove test here.
49197
01f16ab0
UD
49198 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49199
b1ebd700
UD
492002011-05-29 Ulrich Drepper <drepper@gmail.com>
49201
7ae22829
UD
49202 [BZ #12350]
49203 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49204 bit from old_res_options.
49205 (gaih_inet): Likewise.
49206
553149f6 49207 [BZ #11099]
18a84741 49208 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49209 as signed.
49210
652ffab1
UD
49211 * resolv/res_init.c (res_setoptions): Make the code more compact.
49212
16985fd0
UD
49213 [BZ #11558]
49214 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49215 set RES_USEVC.
49216
0464f746
UD
49217 [BZ #11634]
49218 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49219
7d17596c
UD
49220 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49221
cf6bbbd7
UD
49222 [BZ #11781]
49223 * malloc/malloc.h: Declare malloc hook variables as volatile.
49224
13f1ab36
UD
49225 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49226 in last patch.
49227
b1ebd700
UD
49228 [BZ #11799]
49229 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49230 raise in the comment.
80e2212d
UD
49231 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49233 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49234
ce67228d
UD
492352011-05-28 Ulrich Drepper <drepper@gmail.com>
49236
8887a920
UD
49237 [BZ #12811]
49238 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49239 grow the buffers more if it already has to be sufficient.
49240 (build_wcs_upper_buffer): Likewise.
49241 * posix/regexec.c (check_matching): Likewise.
49242 (clean_state_log_if_needed): Likewise.
49243 (extend_buffers): Don't enlarge buffers beyond size of the input
49244 buffer.
49245 Patches mostly by Emil Wojak <emil@wojak.eu>.
49246 * posix/bug-regex32.c: New file.
49247 * posix/Makefile (tests): Add bug-regex32.
49248
4f031072
UD
49249 * locale/findlocale.c (_nl_find_locale): Return right away if
49250 _nl_explode_name failed.
49251 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49252
d0478f0c
UD
49253 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49254
de81b246
UD
49255 * debug/xtrace.sh: Unify messages.
49256 * malloc/memusage.sh: Likewise.
49257
c738465a
UD
49258 [BZ #12813]
49259 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49260 time symbol from vDSO. Substitute with vsyscall if not available.
49261 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49262 __vdso_time.
49263
f1f929d7
UD
49264 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49265 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49266 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49267 Add sendmmsg and internal_sendmmsg.
49268 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49271
ce67228d
UD
49272 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49273 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49275
e57420c6
UD
492762011-05-27 Ulrich Drepper <drepper@gmail.com>
49277
a8509ca5
UD
49278 [BZ #12813]
49279 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49280 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49281 available.
49282 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49283 __vdso_getcpu.
49284
e57420c6
UD
49285 [BZ #12814]
49286 * iconvdata/Makefile (tests): Add bug-iconv9.
49287 * iconvdata/bug-iconv9.c: New file.
49288
4d07db15
AS
492892011-05-27 Andreas Schwab <schwab@redhat.com>
49290
49291 [BZ #12814]
49292 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49293
ea486f69
JJ
492942011-05-25 Jakub Jelinek <jakub@redhat.com>
49295
49296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49297 (struct user_regs_struct): Change intcs field back to cs.
49298
6f038433
UD
492992011-05-25 Ulrich Drepper <drepper@gmail.com>
49300
49301 * po/ja.po: Update from translation team.
49302
67f86a25
UD
493032011-05-23 Ulrich Drepper <drepper@gmail.com>
49304
49305 [BZ #12795]
49306 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49307 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49308
def7fbd6
AS
493092011-05-20 Andreas Schwab <schwab@redhat.com>
49310
49311 * stdlib/longlong.h: Update from GCC.
49312
f50ef8f1
AS
493132011-05-23 Andreas Schwab <schwab@redhat.com>
49314
49315 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49316 parameter name.
49317 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49318 Add parameter name.
49319 (__sysconf): Pass it down.
49320
de7ce8f1
UD
493212011-05-22 Ulrich Drepper <drepper@gmail.com>
49322
f2962a71
UD
49323 [BZ #12671]
49324 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49325 some situations.
49326 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49327 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49328 add in in __libc_use_alloca calls. Adjust callers.
49329 (glob): Use malloc in some situations.
49330
de7ce8f1
UD
49331 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49332 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49333 pltexit.
49334
aec84f53
UD
493352011-05-21 Ulrich Drepper <drepper@gmail.com>
49336
05bb4a68
UD
49337 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49338 and CLOCK_BOOTTIME_ALARM.
49339
7ea72f99
UD
49340 [BZ #12782]
49341 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49342 is returned.
49343
7e4afad5
UD
49344 * string/_strerror.c (__strerror_r): Print negative errors as signed
49345 numbers.
49346
8e211fec
UD
49347 [BZ #12777]
49348 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49349 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49350 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49351
f7d82dc9
UD
49352 * configure.in: Fix typo in redirection and correct removal of test
49353 files in two cases.
49354
cc9e536d
UD
49355 [BZ #12788]
49356 * locale/setlocale.c (new_composite_name): Fix test to check for
49357 identical name of all categories.
49358
aec84f53
UD
49359 [BZ #12792]
49360 * libio/filedoalloc.c (local_isatty): New function.
49361 (_IO_file_doallocate): Use local_isatty.
49362 * stdio-common/perror.c (perror): In case a new stream is used
49363 forward the stream error.
49364 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49365 error flag.
49366
78e64fdc
RT
493672011-05-20 Ulrich Drepper <drepper@gmail.com>
49368
34a9094f
UD
49369 [BZ #11869]
49370 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49371 alloca.
49372 * include/alloca.h (extend_alloca_account): Define.
49373
78e64fdc
RT
49374 [BZ #11857]
49375 * posix/regex.h: Fix comments with documentation of user-accessible
49376 fields after compilation and describe correct free'ing of pattern
49377 after re_compile_pattern.
49378 Patch by Reuben Thomas <rrt@sc3d.org>.
49379
457bddfc
RA
493802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49381
49382 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49383 and -mno-altivec to prevent the compiler from using Altivec and/or
49384 VSX instructions when the corresponding registers are not available.
49385
a4527b51
AS
493862011-05-19 Andreas Schwab <schwab@redhat.com>
49387
49388 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49389
ed690b2f
UD
493902011-05-19 Ulrich Drepper <drepper@gmail.com>
49391
49392 * libio/freopen.c (freopen): Use __dup2, not dup2.
49393 * libio/freopen64.c (freopen64): Likewise.
49394
8db73634
L
493952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49396
49397 [BZ #12775]
49398 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49399 * math/Makefile (tests): Add test-powl.
49400 (CFLAGS-test-powl.c): Define.
49401 * math/test-powl.c: New file.
49402
0a197a9d
L
494032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49404
49405 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49406
ee30c380
UD
494072011-05-17 Ulrich Drepper <drepper@gmail.com>
49408
49409 [BZ #11837]
49410 * iconvdata/gb18030.c: Update to GB18020-2005.
49411
6ce75379
UD
494122011-05-16 Ulrich Drepper <drepper@gmail.com>
49413
a4b89fd8
AR
49414 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49415 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49416 Patch by Aharon Robbins <arnold@skeeve.com>.
49417
ea389b12
UD
49418 [BZ #11892]
49419 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49420 on the stack.
49421
68a3f91f
UD
49422 [BZ #11895]
49423 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49424 through underflows.
49425
15cc7dd1
UD
49426 [BZ #12766]
49427 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49428 point to strings before performing equality test for error_one_per_line
49429 mode.
49430
f3799213
UD
49431 [BZ #11697]
49432 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49433
d79a9c94
UD
49434 [BZ #11820]
49435 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49436 (struct user_fpregs_struct): Avoid __uint*_t types.
49437
56e5eb46
UD
49438 [BZ #6420]
49439 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49440 symbol info. Use it instead of calling _dl_addr locally.
49441 (lock_and_info): New function.
49442 (tr_freehook): Call lock_and_info and pass symbol info as additional
49443 parameter to tr_where.
49444 (tr_mallochook): Likewise.
49445 (tr_reallochook): Likewise.
49446 (tr_memalignhook): Likewise.
49447
6ce75379
UD
49448 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49449 used and couldn't be at all thread-safe.
49450
f8a3b5bf
UD
494512011-05-15 Ulrich Drepper <drepper@gmail.com>
49452
94b7cc37
UD
49453 * libio/freopen.c (freopen): Don't close old file descriptor
49454 before the new one is opened. Instead dup the new file descriptor
49455 to the old one after the new stream is created.
49456 * libio/freopen64.c (freopen64): Likewise.
49457 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49458 * libio/fileops.c (_IO_new_file_close_it): Handle new
49459 _IO_FLAGS2_NOCLOSE flag.
49460 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49461 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49462 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49463 _IO_FLAGS2_NOCLOSE flag.
49464 * include/unistd.h: Add hidden_proto for dup3.
49465 Define __have_dup3.
49466 * io/dup3.c: Define hidden symbol.
49467 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49468
bd25564e
UD
49469 [BZ #7101]
49470 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49471 when an incomplete long option is used.
49472 * posix/tst-getopt_long1.c: New file.
49473 * posix/Makefile (tests): Add tst-getopt_long1.
49474
c84cfef4
UD
49475 [BZ #10138]
49476 * scripts/config.guess: Update from autoconf-2.68.
49477 * scripts/config.sub: Likewise.
49478
3b85df27
UD
49479 [BZ #10157]
49480 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49481 tests into ...
49482 (has_cpuclock): ...this. New function.
49483 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49484 macro here based on has_cpuclock code.
49485
15a856b1
UD
49486 [BZ #10149]
49487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49488 First byte (not low byte) is now always NUL.
49489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49490
05f399e6
UD
49491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49492 Use non-cancelable interfaces.
49493
10a52685 49494 [BZ #9809]
94ecc67d
UD
49495 * locale/iso-639.def: Add entry for Sorani.
49496
f8a3b5bf
UD
49497 [BZ #11901]
49498 * include/stdlib.h: Move include protection to the right place.
49499 Define abort_msg_s. Declare __abort_msg with it.
49500 * stdlib/abort.c (__abort_msg): Adjust type.
49501 * assert/assert.c (__assert_fail_base): New function. Majority
49502 of code from __assert_fail. Allocate memory for __abort_msg with
49503 mmap.
49504 (__assert_fail): Now call __assert_fail_base.
49505 * assert/assert-perr.c: Remove bulk of implementation. Use
49506 __assert_fail_base.
49507 * include/assert.hL Declare __assert_fail_base.
49508 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49509 mmap.
49510 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49511
1af4e298
UD
495122011-05-14 Ulrich Drepper <drepper@gmail.com>
49513
f8a3b5bf 49514 [BZ #11952]
d26dfc60
MG
49515 [BZ #12453]
49516 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49517 until all modules are registered in the DTV.
49518 * elf/Makefile: Add rules to build and run tst-tls19.
49519 * elf/tst-tls19.c: New file.
49520 * elf/tst-tls19mod1.c: New file.
49521 * elf/tst-tls19mod2.c: New file.
49522 * elf/tst-tls19mod3.c: New file.
49523 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49524
2fc54d6f
UD
49525 [BZ #12083]
49526 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49527 correctly.
49528
98d76b46
UD
49529 [BZ #12601]
49530 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49531 two-byte sequence errors.
49532 * iconvdata/Makefile (tests): Add bug-iconv8.
49533 * iconvdata/bug-iconv8.c: New file.
49534
da3c19ef
UD
49535 [BZ #12626]
49536 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49537 buf2 definition.
49538
ca408c15
UD
49539 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49540
d6f67f7d
UD
49541 [BZ #12432]
49542 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49543 (dummy_getcfa): New function.
49544 (init): Get _Unwind_GetCFA address, use dummy if not found.
49545 (backtrace_helper): In recursion check, also check whether CFA changes.
49546 (__backtrace): Completely initialize arg.
49547
1af4e298 49548 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49549 storing incomplete byte sequence in state object. Avoid testing for
49550 guaranteed too small input if we know there is enough data available.
1af4e298 49551
da62f81b
AS
495522011-05-11 Andreas Schwab <schwab@redhat.com>
49553
49554 * Makeconfig (+link-pie): Indent.
49555 * Rules (binaries-pie): Define if $(have-fpie) and
49556 $(build-shared).
49557 (binaries-shared): Also filter out $(binaries-pie).
49558 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49559 * nscd/Makefile (others-pie): Add nscd.
49560 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49561 ($(objpfx)nscd): Remove command override.
49562 * login/Makefile (others-pie): Add pt_chown.
49563 ($(objpfx)pt_chown): Remove command override.
49564 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49565 remove command overrides.
49566
fcabc0f8
UD
495672011-05-13 Ulrich Drepper <drepper@gmail.com>
49568
20030ae6
UD
49569 * libio/tst_putwc.c: Fix error messages.
49570
fcabc0f8
UD
49571 [BZ #12724]
49572 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49573 currently writing and seek to current position when not.
49574 * libio/Makefile (tests): Add bug-fclose1.
49575 * libio/bug-fclose1.c: New file.
49576
320a5dc0
PB
495772011-05-12 Ulrich Drepper <drepper@gmail.com>
49578
49579 [BZ #12511]
49580 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49581 don't set DF_1_NODELETE here.
49582 (do_lookup_x): When entering new entry test for copy relocation
49583 and if necessary set DF_1_NODELETE flag.
49584 * elf/tst-unique4.cc: New file.
49585 * elf/tst-unique4.h: New file.
49586 * elf/tst-unique4lib.cc: New file.
49587 * elf/Makefile: Add rules to build and run tst-unique4.
49588 Patch by Piotr Bury <pbury@goahead.com>.
49589
22836f52
UD
495902011-05-11 Ulrich Drepper <drepper@gmail.com>
49591
f574184a
UD
49592 [BZ #12052]
49593 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49594
e1fb097f
UD
49595 [BZ #12625]
49596 * misc/mntent_r.c (addmntent): Flush the stream after the output
49597
22836f52
UD
49598 [BZ #12393]
49599 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49600 (is_trusted_path_normalize): Skip initial colon. Append slash
49601 to empty buffer. Duplicate is_trusted_path code but allow
49602 constructed patch to be prefix.
49603 (is_dst): Allow $ORIGIN followed by /.
49604 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49605 Correct testing of result of is_trusted_path_normalize
49606 (decompose_rpath): Fix warning.
49607
7b3b0b2a
UD
496082011-05-10 Ulrich Drepper <drepper@gmail.com>
49609
49610 [BZ #11257]
49611 * grp/initgroups.c (internal_getgrouplist): When we found the service
49612 list through the initgroups entry in nsswitch.conf do not always
49613 continue on a successful lookup. Don't always use the
eac80ce2 49614 __nss_group_database value if it is set.
7b3b0b2a
UD
49615 * nss/nsswitch.conf (initgroups): Change action for successful db
49616 lookup to continue for compatibility.
49617
2a81eaa5
UD
496182011-05-09 Ulrich Drepper <drepper@gmail.com>
49619
be97a69e
UD
49620 [BZ #11532]
49621 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49622 and CP774 modules.
49623 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49624 and CP774 modules.
49625 * iconvdata/tst-tables.sh: Likewise.
49626 * iconvdata/cp770.c: New file.
49627 * iconvdata/cp771.c: New file.
49628 * iconvdata/cp772.c: New file.
49629 * iconvdata/cp773.c: New file.
49630 * iconvdata/cp774.c: New file.
49631 * iconvdata/testdata/CP770: New file.
49632 * iconvdata/testdata/CP770..UTF8: New file.
49633 * iconvdata/testdata/CP771: New file.
49634 * iconvdata/testdata/CP771..UTF8: New file.
49635 * iconvdata/testdata/CP772: New file.
49636 * iconvdata/testdata/CP772..UTF8: New file.
49637 * iconvdata/testdata/CP773: New file.
49638 * iconvdata/testdata/CP773..UTF8: New file.
49639 * iconvdata/testdata/CP774: New file.
49640 * iconvdata/testdata/CP774..UTF8: New file.
49641
49642 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49643 END CHARMAP line.
49644 * iconvdata/gen-8bit-gap.sh: Likewise.
49645 * iconvdata/gen-8bit.sh: Likewise.
49646
c1e9e399
UD
49647 * locale/iso-639.def: Add ary entry.
49648
24c55fb3 49649 [BZ #11258]
96b4b1b0
UD
49650 * locale/C-translit.h.in: Add U20A1 transliteration.
49651
bdc2f971
KB
49652 [BZ #12178]
49653 * locale/iso-639.def: Add wae entry.
49654 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49655
2952b117
UD
49656 [BZ #12545]
49657 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49658 for n.
49659
2a81eaa5
UD
49660 [BZ #12711]
49661 * locale/C-translit.h.in: Add entry for U20B9.
49662 Patch by pravin.d.s@gmail.com.
49663
28377d1b
UD
496642011-05-08 Ulrich Drepper <drepper@gmail.com>
49665
7fb90fb8
UD
49666 [BZ #12713]
49667 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49668 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49669 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49670 in rtld. Use *stat64.
7fb90fb8 49671 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49672 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49673 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49674 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49675 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49676 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49677 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49678 __fstatat64 macros.
7fb90fb8
UD
49679 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49680 * dirent/rewinddir.c: Add libc_hidden_def.
49681 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49682 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49683
28377d1b
UD
49684 * include/dirent.h (__alloc_dir): Add flags parameter.
49685 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49686 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49687 __alloc_dir.
49688 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49689 from fdopendir if O_CLOEXEC is already set.
49690
66bdbaa4
AM
496912011-03-15 Alan Modra <amodra@gmail.com>
49692
49693 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49694 l_tls_firstbyte_offset non-zero. Save padding offset in
49695 l_tls_firstbyte_offset for later use.
49696 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49697 freeing static tls block.
49698
95721191
JN
496992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49700
49701 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49702 where #ifdef was intended. The intent is to prevent ARG_MAX from
49703 being defined by the kernel headers.
49704
f87dfb1f
UD
497052011-05-07 Ulrich Drepper <drepper@gmail.com>
49706
49707 [BZ #12734]
49708 * resolv/resolv.h: Define RES_NOTLDQUERY.
49709 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49710 no-tld-query and set RES_NOTLDQUERY.
49711 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49712 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49713 modern BIND to search name as TLD unless forbidden.
49714
47c3cd7a
UD
497152011-05-07 Petr Baudis <pasky@suse.cz>
49716 Ulrich Drepper <drepper@gmail.com>
49717
49718 [BZ #12393]
49719 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49720 (is_trusted_path): ...to here.
c1e9ea35 49721 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49722 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49723 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49724
8a35c912
PP
497252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49726
49727 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49728 __BEGIN/__END_DECLS.
49729
acd41f47
UD
497302011-05-06 Ulrich Drepper <drepper@gmail.com>
49731
49732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49733 NSS_STATUS_NOTFOUND if no record was found.
49734
597df647
AS
497352011-05-05 Andreas Schwab <schwab@redhat.com>
49736
49737 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49738 (headers-not-in-tirpc): Remove rpc/netdb.h
49739 * resolv/netdb.h: Revert last change.
49740
b9af1301
PP
497412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49742
49743 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49744 circular dependency between libgcc.a and libc.a.
49745
4e34d5f5
AS
497462011-05-05 Andreas Schwab <schwab@redhat.com>
49747
49748 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49749 * nis/Makefile: Don't install rpcsvc/*.
49750 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49751 instead of <rpc/types.h>.
49752 (MAXHOSTNAMELEN): Define.
49753
00ee369c
AS
497542011-05-03 Andreas Schwab <schwab@redhat.com>
49755
49756 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49757
0b592a30
MB
497582011-04-28 Maciej Babinski <mbabinski@google.com>
49759
49760 [BZ #12714]
49761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49762 gethostbyname4_r when IPv6 results are possible.
49763
6e04cbbe
UD
497642011-05-02 Ulrich Drepper <drepper@gmail.com>
49765
49766 [BZ #12723]
49767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49768 _PC_PIPE_BUF handling.
49769
e4ecafe0
BH
497702011-04-30 Bruno Haible <bruno@clisp.org>
49771
49772 [BZ #12717]
49773 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49774 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49775 to 'int'.
49776 * inet/getnameinfo.c (getnameinfo): Likewise.
49777
125ee683
UD
497782011-04-29 Ulrich Drepper <drepper@gmail.com>
49779
49780 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49781 to groups setting in database lookup.
49782 * nss/nsswitch.conf: Add initgroups entry.
49783
b722481a
EB
497842011-04-22 Ulrich Drepper <drepper@gmail.com>
49785
49786 [BZ #12685]
49787 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49788 mode string.
49789 Patch by Eric Blake <eblake@redhat.com>.
49790
4df46dbd
L
497912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49792
49793 * sunrpc/Makefile (need-export-routines): Add svc_run.
49794 (routines): Remove svc_run.
49795 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49796 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49797 * sunrpc/svc_run.c (svc_run): Likewise.
49798 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49799
e84142d2
UD
498002011-04-21 Ulrich Drepper <drepper@gmail.com>
49801
49802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49803 problem in reallocation in last patch.
49804
877175d8
UD
498052011-04-20 Ulrich Drepper <drepper@gmail.com>
49806
49807 * sunrpc/Makefile: Move inclusion of Rules.
49808
ab8eed78
UD
498092011-04-19 Ulrich Drepper <drepper@gmail.com>
49810
49811 * nss/nss_files/files-initgroups.c: New file.
49812 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49813 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49814 _nss_files_initgroups_dyn.
49815
e3d8f584
RS
498162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49817
49818 * elf/elf.h (R_ARM_IRELATIVE): Define.
49819
af190f45
UD
498202011-04-19 Ulrich Drepper <drepper@gmail.com>
49821
49822 * po/ru.po: Update from translation team.
49823
53cf59ef
UD
498242011-04-17 Ulrich Drepper <drepper@gmail.com>
49825
49826 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49827 dependencies.
49828
4c559bcd
MF
498292011-02-06 Mike Frysinger <vapier@gentoo.org>
49830
49831 [BZ #12653]
49832 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49833 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49834 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49837
4420675c
AS
498382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49839
49840 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49841 differing bytes.
49842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49845
75ea32ab
UD
498462011-04-17 Ulrich Drepper <drepper@gmail.com>
49847
49848 [BZ #12420]
49849 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49850 storing it.
49851 * stdlib/bug-getcontext.c: New file.
49852 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49853
27390476
AK
498542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49855
49856 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49857 instructions into .machine "z9-109".
49858 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49859 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49860
10442705
AK
498612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49862
49863 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49864 between environment variables and auxiliary vector.
49865
7b57bfe5
UD
498662011-04-16 Ulrich Drepper <drepper@gmail.com>
49867
49868 * Makefile: Add rules to build linkobj/libc.so.
49869 * include/libc-symbols.h: Define libc_hidden_nolink.
49870 * include/rpc/auth.h: Mark functions which are to be hidden.
49871 * include/rpc/auth_des.h: Likewise.
49872 * include/rpc/auth_unix.h: Likewise.
49873 * include/rpc/clnt.h: Likewise.
49874 * include/rpc/des_crypt.h: Likewise.
49875 * include/rpc/key_prot.h: Likewise.
49876 * include/rpc/pmap_clnt.h: Likewise.
49877 * include/rpc/pmap_prot.h: Likewise.
49878 * include/rpc/pmap_rmt.h: Likewise.
49879 * include/rpc/rpc_msg.h: Likewise.
49880 * include/rpc/svc.h: Likewise.
49881 * include/rpc/svc_auth.h: Likewise.
49882 * include/rpc/xdr.h: Likewise.
49883 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49884 * nss/Makefile: Likewise.
49885 * sunrpc/Makefile: Don't install headers. Build library with normal
49886 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49887 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49888 for the compat linking library. Remove use of INTDEF/INTUSE.
49889 * sunrpc/auth_none.c: Likewise.
49890 * sunrpc/auth_unix.c: Likewise.
49891 * sunrpc/authdes_prot.c: Likewise.
49892 * sunrpc/authuxprot.c: Likewise.
49893 * sunrpc/clnt_gen.c: Likewise.
49894 * sunrpc/clnt_perr.c: Likewise.
49895 * sunrpc/clnt_raw.c: Likewise.
49896 * sunrpc/clnt_simp.c: Likewise.
49897 * sunrpc/clnt_tcp.c: Likewise.
49898 * sunrpc/clnt_udp.c: Likewise.
49899 * sunrpc/clnt_unix.c: Likewise.
49900 * sunrpc/des_crypt.c: Likewise.
49901 * sunrpc/des_soft.c: Likewise.
49902 * sunrpc/get_myaddr.c: Likewise.
49903 * sunrpc/key_call.c: Likewise.
49904 * sunrpc/key_prot.c: Likewise.
49905 * sunrpc/netname.c: Likewise.
49906 * sunrpc/pm_getmaps.c: Likewise.
49907 * sunrpc/pm_getport.c: Likewise.
49908 * sunrpc/pmap_clnt.c: Likewise.
49909 * sunrpc/pmap_prot.c: Likewise.
49910 * sunrpc/pmap_prot2.c: Likewise.
49911 * sunrpc/pmap_rmt.c: Likewise.
49912 * sunrpc/publickey.c: Likewise.
49913 * sunrpc/rpc_cmsg.c: Likewise.
49914 * sunrpc/rpc_common.c: Likewise.
49915 * sunrpc/rpc_dtable.c: Likewise.
49916 * sunrpc/rpc_prot.c: Likewise.
49917 * sunrpc/rpc_thread.c: Likewise.
49918 * sunrpc/rtime.c: Likewise.
49919 * sunrpc/svc.c: Likewise.
49920 * sunrpc/svc_auth.c: Likewise.
49921 * sunrpc/svc_authux.c: Likewise.
49922 * sunrpc/svc_raw.c: Likewise.
49923 * sunrpc/svc_run.c: Likewise.
49924 * sunrpc/svc_simple.c: Likewise.
49925 * sunrpc/svc_tcp.c: Likewise.
49926 * sunrpc/svc_udp.c: Likewise.
49927 * sunrpc/svc_unix.c: Likewise.
49928 * sunrpc/svcauth_des.c: Likewise.
49929 * sunrpc/xcrypt.c: Likewise.
49930 * sunrpc/xdr.c: Likewise.
49931 * sunrpc/xdr_array.c: Likewise.
49932 * sunrpc/xdr_float.c: Likewise.
49933 * sunrpc/xdr_intXX_t.c: Likewise.
49934 * sunrpc/xdr_mem.c: Likewise.
49935 * sunrpc/xdr_rec.c: Likewise.
49936 * sunrpc/xdr_ref.c: Likewise.
49937 * sunrpc/xdr_sizeof.c: Likewise.
49938 * sunrpc/xdr_stdio.c: Likewise.
49939
e6c61494
UD
499402011-04-10 Ulrich Drepper <drepper@gmail.com>
49941
49942 [BZ #12650]
49943 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49944 * sysdeps/ia64/dl-tls.h: Likewise.
49945 * sysdeps/powerpc/dl-tls.h: Likewise.
49946 * sysdeps/s390/dl-tls.h: Likewise.
49947 * sysdeps/sh/dl-tls.h: Likewise.
49948 * sysdeps/sparc/dl-tls.h: Likewise.
49949 * sysdeps/x86_64/dl-tls.h: Likewise.
49950 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49951
34fe483e
AS
499522011-03-14 Andreas Schwab <schwab@redhat.com>
49953
49954 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49955 rpath element also skip the following colon.
49956 (expand_dynamic_string_token): Add is_path parameter and pass
49957 down to DL_DST_REQUIRED and _dl_dst_substitute.
49958 (decompose_rpath): Call expand_dynamic_string_token with
49959 non-zero is_path. Ignore empty rpaths.
49960 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49961 with zero is_path.
49962
f12a32e6
AS
499632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49964
49965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49966 Make cancelable.
49967
38a7d692
UD
499682011-04-09 Ulrich Drepper <drepper@gmail.com>
49969
49970 [BZ #12655]
49971 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49972 Patch by Filipe David Manana <fdmanana@apache.org>.
49973
e451d22b
AS
499742011-04-07 Andreas Schwab <schwab@redhat.com>
49975
49976 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49977 Maintain aligned stack.
49978 (CHECK_RSP): Remove unused macro.
49979
dedc7c7b
UD
499802011-04-03 Ulrich Drepper <drepper@gmail.com>
49981
49982 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49983 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49984
94521213
UD
499852011-04-02 Ulrich Drepper <drepper@gmail.com>
49986
49987 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49988
8cb700c0 49989 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 49990
0354e355
L
499912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49992
49993 [BZ #12518]
49994 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49995 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49996 * sysdeps/x86_64/memmove.c: New file.
49997 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49998 (memcpy): Renamed to ...
49999 (__new_memcpy): This.
50000 (memcpy): Provide GLIBC_2_14 memcpy.
50001 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50002 (memcpy): Provide GLIBC_2_2_5 memcpy.
50003
8593482f
UD
500042011-04-01 Ulrich Drepper <drepper@gmail.com>
50005
50006 [BZ #12631]
50007 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50008
81a5726b
AS
500092011-03-30 Andreas Schwab <schwab@redhat.com>
50010
50011 * misc/syncfs.c: New file.
50012 * misc/Makefile (routines): Add syncfs.
50013 * posix/unistd.h: Declare syncfs.
50014 * sysdeps/unix/syscalls.list: Add syncfs.
50015
00e5419f
AS
500162011-04-01 Andreas Schwab <schwab@redhat.com>
50017
50018 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50019 open_by_handle_at.
50020 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50022 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50023 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50025 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50026 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50027
748876bf
UD
500282011-04-01 Ulrich Drepper <drepper@gmail.com>
50029
658e451d
UD
50030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50031 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50032 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50034 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50036 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50037
748876bf
UD
50038 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50039 sync_file_range.c with -fexceptions.
50040 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50041 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50042 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50043 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50044 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50045 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50046 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50047 sync_file_range as cancellation point
50048 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50049 now a wrapper around __call_sync_file_range with cancellation handling.
50050 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50051 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50052 function name to __call_sync_file_range.
50053 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50054 Add call_sync_file_range.
748876bf 50055
6e63d5e1
AS
500562011-04-01 Andreas Schwab <schwab@redhat.com>
50057
50058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50059 bits/timex.h.
6e63d5e1 50060
46998f74
UD
500612011-04-01 Ulrich Drepper <drepper@gmail.com>
50062
4c1423ed
UD
50063 * iconv/iconv.h: Fix typo in comment.
50064 * io/fcntl.h: Likewise.
50065 * libio/stdio.h: Likewise.
50066 * posix/spawn.h: Likewise.
50067 * posix/unistd.h: Likewise.
50068 * stdlib/stdlib.h: Likewise.
50069 * time/time.h: Likewise.
50070 * wcsmbs/wchar.h: Likewise.
50071
158648c0
UD
50072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50073 open_by_handle): Add.
50074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50075 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50076 Augment a few comments.
50077 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50082 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50083 open_by_handle.
50084
46998f74
UD
50085 * io/fcntl.h (AT_EMPTY_PATH): Define.
50086
83fe108b
UD
500872011-03-30 Ulrich Drepper <drepper@gmail.com>
50088
50089 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50090 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50091 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50092 to...
50093 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50094 * Versions.def: Add GLIBC_2.14.
50095 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50096 Export.
83fe108b 50097
bb242059
UD
500982011-03-22 Ulrich Drepper <drepper@gmail.com>
50099
50100 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50101 round counter.
50102 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50103
c97a1282
L
501042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50105
50106 [BZ #12597]
50107 * string/test-strncmp.c (do_page_test): New function.
50108 (check2): Likewise.
50109 (test_main): Call check2.
50110 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50111
2a115601
UD
501122011-03-20 Ulrich Drepper <drepper@gmail.com>
50113
50114 [BZ #12587]
50115 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50116 Handle cache information in CPU leaf 4.
50117 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50118
8126d904
UD
501192011-03-18 Ulrich Drepper <drepper@gmail.com>
50120
042c49c6 50121 [BZ #12583]
8126d904
UD
50122 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50123 character representation.
50124 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50125
ccfe366e
RA
501262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50127
50128 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50129 END(__isnan) to END(__isnanf) to match function entry point/label
50130 EALIGN(__isnanf,...).
50131
c6e13027
JJ
501322011-03-10 Jakub Jelinek <jakub@redhat.com>
50133
50134 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50135
33f85a3f
UD
501362011-03-10 Ulrich Drepper <drepper@gmail.com>
50137
028478fa
UD
50138 [BZ #12510]
50139 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50140 copy from the symbol referenced in the relocation to initialize the
50141 used variable.
50142 Patch by Piotr Bury <pbury@goahead.com>.
50143 * elf/Makefile: Add rules to build and tst-unique3.
50144 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50145 * elf/tst-unique3.cc: New file.
50146 * elf/tst-unique3.h: New file.
50147 * elf/tst-unique3lib.cc: New file.
50148 * elf/tst-unique3lib2.cc: New file.
50149
33f85a3f
UD
50150 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50151
03592fc7
MF
501522011-03-10 Mike Frysinger <vapier@gentoo.org>
50153
50154 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50155 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50156 to _start.
03592fc7 50157
6a5ee102
UD
501582011-03-06 Ulrich Drepper <drepper@gmail.com>
50159
50160 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50161 to-be-loaded object along a path to loader is ld.so.
50162
7e4ba49c
HJ
501632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50164 Ulrich Drepper <drepper@gmail.com>
50165
50166 * sysdeps/x86_64/memset.S: After aligning destination, code
50167 branches to different locations depending on the value of
50168 misalignment, when multiarch is enabled. Fix this.
50169
501702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50171
50172 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50173 Set _x86_64_preferred_memory_instruction for AMD processsors.
50174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50175 Set bit_Prefer_SSE_for_memop for AMD processors.
50176
13a804de
UD
501772011-03-04 Ulrich Drepper <drepper@gmail.com>
50178
50179 * libio/fmemopen.c (fmemopen): Optimize a bit.
50180
9d25c392
AS
501812011-03-03 Andreas Schwab <schwab@redhat.com>
50182
50183 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50184
a5543c6a
RM
501852011-03-03 Roland McGrath <roland@redhat.com>
50186
50187 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50188
012d35f7
DM
501892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50190
7e4ba49c 50191 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50192 __bzero_ultra1 instead of __memset_ultra1.
50193
4bff6e01
AS
501942011-02-23 Andreas Schwab <schwab@redhat.com>
50195 Ulrich Drepper <drepper@gmail.com>
50196
50197 [BZ #12509]
50198 * include/link.h (struct link_map): Add l_orig_initfini.
50199 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50200 returning unsuccessfully.
50201 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50202 close of a file loaded at startup, restore the original l_initfini
50203 list.
50204 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50205 list, store the pointer.
50206 * elf/Makefile ($(objpfx)noload-mem): New rule.
50207 (noload-ENV): Define.
50208 (tests): Add $(objpfx)noload-mem.
50209 * elf/noload.c: Include <memcheck.h>.
50210 (main): Call mtrace. Close all opened handles.
50211
f2092faf
AS
502122011-02-17 Andreas Schwab <schwab@redhat.com>
50213
50214 [BZ #12454]
50215 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50216 dependencies are missing.
50217
6c8a2e88
ST
502182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50219
f2092faf 50220 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50221 Hurd needs munmap.
50222 * sysdeps/mach/hurd/ifreq.h: New file.
50223
84a42118
PB
502242011-01-27 Petr Baudis <pasky@suse.cz>
50225 Ulrich Drepper <drepper@gmail.com>
50226
071f805e 50227 [BZ 12445]#
84a42118
PB
50228 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50229 to extend_alloca().
50230 * stdio-common/bug23.c: New file.
50231 * stdio-common/Makefile (tests): Add bug23.
50232
e23fe25b
AS
502332010-09-28 Andreas Schwab <schwab@redhat.com>
50234 Ulrich Drepper <drepper@gmail.com>
50235
50236 [BZ #12489]
50237 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50238 before performing relro protection. At old place add assertion
50239 to make sure nothing changed.
50240
d3f02e10
NS
502412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50242 Glauber de Oliveira Costa <glommer@gmail.com>
50243
50244 * elf/elf.h: Add new ARM TLS relocs.
50245
d55fd7a5
RA
502462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50247
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50249 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50250 cast from r3.
50251 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50252 'tests' variable.
50253 * sysdeps/wordsize-64/tst-writev.c: New file.
50254
2206397e
RA
502552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50256
50257 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50258 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50259 insns in _dl_start to prevent a TOC reference before relocs are
50260 resolved.
50261
e9433893
UD
502622011-02-15 Ulrich Drepper <drepper@gmail.com>
50263
50264 [BZ #12469]
50265 * Makeconfig: Remove RANLIB definition.
50266 * Makerules: Don't use RANLIB.
50267 * aclocal.m4: Remove ranlib test.
50268 * configure.in: No need to check for ranlib.
50269 * elf/rtld-Rules: Don't use RANLIB.
50270
f75286c6
ST
502712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50272
8e31c82d
ST
50273 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50274 protection macro.
50275 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50276 inclusion protection macro.
50277
f75286c6
ST
50278 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50279 SIGRTMIN and SIGRTMAX and print information in that case only when
50280 SIGRTMIN is defined.
50281
c1d0e639
JJ
502822011-02-11 Jakub Jelinek <jakub@redhat.com>
50283
50284 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50285 arginfo fn returning -1.
50286
50287 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50288 and thousands string is zero terminated.
50289
edf9294e
AS
502902011-02-03 Andreas Schwab <schwab@redhat.com>
50291
50292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50293 sysdeps/unix/sysv/linux/bits/socket.h.
50294
2b7e92df
ST
502952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50296
edf9294e
AS
50297 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50298 (__CPU_COUNT): Remove old macros.
50299 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50300 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50301 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50302 (__sched_cpualloc, __sched_cpufree): Add declarations.
50303
a4c7ea7b
UD
503042011-02-05 Ulrich Drepper <drepper@gmail.com>
50305
50306 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50307 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50308 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50309 (readdhstai): Return value of addhstaiX call.
50310 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50311 (addgrbyX): Return value returned by cache_addgr.
50312 (readdgrbyname): Return value returned by addgrbyX.
50313 (readdgrbygid): Likewise.
50314 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50315 (addpwbyX): Return value returned by cache_addpw.
50316 (readdpwbyname): Return value returned by addhstbyX.
50317 (readdpwbyuid): Likewise.
50318 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50319 (addservbyX): Return value returned by cache_addserv.
50320 (readdservbyname): Return value returned by addservbyX:
50321 (readdservbyport): Likewise.
50322 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50323 (addhstbyX): Return value returned by cache_addhst.
50324 (readdhstbyname): Return value returned by addhstbyX.
50325 (readdhstbyaddr): Likewise.
50326 (readdhstbynamev6): Likewise.
50327 (readdhstbyaddrv6): Likewise.
50328 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50329 (readdinitgroups): Return value returned by addinitgroupsX.
50330 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50331 (prune_cache): Keep track of timeout value of re-added entries.
50332 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50333 * nscd/nscd.h: Adjust prototypes of readd* functions.
50334
a0bf67cc
RM
503352011-02-04 Roland McGrath <roland@redhat.com>
50336
50337 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50338 (nis_stats): Likewise.
50339 * nis/nis_modify.c (nis_modify): Likewise.
50340 * nis/nis_remove.c (nis_remove): Likewise.
50341 * nis/nis_add.c (nis_add): Likewise.
50342
50343 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50344
50345 * posix/fnmatch_loop.c: Add some consts.
50346
50347 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50348
435b95eb
L
503492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50350
50351 [BZ #12460]
50352 * config.make.in (config-cflags-novzeroupper): Define.
50353 * configure.in: Substitute libc_cv_cc_novzeroupper.
50354 * elf/Makefile (AVX-CFLAGS): Define.
50355 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50356 (CFLAGS-tst-auditmod4a.c): Likewise.
50357 (CFLAGS-tst-auditmod4b.c): Likewise.
50358 (CFLAGS-tst-auditmod6b.c): Likewise.
50359 (CFLAGS-tst-auditmod6c.c): Likewise.
50360 (CFLAGS-tst-auditmod7b.c): Likewise.
50361 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50362
8517b15e
UD
503632011-02-02 Ulrich Drepper <drepper@gmail.com>
50364
50365 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50366 function to the callback.
50367 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50368
10a656fe
AS
503692011-02-02 Andreas Schwab <schwab@redhat.com>
50370
50371 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50372 of errno.
50373
968dad0a
UD
503742011-01-19 Ulrich Drepper <drepper@gmail.com>
50375
9f94d2ea 50376 [BZ #11724]
968dad0a
UD
50377 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50378 of constructors.
50379 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50380 of destructors.
50381 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50382
50383 [BZ #11724]
50384 * elf/Makefile: Add rules to build and run new test.
50385 * elf/tst-initorder.c: New file.
50386 * elf/tst-initorder.exp: New file.
50387 * elf/tst-initordera1.c: New file.
50388 * elf/tst-initordera2.c: New file.
50389 * elf/tst-initordera3.c: New file.
50390 * elf/tst-initordera4.c: New file.
50391 * elf/tst-initorderb1.c: New file.
50392 * elf/tst-initorderb2.c: New file.
50393 * elf/tst-order-a1.c: New file.
50394 * elf/tst-order-a2.c: New file.
50395 * elf/tst-order-a3.c: New file.
50396 * elf/tst-order-a4.c: New file.
50397 * elf/tst-order-b1.c: New file.
50398 * elf/tst-order-b2.c: New file.
50399 * elf/tst-order-main.c: New file.
50400 New test case by George Gensure <werkt0@gmail.com>.
50401
86e92359
UD
504022010-10-01 Andreas Schwab <schwab@redhat.com>
50403
50404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50405 decoding ACE if AI_CANONIDN.
50406
5d5732b0
UD
504072011-01-18 Ulrich Drepper <drepper@gmail.com>
50408
50409 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50410
a77e8cbc
UD
504112011-01-17 Ulrich Drepper <drepper@gmail.com>
50412
6392473f
UD
50413 * version.h (RELEASE): Bump for 2.13 release.
50414 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50415
620a0529
UD
50416 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50417
18ba70a5
UD
50418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50419 MADV_NOHUGEPAGE.
32465c3e
UD
50420 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50421 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50422 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50423 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50424 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50426
c0dafcf1
UD
50427 * posix/getconf.c: Update copyright year.
50428 * catgets/gencat.c: Likewise.
50429 * csu/version.c: Likewise.
50430 * debug/catchsegv.sh: Likewise.
50431 * debug/xtrace.sh: Likewise.
50432 * elf/ldconfig.c: Likewise.
50433 * elf/ldd.bash.in: Likewise.
50434 * elf/sprof.c (print_version): Likewise.
50435 * iconv/iconv_prog.c: Likewise.
50436 * iconv/iconvconfig.c: Likewise.
50437 * locale/programs/locale.c: Likewise.
50438 * locale/programs/localedef.c: Likewise.
50439 * malloc/memusage.sh: Likewise.
50440 * malloc/mtrace.pl: Likewise.
50441 * nscd/nscd.c (print_version): Likewise.
50442 * nss/getent.c: Likewise.
50443
a77e8cbc
UD
50444 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50445 PF_CAIF, and PF_ALG.
50446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50447
77e8bddf
AS
504482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50449
1f20b93a
AS
50450 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50451 (modules-names): Use them.
50452 (ifunc-test-modules, ifunc-pie-tests): Define.
50453 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50454 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50455 (test-extras): Likewise.
50456 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50457 $(compile-command.c).
50458 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50459 (all-built-dso): Define.
50460 (check-textrel.out, check-execstack.out): Depend on it.
50461
77e8bddf
AS
50462 * configure.in: Don't override --enable-multi-arch.
50463
bc425b33
UD
504642011-01-15 Ulrich Drepper <drepper@gmail.com>
50465
50466 [BZ #6812]
50467 * nscd/hstcache.c (tryagain): Define.
50468 (cache_addhst): Return tryagain not notfound for temporary errors.
50469 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50470 failed.
50471
794c3ad3
UD
504722011-01-14 Ulrich Drepper <drepper@gmail.com>
50473
70181fdd
UD
50474 [BZ #10563]
50475 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50476 to make the syscall.
50477 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50478
794c3ad3
UD
50479 [BZ #12378]
50480 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50481 and fall back to matching as normal character if the string ends before
50482 the matching ']' is found. This is what POSIX requires.
50483 * posix/testfnm.c: Adjust test result.
50484 * posix/globtest.sh: Adjust test result. Add new test.
50485 * posix/tst-fnmatch.input: Likewise.
50486 * posix/tst-fnmatch2.c: Add new test.
50487
68dc9497
AS
504882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50489
50490 * elf/Makefile (check-execstack): Revert last change. Depend on
50491 check-execstack.h.
50492 (check-execstack.h): New target.
50493 (generated): Add check-execstack.h.
50494 * elf/check-execstack.c: Include "check-execstack.h".
50495 (main): Revert last change.
50496 (handle_file): Return zero if GNU_STACK is absent and
50497 DEFAULT_STACK_PERMS doesn't include PF_X.
50498
451f001b
UD
504992011-01-13 Ulrich Drepper <drepper@gmail.com>
50500
cfa28e56
UD
50501 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50502 in child fails because the descriptor is already closed.
8cf8ce17
UD
50503 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50504 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50505 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50506
1086d70d
UD
50507 [BZ #12397]
50508 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50509 syscall.
50510
451f001b
UD
50511 [BZ #10484]
50512 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50513 temporary buffer used to handle multi lookups locally.
a85b5cb4 50514 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50515
08769175
UD
505162011-01-12 Ulrich Drepper <drepper@gmail.com>
50517
50518 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50519 loader is ld.so.
50520
5e49c52e
UD
505212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50522
50523 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50524 alignment for SSE2.
50525
60522a5f
UD
505262011-01-12 Ulrich Drepper <drepper@gmail.com>
50527
50528 [BZ #12394]
50529 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50530 characters. When rounding increased number of integer digits recompute
50531 number of groups.
50532 * stdio-common/tst-grouping.c: New file.
50533 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50534
f257bbd7
UD
505352011-01-09 Ulrich Drepper <drepper@gmail.com>
50536
50537 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50538 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50539
50540 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50541 void.
50542 * bits/select.h: Likewise.
50543
fa9c15cb
UD
505442011-01-08 Ulrich Drepper <drepper@gmail.com>
50545
50546 * po/ja.po: Update from translation team.
50547
16c2895f
DM
505482011-01-04 David S. Miller <davem@sunset.davemloft.net>
50549
50550 [BZ #11155]
50551 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50552 implementation just like for lxstat, fxstatat, et al.
50553
2543fef2
JM
505542010-12-27 Jim Meyering <meyering@redhat.com>
50555
50556 [BZ #12348]
50557 * posix/regexec.c (build_trtable): Return failure indication upon
50558 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50559
98727dbe
UD
505602010-12-25 Ulrich Drepper <drepper@gmail.com>
50561
5bd6dc5c
UD
50562 [BZ #12201]
50563 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50564 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50565 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50566 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50567
97983464
UD
50568 [BZ #12207]
50569 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50570
98727dbe
UD
50571 [BZ #12204]
50572 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50573 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50574
4a531bb0
L
505752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50576
50577 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50578 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50579 script has SORT_BY_INIT_PRIORITY.
50580 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50581 NO_CTORS_DTORS_SECTIONS is defined.
50582 * elf/soinit.c: Likewise.
50583 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50584 NO_CTORS_DTORS_SECTIONS is defined.
50585 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50586 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50587 * sysdeps/sh/init-first.c: Likewise.
50588 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50589
07eb4b71
UD
505902010-12-24 Ulrich Drepper <drepper@gmail.com>
50591
50592 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50593 always use the slow path.
50594
30950a5f
RA
505952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50596
50597 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50598 similar rule which adds the sysdep directories to the header search in
50599 order to pick up the correct platform stackinfo.h.
50600 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50601 perform test if it is, otherwise return successfully without testing.
50602 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50603 DEFAULT_STACK_PERMS define in stackinfo.h.
50604 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50605 defined in stackinfo.h.
50606 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50607 DEFAULT_STACK_PERMS defined in stackinfo.h.
50608 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50609 * sysdeps/ia64/stackinfo.h: Likewise.
50610 * sysdeps/s390/stackinfo.h: Likewise.
50611 * sysdeps/sh/stackinfo.h: Likewise.
50612 * sysdeps/sparc/stackinfo.h: Likewise.
50613 * sysdeps/x86_64/stackinfo.h: Likewise.
50614 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50615 PF_X for powerpc64. Retain PF_X for powerpc32.
50616
db753e2c
UD
506172010-12-19 Ulrich Drepper <drepper@gmail.com>
50618
14b697f7
UD
50619 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50620 accurately.
db753e2c
UD
50621 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50622 GETDENTS_64BIT_ALIGNED.
50623
28300719
UD
506242010-12-14 Ulrich Drepper <dreper@gmail.com>
50625
14b697f7 50626 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50627
4f197237
AS
506282010-12-10 Andreas Schwab <schwab@redhat.com>
50629
dbb0472f
AS
50630 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50631 _GNU_SOURCE.
50632
4f197237
AS
50633 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50634 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50635 Remove __restrict.
50636 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50637 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50638
fb88ac72
UD
506392010-12-09 Ulrich Drepper <drepper@gmail.com>
50640
50641 [BZ #11655]
50642 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50643 are initialized.
50644
42acbb92
JJ
506452010-12-09 Jakub Jelinek <jakub@redhat.com>
50646
50647 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50648
c038d98d
UD
506492010-12-03 Ulrich Drepper <drepper@gmail.com>
50650
50651 * po/it.po: Update from translation team.
50652
3a4a2499
L
506532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50654
50655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50656 unused codes.
50657
1e24cf6e
UD
506582010-11-30 Ulrich Drepper <drepper@gmail.com>
50659
50660 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50661
a7690819
AS
506622010-11-24 Andreas Schwab <schwab@redhat.com>
50663
50664 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50665 specially.
50666 (gaih_getanswer_slice): Likewise.
50667
3bf8d1b1
JJ
506682010-10-20 Jakub Jelinek <jakub@redhat.com>
50669
50670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50671
6db52fbb
PB
506722010-05-31 Petr Baudis <pasky@suse.cz>
50673
50674 [BZ #11149]
50675 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50676 silently even in the chroot mode.
50677
eaca7569
UD
506782010-11-22 Ulrich Drepper <drepper@gmail.com>
50679
50680 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50681 last patch a bit. Pretty printing
50682
3056dcdb
UD
506832010-05-31 Petr Baudis <pasky@suse.cz>
50684
50685 [BZ #10085]
50686 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50687 initialization of skip_initgroups_dyn.
50688
cf7c9078
UD
506892010-11-19 Ulrich Drepper <drepper@gmail.com>
50690
50691 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50693
a1fb5e3e
UD
506942010-11-16 Ulrich Drepper <drepper@gmail.com>
50695
50696 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50697
3540d66b
AS
506982010-11-11 Andreas Schwab <schwab@redhat.com>
50699
50700 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50701 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50702 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50703 ($(objpfx)tst-fnmatch-mem): New rule.
50704 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50705 * posix/tst-fnmatch.c (main): Call mtrace.
50706
13b69574
L
507072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50708
50709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50710 Support Intel processor model 6 and model 0x2c.
50711
da93d214
LM
507122010-11-10 Luis Machado <luisgpm@br.ibm.com>
50713
50714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50715 signed comparison.
50716
8ca52c6e
L
507172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50718
50719 [BZ #12205]
50720 * string/test-strncasecmp.c (check_result): New function.
50721 (do_one_test): Use it.
50722 (check1): New function.
50723 (test_main): Use it.
50724 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50725 Support strcasecmp and strncasecmp.
50726
69da074d
UD
507272010-11-08 Ulrich Drepper <drepper@gmail.com>
50728
50729 [BZ #12194]
50730 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50731 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50732
ff02d528
L
507332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50734
50735 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50736 IFUNC support.
50737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50738 memset-x86-64.
50739 * sysdeps/x86_64/multiarch/bzero.S: New file.
50740 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50741 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50742 * sysdeps/x86_64/multiarch/memset.S: New file.
50743 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50745 Set bit_Prefer_SSE_for_memop for Intel processors.
50746 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50747 Define.
50748 (index_Prefer_SSE_for_memop): Define.
50749 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50750
344d0b54
LM
507512010-11-04 Luis Machado <luisgpm@br.ibm.com>
50752
50753 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50754 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50755
c0dde15b
UD
507562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50757
50758 [BZ #12191]
50759 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50760 (__x86_64_raw_data_cache_size_half): Likewise.
50761 (__x86_64_raw_shared_cache_size): Likewise.
50762 (__x86_64_raw_shared_cache_size_half): Likewise.
50763
50764 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50765 (__x86_64_raw_data_cache_size_half): Likewise.
50766 (__x86_64_raw_shared_cache_size): Likewise.
50767 (__x86_64_raw_shared_cache_size_half): Likewise.
50768 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50769 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50770 and __x86_64_raw_shared_cache_size_half. Round
50771 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50772 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50773 to multiple of 256 bytes.
50774
0e516e0e
MS
507752010-11-03 Ulrich Drepper <drepper@gmail.com>
50776
50777 [BZ #12167]
50778 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50779 of inacessible symlinks. Verify result of symlink before returning it.
50780 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50781 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50782
0e012e87
ER
507832010-10-28 Erich Ritz <erichritz@gmail.com>
50784
50785 * math/math.h (isinf): Fix typo in comment.
50786
de0ff7bc
UD
507872010-11-01 Ulrich Drepper <drepper@gmail.com>
50788
50789 * po/da.po: Update from translation team.
50790
fa41c84d
UD
507912010-10-26 Ulrich Drepper <drepper@gmail.com>
50792
50793 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50794 is added to the list.
50795
f0967738
AK
507962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50797 Ulrich Drepper <drepper@gmail.com>
50798
50799 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50800 the global list here. Move code to...
50801 (_dl_add_to_namespace_list): ...here. New function.
50802 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50803 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50804 * elf/dl-load.c (lose): Don't remove the element from the list.
50805 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50806 (_dl_map_object): Likewise.
50807
508082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
50809
50810 [BZ #12159]
50811 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50812 into all bytes of SSE register.
50813 Patch by Richard Li <richardpku@gmail.com>.
50814
f0967738 508152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
50816
50817 [BZ #12140]
50818 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50819 perturbing.
50820
d0b9e94f
MB
508212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50822
50823 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50824 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50828 submachine.
50829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50830
8e9f92e9
AS
508312010-10-22 Andreas Schwab <schwab@redhat.com>
50832
50833 * include/dlfcn.h (__RTLD_SECURE): Define.
50834 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50835 mode & __RTLD_SECURE instead.
50836 (open_path): Rename preloaded parameter to secure.
50837 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50838 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50839 * elf/dl-deps.c (openaux): Likewise.
50840 * elf/rtld.c (struct map_args): Remove is_preloaded.
50841 (map_doit): Don't use it.
50842 (dl_main): Likewise.
50843 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50844 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50845
bc96fbda
AS
508462010-09-09 Andreas Schwab <schwab@redhat.com>
50847
50848 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50849 (sysd-rules-targets): Remove duplicates.
50850 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50851 rtld-%.$o dependency.
50852
22cd1c9b
AS
508532010-10-18 Andreas Schwab <schwab@redhat.com>
50854
50855 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50856 _dl_map_object do it.
50857
18edac48
UD
508582010-10-19 Ulrich Drepper <drepper@gmail.com>
50859
50860 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50861 fast fma builtins, define the macros in the C99 standard.
50862 (FP_FAST_FMAF): Likewise.
50863 (FP_FAST_FMAL): Likewise.
50864 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50865
50866 * bits/mathdef.h: Update copyright year.
50867 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50868
d2050124
MM
508692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50870
50871 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50872 builtins, define the macros in the C99 standard.
50873 (FP_FAST_FMAF): Likewise.
50874 (FP_FAST_FMAL): Likewise.
50875 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50876 multiply/add.
50877 (FP_FAST_FMAF): Likewise.
50878
475facd1
JJ
508792010-10-15 Jakub Jelinek <jakub@redhat.com>
50880
50881 [BZ #3268]
50882 * math/libm-test.inc (fma_test): Some new testcases.
50883 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50884 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50885 y and infinite z. Do multiplication by C already in long double.
50886 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50888 y and infinite z. Do bitwise or of inexact bit into u.d.
50889 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50890 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50891 * sysdeps/i386/fpu/s_fma.S: Removed.
50892 * sysdeps/i386/fpu/s_fmal.S: Removed.
50893
7c08a05c
JJ
508942010-10-16 Jakub Jelinek <jakub@redhat.com>
50895
50896 [BZ #3268]
50897 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50899 computation is not scheduled after fetestexcept. Fix value
50900 of minimum denormal long double.
50901
f3f7372d
JJ
509022010-10-14 Jakub Jelinek <jakub@redhat.com>
50903
50904 [BZ #3268]
50905 * math/libm-test.inc (fma_test): Add some more tests.
50906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50907 correctly.
50908
14d43591
AS
509092010-10-15 Andreas Schwab <schwab@redhat.com>
50910
50911 * scripts/data/localplt-s390-linux-gnu.data: New file.
50912 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50913
5e908464
JJ
509142010-10-13 Jakub Jelinek <jakub@redhat.com>
50915
50916 [BZ #3268]
50917 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50918 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50919 instead of dbl-64.
50920 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50921 inlines.
50922 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50924 if one of x and y is very large and the other is subnormal.
50925 * sysdeps/s390/fpu/s_fmaf.c: New file.
50926 * sysdeps/s390/fpu/s_fma.c: New file.
50927 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50928 * sysdeps/powerpc/fpu/s_fma.S: New file.
50929 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50930 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50931 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50932
509332010-10-12 Jakub Jelinek <jakub@redhat.com>
50934
50935 [BZ #3268]
50936 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50937 fma tests.
50938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50939 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50940 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50941 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50942 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50943 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50944 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50945
b833d51f
UD
509462010-10-12 Ulrich Drepper <drepper@redhat.com>
50947
50948 [BZ #12078]
50949 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50950 * posix/bug-regex31.input: Add test case.
50951
1751705d
UD
509522010-10-11 Ulrich Drepper <drepper@gmail.com>
50953
e9b9cbf5
UD
50954 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50955 * posix/bug-regex31.input: New file.
50956
50957 [BZ #12078]
50958 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50959 (parse_sub_exp): Fix last change, use postorder.
50960
ef06edbe
UD
50961 * posix/bug-regex31.c: New file.
50962 * posix/Makefile: Add rules to build and run bug-regex31.
50963
a129c80d
UD
50964 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50965
50966 [BZ #12078]
50967 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50968
b76b818e
UD
50969 [BZ #12108]
50970 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50971 to have entries in sys_siglist.
50972
1751705d
UD
50973 [BZ #12093]
50974 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50975 be NULL.
50976
9ff8d36f
JJ
509772010-10-07 Jakub Jelinek <jakub@redhat.com>
50978
50979 [BZ #3268]
50980 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50981 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50982 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50983 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50984 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50985 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50986 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50987 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50988 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50989 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50990 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50991 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50992 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50993 * math/ftestexcept.c (fetestexcept): Likewise.
50994 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50995 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50996 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50997 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50998 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50999 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51000 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51001
af325969
UD
510022010-10-11 Ulrich Drepper <drepper@gmail.com>
51003
c579b202 51004 [BZ #12107]
af325969
UD
51005 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51006 newline.
51007
67a67b95
UD
510082010-10-06 Ulrich Drepper <drepper@gmail.com>
51009
51010 * string/bug-strstr1.c: New file.
51011 * string/Makefile: Add rules to build and run bug-strstr1.
51012
5fb308bc
EB
510132010-10-05 Eric Blake <eblake@redhat.com>
51014
51015 [BZ #12092]
51016 * string/str-two-way.h (two_way_long_needle): Always clear memory
51017 when skipping input due to the shift table.
51018
45db99c7
UD
510192010-10-03 Ulrich Drepper <drepper@gmail.com>
51020
3b111893
UD
51021 [BZ #12005]
51022 * malloc/mcheck.c: Handle large requests.
51023
45db99c7
UD
51024 [BZ #12077]
51025 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51026 for strncmp and strncasecmp.
51027 * string/stratcliff.c: Add tests for strcmp and strncmp.
51028 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51029
cf7a1eb8
NI
510302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51031
51032 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51033 __set_fpscr.
51034
6484ba5e
AJ
510352010-09-30 Andreas Jaeger <aj@suse.de>
51036
51037 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51038 (CGROUP_SUPER_MAGIC): Define.
51039 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51040 Handle btrfs and cgroup file systems.
51041 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51042 Likewise.
51043
91c42559
LM
510442010-09-27 Luis Machado <luisgpm@br.ibm.com>
51045
51046 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51047 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51048
87a97932
AK
510492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51050
51051 [BZ #12067]
51052 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51053 trying to locate the ELF header.
51054
c21cc9bc
AS
510552010-09-27 Andreas Schwab <schwab@redhat.com>
51056
51057 [BZ #11611]
51058 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51059 Mask out sign-bit copies when constructing f_fsid.
51060
315970f6
PB
510612010-09-24 Petr Baudis <pasky@suse.cz>
51062
51063 * debug/stack_chk_fail_local.c: Add missing licence exception.
51064 * debug/warning-nop.c: Likewise.
51065
1ac7a2c7
JM
510662010-09-15 Joseph Myers <joseph@codesourcery.com>
51067
51068 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51069 implementing getdents64 using getdents syscall, set d_type if
51070 __ASSUME_GETDENTS32_D_TYPE.
51071
56801c50
AS
510722010-09-16 Andreas Schwab <schwab@redhat.com>
51073
51074 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51075 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51076
dda51327
UD
510772010-09-21 Ulrich Drepper <drepper@redhat.com>
51078
51079 [BZ #12037]
51080 * posix/unistd.h: Undo change of feature selection for ftruncate from
51081 2010-01-11.
51082
8ffcee4a
UD
510832010-09-20 Ulrich Drepper <drepper@redhat.com>
51084
a545ecd9 51085 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51086 detection.
51087
e24f0a8b
AS
510882010-09-20 Andreas Schwab <schwab@redhat.com>
51089
51090 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51091 fanotify_mark.
51092 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51093
7291c56f
AS
510942010-09-14 Andreas Schwab <schwab@redhat.com>
51095
51096 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51097 variables after CHECK_SP call.
51098 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51099
bc5fb037
AS
511002010-09-13 Andreas Schwab <schwab@redhat.com>
51101 Ulrich Drepper <drepper@redhat.com>
51102
51103 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51104 re-relocationg ld.so.
51105 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51106 _dl_init_paths call.
51107 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51108 here anymore.
51109
e66e7419
UD
511102010-09-14 Ulrich Drepper <drepper@redhat.com>
51111
51112 * resolv/res_init.c (__res_vinit): Count the default server we added.
51113
c044aa75
CLT
511142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51115 Ulrich Drepper <drepper@redhat.com>
51116
51117 [BZ #11968]
51118 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51119 (____longjmp_chk): Use %ebx for saving value across system call.
51120 Add unwind info.
51121
32cf4069
AS
511222010-09-06 Andreas Schwab <schwab@redhat.com>
51123
51124 * manual/Makefile: Don't mix pattern rules with normal rules.
51125
817328ee
AS
511262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51127
51128 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51129 operation.
51130 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51131 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51132 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51133 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51135 Likewise.
51136
29fddf61
UD
511372010-09-04 Ulrich Drepper <drepper@redhat.com>
51138
51139 [BZ #11979]
51140 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51141 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51142
0959ffc9
UD
511432010-09-02 Ulrich Drepper <drepper@redhat.com>
51144
51145 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51146 * sysdeps/x86_64/addmul_1.S: Likewise.
51147 * sysdeps/x86_64/lshift.S: Likewise.
51148 * sysdeps/x86_64/mul_1.S: Likewise.
51149 * sysdeps/x86_64/rshift.S: Likewise.
51150 * sysdeps/x86_64/sub_n.S: Likewise.
51151 * sysdeps/x86_64/submul_1.S: Likewise.
51152
ece29840
ST
511532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51154
0959ffc9
UD
51155 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51156 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51157 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51158 * bits/sched.h [__need_schedparam]
ece29840 51159 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51160 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51161 (__defined_schedparam): Define to 1.
ece29840
ST
51162 (__sched_param): New structure, identical to sched_param.
51163 (__need_schedparam): Undefine.
51164
e53a31fe
MF
511652010-08-31 Mike Frysinger <vapier@gentoo.org>
51166
fdc0c10d
MF
51167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51168 (epoll_create1): Declare.
51169
e53a31fe
MF
51170 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51171
a726d796
AS
511722010-08-31 Andreas Schwab <schwab@redhat.com>
51173
51174 [BZ #7066]
51175 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51176 shifting retval into place.
51177
2f3e3dc7
UD
511782010-09-01 Ulrich Drepper <drepper@redhat.com>
51179
f2933da9
UD
51180 * nis/rpcsvc/nis.h: Update copyright notice.
51181 * nis/rpcsvc/nis.x: Likewise.
51182 * nis/rpcsvc/nis_callback.h: Likewise.
51183 * nis/rpcsvc/nis_callback.x: Likewise.
51184 * nis/rpcsvc/nis_object.x: Likewise.
51185 * nis/rpcsvc/nis_tags.h: Likewise.
51186 * nis/rpcsvc/yp.h: Likewise.
51187 * nis/rpcsvc/yp.x: Likewise.
51188 * nis/rpcsvc/ypupd.h: Likewise.
51189 * nis/yp_xdr.c: Likewise.
51190 * nis/ypupdate_xdr.c: Likewise.
51191
2f3e3dc7
UD
51192 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51193 mainly the body of pmap_getport. Add parameters to specify timeouts.
51194 (pmap_getport): Use __libc_rpc_getport.
51195 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51196 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51197 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51198
f3dcc2f9
AS
511992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51200
51201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51202 fanotify_mark.
51203
6d34eb5b
RM
512042010-08-27 Roland McGrath <roland@redhat.com>
51205
51206 * sysdeps/i386/i686/multiarch/Makefile
51207 (CFLAGS-varshift.c): New variable.
51208
9ea3de11
UD
512092010-08-27 Ulrich Drepper <drepper@redhat.com>
51210
c96d23fc
UD
51211 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51212 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51213
9ea3de11
UD
51214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51215
51216 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51217
623aac7f
L
512182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51219
51220 * sysdeps/x86_64/strlen.S: Unroll the loop.
51221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51222 strlen-sse2 strlen-sse2-bsf.
51223 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51224 __strlen_no_bsf if bit_Slow_BSF is set.
51225 (__strlen_sse42): Removed.
51226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51227 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51228
8b2b7715
RM
512292010-08-25 Roland McGrath <roland@redhat.com>
51230
51231 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51232 * sysdeps/x86_64/multiarch/varshift.c: New file.
51233 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51234 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51235 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51236 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51237
e73015f2
L
512382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51239
51240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51241 strlen-sse2 strlen-sse2-bsf.
51242 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51243 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51244 (__strlen_sse2): Removed.
51245 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51248 bit_Slow_BSF for Atom.
51249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51250 (index_Slow_BSF): Define.
51251 (HAS_SLOW_BSF): Define.
51252
df24a73e
UD
512532010-08-25 Ulrich Drepper <drepper@redhat.com>
51254
51255 [BZ #10851]
51256 * resolv/res_init.c (__res_vinit): When no server address at all
51257 is given default to loopback.
51258
f2ac4868
RM
512592010-08-24 Roland McGrath <roland@redhat.com>
51260
09055553
RM
51261 * configure.in: Remove config-name.h generation.
51262 * configure: Regenerated.
51263 * config-name.in: File removed.
51264 * scripts/config-uname.sh: New file.
51265 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51266 ($(objdir)config-name.h): New target.
51267
f2ac4868
RM
51268 * sunrpc/rpc_parse.h: Avoid nested comment.
51269
73f27d5e
RH
512702010-08-24 Richard Henderson <rth@redhat.com>
51271 Ulrich Drepper <drepper@redhat.com>
51272 H.J. Lu <hongjiu.lu@intel.com>
51273
51274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51276 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51277 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51278 _mm_alignr_epi8 with _mm_loadu_si128.
51279 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51280 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51281 (__m128i_shift_right): Removed.
51282 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51283 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51284 * sysdeps/x86_64/multiarch/varshift.h: New file.
51285 * sysdeps/x86_64/multiarch/varshift.S: New file.
51286
84b9230c
MF
512872010-08-21 Mike Frysinger <vapier@gentoo.org>
51288
51289 * configure.in: Move assembler checks to before sysdep dir checking.
51290
9bbd0ddc
PB
512912010-08-20 Petr Baudis <pasky@suse.cz>
51292
51293 * LICENSES: Sync the sunrpc license.
51294
9da4bb31
UD
512952010-08-19 Ulrich Drepper <drepper@redhat.com>
51296
a7ab6ec8
UD
51297 * sunrpc/auth_des.c: Update copyright notice once again.
51298 * sunrpc/auth_none.c: Likewise.
51299 * sunrpc/auth_unix.c: Likewise.
51300 * sunrpc/authdes_prot.c: Likewise.
51301 * sunrpc/authuxprot.c: Likewise.
51302 * sunrpc/bindrsvprt.c: Likewise.
51303 * sunrpc/clnt_gen.c: Likewise.
51304 * sunrpc/clnt_perr.c: Likewise.
51305 * sunrpc/clnt_raw.c: Likewise.
51306 * sunrpc/clnt_simp.c: Likewise.
51307 * sunrpc/clnt_tcp.c: Likewise.
51308 * sunrpc/clnt_udp.c: Likewise.
51309 * sunrpc/clnt_unix.c: Likewise.
51310 * sunrpc/des_crypt.c: Likewise.
51311 * sunrpc/des_soft.c: Likewise.
51312 * sunrpc/get_myaddr.c: Likewise.
51313 * sunrpc/getrpcport.c: Likewise.
51314 * sunrpc/key_call.c: Likewise.
51315 * sunrpc/key_prot.c: Likewise.
51316 * sunrpc/openchild.c: Likewise.
51317 * sunrpc/pm_getmaps.c: Likewise.
51318 * sunrpc/pm_getport.c: Likewise.
51319 * sunrpc/pmap_clnt.c: Likewise.
51320 * sunrpc/pmap_prot.c: Likewise.
51321 * sunrpc/pmap_prot2.c: Likewise.
51322 * sunrpc/pmap_rmt.c: Likewise.
51323 * sunrpc/rpc/auth.h: Likewise.
51324 * sunrpc/rpc/auth_unix.h: Likewise.
51325 * sunrpc/rpc/clnt.h: Likewise.
51326 * sunrpc/rpc/des_crypt.h: Likewise.
51327 * sunrpc/rpc/key_prot.h: Likewise.
51328 * sunrpc/rpc/netdb.h: Likewise.
51329 * sunrpc/rpc/pmap_clnt.h: Likewise.
51330 * sunrpc/rpc/pmap_prot.h: Likewise.
51331 * sunrpc/rpc/pmap_rmt.h: Likewise.
51332 * sunrpc/rpc/rpc.h: Likewise.
51333 * sunrpc/rpc/rpc_des.h: Likewise.
51334 * sunrpc/rpc/rpc_msg.h: Likewise.
51335 * sunrpc/rpc/svc.h: Likewise.
51336 * sunrpc/rpc/svc_auth.h: Likewise.
51337 * sunrpc/rpc/types.h: Likewise.
51338 * sunrpc/rpc/xdr.h: Likewise.
51339 * sunrpc/rpc_clntout.c: Likewise.
51340 * sunrpc/rpc_cmsg.c: Likewise.
51341 * sunrpc/rpc_common.c: Likewise.
51342 * sunrpc/rpc_cout.c: Likewise.
51343 * sunrpc/rpc_dtable.c: Likewise.
51344 * sunrpc/rpc_hout.c: Likewise.
51345 * sunrpc/rpc_main.c: Likewise.
51346 * sunrpc/rpc_parse.c: Likewise.
51347 * sunrpc/rpc_parse.h: Likewise.
51348 * sunrpc/rpc_prot.c: Likewise.
51349 * sunrpc/rpc_sample.c: Likewise.
51350 * sunrpc/rpc_scan.c: Likewise.
51351 * sunrpc/rpc_scan.h: Likewise.
51352 * sunrpc/rpc_svcout.c: Likewise.
51353 * sunrpc/rpc_tblout.c: Likewise.
51354 * sunrpc/rpc_util.c: Likewise.
51355 * sunrpc/rpc_util.h: Likewise.
51356 * sunrpc/rpcinfo.c: Likewise.
51357 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51358 * sunrpc/rpcsvc/key_prot.x: Likewise.
51359 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51360 * sunrpc/rpcsvc/mount.x: Likewise.
51361 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51362 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51363 * sunrpc/rpcsvc/rex.x: Likewise.
51364 * sunrpc/rpcsvc/rstat.x: Likewise.
51365 * sunrpc/rpcsvc/rusers.x: Likewise.
51366 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51367 * sunrpc/rpcsvc/spray.x: Likewise.
51368 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51369 * sunrpc/rtime.c: Likewise.
51370 * sunrpc/svc.c: Likewise.
51371 * sunrpc/svc_auth.c: Likewise.
51372 * sunrpc/svc_authux.c: Likewise.
51373 * sunrpc/svc_raw.c: Likewise.
51374 * sunrpc/svc_run.c: Likewise.
51375 * sunrpc/svc_simple.c: Likewise.
51376 * sunrpc/svc_tcp.c: Likewise.
51377 * sunrpc/svc_udp.c: Likewise.
51378 * sunrpc/svc_unix.c: Likewise.
51379 * sunrpc/svcauth_des.c: Likewise.
51380 * sunrpc/xcrypt.c: Likewise.
51381 * sunrpc/xdr.c: Likewise.
51382 * sunrpc/xdr_array.c: Likewise.
51383 * sunrpc/xdr_float.c: Likewise.
51384 * sunrpc/xdr_mem.c: Likewise.
51385 * sunrpc/xdr_rec.c: Likewise.
51386 * sunrpc/xdr_ref.c: Likewise.
51387 * sunrpc/xdr_sizeof.c: Likewise.
51388 * sunrpc/xdr_stdio.c: Likewise.
51389
9da4bb31
UD
51390 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51391 handling.
51392
bdaa77bc
AS
513932010-08-19 Andreas Schwab <schwab@redhat.com>
51394
51395 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51396
fe2f79db
LM
513972010-08-19 Luis Machado <luisgpm@br.ibm.com>
51398
51399 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51400 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51401 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51402 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51403 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51404 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51405 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51406 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51408 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51409 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51410 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51411 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51412 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51413
b9b42ee0
AB
514142010-07-26 Anton Blanchard <anton@samba.org>
51415
51416 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51417 * malloc/arena.c (heap_trim): Likewise.
51418
1c06ba31
UD
514192010-08-16 Ulrich Drepper <drepper@redhat.com>
51420
51421 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51422 here. Not...
51423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51424 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51425
f8392f40
L
514262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51427
51428 * sysdeps/i386/elf/Makefile: New file.
51429
3162f12e
AS
514302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51431
51432 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51433 from fanotify_init.
51434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51436
28c90b2c
UD
514372010-08-15 Ulrich Drepper <drepper@redhat.com>
51438
51439 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51440 of strncasecmp_l.
1feccb6c 51441 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51442
ca6bb004
UD
514432010-08-14 Ulrich Drepper <drepper@redhat.com>
51444
e9f82e0d
UD
51445 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51446 strncase_l-nonascii.
51447 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51448 Add strncase_l-ssse3.
51449 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51450 * sysdeps/x86_64/strcmp.S: Likewise.
51451 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51452 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51453 * sysdeps/x86_64/strncase.S: New file.
51454 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51455 * sysdeps/x86_64/strncase_l.S: New file.
51456 * string/Makefile (strop-tests): Add strncasecmp.
51457 * string/test-strncasecmp.c: New file.
51458
51459 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51460 warning.
51461
ca6bb004
UD
51462 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51464
052fa7b3
AS
514652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51466
51467 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51468
962dba78
UD
514692010-08-12 Ulrich Drepper <drepper@redhat.com>
51470
51471 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51472 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51473 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51474
bebff237
AM
514752010-05-01 Alan Modra <amodra@gmail.com>
51476
51477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51478 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51479 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51480 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51481 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51482 tidying. Don't tail-call __sigjmp_save for static lib.
51483 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51484 save location.
51485 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51486 (CALL_MCOUNT): Add eh info, and nop after bl.
51487 (TAIL_CALL_SYSCALL_ERROR): New macro.
51488 (PSEUDO_RET): Use it.
51489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51490 Correct save location of integer regs and cr.
51491 (_dl_profile_resolve): Correct cr save location. Delete nops
51492 after bl when SHARED. Reduce cfi size a little by better
51493 placement of cfi directives.
51494 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51495 make a stack frame. Instead use parm save area as a temp.
51496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51497 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51499 Don't make a stack frame for parent, use parm save area.
51500 Increase child stack frame to 112 bytes. Don't save unused reg,
51501 and adjust reg usage. Set up cfi on error recovery and
51502 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51504 (__makecontext): Add dummy nop after jump to exit.
51505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51506 Use correct parm save area and cr save, reduce stack frame.
51507 Correct cfi for possible PSEUDO_RET frame setup.
51508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51509 Branch to local label emitted by PSEUDO_RET rather than
51510 __syscall_error.
51511
02637374
AS
515122010-08-12 Andreas Schwab <schwab@redhat.com>
51513
51514 [BZ #11904]
51515 * locale/programs/locale.c (print_assignment): New function.
51516 (show_locale_vars): Use it.
51517
c3e2f19b
UD
515182010-08-11 Ulrich Drepper <drepper@redhat.com>
51519
3cdaa6ad
UD
51520 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51521 field.
51522 (struct statfs64): Likewise.
51523 (_STATFS_F_FLAGS): Define.
51524 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51526 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51527 (ST_VALID): Define locally.
51528 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51529 __statvfs_getflags, use the provided value.
51530 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51531 __ASSUME_STATFS_F_FLAGS.
51532
754f7da3
UD
51533 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51534
10b3bedc
UD
51535 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51536 Add sys/fanotify.h.
51537 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51538 fanotify_mask for GLIBC_2.13.
51539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51540 fanotify_init and fanotify_mark.
51541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51542 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51543
c08fb0d7
UD
51544 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51545 Add prlimit.
51546 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51547 prlimit64 for GLIBC_2.13.
51548 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51549 prlimit64.
51550 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51551 syscall.
51552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51553 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51554 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51555 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51556 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51557 add prlimit alias.
51558 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51559
15bac72b
UD
51560 [BZ #11903]
51561 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51562 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51563
c3e2f19b
UD
51564 * nss/Makefile: Add rules to build and run tst-nss-test1.
51565 * shlib-versions: Add entry for libnss_test1.
51566 * nss/nss_test1.c: New file.
51567 * nss/tst-nss-test1.c: New file.
51568
51569 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51570 (__nss_configure_lookup): Set appropriate entry in
51571 __nss_configure_lookup to true.
51572 * nss/nsswitch.h: Define enum with indeces of databases in
51573 databases and __nss_database_custom arrays. Declare
51574 __nss_database_custom.
51575 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51576 to avoid using nscd when custom rules are installed.
51577 * nss/getXXbyYY_r.c: Likewise.
51578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51579
51580 * nss/nss_files/files-parse.c: Whitespace fixes.
51581
f15ce4d8
UD
515822010-08-09 Ulrich Drepper <drepper@redhat.com>
51583
51584 [BZ #11883]
51585 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51586 * posix/fnmatch_loop.c: Likewise.
51587
d22e4cc9
AK
515882010-07-17 Andi Kleen <ak@linux.intel.com>
51589
51590 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51591 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51592 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51593 * Versions.def [GLIBC_2.13]: Add.
51594
805bc17d
UD
515952010-08-06 Ulrich Drepper <drepper@redhat.com>
51596
51597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51598 Also fail if tpwd after pwuid call is NULL.
51599
5a42321d
ST
516002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51601
51602 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51603 when converting to ms.
51604
fd3ebeda
ST
516052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51606
51607 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51608 EOPNOTSUPP errors with ENOTTY.
51609 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51610 EOPNOTSUPP errors with ENOTTY.
51611
73507d3a
UD
516122010-07-31 Ulrich Drepper <drepper@redhat.com>
51613
51614 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51615 Add strcasecmp_l-ssse3.
51616 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51617 strcasecmp.
51618 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51619 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51620 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51621
fe36dd02
UD
516222010-07-30 Ulrich Drepper <drepper@redhat.com>
51623
66f6765a
UD
51624 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51625
42e08a54
UD
51626 * string/Makefile (strop-tests): Add strcasecmp.
51627 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51628 strcasecmp_l-nonascii.
51629 (gen-as-const-headers): Add locale-defines.sym.
51630 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51631 * sysdeps/x86_64/strcasecmp.S: New file.
51632 * sysdeps/x86_64/strcasecmp_l.S: New file.
51633 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51634 * sysdeps/x86_64/locale-defines.sym: New file.
51635 * string/test-strcasecmp.c: New file.
51636
fe36dd02
UD
51637 * string/test-strcasestr.c: Test both ends of the range of characters.
51638 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51639
48cbc0d6
RM
516402010-07-29 Roland McGrath <roland@redhat.com>
51641
76e6d6bc 51642 [BZ #11856]
48cbc0d6
RM
51643 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51644
880113d9
UD
516452010-07-27 Ulrich Drepper <drepper@redhat.com>
51646
51647 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51648 for ld.so.
51649
deb9cabb
AS
516502010-07-27 Andreas Schwab <schwab@redhat.com>
51651
51652 * manual/memory.texi (Malloc Tunable Parameters): Document
51653 M_PERTURB.
51654
1c7570ff
RM
516552010-07-26 Roland McGrath <roland@redhat.com>
51656
51657 [BZ #11840]
51658 * configure.in (-fgnu89-inline check): Set and substitute
51659 gnu89_inline, not libc_cv_gnu89_inline.
51660 * configure: Regenerated.
51661 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51662
24fb0f88
UD
516632010-07-26 Ulrich Drepper <drepper@redhat.com>
51664
51665 * string/test-strnlen.c: New file.
51666 * string/Makefile (strop-tests): Add strnlen.
51667 * string/tester.c (test_strnlen): Add a few more test cases.
51668 * string/tst-strlen.c: Better error reporting.
51669
51670 * sysdeps/x86_64/strnlen.S: New file.
51671
8e96b93a
UD
516722010-07-24 Ulrich Drepper <drepper@redhat.com>
51673
51674 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51675 lower-latency instructions.
51676
dbc676d4
UD
516772010-07-23 Ulrich Drepper <drepper@redhat.com>
51678
51679 * string/test-strcasestr.c: New file.
51680 * string/test-strstr.c: New file.
51681 * string/Makefile (strop-tests): Add strstr and strcasestr.
51682 * string/str-two-way.h: Don't undefine MAX.
51683 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51684
f6a31e0e
AS
516852010-07-21 Andreas Schwab <schwab@redhat.com>
51686
51687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51688 strcasestr-nonascii.
51689 (CFLAGS-strcasestr-nonascii.c): Define.
51690 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51691 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51692 Remove unused attribute.
51693
5dbc3b6c
RM
516942010-07-20 Roland McGrath <roland@redhat.com>
51695
51696 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51697 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51698 ld.so.cache was broken. With it, there is no way to disable dsocaps
51699 like LD_HWCAP_MASK can disable hwcaps.
51700
23d101d8
EPM
517012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51702
51703 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51704
cc9f2e47
UD
517052010-07-16 Ulrich Drepper <drepper@redhat.com>
51706
51707 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51708 call in strcasestr.
51709 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51710 __strcasestr_sse42_nonascii.
51711 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51712 strcasestr-nonascii.c.
51713 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51714
77c1b069
LM
517152010-06-15 Luis Machado <luisgpm@br.ibm.com>
51716
51717 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51718 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51719 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51720 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51721
440566c3
UD
517222010-07-09 Ulrich Drepper <drepper@redhat.com>
51723
51724 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51725 fcntl.
51726
5be9d05d
AS
517272010-07-06 Andreas Schwab <schwab@redhat.com>
51728
c30b7ee2 51729 [BZ #11577]
5be9d05d
AS
51730 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51731 dl_signal_cerror.
51732
8a492a67
UD
517332010-07-06 Ulrich Drepper <drepper@redhat.com>
51734
51735 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51736 _PC_PIPE_BUF using F_GETPIPE_SZ.
51737
713df3d5
RM
517382010-07-05 Roland McGrath <roland@redhat.com>
51739
51740 * manual/arith.texi (Rounding Functions): Fix rint description
51741 implicit in round description.
51742
702e8f14
UD
517432010-07-02 Ulrich Drepper <drepper@redhat.com>
51744
51745 * elf/Makefile: Fix linking for a few tests to make recent linker
51746 happy.
51747
52ed8be9
AS
517482010-06-30 Andreas Schwab <schwab@redhat.com>
51749
51750 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51751 $(common-objpfx)libc_nonshared.a.
51752
f47c9a11
LM
517532010-06-21 Luis Machado <luisgpm@br.ibm.com>
51754
51755 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51756 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51757 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51758 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51759 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51760 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51761 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51762 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51777 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51778 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51779 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51780 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51781 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51782 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51783 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51784 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51785 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51786 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51787 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51788 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51803
6fb8cbcb
L
518042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51805
51806 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51807 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51808 * string/memmove.c (memmove): Renamed to ...
51809 (MEMMOVE): ...this. Default to memmove.
51810 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51811 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51812 (END_CHK): Define.
51813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51814 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51815 mempcpy-ssse3-back memmove-ssse3-back.
51816 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51817 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51819 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51820 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51821 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51822 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51823 * sysdeps/x86_64/multiarch/memmove.c: New file.
51824 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51825 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51826 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51827 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51828 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51829 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51830 Define.
51831 (index_Fast_Copy_Backward): Define.
51832 (HAS_ARCH_FEATURE): Define.
51833 (HAS_FAST_REP_STRING): Define.
51834 (HAS_FAST_COPY_BACKWARD): Define.
51835
4e733bac 518362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
51837
51838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51839 Restore proper fallback handling.
51840
63c4ed22
UD
518412010-06-19 Ulrich Drepper <drepper@redhat.com>
51842
ac2b484c
UD
51843 [BZ #11701]
51844 * posix/group_member.c (__group_member): Correct checking loop.
51845
63c4ed22
UD
51846 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51847 OOM in getpwuid_r correctly. Return error number when the caller
51848 should return, otherwise -1.
51849 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51850 call returning > 0 value.
51851 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51852
765ade4b
AS
518532010-06-07 Andreas Schwab <schwab@redhat.com>
51854
51855 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51856 libc_nonshared.a from targets in modules-names.
51857
80da2e09
KS
518582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51859
51860 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51861 requires it.
51862
158db122
LM
518632010-06-10 Luis Machado <luisgpm@br.ibm.com>
51864
51865 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51866 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51869
caa78cf8
AS
518702010-06-02 Andreas Schwab <schwab@redhat.com>
51871
51872 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51873
b2ef2c01
UD
518742010-06-14 Ulrich Drepper <drepper@redhat.com>
51875
51876 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51877 and F_GETPIPE_SZ.
51878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51880 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51884
fbd643b6
RM
518852010-06-14 Roland McGrath <roland@redhat.com>
51886
51887 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51888
f32f2869
JJ
518892010-06-07 Jakub Jelinek <jakub@redhat.com>
51890
51891 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51892 __REDIRECT followed by __THROW.
51893 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51894 * posix/getopt.h (getopt): Likewise.
51895
2a50c078
EPM
518962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51897
51898 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51899 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51900 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51901 in AT_FLAGS.
51902 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51903 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51904
eb5ad2eb
LM
519052010-05-28 Luis Machado <luisgpm@br.ibm.com>
51906
51907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51908
3c88fe1e
L
519092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51910
51911 [BZ #11640]
51912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51913 Properly check family and model.
51914
d2f73151
TY
519152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51916
51917 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51918
ebd2e13d
LM
519192010-05-24 Luis Machado <luisgpm@br.ibm.com>
51920
51921 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51922
b32b8b45
UD
519232010-05-21 Ulrich Drepper <drepper@redhat.com>
51924
51925 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51926 symbol reference.
51927
9acbe24d
AS
519282010-05-19 Andreas Schwab <schwab@redhat.com>
51929
51930 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51931 symbol reference.
51932
f0ccf6ea
AS
519332010-05-21 Andreas Schwab <schwab@redhat.com>
51934
3d04ff3a
AS
51935 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51936 and internal_recvmmsg.
51937 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51938 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51939 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51940 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51941
f0ccf6ea
AS
51942 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51943 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51944 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51945
5b08ac57
AS
519462010-05-20 Andreas Schwab <schwab@redhat.com>
51947
51948 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51949
4828935d
LM
519502010-05-17 Luis Machado <luisgpm@br.ibm.com>
51951
51952 POWER7 optimizations.
51953 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51954 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51955
373d545e
UD
519562010-05-19 Ulrich Drepper <drepper@redhat.com>
51957
51958 * version.h: Update for 2.13 development version.
51959
21a2b1ae
AS
519602010-05-12 Andrew Stubbs <ams@codesourcery.com>
51961
51962 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51963 exceptions. Return 0.
51964
3f7dcb2b
RM
519652010-05-07 Roland McGrath <roland@redhat.com>
51966
51967 * elf/ldconfig.c (main): Add a const.
51968
5f24d53a 519692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 51970
a160f8d8
UD
51971 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51972 (args_options): Add no-idn option.
51973 (ahosts_keys_int): Add idn_flags to ai_flags.
51974 (parse_option): Handle 'i' option to clear idn_flags.
51975
5f24d53a
UD
51976 * malloc/malloc.c (_int_free): Possible race in the most recently
51977 added check. Only act on the data if no current modification
51978 happened.
265bb1ce
UD
51979
51980See ChangeLog.17 for earlier changes.